reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Module.h
  424   Constant *getOrInsertGlobal(StringRef Name, Type *Ty);

References

lib/CodeGen/LowerEmuTLS.cpp
  121       M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType));
  141         M.getOrInsertGlobal(EmuTlsTmplName, GVType));
lib/CodeGen/SafeStack.cpp
  373         F.getParent()->getOrInsertGlobal("__stack_chk_guard", StackPtrTy);
lib/CodeGen/TargetLoweringBase.cpp
 1773     return M.getOrInsertGlobal("__guard_local", PtrTy);
lib/CodeGen/WasmEHPrepare.cpp
  223       M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy));
lib/Target/AArch64/AArch64ISelLowering.cpp
12289     M.getOrInsertGlobal("__security_cookie",
lib/Target/ARM/ARMISelLowering.cpp
16540   M.getOrInsertGlobal("__security_cookie",
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  318       dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, IRB.getInt32Ty()));
lib/Target/X86/X86ISelLowering.cpp
 2322     M.getOrInsertGlobal("__security_cookie",
lib/Target/X86/X86WinEHState.cpp
  332       Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty);
lib/Transforms/CFGuard/CFGuard.cpp
  245         M.getOrInsertGlobal("__guard_check_icall_fptr", GuardFnPtrType);
  249         M.getOrInsertGlobal("__guard_dispatch_icall_fptr", GuardFnPtrType);
lib/Transforms/IPO/LowerTypeTests.cpp
  964     Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(),
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1262   Constant *C = M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Ty);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2534     AsanShadowGlobal = M.getOrInsertGlobal("__asan_shadow",
 2577     Value *GlobalDynamicAddress = F.getParent()->getOrInsertGlobal(
 3083     Constant *OptionDetectUseAfterReturn = F.getParent()->getOrInsertGlobal(
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  718     ArgTLS = Mod->getOrInsertGlobal("__dfsan_arg_tls", ArgTLSTy);
  723     RetvalTLS = Mod->getOrInsertGlobal("__dfsan_retval_tls", ShadowTy);
  729       Mod->getOrInsertGlobal(kDFSanExternShadowPtrMask, IntptrTy);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  459   ShadowGlobal = M.getOrInsertGlobal("__hwasan_shadow",
  500         IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal(
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  430       M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 3259     CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy);
unittests/Analysis/BasicAliasAnalysisTest.cpp
   81       cast<GlobalVariable>(M.getOrInsertGlobal("some_global", B.getInt8Ty()));
unittests/CodeGen/MachineOperandTest.cpp
  243   M.getOrInsertGlobal("foo", Type::getInt32Ty(Ctx));
unittests/IR/ConstantsTest.cpp
  202   Constant *Global = M->getOrInsertGlobal("dummy",
  204   Constant *Global2 = M->getOrInsertGlobal("dummy2",
  312       M->getOrInsertGlobal("dummy", PointerType::getUnqual(Int32Ty));
unittests/IR/ValueTest.cpp
   68   Constant *Dummy1 = M->getOrInsertGlobal("dummy", Int32Ty);
   86   Constant *DummyCast1 = M->getOrInsertGlobal("dummy_cast", Int8Ty);