Home
last modified time | relevance | path

Searched refs:getOrInsertFunction (Results 1 – 25 of 53) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp209 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr, in initialize()
212 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); in initialize()
213 TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr, in initialize()
216 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); in initialize()
224 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), in initialize()
228 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), in initialize()
232 TsanUnalignedRead[i] = M.getOrInsertFunction( in initialize()
236 TsanUnalignedWrite[i] = M.getOrInsertFunction( in initialize()
243 M.getOrInsertFunction(AtomicLoadName, Attr, Ty, PtrTy, OrdTy); in initialize()
246 TsanAtomicStore[i] = M.getOrInsertFunction( in initialize()
[all …]
DSanitizerCoverage.cpp384 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule()
396 M.getOrInsertFunction(SanCovTraceCmp1, SanCovTraceCmpZeroExtAL, VoidTy, in instrumentModule()
399 M.getOrInsertFunction(SanCovTraceCmp2, SanCovTraceCmpZeroExtAL, VoidTy, in instrumentModule()
402 M.getOrInsertFunction(SanCovTraceCmp4, SanCovTraceCmpZeroExtAL, VoidTy, in instrumentModule()
405 M.getOrInsertFunction(SanCovTraceCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
407 SanCovTraceConstCmpFunction[0] = M.getOrInsertFunction( in instrumentModule()
409 SanCovTraceConstCmpFunction[1] = M.getOrInsertFunction( in instrumentModule()
411 SanCovTraceConstCmpFunction[2] = M.getOrInsertFunction( in instrumentModule()
414 M.getOrInsertFunction(SanCovTraceConstCmp8, VoidTy, Int64Ty, Int64Ty); in instrumentModule()
421 M.getOrInsertFunction(SanCovTraceDiv4, AL, VoidTy, IRB.getInt32Ty()); in instrumentModule()
[all …]
DAddressSanitizer.cpp1956 M.getOrInsertFunction(kAsanPoisonGlobalsName, IRB.getVoidTy(), IntptrTy); in initializeCallbacks()
1958 M.getOrInsertFunction(kAsanUnpoisonGlobalsName, IRB.getVoidTy()); in initializeCallbacks()
1961 AsanRegisterGlobals = M.getOrInsertFunction( in initializeCallbacks()
1963 AsanUnregisterGlobals = M.getOrInsertFunction( in initializeCallbacks()
1968 AsanRegisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks()
1970 AsanUnregisterImageGlobals = M.getOrInsertFunction( in initializeCallbacks()
1974 M.getOrInsertFunction(kAsanRegisterElfGlobalsName, IRB.getVoidTy(), in initializeCallbacks()
1977 M.getOrInsertFunction(kAsanUnregisterElfGlobalsName, IRB.getVoidTy(), in initializeCallbacks()
2489 AsanErrorCallbackSized[AccessIsWrite][Exp] = M.getOrInsertFunction( in initializeCallbacks()
2493 AsanMemoryAccessCallbackSized[AccessIsWrite][Exp] = M.getOrInsertFunction( in initializeCallbacks()
[all …]
DHWAddressSanitizer.cpp440 HwasanMemoryAccessCallbackSized[AccessIsWrite] = M.getOrInsertFunction( in initializeCallbacks()
447 M.getOrInsertFunction( in initializeCallbacks()
454 HwasanTagMemoryFunc = M.getOrInsertFunction( in initializeCallbacks()
457 M.getOrInsertFunction("__hwasan_generate_tag", Int8Ty); in initializeCallbacks()
464 HWAsanMemmove = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memmove", in initializeCallbacks()
467 HWAsanMemcpy = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memcpy", in initializeCallbacks()
470 HWAsanMemset = M.getOrInsertFunction(MemIntrinCallbackPrefix + "memset", in initializeCallbacks()
475 M.getOrInsertFunction("__hwasan_handle_vfork", IRB.getVoidTy(), IntptrTy); in initializeCallbacks()
1438 FunctionCallee HwasanPersonalityWrapper = M.getOrInsertFunction( in instrumentPersonalityFunctions()
1441 FunctionCallee UnwindGetGR = M.getOrInsertFunction("_Unwind_GetGR", VoidTy); in instrumentPersonalityFunctions()
[all …]
DGCOVProfiling.cpp659 FunctionCallee GCOVFlush = M->getOrInsertFunction("__gcov_flush", FTy); in AddFlushBeforeForkAndExec()
879 FunctionCallee GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); in emitProfileArcs()
899 FunctionCallee Res = M->getOrInsertFunction("llvm_gcda_start_file", FTy, AL); in getStartFileFunc()
919 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); in getEmitFunctionFunc()
931 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy, AL); in getEmitArcsFunc()
936 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); in getSummaryInfoFunc()
941 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); in getEndFileFunc()
DDataFlowSanitizer.cpp687 FunctionCallee C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction()
746 Mod->getOrInsertFunction("__dfsan_union", DFSanUnionFnTy, AL); in runOnModule()
760 Mod->getOrInsertFunction("dfsan_union", DFSanUnionFnTy, AL); in runOnModule()
771 Mod->getOrInsertFunction("__dfsan_union_load", DFSanUnionLoadFnTy, AL); in runOnModule()
774 Mod->getOrInsertFunction("__dfsan_unimplemented", DFSanUnimplementedFnTy); in runOnModule()
779 Mod->getOrInsertFunction("__dfsan_set_label", DFSanSetLabelFnTy, AL); in runOnModule()
782 Mod->getOrInsertFunction("__dfsan_nonzero_label", DFSanNonzeroLabelFnTy); in runOnModule()
783 DFSanVarargWrapperFn = Mod->getOrInsertFunction("__dfsan_vararg_wrapper", in runOnModule()
1581 FunctionCallee CustomF = DFSF.DFS.Mod->getOrInsertFunction( in visitCallSite()
DMemorySanitizer.cpp707 WarningFn = M.getOrInsertFunction("__msan_warning", IRB.getVoidTy(), in createKernelApi()
718 MsanGetContextStateFn = M.getOrInsertFunction( in createKernelApi()
729 MsanMetadataPtrForLoad_1_8[ind] = M.getOrInsertFunction( in createKernelApi()
731 MsanMetadataPtrForStore_1_8[ind] = M.getOrInsertFunction( in createKernelApi()
735 MsanMetadataPtrForLoadN = M.getOrInsertFunction( in createKernelApi()
738 MsanMetadataPtrForStoreN = M.getOrInsertFunction( in createKernelApi()
744 M.getOrInsertFunction("__msan_poison_alloca", IRB.getVoidTy(), in createKernelApi()
746 MsanUnpoisonAllocaFn = M.getOrInsertFunction( in createKernelApi()
766 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy()); in createUserspaceApi()
799 MaybeWarningFn[AccessSizeIndex] = M.getOrInsertFunction( in createUserspaceApi()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModule.h345 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T,
348 FunctionCallee getOrInsertFunction(StringRef Name, FunctionType *T);
357 FunctionCallee getOrInsertFunction(StringRef Name, in getOrInsertFunction() function
361 return getOrInsertFunction(Name, in getOrInsertFunction()
368 FunctionCallee getOrInsertFunction(StringRef Name, Type *RetTy, in getOrInsertFunction() function
370 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
376 getOrInsertFunction(StringRef Name, AttributeList AttributeList,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCallGraph.cpp32 : M(M), ExternalCallingNode(getOrInsertFunction(nullptr)), in CallGraph()
61 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph()
84 Node->addCalledFunction(Call, getOrInsertFunction(Callee)); in addToCallGraph()
148 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph
DCallGraphSCCPass.cpp325 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
349 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp838 FunctionCallee Callee = M->getOrInsertFunction(FuncName, FuncType); in emitLibCall()
916 FunctionCallee MemCpy = M->getOrInsertFunction( in emitMemCpyChk()
1049 M->getOrInsertFunction(Name, Op->getType(), Op->getType()); in emitUnaryFloatFnCallHelper()
1090 FunctionCallee Callee = M->getOrInsertFunction(Name, Op1->getType(), in emitBinaryFloatFnCallHelper()
1137 M->getOrInsertFunction(PutCharName, B.getInt32Ty(), B.getInt32Ty()); in emitPutChar()
1160 M->getOrInsertFunction(PutsName, B.getInt32Ty(), B.getInt8PtrTy()); in emitPutS()
1176 FunctionCallee F = M->getOrInsertFunction(FPutcName, B.getInt32Ty(), in emitFPutC()
1197 FunctionCallee F = M->getOrInsertFunction(FPutcUnlockedName, B.getInt32Ty(), in emitFPutCUnlocked()
1217 FunctionCallee F = M->getOrInsertFunction(FPutsName, B.getInt32Ty(), in emitFPutS()
1236 FunctionCallee F = M->getOrInsertFunction(FPutsUnlockedName, B.getInt32Ty(), in emitFPutSUnlocked()
[all …]
DSanitizerStats.cpp60 M->getOrInsertFunction("__sanitizer_stat_report", StatReportTy); in create()
101 M->getOrInsertFunction("__sanitizer_stat_init", StatInitTy); in finish()
DEntryExitInstrumenter.cpp34 FunctionCallee Fn = M.getOrInsertFunction(Func, Type::getVoidTy(C)); in insertCall()
43 FunctionCallee Fn = M.getOrInsertFunction( in insertCall()
DModuleUtils.cpp114 return M.getOrInsertFunction( in declareSanitizerInitFunction()
136 FunctionCallee VersionCheckFunction = M.getOrInsertFunction( in createSanitizerCtorAndInitFunctions()
180 cast<Function>(M.getOrInsertFunction(Name, AttributeList(), in getOrCreateInitFunction()
DEscapeEnumerator.cpp25 return M->getOrInsertFunction(getEHPersonalityName(Pers), in getDefaultPersonalityFn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCallGraph.h157 CallGraphNode *getOrInsertFunction(const Function *F);
384 CallGraphNode *getOrInsertFunction(const Function *F) { in getOrInsertFunction() function
385 return G->getOrInsertFunction(F); in getOrInsertFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp105 FunctionCallee C = M.getOrInsertFunction( in buildCFICheck()
133 M.getOrInsertFunction("__cfi_check_fail", Type::getVoidTy(Ctx), in buildCFICheck()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp143 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLowerMASSVEntries.cpp109 FunctionCallee FCache = M.getOrInsertFunction( in lowerMASSVCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp534 FunctionCallee StackChkFail = M->getOrInsertFunction( in CreateFailBB()
541 M->getOrInsertFunction("__stack_chk_fail", Type::getVoidTy(Context)); in CreateFailBB()
DSjLjEHPrepare.cpp475 RegisterFn = M.getOrInsertFunction( in runOnFunction()
478 UnregisterFn = M.getOrInsertFunction( in runOnFunction()
DPreISelIntrinsicLowering.cpp80 FunctionCallee FCache = M->getOrInsertFunction(NewFn, F.getFunctionType()); in lowerObjCCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp176 SetJmp3 = TheModule->getOrInsertFunction( in runOnFunction()
297 CxxLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord()
352 SehLongjmpUnwind = TheModule->getOrInsertFunction( in emitExceptionRegistrationRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp112 FunctionCallee AtExit = M.getOrInsertFunction( in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp202 Node->addCalledFunction(Call, CG.getOrInsertFunction(Callee)); in buildCGN()
218 CallGraphNode *Callee = CG.getOrInsertFunction(F); in updateCallGraph()

123