Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp124 M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType)); in addEmuTlsVar()
139 M.getOrInsertGlobal(EmuTlsTmplName, GVType)); in addEmuTlsVar()
H A DWasmEHPrepare.cpp217 M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy)); in prepareEHPads()
H A DTargetLoweringBase.cpp1968 Constant *C = M.getOrInsertGlobal("__guard_local", PtrTy); in getIRStackGuard()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp240 M.getOrInsertGlobal("__guard_check_icall_fptr", GuardFnPtrType); in doInitialization()
244 M.getOrInsertGlobal("__guard_dispatch_icall_fptr", GuardFnPtrType); in doInitialization()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp208 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal() function in Module
229 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module
230 return getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h439 getOrInsertGlobal(StringRef Name, Type *Ty,
444 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp767 static Constant *getOrInsertGlobal(Module &M, StringRef Name, Type *Ty) { in getOrInsertGlobal() function
768 return M.getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
789 getOrInsertGlobal(M, "__msan_retval_tls", in createUserspaceApi()
792 RetvalOriginTLS = getOrInsertGlobal(M, "__msan_retval_origin_tls", OriginTy); in createUserspaceApi()
795 getOrInsertGlobal(M, "__msan_param_tls", in createUserspaceApi()
799 getOrInsertGlobal(M, "__msan_param_origin_tls", in createUserspaceApi()
803 getOrInsertGlobal(M, "__msan_va_arg_tls", in createUserspaceApi()
807 getOrInsertGlobal(M, "__msan_va_arg_origin_tls", in createUserspaceApi()
811 getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", IRB.getInt64Ty()); in createUserspaceApi()
981 M.getOrInsertGlobal("__msan_track_origins", IRB.getInt32Ty(), [&] { in initializeModule()
[all …]
H A DHWAddressSanitizer.cpp627 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
664 ShadowGlobal = M.getOrInsertGlobal("__hwasan_shadow", in initializeCallbacks()
709 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getShadowNonTls()
H A DMemProfiler.cpp577 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in insertDynamicShadowAtFunctionEntry()
H A DDataFlowSanitizer.cpp1351 (void)Mod->getOrInsertGlobal("__dfsan_shadow_width_bits", IntTy, [&] { in injectMetadataGlobals()
1356 (void)Mod->getOrInsertGlobal("__dfsan_shadow_width_bytes", IntTy, [&] { in injectMetadataGlobals()
1377 Constant *C = Mod->getOrInsertGlobal(Name, Ty); in runImpl()
1396 (void)Mod->getOrInsertGlobal("__dfsan_track_origins", OriginTy, [&] { in runImpl()
H A DAddressSanitizer.cpp2684 AsanShadowGlobal = M.getOrInsertGlobal("__asan_shadow", in initializeCallbacks()
2732 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in maybeInsertDynamicShadowAtFunctionEntry()
3320 Constant *OptionDetectUseAfterReturn = F.getParent()->getOrInsertGlobal( in processStaticAllocas()
H A DSanitizerCoverage.cpp469 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp328 Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
H A DX86ISelLowering.cpp2541 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp310 auto *GV = dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, Ty)); in getGlobalVariable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp979 Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(), in importTypeId()
H A DWholeProgramDevirt.cpp1490 M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Arr0Ty); in importGlobal()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3608 VTable = CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy); in BuildVTablePointer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1168 M->getOrInsertGlobal(SymbolName, Type::getInt32Ty(M->getContext()))); in selectRelocConstant()
H A DSIISelLowering.cpp6769 M->getOrInsertGlobal(SymbolName, Type::getInt32Ty(M->getContext()))); in LowerINTRINSIC_WO_CHAIN()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16524 M.getOrInsertGlobal(AIXSSPCanaryWordName, in insertSSPDeclarations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp17597 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp20141 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()