| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 123 M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType)); in addEmuTlsVar() 138 M.getOrInsertGlobal(EmuTlsTmplName, GVType)); in addEmuTlsVar()
|
| H A D | JMCInstrumenter.cpp | 169 Flag = M.getOrInsertGlobal(FlagName, FlagTy, [&] { in runOnModule()
|
| H A D | WasmEHPrepare.cpp | 221 M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy)); in prepareEHPads()
|
| H A D | TargetLoweringBase.cpp | 1979 Constant *C = M.getOrInsertGlobal("__guard_local", PtrTy); in getIRStackGuard()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/CFGuard/ |
| H A D | CFGuard.cpp | 246 M.getOrInsertGlobal("__guard_check_icall_fptr", GuardFnPtrType); in doInitialization() 250 M.getOrInsertGlobal("__guard_dispatch_icall_fptr", GuardFnPtrType); in doInitialization()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ValueTest.cpp | 69 Constant *Dummy1 = M->getOrInsertGlobal("dummy", Int32Ty); in TEST() 87 Constant *DummyCast1 = M->getOrInsertGlobal("dummy_cast", Int8Ty); in TEST()
|
| H A D | ConstantsTest.cpp | 215 M->getOrInsertGlobal("dummy", PointerType::getUnqual(Int32Ty)); in TEST() 217 M->getOrInsertGlobal("dummy2", PointerType::getUnqual(Int32Ty)); in TEST() 315 M->getOrInsertGlobal("dummy", PointerType::getUnqual(Int32Ty)); in TEST() 784 GlobalVariable *GV1 = cast<GlobalVariable>(M.getOrInsertGlobal("gv1", Ty)); in TEST() 789 GlobalVariable *GV2 = cast<GlobalVariable>(M.getOrInsertGlobal("gv2", Ty)); in TEST()
|
| H A D | PatternMatch.cpp | 1795 M->getOrInsertGlobal("dummy", PointerType::getUnqual(IRB.getInt32Ty())); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Module.cpp | 205 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal() function in Module 226 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module 227 return getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerGlobalDtors.cpp | 145 Constant *DsoHandle = M.getOrInsertGlobal("__dso_handle", DsoHandleTy, [&] { in runImpl()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Module.h | 442 getOrInsertGlobal(StringRef Name, Type *Ty, 447 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | BasicAliasAnalysisTest.cpp | 84 cast<GlobalVariable>(M.getOrInsertGlobal("some_global", B.getInt8Ty())); in TEST_F()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | ManagedMemoryRewrite.cpp | 219 cast<GlobalVariable>(M.getOrInsertGlobal(NewName, ElemPtrTy)); in replaceGlobalArray()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | MachineOperandTest.cpp | 244 M.getOrInsertGlobal("foo", Type::getInt32Ty(Ctx)); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 757 static Constant *getOrInsertGlobal(Module &M, StringRef Name, Type *Ty) { in getOrInsertGlobal() function 758 return M.getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal() 779 getOrInsertGlobal(M, "__msan_retval_tls", in createUserspaceApi() 782 RetvalOriginTLS = getOrInsertGlobal(M, "__msan_retval_origin_tls", OriginTy); in createUserspaceApi() 785 getOrInsertGlobal(M, "__msan_param_tls", in createUserspaceApi() 789 getOrInsertGlobal(M, "__msan_param_origin_tls", in createUserspaceApi() 793 getOrInsertGlobal(M, "__msan_va_arg_tls", in createUserspaceApi() 797 getOrInsertGlobal(M, "__msan_va_arg_origin_tls", in createUserspaceApi() 801 getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", IRB.getInt64Ty()); in createUserspaceApi() 974 M.getOrInsertGlobal("__msan_track_origins", IRB.getInt32Ty(), [&] { in initializeModule() [all …]
|
| H A D | HWAddressSanitizer.cpp | 617 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule() 657 ShadowGlobal = M.getOrInsertGlobal("__hwasan_shadow", in initializeCallbacks() 704 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getShadowNonTls()
|
| H A D | MemProfiler.cpp | 595 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in insertDynamicShadowAtFunctionEntry()
|
| H A D | DataFlowSanitizer.cpp | 1311 (void)Mod->getOrInsertGlobal("__dfsan_shadow_width_bits", IntTy, [&] { in injectMetadataGlobals() 1316 (void)Mod->getOrInsertGlobal("__dfsan_shadow_width_bytes", IntTy, [&] { in injectMetadataGlobals() 1337 Constant *C = Mod->getOrInsertGlobal(Name, Ty); in runImpl() 1356 (void)Mod->getOrInsertGlobal("__dfsan_track_origins", OriginTy, [&] { in runImpl()
|
| H A D | AddressSanitizer.cpp | 2532 AsanShadowGlobal = M.getOrInsertGlobal("__asan_shadow", in initializeCallbacks() 2580 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in maybeInsertDynamicShadowAtFunctionEntry() 3175 Constant *OptionDetectUseAfterReturn = F.getParent()->getOrInsertGlobal( in processStaticAllocas()
|
| H A D | SanitizerCoverage.cpp | 464 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 328 Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 415 auto *GV = dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, Ty)); in getGlobalVariable()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | WholeProgramDevirt.cpp | 1554 M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Arr0Ty); in importGlobal()
|
| H A D | LowerTypeTests.cpp | 949 Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(), in importTypeId()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 3571 VTable = CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy); in BuildVTablePointer()
|