Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp145 M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType)); in addEmuTlsVar()
160 M.getOrInsertGlobal(EmuTlsTmplName, GVType)); in addEmuTlsVar()
H A DJMCInstrumenter.cpp176 Flag = M.getOrInsertGlobal(FlagName, FlagTy, [&] { in runImpl()
H A DWasmEHPrepare.cpp252 M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy)); in prepareEHPads()
H A DTargetLoweringBase.cpp2009 Constant *C = M.getOrInsertGlobal("__guard_local", PtrTy); in getIRStackGuard()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp81 auto *Begin = M.getOrInsertGlobal( in createInitOrFiniCalls()
92 auto *End = M.getOrInsertGlobal( in createInitOrFiniCalls()
H A DAMDGPUInstructionSelector.cpp1486 M->getOrInsertGlobal(SymbolName, Type::getInt32Ty(M->getContext()))); in selectRelocConstant()
H A DSIISelLowering.cpp8283 M->getOrInsertGlobal(SymbolName, Type::getInt32Ty(M->getContext()))); in LowerINTRINSIC_WO_CHAIN()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp136 auto *Begin = M.getOrInsertGlobal( in createInitOrFiniCalls()
149 auto *End = M.getOrInsertGlobal( in createInitOrFiniCalls()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp251 GuardFnGlobal = M.getOrInsertGlobal(GuardFnName, GuardFnPtrType, [&] { in doInitialization()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp200 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal() function in Module
214 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module
215 return getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp377 M->getOrInsertGlobal("__os_arm64x_dispatch_call_no_redirect", PtrTy); in buildExitThunk()
676 M->getOrInsertGlobal("__os_arm64x_check_icall_cfg", GuardFnPtrType); in runOnModule()
678 M->getOrInsertGlobal("__os_arm64x_check_icall", GuardFnPtrType); in runOnModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp156 Constant *DsoHandle = M.getOrInsertGlobal("__dso_handle", DsoHandleTy, [&] { in runImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h463 getOrInsertGlobal(StringRef Name, Type *Ty,
468 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp830 static Constant *getOrInsertGlobal(Module &M, StringRef Name, Type *Ty) { in getOrInsertGlobal() function
831 return M.getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
859 getOrInsertGlobal(M, "__msan_retval_tls", in createUserspaceApi()
862 RetvalOriginTLS = getOrInsertGlobal(M, "__msan_retval_origin_tls", OriginTy); in createUserspaceApi()
865 getOrInsertGlobal(M, "__msan_param_tls", in createUserspaceApi()
869 getOrInsertGlobal(M, "__msan_param_origin_tls", in createUserspaceApi()
873 getOrInsertGlobal(M, "__msan_va_arg_tls", in createUserspaceApi()
877 getOrInsertGlobal(M, "__msan_va_arg_origin_tls", in createUserspaceApi()
881 getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", IRB.getInt64Ty()); in createUserspaceApi()
1051 M.getOrInsertGlobal("__msan_track_origins", IRB.getInt32Ty(), [&] { in initializeModule()
[all …]
H A DHWAddressSanitizer.cpp647 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
724 M.getOrInsertGlobal("__hwasan_shadow", ArrayType::get(Int8Ty, 0)); in initializeCallbacks()
756 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getShadowNonTls()
H A DMemProfiler.cpp550 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in insertDynamicShadowAtFunctionEntry()
H A DAddressSanitizer.cpp2760 AsanShadowGlobal = M.getOrInsertGlobal("__asan_shadow", in initializeCallbacks()
2808 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in maybeInsertDynamicShadowAtFunctionEntry()
3404 Constant *OptionDetectUseAfterReturn = F.getParent()->getOrInsertGlobal( in processStaticAllocas()
H A DSanitizerCoverage.cpp465 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
H A DDataFlowSanitizer.cpp1508 Constant *C = Mod->getOrInsertGlobal(Name, Ty); in runImpl()
1527 (void)Mod->getOrInsertGlobal("__dfsan_track_origins", OriginTy, [&] { in runImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp327 Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
H A DX86ISelLoweringCall.cpp593 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp416 auto *GV = dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, Ty)); in getGlobalVariable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1658 M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Arr0Ty); in importGlobal()
H A DLowerTypeTests.cpp971 Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(), in importTypeId()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3673 VTable = CGM.getModule().getOrInsertGlobal(VTableName, Ty); in BuildVTablePointer()

12