Home
last modified time | relevance | path

Searched refs:getOrInsertGlobal (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp143 EmuTlsVar = M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType); in addEmuTlsVar()
157 EmuTlsTmplVar = M.getOrInsertGlobal(EmuTlsTmplName, GVType); in addEmuTlsVar()
H A DJMCInstrumenter.cpp176 Flag = M.getOrInsertGlobal(FlagName, FlagTy, [&] { in runImpl()
H A DWasmEHPrepare.cpp250 LPadContextGV = M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy); in prepareEHPads()
H A DTargetLoweringBase.cpp2039 GlobalVariable *G = M.getOrInsertGlobal("__guard_local", PtrTy); in getIRStackGuard()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp82 auto *Begin = M.getOrInsertGlobal( in createInitOrFiniCalls()
92 auto *End = M.getOrInsertGlobal( in createInitOrFiniCalls()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp105 auto *Begin = M.getOrInsertGlobal( in createInitOrFiniCalls()
118 auto *End = M.getOrInsertGlobal( in createInitOrFiniCalls()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp420 M->getOrInsertGlobal("__os_arm64x_dispatch_call_no_redirect", PtrTy); in buildExitThunk()
780 GuardFnCFGlobal = M->getOrInsertGlobal("__os_arm64x_check_icall_cfg", PtrTy); in runOnModule()
781 GuardFnGlobal = M->getOrInsertGlobal("__os_arm64x_check_icall", PtrTy); in runOnModule()
782 DispatchFnGlobal = M->getOrInsertGlobal("__os_arm64x_dispatch_call", PtrTy); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp256 GlobalVariable *Module::getOrInsertGlobal( in getOrInsertGlobal() function in Module
270 GlobalVariable *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module
271 return getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp255 GuardFnGlobal = M.getOrInsertGlobal(GuardFnName, GuardFnPtrType, [&] { in doInitialization()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp157 Constant *DsoHandle = M.getOrInsertGlobal("__dso_handle", DsoHandleTy, [&] { in runImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h457 getOrInsertGlobal(StringRef Name, Type *Ty,
462 GlobalVariable *getOrInsertGlobal(StringRef Name, Type *Ty);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DTypeSanitizer.cpp452 F.getParent()->getOrInsertGlobal(kTysanShadowMemoryAddress, IntptrTy); in getShadowBase()
459 F.getParent()->getOrInsertGlobal(kTysanAppMemMask, IntptrTy); in getAppMemMask()
H A DHWAddressSanitizer.cpp696 ThreadPtrGlobal = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
772 M.getOrInsertGlobal("__hwasan_shadow", ArrayType::get(Int8Ty, 0)); in initializeCallbacks()
805 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getShadowNonTls()
H A DMemorySanitizer.cpp889 static Constant *getOrInsertGlobal(Module &M, StringRef Name, Type *Ty) { in getOrInsertGlobal() function
890 return M.getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
919 getOrInsertGlobal(M, "__msan_retval_tls", in createUserspaceApi()
922 RetvalOriginTLS = getOrInsertGlobal(M, "__msan_retval_origin_tls", OriginTy); in createUserspaceApi()
925 getOrInsertGlobal(M, "__msan_param_tls", in createUserspaceApi()
929 getOrInsertGlobal(M, "__msan_param_origin_tls", in createUserspaceApi()
933 getOrInsertGlobal(M, "__msan_va_arg_tls", in createUserspaceApi()
937 getOrInsertGlobal(M, "__msan_va_arg_origin_tls", in createUserspaceApi()
940 VAArgOverflowSizeTLS = getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", in createUserspaceApi()
1113 M.getOrInsertGlobal("__msan_track_origins", IRB.getInt32Ty(), [&] { in initializeModule()
[all …]
H A DSanitizerCoverage.cpp489 SanCovLowestStack = M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
508 M.getOrInsertGlobal(SanCovCallbackGateName, Int64Ty)); in instrumentModule()
H A DMemProfInstrumentation.cpp588 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in insertDynamicShadowAtFunctionEntry()
H A DAddressSanitizer.cpp2913 AsanShadowGlobal = M.getOrInsertGlobal("__asan_shadow", in initializeCallbacks()
2961 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in maybeInsertDynamicShadowAtFunctionEntry()
3582 Constant *OptionDetectUseAfterReturn = F.getParent()->getOrInsertGlobal( in processStaticAllocas()
H A DDataFlowSanitizer.cpp1509 GlobalVariable *G = Mod->getOrInsertGlobal(Name, Ty); in runImpl()
1526 (void)Mod->getOrInsertGlobal("__dfsan_track_origins", OriginTy, [&] { in runImpl()
H A DNumericalStabilitySanitizer.cpp645 return M.getOrInsertGlobal(Name, Ty, [&M, Ty, Name] { in createThreadLocalGV()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp329 Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
H A DX86ISelLoweringCall.cpp612 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp409 auto *GV = dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, Ty)); in getGlobalVariable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1703 M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Arr0Ty); in importGlobal()
H A DLowerTypeTests.cpp993 GlobalVariable *GV = M.getOrInsertGlobal( in importTypeId()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3986 VTable = CGM.getModule().getOrInsertGlobal(VTableName, Ty); in BuildVTablePointer()

12