/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 254 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr, in initialize() 257 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); in initialize() 258 TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr, in initialize() 261 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); in initialize() 269 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), in initialize() 273 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), in initialize() 277 TsanUnalignedRead[i] = M.getOrInsertFunction( in initialize() 281 TsanUnalignedWrite[i] = M.getOrInsertFunction( in initialize() 285 TsanVolatileRead[i] = M.getOrInsertFunction( in initialize() 289 TsanVolatileWrite[i] = M.getOrInsertFunction( in initialize() [all …]
|
H A D | SanitizerCoverage.cpp | 424 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule() 434 M.getOrInsertFunction(SanCovTraceCmp1, SanCovTraceCmpZeroExtAL, VoidTy, in instrumentModule() 437 M.getOrInsertFunction(SanCovTraceCmp2, SanCovTraceCmpZeroExtAL, VoidTy, in instrumentModule() 440 M.getOrInsertFunction(SanCovTraceCmp4, SanCovTraceCmpZeroExtAL, VoidTy, in instrumentModule() 443 M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule() 445 SanCovTraceConstCmpFunction[0] = M.getOrInsertFunction( in instrumentModule() 447 SanCovTraceConstCmpFunction[1] = M.getOrInsertFunction( in instrumentModule() 449 SanCovTraceConstCmpFunction[2] = M.getOrInsertFunction( in instrumentModule() 452 M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule() 458 M.getOrInsertFunction(SanCovTraceDiv4, AL, VoidTy, IRB.getInt32Ty()); in instrumentModule() [all …]
|
H A D | AddressSanitizer.cpp | 2065 M.getOrInsertFunction(kAsanPoisonGlobalsName, IRB.getVoidTy(), IntptrTy); in initializeCallbacks() 2067 M.getOrInsertFunction(kAsanUnpoisonGlobalsName, IRB.getVoidTy()); in initializeCallbacks() 2070 AsanRegisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 2072 AsanUnregisterGlobals = M.getOrInsertFunction( in initializeCallbacks() 2077 AsanRegisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 2079 AsanUnregisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks() 2083 M.getOrInsertFunction(kAsanRegisterElfGlobalsName, IRB.getVoidTy(), in initializeCallbacks() 2086 M.getOrInsertFunction(kAsanUnregisterElfGlobalsName, IRB.getVoidTy(), in initializeCallbacks() 2648 AsanErrorCallbackSized[AccessIsWrite][Exp] = M.getOrInsertFunction( in initializeCallbacks() 2652 AsanMemoryAccessCallbackSized[AccessIsWrite][Exp] = 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 | 566 HwasanMemoryAccessCallbackSized[AccessIsWrite] = M.getOrInsertFunction( in initializeCallbacks() 573 M.getOrInsertFunction( in initializeCallbacks() 580 HwasanTagMemoryFunc = M.getOrInsertFunction( in initializeCallbacks() 583 M.getOrInsertFunction("__hwasan_generate_tag", Int8Ty); in initializeCallbacks() 590 HWAsanMemmove = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memmove", in initializeCallbacks() 593 HWAsanMemcpy = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memcpy", in initializeCallbacks() 596 HWAsanMemset = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memset", in initializeCallbacks() 601 M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy); in initializeCallbacks() 1493 FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction( in instrumentPersonalityFunctions() 1496 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() 1059 FunctionCallee GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); in emitGlobalConstructor() 1076 FunctionCallee Res = M->getOrInsertFunction("llvm_gcda_start_file", FTy, AL); in getStartFileFunc() 1093 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); in getEmitFunctionFunc() 1105 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy, AL); in getEmitArcsFunc() 1110 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); in getSummaryInfoFunc() 1115 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); in getEndFileFunc()
|
H A D | DataFlowSanitizer.cpp | 1247 FunctionCallee C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction() 1311 Mod->getOrInsertFunction("__dfsan_union", DFSanUnionFnTy, AL); in initializeRuntimeFunctions() 1324 Mod->getOrInsertFunction("dfsan_union", DFSanUnionFnTy, AL); in initializeRuntimeFunctions() 1335 Mod->getOrInsertFunction("__dfsan_union_load", DFSanUnionLoadFnTy, AL); in initializeRuntimeFunctions() 1345 DFSanUnionLoadFastLabelsFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1356 DFSanLoadLabelAndOriginFn = Mod->getOrInsertFunction( in initializeRuntimeFunctions() 1360 Mod->getOrInsertFunction("__dfsan_unimplemented", DFSanUnimplementedFnTy); in initializeRuntimeFunctions() 1366 Mod->getOrInsertFunction("__dfsan_set_label", DFSanSetLabelFnTy, AL); in initializeRuntimeFunctions() 1369 Mod->getOrInsertFunction("__dfsan_nonzero_label", DFSanNonzeroLabelFnTy); in initializeRuntimeFunctions() 1370 DFSanVarargWrapperFn = Mod->getOrInsertFunction("__dfsan_vararg_wrapper", in initializeRuntimeFunctions() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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 | ModuleUtils.cpp | 118 return M.getOrInsertFunction( in declareSanitizerInitFunction() 147 FunctionCallee VersionCheckFunction = M.getOrInsertFunction( in createSanitizerCtorAndInitFunctions() 191 cast<Function>(M.getOrInsertFunction(Name, AttributeList(), in getOrCreateInitFunction()
|
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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Module.h | 362 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T, 365 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T); 374 FunctionCallee getOrInsertFunction(StringRef Name, in getOrInsertFunction() function 378 return getOrInsertFunction(Name, in getOrInsertFunction() 385 FunctionCallee getOrInsertFunction(StringRef Name, Type *RetTy, in getOrInsertFunction() function 387 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction() 393 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/BrainF/ |
H A D | BrainF.cpp | 76 module->getOrInsertFunction("getchar", IntegerType::getInt32Ty(C)); in header() 79 putchar_func = module->getOrInsertFunction( in header() 154 FunctionCallee puts_func = module->getOrInsertFunction( in header()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/vfabi-demangle-fuzzer/ |
H A D | vfabi-demangler-fuzzer.cpp | 31 M->getOrInsertFunction( in LLVMFuzzerTestOneInput()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-offload-wrapper/ |
H A D | ClangOffloadWrapper.cpp | 258 M.getOrInsertFunction("__tgt_register_lib", RegFuncTy); in createRegisterFunction() 284 M.getOrInsertFunction("__tgt_unregister_lib", UnRegFuncTy); in createUnregisterFunction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Module.cpp | 143 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction() function in Module 167 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction() function in Module 168 return getOrInsertFunction(Name, Ty, AttributeList()); in getOrInsertFunction()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCLowerMASSVEntries.cpp | 142 FunctionCallee FCache = M.getOrInsertFunction( in lowerMASSVCall()
|