| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 230 TsanUnalignedRead[i] = M.getOrInsertFunction( in initialize() 234 TsanUnalignedWrite[i] = M.getOrInsertFunction( in initialize() 238 TsanVolatileRead[i] = M.getOrInsertFunction( in initialize() 242 TsanVolatileWrite[i] = M.getOrInsertFunction( in initialize() 256 TsanCompoundRW[i] = M.getOrInsertFunction( in initialize() 268 M.getOrInsertFunction(AtomicLoadName, in initialize() 278 TsanAtomicStore[i] = M.getOrInsertFunction( in initialize() 313 TsanAtomicCAS[i] = M.getOrInsertFunction( in initialize() 324 TsanAtomicThreadFence = M.getOrInsertFunction( in initialize() 329 TsanAtomicSignalFence = M.getOrInsertFunction( in initialize() [all …]
|
| H A D | SanitizerCoverage.cpp | 420 SanCovTraceConstCmpFunction[0] = M.getOrInsertFunction( in instrumentModule() 422 SanCovTraceConstCmpFunction[1] = M.getOrInsertFunction( in instrumentModule() 424 SanCovTraceConstCmpFunction[2] = M.getOrInsertFunction( in instrumentModule() 432 M.getOrInsertFunction(SanCovLoad2, VoidTy, PtrTy); in instrumentModule() 434 M.getOrInsertFunction(SanCovLoad4, VoidTy, PtrTy); in instrumentModule() 436 M.getOrInsertFunction(SanCovLoad8, VoidTy, PtrTy); in instrumentModule() 438 M.getOrInsertFunction(SanCovLoad16, VoidTy, PtrTy); in instrumentModule() 441 M.getOrInsertFunction(SanCovStore1, VoidTy, PtrTy); in instrumentModule() 443 M.getOrInsertFunction(SanCovStore2, VoidTy, PtrTy); in instrumentModule() 445 M.getOrInsertFunction(SanCovStore4, VoidTy, PtrTy); in instrumentModule() [all …]
|
| H A D | AddressSanitizer.cpp | 2115 AsanRegisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 2117 AsanUnregisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 2122 AsanRegisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 2124 AsanUnregisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 2728 M.getOrInsertFunction( in initializeCallbacks() 2733 M.getOrInsertFunction( in initializeCallbacks() 3017 AsanStackMallocFunc[Index] = M.getOrInsertFunction( in initializeCallbacks() 3025 AsanPoisonStackMemoryFunc = M.getOrInsertFunction( in initializeCallbacks() 3027 AsanUnpoisonStackMemoryFunc = M.getOrInsertFunction( in initializeCallbacks() 3040 AsanAllocaPoisonFunc = M.getOrInsertFunction( in initializeCallbacks() [all …]
|
| H A D | HWAddressSanitizer.cpp | 689 HwasanMemoryAccessCallbackSized[AccessIsWrite] = M.getOrInsertFunction( in initializeCallbacks() 696 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr + in initializeCallbacks() 708 HwasanMemmove = M.getOrInsertFunction( in initializeCallbacks() 710 HwasanMemcpy = M.getOrInsertFunction( in initializeCallbacks() 712 HwasanMemset = M.getOrInsertFunction( in initializeCallbacks() 715 HwasanTagMemoryFunc = M.getOrInsertFunction("__hwasan_tag_memory", VoidTy, in initializeCallbacks() 718 M.getOrInsertFunction("__hwasan_generate_tag", Int8Ty); in initializeCallbacks() 721 M.getOrInsertFunction("__hwasan_add_frame_record", VoidTy, Int64Ty); in initializeCallbacks() 727 M.getOrInsertFunction("__hwasan_handle_vfork", VoidTy, IntptrTy); in initializeCallbacks() 1722 FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction( in instrumentPersonalityFunctions() [all …]
|
| H A D | DataFlowSanitizer.cpp | 1347 DFSanLoadLabelAndOriginFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1352 DFSanWrapperExternWeakNullFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1377 DFSanChainOriginIfTaintedFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1380 DFSanMemOriginTransferFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1383 DFSanMemShadowOriginTransferFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1394 DFSanMaybeStoreOriginFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1448 DFSanLoadCallbackFn = Mod->getOrInsertFunction( in initializeCallbackFunctions() 1454 DFSanStoreCallbackFn = Mod->getOrInsertFunction( in initializeCallbackFunctions() 1457 DFSanMemTransferCallbackFn = Mod->getOrInsertFunction( in initializeCallbackFunctions() 1468 DFSanConditionalCallbackFn = Mod->getOrInsertFunction( in initializeCallbackFunctions() [all …]
|
| H A D | GCOVProfiling.cpp | 660 FunctionCallee GCOVFork = M->getOrInsertFunction( in AddFlushBeforeForkAndExec() 689 M->getOrInsertFunction("llvm_writeout_files", FTy); in AddFlushBeforeForkAndExec() 696 FunctionCallee ResetF = M->getOrInsertFunction("llvm_reset_counters", FTy); in AddFlushBeforeForkAndExec() 1025 FunctionCallee GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); in emitGlobalConstructor() 1039 return M->getOrInsertFunction("llvm_gcda_start_file", FTy, in getStartFileFunc() 1050 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy, in getEmitFunctionFunc() 1060 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy, in getEmitArcsFunc() 1066 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); in getSummaryInfoFunc() 1071 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); in getEndFileFunc()
|
| H A D | MemProfiler.cpp | 514 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr + "N", in initializeCallbacks() 518 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr, in initializeCallbacks() 521 MemProfMemmove = M.getOrInsertFunction( in initializeCallbacks() 523 MemProfMemcpy = M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + "memcpy", in initializeCallbacks() 526 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + "memset", PtrTy, in initializeCallbacks()
|
| H A D | MemorySanitizer.cpp | 764 return M.getOrInsertFunction(Name, Type::getVoidTy(*C), in getOrInsertMsanMetadataFunction() 769 return M.getOrInsertFunction(Name, MsanMetadata, in getOrInsertMsanMetadataFunction() 786 WarningFn = M.getOrInsertFunction("__msan_warning", in createKernelApi() 799 MsanGetContextStateFn = M.getOrInsertFunction( in createKernelApi() 824 MsanPoisonAllocaFn = M.getOrInsertFunction( in createKernelApi() 826 MsanUnpoisonAllocaFn = M.getOrInsertFunction( in createKernelApi() 848 WarningFn = M.getOrInsertFunction(WarningFnName, in createUserspaceApi() 887 MaybeWarningFn[AccessSizeIndex] = M.getOrInsertFunction( in createUserspaceApi() 917 MsanChainOriginFn = M.getOrInsertFunction( in initializeCallbacks() 921 MsanSetOriginFn = M.getOrInsertFunction( in initializeCallbacks() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CallGraph.cpp | 33 : M(M), ExternalCallingNode(getOrInsertFunction(nullptr)), in CallGraph() 76 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph() 105 Node->addCalledFunction(Call, getOrInsertFunction(Callee)); in populateCallGraphNode() 109 Node->addCalledFunction(nullptr, getOrInsertFunction(CB)); in populateCallGraphNode() 170 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph 219 removeOneAbstractEdgeTo(CG->getOrInsertFunction(CB)); in removeCallEdgeFor() 272 OldCBs.push_back(CG->getOrInsertFunction(CB)); in replaceCallEdge() 275 NewCBs.push_back(CG->getOrInsertFunction(CB)); in replaceCallEdge()
|
| H A D | CallGraphSCCPass.cpp | 315 CGN->addCalledFunction(nullptr, CG.getOrInsertFunction(CB)); in RefreshCallGraph() 349 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph() 373 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallGraphUpdater.cpp | 44 CallGraphNode *DeadCGN = CG->getOrInsertFunction(DeadFn); in finalize() 91 CallGraphNode *OldCGN = CG->getOrInsertFunction(&Fn); in reanalyzeFunction() 133 CallGraphNode *NewCGN = CG->getOrInsertFunction(&NewFn); in replaceFunctionWith() 154 CG->getOrInsertFunction(NewCS.getCalledFunction()); in replaceCallSite()
|
| H A D | EntryExitInstrumenter.cpp | 43 M.getOrInsertFunction(Func, in insertCall() 49 FunctionCallee Fn = M.getOrInsertFunction(Func, Type::getVoidTy(C)); in insertCall() 59 FunctionCallee Fn = M.getOrInsertFunction( in insertCall()
|
| H A D | SanitizerStats.cpp | 59 M->getOrInsertFunction("__sanitizer_stat_report", StatReportTy); in create() 99 M->getOrInsertFunction("__sanitizer_stat_init", StatInitTy); in finish()
|
| H A D | AMDGPUEmitPrintf.cpp | 56 auto Fn = M->getOrInsertFunction("__ockl_printf_begin", Int64Ty, Int64Ty); in callPrintfBegin() 67 auto Fn = M->getOrInsertFunction("__ockl_printf_append_args", Int64Ty, in callAppendArgs() 159 auto Fn = M->getOrInsertFunction("__ockl_printf_append_string_n", Int64Ty, in callAppendStringN() 304 M->getOrInsertFunction(StringRef("__printf_alloc"), FTy_alloc, Attr); in callBufferedPrintfStart()
|
| H A D | EscapeEnumerator.cpp | 26 return M->getOrInsertFunction(getEHPersonalityName(Pers), in getDefaultPersonalityFn()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
| H A D | OffloadWrapper.cpp | 199 M.getOrInsertFunction("__tgt_register_lib", RegFuncTy); in createRegisterFunction() 228 M.getOrInsertFunction("__tgt_unregister_lib", UnRegFuncTy); in createUnregisterFunction() 336 FunctionCallee RegFunc = M.getOrInsertFunction( in createRegisterGlobalsFunction() 345 FunctionCallee RegVar = M.getOrInsertFunction( in createRegisterGlobalsFunction() 354 FunctionCallee RegSurface = M.getOrInsertFunction( in createRegisterGlobalsFunction() 363 FunctionCallee RegTexture = M.getOrInsertFunction( in createRegisterGlobalsFunction() 528 FunctionCallee RegFatbin = M.getOrInsertFunction( in createRegisterFatbinFunction() 534 M.getOrInsertFunction("__cudaRegisterFatBinaryEnd", RegFatEndTy); in createRegisterFatbinFunction() 538 FunctionCallee UnregFatbin = M.getOrInsertFunction( in createRegisterFatbinFunction() 544 FunctionCallee AtExit = M.getOrInsertFunction("atexit", AtExitTy); in createRegisterFatbinFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Module.h | 389 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T, 392 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T); 401 FunctionCallee getOrInsertFunction(StringRef Name, in getOrInsertFunction() function 405 return getOrInsertFunction(Name, in getOrInsertFunction() 412 FunctionCallee getOrInsertFunction(StringRef Name, Type *RetTy, in getOrInsertFunction() function 414 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction() 420 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CrossDSOCFI.cpp | 86 FunctionCallee C = M.getOrInsertFunction( in buildCFICheck() 113 FunctionCallee CFICheckFailFn = M.getOrInsertFunction( in buildCFICheck()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CallGraph.h | 152 CallGraphNode *getOrInsertFunction(const Function *F); 409 CallGraphNode *getOrInsertFunction(const Function *F) { in getOrInsertFunction() function 410 return G->getOrInsertFunction(F); in getOrInsertFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 100 FunctionCallee FCache = M->getOrInsertFunction( in createScalarMASSCall()
|
| H A D | PPCLowerMASSVEntries.cpp | 145 FunctionCallee FCache = M.getOrInsertFunction( in lowerMASSVCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SMEABIPass.cpp | 68 M->getOrInsertFunction("__arm_tpidr2_save", TPIDR2SaveTy, Attrs); in emitTPIDR2Save()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 176 SetJmp3 = TheModule->getOrInsertFunction( in runOnFunction() 297 CxxLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord() 351 SehLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 145 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction() function in Module 163 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction() function in Module 164 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SjLjEHPrepare.cpp | 503 RegisterFn = M.getOrInsertFunction( in runOnFunction() 506 UnregisterFn = M.getOrInsertFunction( in runOnFunction()
|