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

Declarations

include/llvm/IR/Module.h
  348   FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T);

References

lib/CodeGen/DwarfEHPrepare.cpp
  213     RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
lib/CodeGen/IntrinsicLowering.cpp
   42       M->getOrInsertFunction(NewFn, FunctionType::get(RetTy, ParamTys, false));
lib/CodeGen/PreISelIntrinsicLowering.cpp
   67   FunctionCallee FCache = M->getOrInsertFunction(NewFn, F.getFunctionType());
lib/IR/Function.cpp
 1097       M->getOrInsertFunction(getName(id, Tys),
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  986     C = M->getOrInsertFunction(FuncName, FuncTy);
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  112   FunctionCallee AtExit = M.getOrInsertFunction(
lib/Target/X86/X86WinEHState.cpp
  175   SetJmp3 = TheModule->getOrInsertFunction(
  301     CxxLongjmpUnwind = TheModule->getOrInsertFunction(
  356     SehLongjmpUnwind = TheModule->getOrInsertFunction(
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2486       AsanErrorCallbackSized[AccessIsWrite][Exp] = M.getOrInsertFunction(
 2490       AsanMemoryAccessCallbackSized[AccessIsWrite][Exp] = M.getOrInsertFunction(
 2498             M.getOrInsertFunction(
 2503             M.getOrInsertFunction(
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  683   FunctionCallee C = Mod->getOrInsertFunction(FName, FTT);
  770       Mod->getOrInsertFunction("__dfsan_unimplemented", DFSanUnimplementedFnTy);
  778       Mod->getOrInsertFunction("__dfsan_nonzero_label", DFSanNonzeroLabelFnTy);
  779   DFSanVarargWrapperFn = Mod->getOrInsertFunction("__dfsan_vararg_wrapper",
 1577         FunctionCallee CustomF = DFSF.DFS.Mod->getOrInsertFunction(
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  658     FunctionCallee GCOVFlush = M->getOrInsertFunction("__gcov_flush", FTy);
  875     FunctionCallee GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy);
  915   return M->getOrInsertFunction("llvm_gcda_emit_function", FTy);
  932   return M->getOrInsertFunction("llvm_gcda_summary_info", FTy);
  937   return M->getOrInsertFunction("llvm_gcda_end_file", FTy);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  440     HwasanMemoryAccessCallbackSized[AccessIsWrite] = M.getOrInsertFunction(
  447           M.getOrInsertFunction(
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1479                        ->getOrInsertFunction("__llvm_deoptimize", FTy)
 1898   FunctionCallee Func = M->getOrInsertFunction(
lib/Transforms/Utils/BuildLibCalls.cpp
  838   FunctionCallee Callee = M->getOrInsertFunction(FuncName, FuncType);
lib/Transforms/Utils/EntryExitInstrumenter.cpp
   42     FunctionCallee Fn = M.getOrInsertFunction(
lib/Transforms/Utils/EscapeEnumerator.cpp
   25   return M->getOrInsertFunction(getEHPersonalityName(Pers),
lib/Transforms/Utils/PredicateInfo.cpp
  525       M->getOrInsertFunction(Name,
lib/Transforms/Utils/SanitizerStats.cpp
   60       M->getOrInsertFunction("__sanitizer_stat_report", StatReportTy);
  101       M->getOrInsertFunction("__sanitizer_stat_init", StatInitTy);
tools/clang/lib/CodeGen/CGExpr.cpp
 3141     SlowPathFn = CGM.getModule().getOrInsertFunction(
 3148     SlowPathFn = CGM.getModule().getOrInsertFunction(
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  257         M.getOrInsertFunction("__tgt_register_lib", RegFuncTy);
  278         M.getOrInsertFunction("__tgt_unregister_lib", UnRegFuncTy);
unittests/Analysis/TargetLibraryInfoTest.cpp
   70         M->getOrInsertFunction(TLI.getName(LF), InvalidFTy).getCallee());
unittests/ProfileData/SampleProfTest.cpp
  139     M.getOrInsertFunction(FooName, fn_type);
  140     M.getOrInsertFunction(BarName, fn_type);
  141     M.getOrInsertFunction(BooName, fn_type);
  288     auto Inserted = M->getOrInsertFunction(Fname, FnType);