| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 278 TsanUnalignedRead[i] = M.getOrInsertFunction( in initialize() 282 TsanUnalignedWrite[i] = M.getOrInsertFunction( in initialize() 286 TsanVolatileRead[i] = M.getOrInsertFunction( in initialize() 290 TsanVolatileWrite[i] = M.getOrInsertFunction( in initialize() 295 TsanUnalignedVolatileRead[i] = M.getOrInsertFunction( in initialize() 300 TsanUnalignedVolatileWrite[i] = M.getOrInsertFunction( in initialize() 304 TsanCompoundRW[i] = M.getOrInsertFunction( in initialize() 309 TsanUnalignedCompoundRW[i] = M.getOrInsertFunction( in initialize() 327 TsanAtomicStore[i] = M.getOrInsertFunction( in initialize() 395 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), in initialize() [all …]
|
| H A D | SanitizerCoverage.cpp | 425 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule() 435 M.getOrInsertFunction(SanCovTraceCmp1, SanCovTraceCmpZeroExtAL, VoidTy, in instrumentModule() 444 M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule() 446 SanCovTraceConstCmpFunction[0] = M.getOrInsertFunction( in instrumentModule() 448 SanCovTraceConstCmpFunction[1] = M.getOrInsertFunction( in instrumentModule() 450 SanCovTraceConstCmpFunction[2] = M.getOrInsertFunction( in instrumentModule() 453 M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule() 462 M.getOrInsertFunction(SanCovTraceDiv8, VoidTy, Int64Ty); in instrumentModule() 464 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule() 481 SanCovTracePC = M.getOrInsertFunction(SanCovTracePCName, VoidTy); in instrumentModule() [all …]
|
| H A D | AddressSanitizer.cpp | 2060 AsanRegisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 2062 AsanUnregisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 2067 AsanRegisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 2069 AsanUnregisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 2652 M.getOrInsertFunction( in initializeCallbacks() 2657 M.getOrInsertFunction( in initializeCallbacks() 2687 AMDGPUAddressShared = M.getOrInsertFunction( in initializeCallbacks() 2689 AMDGPUAddressPrivate = M.getOrInsertFunction( in initializeCallbacks() 2942 AsanPoisonStackMemoryFunc = M.getOrInsertFunction( in initializeCallbacks() 2956 AsanAllocaPoisonFunc = M.getOrInsertFunction( in initializeCallbacks() [all …]
|
| H A D | MemProfiler.cpp | 539 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr + "N", in initializeCallbacks() 543 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr, in initializeCallbacks() 546 MemProfMemmove = M.getOrInsertFunction( in initializeCallbacks() 549 MemProfMemcpy = M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + "memcpy", in initializeCallbacks() 552 MemProfMemset = M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + "memset", in initializeCallbacks()
|
| H A D | HWAddressSanitizer.cpp | 645 HwasanMemoryAccessCallbackSized[AccessIsWrite] = M.getOrInsertFunction( in initializeCallbacks() 652 M.getOrInsertFunction( in initializeCallbacks() 659 HwasanTagMemoryFunc = M.getOrInsertFunction( in initializeCallbacks() 662 M.getOrInsertFunction("__hwasan_generate_tag", Int8Ty); in initializeCallbacks() 669 HWAsanMemmove = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memmove", in initializeCallbacks() 672 HWAsanMemcpy = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memcpy", in initializeCallbacks() 675 HWAsanMemset = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memset", in initializeCallbacks() 680 M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy); in initializeCallbacks() 1621 FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction( in instrumentPersonalityFunctions() 1624 FunctionCallee UnwindGetGR = M.getOrInsertFunction("_Unwind_GetGR", VoidTy); in instrumentPersonalityFunctions() [all …]
|
| H A D | GCOVProfiling.cpp | 712 FunctionCallee GCOVFork = M->getOrInsertFunction("__gcov_fork", FTy); in AddFlushBeforeForkAndExec() 739 M->getOrInsertFunction("llvm_writeout_files", FTy); in AddFlushBeforeForkAndExec() 746 FunctionCallee ResetF = M->getOrInsertFunction("llvm_reset_counters", FTy); in AddFlushBeforeForkAndExec() 1061 FunctionCallee GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); in emitGlobalConstructor() 1078 FunctionCallee Res = M->getOrInsertFunction("llvm_gcda_start_file", FTy, AL); in getStartFileFunc() 1095 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); in getEmitFunctionFunc() 1107 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy, AL); in getEmitArcsFunc() 1112 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); in getSummaryInfoFunc() 1117 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); in getEndFileFunc()
|
| H A D | DataFlowSanitizer.cpp | 1186 FunctionCallee C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction() 1258 DFSanLoadLabelAndOriginFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1272 DFSanVarargWrapperFn = Mod->getOrInsertFunction("__dfsan_vararg_wrapper", in initializeRuntimeFunctions() 1279 DFSanChainOriginFn = Mod->getOrInsertFunction("__dfsan_chain_origin", in initializeRuntimeFunctions() 1288 DFSanChainOriginIfTaintedFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1291 DFSanMemOriginTransferFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1298 DFSanMaybeStoreOriginFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1334 DFSanLoadCallbackFn = Mod->getOrInsertFunction("__dfsan_load_callback", in initializeCallbackFunctions() 1336 DFSanStoreCallbackFn = Mod->getOrInsertFunction("__dfsan_store_callback", in initializeCallbackFunctions() 1338 DFSanMemTransferCallbackFn = Mod->getOrInsertFunction( in initializeCallbackFunctions() [all …]
|
| H A D | MemorySanitizer.cpp | 735 MsanGetContextStateFn = M.getOrInsertFunction( in createKernelApi() 746 MsanMetadataPtrForLoad_1_8[ind] = M.getOrInsertFunction( in createKernelApi() 752 MsanMetadataPtrForLoadN = M.getOrInsertFunction( in createKernelApi() 755 MsanMetadataPtrForStoreN = M.getOrInsertFunction( in createKernelApi() 763 MsanUnpoisonAllocaFn = M.getOrInsertFunction( in createKernelApi() 822 MaybeWarningFn[AccessSizeIndex] = M.getOrInsertFunction( in createUserspaceApi() 838 MsanSetAllocaOrigin4Fn = M.getOrInsertFunction( in createUserspaceApi() 855 MsanChainOriginFn = M.getOrInsertFunction( in initializeCallbacks() 860 MemmoveFn = M.getOrInsertFunction( in initializeCallbacks() 863 MemcpyFn = M.getOrInsertFunction( in initializeCallbacks() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CallGraph.cpp | 34 : M(M), ExternalCallingNode(getOrInsertFunction(nullptr)), in CallGraph() 78 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph() 110 Node->addCalledFunction(Call, getOrInsertFunction(Callee)); in populateCallGraphNode() 114 Node->addCalledFunction(nullptr, getOrInsertFunction(CB)); in populateCallGraphNode() 175 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph 224 removeOneAbstractEdgeTo(CG->getOrInsertFunction(CB)); in removeCallEdgeFor() 277 OldCBs.push_back(CG->getOrInsertFunction(CB)); in replaceCallEdge() 280 NewCBs.push_back(CG->getOrInsertFunction(CB)); in replaceCallEdge()
|
| H A D | CallGraphSCCPass.cpp | 323 CGN->addCalledFunction(nullptr, CG.getOrInsertFunction(CB)); in RefreshCallGraph() 357 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph() 381 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallGraphUpdater.cpp | 42 CallGraphNode *DeadCGN = CG->getOrInsertFunction(DeadFn); in finalize() 89 CallGraphNode *OldCGN = CG->getOrInsertFunction(&Fn); in reanalyzeFunction() 129 CallGraphNode *NewCGN = CG->getOrInsertFunction(&NewFn); in replaceFunctionWith() 150 CG->getOrInsertFunction(NewCS.getCalledFunction()); in replaceCallSite()
|
| H A D | SanitizerStats.cpp | 60 M->getOrInsertFunction("__sanitizer_stat_report", StatReportTy); in create() 101 M->getOrInsertFunction("__sanitizer_stat_init", StatInitTy); in finish()
|
| H A D | AMDGPUEmitPrintf.cpp | 65 auto Fn = M->getOrInsertFunction("__ockl_printf_begin", Int64Ty, Int64Ty); in callPrintfBegin() 76 auto Fn = M->getOrInsertFunction("__ockl_printf_append_args", Int64Ty, in callAppendArgs() 168 auto Fn = M->getOrInsertFunction("__ockl_printf_append_string_n", Int64Ty, in callAppendStringN()
|
| H A D | EntryExitInstrumenter.cpp | 37 FunctionCallee Fn = M.getOrInsertFunction(Func, Type::getVoidTy(C)); in insertCall() 46 FunctionCallee Fn = M.getOrInsertFunction( in insertCall()
|
| H A D | BuildLibCalls.cpp | 1230 FunctionCallee Callee = M->getOrInsertFunction(FuncName, FuncType); in emitLibCall() 1308 FunctionCallee MemCpy = M->getOrInsertFunction( in emitMemCpyChk() 1450 M->getOrInsertFunction(Name, Op->getType(), Op->getType()); in emitUnaryFloatFnCallHelper() 1492 FunctionCallee Callee = M->getOrInsertFunction(Name, Op1->getType(), in emitBinaryFloatFnCallHelper() 1542 M->getOrInsertFunction(PutCharName, B.getInt32Ty(), B.getInt32Ty()); in emitPutChar() 1565 M->getOrInsertFunction(PutsName, B.getInt32Ty(), B.getInt8PtrTy()); in emitPutS() 1581 FunctionCallee F = M->getOrInsertFunction(FPutcName, B.getInt32Ty(), in emitFPutC() 1602 FunctionCallee F = M->getOrInsertFunction(FPutsName, B.getInt32Ty(), in emitFPutS() 1622 FunctionCallee F = M->getOrInsertFunction( in emitFWrite() 1646 FunctionCallee Malloc = M->getOrInsertFunction(MallocName, B.getInt8PtrTy(), in emitMalloc() [all …]
|
| H A D | EscapeEnumerator.cpp | 26 return M->getOrInsertFunction(getEHPersonalityName(Pers), in getDefaultPersonalityFn()
|
| H A D | ModuleUtils.cpp | 118 return M.getOrInsertFunction( in declareSanitizerInitFunction() 149 FunctionCallee VersionCheckFunction = M.getOrInsertFunction( in createSanitizerCtorAndInitFunctions()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Module.h | 365 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T, 368 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T); 377 FunctionCallee getOrInsertFunction(StringRef Name, in getOrInsertFunction() function 381 return getOrInsertFunction(Name, in getOrInsertFunction() 388 FunctionCallee getOrInsertFunction(StringRef Name, Type *RetTy, in getOrInsertFunction() function 390 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction() 396 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CrossDSOCFI.cpp | 105 FunctionCallee C = M.getOrInsertFunction( in buildCFICheck() 133 M.getOrInsertFunction("__cfi_check_fail", Type::getVoidTy(Ctx), in buildCFICheck()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CallGraph.h | 153 CallGraphNode *getOrInsertFunction(const Function *F); 397 CallGraphNode *getOrInsertFunction(const Function *F) { in getOrInsertFunction() function 398 return G->getOrInsertFunction(F); in getOrInsertFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLowerMASSVEntries.cpp | 145 FunctionCallee FCache = M.getOrInsertFunction( in lowerMASSVCall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 147 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction() function in Module 171 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction() function in Module 172 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 176 SetJmp3 = TheModule->getOrInsertFunction( in runOnFunction() 297 CxxLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord() 352 SehLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 579 FunctionCallee StackChkFail = M->getOrInsertFunction( in CreateFailBB() 586 M->getOrInsertFunction("__stack_chk_fail", Type::getVoidTy(Context)); in CreateFailBB()
|
| H A D | SjLjEHPrepare.cpp | 487 RegisterFn = M.getOrInsertFunction( in runOnFunction() 490 UnregisterFn = M.getOrInsertFunction( in runOnFunction()
|