[CIR] Add addLLVMUsed and addLLVMCompilerUsed methods to CIRGenModule (#188189)
Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2092
This PR adds support for emitting llvm.used and llvm.compiler.used
global arrays in CIR.
Added addUsedGlobal() and addCompilerUsedGlobal() methods to
CIRGenModule
Adds __hip_cuid_* to llvm.compiler.used for HIP compilation.
Followed OGCG implementation in clang/lib/CodeGen/CodeGenModule.cpp