Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp124 M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType)); in addEmuTlsVar()
139 M.getOrInsertGlobal(EmuTlsTmplName, GVType)); in addEmuTlsVar()
H A DWasmEHPrepare.cpp234 M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy)); in prepareEHPads()
H A DSafeStack.cpp378 F.getParent()->getOrInsertGlobal("__stack_chk_guard", StackPtrTy); in getStackGuard()
H A DTargetLoweringBase.cpp1937 Constant *C = M.getOrInsertGlobal("__guard_local", PtrTy); in getIRStackGuard()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DModule.cpp204 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal() function in Module
225 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module
226 return getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DModule.h436 getOrInsertGlobal(StringRef Name, Type *Ty,
441 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
/netbsd-src/external/apache2/llvm/dist/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.cpp548 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
585 ShadowGlobal = M.getOrInsertGlobal("__hwasan_shadow", in initializeCallbacks()
630 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getShadowNonTls()
H A DMemProfiler.cpp577 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in insertDynamicShadowAtFunctionEntry()
H A DDataFlowSanitizer.cpp1454 (void)Mod->getOrInsertGlobal("__dfsan_shadow_width_bits", IntTy, [&] { in injectMetadataGlobals()
1459 (void)Mod->getOrInsertGlobal("__dfsan_shadow_width_bytes", IntTy, [&] { in injectMetadataGlobals()
1480 Constant *C = Mod->getOrInsertGlobal(Name, Ty); in runImpl()
1499 (void)Mod->getOrInsertGlobal("__dfsan_track_origins", OriginTy, [&] { in runImpl()
1510 Mod->getOrInsertGlobal(DFSanExternShadowPtrMask, IntptrTy); in runImpl()
H A DAddressSanitizer.cpp2692 AsanShadowGlobal = M.getOrInsertGlobal("__asan_shadow", in initializeCallbacks()
2740 Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal( in maybeInsertDynamicShadowAtFunctionEntry()
3318 Constant *OptionDetectUseAfterReturn = F.getParent()->getOrInsertGlobal( in processStaticAllocas()
H A DSanitizerCoverage.cpp468 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinEHState.cpp328 Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
H A DX86ISelLowering.cpp2538 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp300 auto *GV = dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, Ty)); in getGlobalVariable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1478 M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Arr0Ty); in importGlobal()
H A DLowerTypeTests.cpp973 Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(), in importTypeId()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3568 VTable = CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy); in BuildVTablePointer()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1144 M->getOrInsertGlobal(SymbolName, Type::getInt32Ty(M->getContext()))); in selectRelocConstant()
H A DSIISelLowering.cpp6714 M->getOrInsertGlobal(SymbolName, Type::getInt32Ty(M->getContext()))); in LowerINTRINSIC_WO_CHAIN()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp17028 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp19421 M.getOrInsertGlobal("__security_cookie", in insertSSPDeclarations()