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

References

examples/BrainF/BrainF.cpp
   76       module->getOrInsertFunction("getchar", IntegerType::getInt32Ty(C));
   79   putchar_func = module->getOrInsertFunction(
  155     FunctionCallee puts_func = module->getOrInsertFunction(
lib/CodeGen/SafeStack.cpp
  479       F.getParent()->getOrInsertFunction("__stack_chk_fail", IRB.getVoidTy());
  778     FunctionCallee Fn = F.getParent()->getOrInsertFunction(
lib/CodeGen/SjLjEHPrepare.cpp
  474   RegisterFn = M.getOrInsertFunction(
  477   UnregisterFn = M.getOrInsertFunction(
lib/CodeGen/StackProtector.cpp
  529     FunctionCallee StackChkFail = M->getOrInsertFunction(
  536         M->getOrInsertFunction("__stack_chk_fail", Type::getVoidTy(Context));
lib/CodeGen/TargetLoweringBase.cpp
 1717   FunctionCallee Fn = M->getOrInsertFunction("__safestack_pointer_address",
lib/CodeGen/WasmEHPrepare.cpp
  249   CallPersonalityF = M.getOrInsertFunction(
lib/IR/Instructions.cpp
  573     MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy);
  667   FunctionCallee FreeFunc = M->getOrInsertFunction("free", VoidTy, IntPtrTy);
lib/Target/AArch64/AArch64ISelLowering.cpp
12293     FunctionCallee SecurityCheckCookie = M.getOrInsertFunction(
lib/Target/ARM/ARMISelLowering.cpp
16544   FunctionCallee SecurityCheckCookie = M.getOrInsertFunction(
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2256       FunctionCallee Fn = M->getOrInsertFunction(
lib/Target/X86/X86ISelLowering.cpp
 2326     FunctionCallee SecurityCheckCookie = M.getOrInsertFunction(
lib/Transforms/IPO/CrossDSOCFI.cpp
  104   FunctionCallee C = M.getOrInsertFunction(
  132       M.getOrInsertFunction("__cfi_check_fail", Type::getVoidTy(Ctx),
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1696         cast<Constant>(M.getOrInsertFunction(Res.SingleImplName,
 1743         M.getOrInsertFunction(getGlobalName(Slot, {}, "branch_funnel"),
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1953       M.getOrInsertFunction(kAsanPoisonGlobalsName, IRB.getVoidTy(), IntptrTy);
 1955       M.getOrInsertFunction(kAsanUnpoisonGlobalsName, IRB.getVoidTy());
 1958   AsanRegisterGlobals = M.getOrInsertFunction(
 1960   AsanUnregisterGlobals = M.getOrInsertFunction(
 1965   AsanRegisterImageGlobals = M.getOrInsertFunction(
 1967   AsanUnregisterImageGlobals = M.getOrInsertFunction(
 1971       M.getOrInsertFunction(kAsanRegisterElfGlobalsName, IRB.getVoidTy(),
 1974       M.getOrInsertFunction(kAsanUnregisterElfGlobalsName, IRB.getVoidTy(),
 2512   AsanMemmove = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memmove",
 2515   AsanMemcpy = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memcpy",
 2518   AsanMemset = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memset",
 2523       M.getOrInsertFunction(kAsanHandleNoReturnName, IRB.getVoidTy());
 2526       M.getOrInsertFunction(kAsanPtrCmp, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2528       M.getOrInsertFunction(kAsanPtrSub, IRB.getVoidTy(), IntptrTy, IntptrTy);
 2763     AsanStackMallocFunc[i] = M.getOrInsertFunction(
 2766         M.getOrInsertFunction(kAsanStackFreeNameTemplate + Suffix,
 2770     AsanPoisonStackMemoryFunc = M.getOrInsertFunction(
 2772     AsanUnpoisonStackMemoryFunc = M.getOrInsertFunction(
 2781         M.getOrInsertFunction(Name.str(), IRB.getVoidTy(), IntptrTy, IntptrTy);
 2784   AsanAllocaPoisonFunc = M.getOrInsertFunction(
 2786   AsanAllocasUnpoisonFunc = M.getOrInsertFunction(
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  454   HwasanTagMemoryFunc = M.getOrInsertFunction(
  457       M.getOrInsertFunction("__hwasan_generate_tag", Int8Ty);
  464   HWAsanMemmove = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memmove",
  467   HWAsanMemcpy = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memcpy",
  470   HWAsanMemset = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memset",
  475       M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy);
  478       M.getOrInsertFunction("__hwasan_thread_enter", IRB.getVoidTy());
 1457   FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction(
 1460   FunctionCallee UnwindGetGR = M.getOrInsertFunction("_Unwind_GetGR", VoidTy);
 1461   FunctionCallee UnwindGetCFA = M.getOrInsertFunction("_Unwind_GetCFA", VoidTy);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  705   WarningFn = M.getOrInsertFunction("__msan_warning", IRB.getVoidTy(),
  716   MsanGetContextStateFn = M.getOrInsertFunction(
  727     MsanMetadataPtrForLoad_1_8[ind] = M.getOrInsertFunction(
  729     MsanMetadataPtrForStore_1_8[ind] = M.getOrInsertFunction(
  733   MsanMetadataPtrForLoadN = M.getOrInsertFunction(
  736   MsanMetadataPtrForStoreN = M.getOrInsertFunction(
  742       M.getOrInsertFunction("__msan_poison_alloca", IRB.getVoidTy(),
  744   MsanUnpoisonAllocaFn = M.getOrInsertFunction(
  764   WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy());
  797     MaybeWarningFn[AccessSizeIndex] = M.getOrInsertFunction(
  802     MaybeStoreOriginFn[AccessSizeIndex] = M.getOrInsertFunction(
  807   MsanSetAllocaOrigin4Fn = M.getOrInsertFunction(
  811       M.getOrInsertFunction("__msan_poison_stack", IRB.getVoidTy(),
  824   MsanChainOriginFn = M.getOrInsertFunction(
  826   MemmoveFn = M.getOrInsertFunction(
  829   MemcpyFn = M.getOrInsertFunction(
  832   MemsetFn = M.getOrInsertFunction(
  841       M.getOrInsertFunction("__msan_instrument_asm_store", IRB.getVoidTy(),
lib/Transforms/Instrumentation/PoisonChecking.cpp
  244   M->getOrInsertFunction("__poison_checker_assert",
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  383       M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy);
  404       M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty);
  413       M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty);
  423       M.getOrInsertFunction(SanCovTraceDiv8, VoidTy, Int64Ty);
  425       M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy);
  427       M.getOrInsertFunction(SanCovTraceSwitchName, VoidTy, Int64Ty, Int64PtrTy);
  447   SanCovTracePC = M.getOrInsertFunction(SanCovTracePCName, VoidTy);
  449       M.getOrInsertFunction(SanCovTracePCGuardName, VoidTy, Int32PtrTy);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1016     FunctionCallee MSP = M->getOrInsertFunction(FuncName, Builder.getVoidTy(),
lib/Transforms/Utils/BuildLibCalls.cpp
 1049       M->getOrInsertFunction(Name, Op->getType(), Op->getType());
 1090   FunctionCallee Callee = M->getOrInsertFunction(Name, Op1->getType(),
 1137       M->getOrInsertFunction(PutCharName, B.getInt32Ty(), B.getInt32Ty());
 1160       M->getOrInsertFunction(PutsName, B.getInt32Ty(), B.getInt8PtrTy());
 1176   FunctionCallee F = M->getOrInsertFunction(FPutcName, B.getInt32Ty(),
 1197   FunctionCallee F = M->getOrInsertFunction(FPutcUnlockedName, B.getInt32Ty(),
 1217   FunctionCallee F = M->getOrInsertFunction(FPutsName, B.getInt32Ty(),
 1236   FunctionCallee F = M->getOrInsertFunction(FPutsUnlockedName, B.getInt32Ty(),
 1256   FunctionCallee F = M->getOrInsertFunction(
 1280   FunctionCallee Malloc = M->getOrInsertFunction(MallocName, B.getInt8PtrTy(),
 1322   FunctionCallee F = M->getOrInsertFunction(
 1343   FunctionCallee F = M->getOrInsertFunction(FGetCUnlockedName, B.getInt32Ty(),
 1363       M->getOrInsertFunction(FGetSUnlockedName, B.getInt8PtrTy(),
 1384   FunctionCallee F = M->getOrInsertFunction(
lib/Transforms/Utils/EntryExitInstrumenter.cpp
   33     FunctionCallee Fn = M.getOrInsertFunction(Func, Type::getVoidTy(C));
tools/bugpoint/Miscompilation.cpp
  829   FunctionCallee resolverFunc = Safe->getOrInsertFunction(
tools/lli/lli.cpp
  596     FunctionCallee Exit = Mod->getOrInsertFunction(