Searched refs:getOrInsertFunction (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp209 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr,
212 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy());
213 TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr,
216 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy());
224 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(),
228 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(),
232 TsanUnalignedRead[i] = M.getOrInsertFunction(
236 TsanUnalignedWrite[i] = M.getOrInsertFunction(
243 M.getOrInsertFunction(AtomicLoadName, Attr, Ty, PtrTy, OrdTy);
246 TsanAtomicStore[i] = M.getOrInsertFunction(
[all...]
H A DSanitizerCoverage.cpp384 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy);
396 M.getOrInsertFunction(SanCovTraceCmp1, SanCovTraceCmpZeroExtAL, VoidTy,
399 M.getOrInsertFunction(SanCovTraceCmp2, SanCovTraceCmpZeroExtAL, VoidTy,
402 M.getOrInsertFunction(SanCovTraceCmp4, SanCovTraceCmpZeroExtAL, VoidTy,
405 M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty);
407 SanCovTraceConstCmpFunction[0] = M.getOrInsertFunction(
409 SanCovTraceConstCmpFunction[1] = M.getOrInsertFunction(
411 SanCovTraceConstCmpFunction[2] = M.getOrInsertFunction(
414 M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty);
421 M.getOrInsertFunction(SanCovTraceDiv
[all...]
H A DAddressSanitizer.cpp1956 M.getOrInsertFunction(kAsanPoisonGlobalsName, IRB.getVoidTy(), IntptrTy);
1958 M.getOrInsertFunction(kAsanUnpoisonGlobalsName, IRB.getVoidTy());
1961 AsanRegisterGlobals = M.getOrInsertFunction(
1963 AsanUnregisterGlobals = M.getOrInsertFunction(
1968 AsanRegisterImageGlobals = M.getOrInsertFunction(
1970 AsanUnregisterImageGlobals = M.getOrInsertFunction(
1974 M.getOrInsertFunction(kAsanRegisterElfGlobalsName, IRB.getVoidTy(),
1977 M.getOrInsertFunction(kAsanUnregisterElfGlobalsName, IRB.getVoidTy(),
2489 AsanErrorCallbackSized[AccessIsWrite][Exp] = M.getOrInsertFunction(
2493 AsanMemoryAccessCallbackSized[AccessIsWrite][Exp] = M.getOrInsertFunction(
[all...]
H A DHWAddressSanitizer.cpp440 HwasanMemoryAccessCallbackSized[AccessIsWrite] = M.getOrInsertFunction(
447 M.getOrInsertFunction(
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);
1438 FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction(
1441 FunctionCallee UnwindGetGR = M.getOrInsertFunction("_Unwind_GetG
[all...]
H A DGCOVProfiling.cpp666 FunctionCallee GCOVFork = M->getOrInsertFunction("__gcov_fork", FTy);
693 M->getOrInsertFunction("llvm_writeout_files", FTy);
700 FunctionCallee ResetF = M->getOrInsertFunction("llvm_reset_counters", FTy);
920 FunctionCallee GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy);
940 FunctionCallee Res = M->getOrInsertFunction("llvm_gcda_start_file", FTy, AL);
960 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy);
972 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy, AL);
977 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy);
982 return M->getOrInsertFunction("llvm_gcda_end_file", FTy);
H A DDataFlowSanitizer.cpp687 FunctionCallee C = Mod->getOrInsertFunction(FName, FTT);
746 Mod->getOrInsertFunction("__dfsan_union", DFSanUnionFnTy, AL);
760 Mod->getOrInsertFunction("dfsan_union", DFSanUnionFnTy, AL);
771 Mod->getOrInsertFunction("__dfsan_union_load", DFSanUnionLoadFnTy, AL);
774 Mod->getOrInsertFunction("__dfsan_unimplemented", DFSanUnimplementedFnTy);
779 Mod->getOrInsertFunction("__dfsan_set_label", DFSanSetLabelFnTy, AL);
782 Mod->getOrInsertFunction("__dfsan_nonzero_label", DFSanNonzeroLabelFnTy);
783 DFSanVarargWrapperFn = Mod->getOrInsertFunction("__dfsan_vararg_wrapper",
1581 FunctionCallee CustomF = DFSF.DFS.Mod->getOrInsertFunction(
H A DMemorySanitizer.cpp707 WarningFn = M.getOrInsertFunction("__msan_warning", IRB.getVoidTy(),
718 MsanGetContextStateFn = M.getOrInsertFunction(
729 MsanMetadataPtrForLoad_1_8[ind] = M.getOrInsertFunction(
731 MsanMetadataPtrForStore_1_8[ind] = M.getOrInsertFunction(
735 MsanMetadataPtrForLoadN = M.getOrInsertFunction(
738 MsanMetadataPtrForStoreN = M.getOrInsertFunction(
744 M.getOrInsertFunction("__msan_poison_alloca", IRB.getVoidTy(),
746 MsanUnpoisonAllocaFn = M.getOrInsertFunction(
766 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy());
799 MaybeWarningFn[AccessSizeIndex] = M.getOrInsertFunction(
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCallGraph.cpp32 : M(M), ExternalCallingNode(getOrInsertFunction(nullptr)),
61 CallGraphNode *Node = getOrInsertFunction(F);
84 Node->addCalledFunction(Call, getOrInsertFunction(Callee));
145 // getOrInsertFunction - This method is identical to calling operator[], but
148 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { function in class:CallGraph
H A DCallGraphSCCPass.cpp325 CalleeNode = CG.getOrInsertFunction(Callee);
349 CalleeNode = CG.getOrInsertFunction(Callee);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp60 M->getOrInsertFunction("__sanitizer_stat_report", StatReportTy);
101 M->getOrInsertFunction("__sanitizer_stat_init", StatInitTy);
H A DEntryExitInstrumenter.cpp34 FunctionCallee Fn = M.getOrInsertFunction(Func, Type::getVoidTy(C));
43 FunctionCallee Fn = M.getOrInsertFunction(
H A DEscapeEnumerator.cpp25 return M->getOrInsertFunction(getEHPersonalityName(Pers),
H A DBuildLibCalls.cpp838 FunctionCallee Callee = M->getOrInsertFunction(FuncName, FuncType);
916 FunctionCallee MemCpy = M->getOrInsertFunction(
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(FPutsUnlockedNam
[all...]
H A DModuleUtils.cpp114 return M.getOrInsertFunction(
136 FunctionCallee VersionCheckFunction = M.getOrInsertFunction(
180 cast<Function>(M.getOrInsertFunction(Name, AttributeList(),
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h345 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T,
348 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T);
357 FunctionCallee getOrInsertFunction(StringRef Name, function in class:llvm::Module
361 return getOrInsertFunction(Name,
368 FunctionCallee getOrInsertFunction(StringRef Name, Type *RetTy, function in class:llvm::Module
370 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...);
376 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCallGraph.h157 CallGraphNode *getOrInsertFunction(const Function *F);
384 CallGraphNode *getOrInsertFunction(const Function *F) { function in class:CallGraphWrapperPass
385 return G->getOrInsertFunction(F);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp109 FunctionCallee FCache = M.getOrInsertFunction(
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp105 FunctionCallee C = M.getOrInsertFunction(
133 M.getOrInsertFunction("__cfi_check_fail", Type::getVoidTy(Ctx),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp138 // getOrInsertFunction - Look up the specified function in the module symbol
143 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, function in class:Module
167 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { function in class:Module
168 return getOrInsertFunction(Name, Ty, AttributeList());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp534 FunctionCallee StackChkFail = M->getOrInsertFunction(
541 M->getOrInsertFunction("__stack_chk_fail", Type::getVoidTy(Context));
H A DDwarfEHPrepare.cpp214 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
H A DPreISelIntrinsicLowering.cpp80 FunctionCallee FCache = M->getOrInsertFunction(NewFn, F.getFunctionType());
H A DWasmEHPrepare.cpp251 CallPersonalityF = M.getOrInsertFunction(
H A DSjLjEHPrepare.cpp475 RegisterFn = M.getOrInsertFunction(
478 UnregisterFn = M.getOrInsertFunction(
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp112 FunctionCallee AtExit = M.getOrInsertFunction(

Completed in 334 milliseconds

123