| /llvm-project-15.0.7/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() 247 TsanUnalignedVolatileRead[i] = M.getOrInsertFunction( in initialize() 252 TsanUnalignedVolatileWrite[i] = M.getOrInsertFunction( in initialize() 256 TsanCompoundRW[i] = M.getOrInsertFunction( in initialize() 261 TsanUnalignedCompoundRW[i] = M.getOrInsertFunction( in initialize() 279 TsanAtomicStore[i] = M.getOrInsertFunction( in initialize() 347 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), in initialize() [all …]
|
| H A D | SanitizerCoverage.cpp | 419 SanCovTraceConstCmpFunction[0] = M.getOrInsertFunction( in instrumentModule() 421 SanCovTraceConstCmpFunction[1] = M.getOrInsertFunction( in instrumentModule() 423 SanCovTraceConstCmpFunction[2] = M.getOrInsertFunction( in instrumentModule() 431 M.getOrInsertFunction(SanCovLoad2, VoidTy, Int16PtrTy); in instrumentModule() 433 M.getOrInsertFunction(SanCovLoad4, VoidTy, Int32PtrTy); in instrumentModule() 435 M.getOrInsertFunction(SanCovLoad8, VoidTy, Int64PtrTy); in instrumentModule() 440 M.getOrInsertFunction(SanCovStore1, VoidTy, Int8PtrTy); in instrumentModule() 442 M.getOrInsertFunction(SanCovStore2, VoidTy, Int16PtrTy); in instrumentModule() 444 M.getOrInsertFunction(SanCovStore4, VoidTy, Int32PtrTy); in instrumentModule() 446 M.getOrInsertFunction(SanCovStore8, VoidTy, Int64PtrTy); in instrumentModule() [all …]
|
| H A D | AddressSanitizer.cpp | 1912 AsanRegisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 1914 AsanUnregisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 1919 AsanRegisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 1921 AsanUnregisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 2498 M.getOrInsertFunction( in initializeCallbacks() 2503 M.getOrInsertFunction( in initializeCallbacks() 2535 AMDGPUAddressShared = M.getOrInsertFunction( in initializeCallbacks() 2537 AMDGPUAddressPrivate = M.getOrInsertFunction( in initializeCallbacks() 2797 AsanPoisonStackMemoryFunc = M.getOrInsertFunction( in initializeCallbacks() 2811 AsanAllocaPoisonFunc = M.getOrInsertFunction( in initializeCallbacks() [all …]
|
| H A D | MemProfiler.cpp | 557 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr + "N", in initializeCallbacks() 561 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr, in initializeCallbacks() 564 MemProfMemmove = M.getOrInsertFunction( in initializeCallbacks() 567 MemProfMemcpy = M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + "memcpy", in initializeCallbacks() 570 MemProfMemset = M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + "memset", in initializeCallbacks()
|
| H A D | HWAddressSanitizer.cpp | 635 HwasanMemoryAccessCallbackSized[AccessIsWrite] = M.getOrInsertFunction( in initializeCallbacks() 642 M.getOrInsertFunction( in initializeCallbacks() 649 HwasanTagMemoryFunc = M.getOrInsertFunction( in initializeCallbacks() 652 M.getOrInsertFunction("__hwasan_generate_tag", Int8Ty); in initializeCallbacks() 654 HwasanRecordFrameRecordFunc = M.getOrInsertFunction( in initializeCallbacks() 664 HWAsanMemmove = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memmove", in initializeCallbacks() 667 HWAsanMemcpy = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memcpy", in initializeCallbacks() 670 HWAsanMemset = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memset", in initializeCallbacks() 675 M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy); in initializeCallbacks() 1646 FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction( in instrumentPersonalityFunctions() [all …]
|
| H A D | GCOVProfiling.cpp | 658 FunctionCallee GCOVFork = M->getOrInsertFunction("__gcov_fork", FTy); in AddFlushBeforeForkAndExec() 685 M->getOrInsertFunction("llvm_writeout_files", FTy); in AddFlushBeforeForkAndExec() 692 FunctionCallee ResetF = M->getOrInsertFunction("llvm_reset_counters", FTy); in AddFlushBeforeForkAndExec() 1008 FunctionCallee GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); in emitGlobalConstructor() 1025 FunctionCallee Res = M->getOrInsertFunction("llvm_gcda_start_file", FTy, AL); in getStartFileFunc() 1042 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); in getEmitFunctionFunc() 1054 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy, AL); in getEmitArcsFunc() 1059 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); in getSummaryInfoFunc() 1064 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); in getEndFileFunc()
|
| H A D | DataFlowSanitizer.cpp | 1206 DFSanLoadLabelAndOriginFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1211 DFSanWrapperExternWeakNullFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1228 DFSanChainOriginFn = Mod->getOrInsertFunction("__dfsan_chain_origin", in initializeRuntimeFunctions() 1236 DFSanChainOriginIfTaintedFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1239 DFSanMemOriginTransferFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1246 DFSanMaybeStoreOriginFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1288 DFSanLoadCallbackFn = Mod->getOrInsertFunction("__dfsan_load_callback", in initializeCallbackFunctions() 1292 DFSanMemTransferCallbackFn = Mod->getOrInsertFunction( in initializeCallbackFunctions() 1297 DFSanConditionalCallbackFn = Mod->getOrInsertFunction( in initializeCallbackFunctions() 1300 Mod->getOrInsertFunction("__dfsan_conditional_callback_origin", in initializeCallbackFunctions() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CallGraph.cpp | 33 : M(M), ExternalCallingNode(getOrInsertFunction(nullptr)), in CallGraph() 76 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph() 108 Node->addCalledFunction(Call, getOrInsertFunction(Callee)); in populateCallGraphNode() 112 Node->addCalledFunction(nullptr, getOrInsertFunction(CB)); in populateCallGraphNode() 173 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph 222 removeOneAbstractEdgeTo(CG->getOrInsertFunction(CB)); in removeCallEdgeFor() 275 OldCBs.push_back(CG->getOrInsertFunction(CB)); in replaceCallEdge() 278 NewCBs.push_back(CG->getOrInsertFunction(CB)); in replaceCallEdge()
|
| H A D | CallGraphSCCPass.cpp | 322 CGN->addCalledFunction(nullptr, CG.getOrInsertFunction(CB)); in RefreshCallGraph() 356 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph() 380 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
|
| /llvm-project-15.0.7/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() 131 CallGraphNode *NewCGN = CG->getOrInsertFunction(&NewFn); in replaceFunctionWith() 152 CG->getOrInsertFunction(NewCS.getCalledFunction()); in replaceCallSite()
|
| H A D | SanitizerStats.cpp | 59 M->getOrInsertFunction("__sanitizer_stat_report", StatReportTy); in create() 100 M->getOrInsertFunction("__sanitizer_stat_init", StatInitTy); in finish()
|
| 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 | AMDGPUEmitPrintf.cpp | 52 auto Fn = M->getOrInsertFunction("__ockl_printf_begin", Int64Ty, Int64Ty); in callPrintfBegin() 63 auto Fn = M->getOrInsertFunction("__ockl_printf_append_args", Int64Ty, in callAppendArgs() 155 auto Fn = M->getOrInsertFunction("__ockl_printf_append_string_n", Int64Ty, in callAppendStringN()
|
| H A D | EscapeEnumerator.cpp | 26 return M->getOrInsertFunction(getEHPersonalityName(Pers), in getDefaultPersonalityFn()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Module.h | 368 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T, 371 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T); 380 FunctionCallee getOrInsertFunction(StringRef Name, in getOrInsertFunction() function 384 return getOrInsertFunction(Name, in getOrInsertFunction() 391 FunctionCallee getOrInsertFunction(StringRef Name, Type *RetTy, in getOrInsertFunction() function 393 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction() 399 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
|
| /llvm-project-15.0.7/clang/tools/clang-linker-wrapper/ |
| H A D | OffloadWrapper.cpp | 238 M.getOrInsertFunction("__tgt_register_lib", RegFuncTy); in createRegisterFunction() 265 M.getOrInsertFunction("__tgt_unregister_lib", UnRegFuncTy); in createUnregisterFunction() 378 FunctionCallee RegFunc = M.getOrInsertFunction( in createRegisterGlobalsFunction() 388 FunctionCallee RegVar = M.getOrInsertFunction( in createRegisterGlobalsFunction() 537 FunctionCallee RegFatbin = M.getOrInsertFunction( in createRegisterFatbinFunction() 544 M.getOrInsertFunction("__cudaRegisterFatBinaryEnd", RegFatEndTy); in createRegisterFatbinFunction() 549 FunctionCallee UnregFatbin = M.getOrInsertFunction( in createRegisterFatbinFunction() 556 FunctionCallee AtExit = M.getOrInsertFunction("atexit", AtExitTy); in createRegisterFatbinFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | CrossDSOCFI.cpp | 100 FunctionCallee C = M.getOrInsertFunction( in buildCFICheck() 128 M.getOrInsertFunction("__cfi_check_fail", Type::getVoidTy(Ctx), in buildCFICheck()
|
| /llvm-project-15.0.7/llvm/examples/BrainF/ |
| H A D | BrainF.cpp | 76 module->getOrInsertFunction("getchar", IntegerType::getInt32Ty(C)); in header() 79 putchar_func = module->getOrInsertFunction( in header() 153 FunctionCallee puts_func = module->getOrInsertFunction( in header()
|
| /llvm-project-15.0.7/llvm/tools/vfabi-demangle-fuzzer/ |
| H A D | vfabi-demangler-fuzzer.cpp | 31 M->getOrInsertFunction( in LLVMFuzzerTestOneInput()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | CallGraph.h | 152 CallGraphNode *getOrInsertFunction(const Function *F); 396 CallGraphNode *getOrInsertFunction(const Function *F) { in getOrInsertFunction() function 397 return G->getOrInsertFunction(F); in getOrInsertFunction()
|
| /llvm-project-15.0.7/llvm/unittests/ProfileData/ |
| H A D | SampleProfTest.cpp | 215 M.getOrInsertFunction(FooName, fn_type); in testRoundTrip() 216 M.getOrInsertFunction(BarName, fn_type); in testRoundTrip() 217 M.getOrInsertFunction(BooName, fn_type); in testRoundTrip() 359 auto Inserted = M->getOrInsertFunction(Fname, FnType); in createFunctionWithSampleProfileElisionPolicy()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | TargetLibraryInfoTest.cpp | 70 M->getOrInsertFunction(TLI.getName(LF), InvalidFTy).getCallee()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCtorDtorLowering.cpp | 64 M.getOrInsertFunction(F->getName(), IRB.getVoidTy()); in createInitOrFiniKernel()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 100 FunctionCallee FCache = M->getOrInsertFunction( in createScalarMASSCall()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/ROCDL/ |
| H A D | ROCDLToLLVMIRTranslation.cpp | 39 module->getOrInsertFunction(fnName, functionType).getCallee()); in createDeviceFunctionCall()
|