Home
last modified time | relevance | path

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

12

/freebsd-9-stable/contrib/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp146 TsanFuncEntry = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
148 TsanFuncExit = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
155 TsanRead[i] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
159 TsanWrite[i] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
166 TsanAtomicLoad[i] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
171 TsanAtomicStore[i] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
196 TsanAtomicRMW[op][i] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
202 TsanAtomicCAS[i] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
205 TsanVptrUpdate = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
208 TsanVptrLoad = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
[all …]
DGCOVProfiling.cpp604 Constant *GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); in emitProfileArcs()
671 return M->getOrInsertFunction("llvm_gcda_start_file", FTy); in getStartFileFunc()
682 return M->getOrInsertFunction("__llvm_gcov_indirect_counter_increment", FTy); in getIncrementIndirectCounterFunc()
692 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); in getEmitFunctionFunc()
701 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy); in getEmitArcsFunc()
706 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); in getSummaryInfoFunc()
711 return M->getOrInsertFunction("llvm_delete_writeout_function_list", FTy); in getDeleteWriteoutFunctionListFunc()
716 return M->getOrInsertFunction("llvm_delete_flush_function_list", FTy); in getDeleteFlushFunctionListFunc()
721 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); in getEndFileFunc()
DAddressSanitizer.cpp907 AsanPoisonGlobals = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
910 AsanUnpoisonGlobals = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
914 AsanRegisterGlobals = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
918 AsanUnregisterGlobals = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
1083 checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
1087 AsanErrorCallbackSized[0] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
1089 AsanErrorCallbackSized[1] = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
1092 AsanHandleNoReturnFunc = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
1094 AsanCovFunction = checkInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
1140 M.getOrInsertFunction(kAsanInitName, IRB.getVoidTy(), NULL)); in doInitialization()
[all …]
DDataFlowSanitizer.cpp449 Constant *C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction()
498 DFSanUnionFn = Mod->getOrInsertFunction("__dfsan_union", DFSanUnionFnTy); in runOnModule()
506 Mod->getOrInsertFunction("__dfsan_union_load", DFSanUnionLoadFnTy); in runOnModule()
511 Mod->getOrInsertFunction("__dfsan_unimplemented", DFSanUnimplementedFnTy); in runOnModule()
513 Mod->getOrInsertFunction("__dfsan_set_label", DFSanSetLabelFnTy); in runOnModule()
518 Mod->getOrInsertFunction("__dfsan_nonzero_label", DFSanNonzeroLabelFnTy); in runOnModule()
1229 DFSF.DFS.Mod->getOrInsertFunction(CustomFName, CustomFT); in visitCallSite()
DMemorySanitizer.cpp325 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy(), NULL); in initializeCallbacks()
327 MsanCopyOriginFn = M.getOrInsertFunction( in initializeCallbacks()
330 MsanSetAllocaOrigin4Fn = M.getOrInsertFunction( in initializeCallbacks()
333 MsanPoisonStackFn = M.getOrInsertFunction( in initializeCallbacks()
335 MemmoveFn = M.getOrInsertFunction( in initializeCallbacks()
338 MemcpyFn = M.getOrInsertFunction( in initializeCallbacks()
341 MemsetFn = M.getOrInsertFunction( in initializeCallbacks()
382 IndirectCallWrapperFn = M.getOrInsertFunction( in initializeCallbacks()
430 appendToGlobalCtors(M, cast<Function>(M.getOrInsertFunction( in doInitialization()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp48 Constant *StrLen = M->getOrInsertFunction("strlen", in EmitStrLen()
77 Constant *StrNLen = M->getOrInsertFunction("strnlen", in EmitStrNLen()
107 Constant *StrChr = M->getOrInsertFunction("strchr", in EmitStrChr()
134 Value *StrNCmp = M->getOrInsertFunction("strncmp", in EmitStrNCmp()
164 Value *StrCpy = M->getOrInsertFunction(Name, in EmitStrCpy()
188 Value *StrNCpy = M->getOrInsertFunction(Name, in EmitStrNCpy()
214 Value *MemCpy = M->getOrInsertFunction("__memcpy_chk", in EmitMemCpyChk()
243 Value *MemChr = M->getOrInsertFunction("memchr", in EmitMemChr()
274 Value *MemCmp = M->getOrInsertFunction("memcmp", in EmitMemCmp()
307 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), in EmitUnaryFloatFnCall()
[all …]
DSimplifyLibCalls.cpp1248 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), in callOptimizer()
1380 Value *Callee = M->getOrInsertFunction(Name, OrigCallee->getAttributes(), in insertSinCosCall()
1636 M->getOrInsertFunction("iprintf", FT, Callee->getAttributes()); in callOptimizer()
1729 M->getOrInsertFunction("siprintf", FT, Callee->getAttributes()); in callOptimizer()
1810 M->getOrInsertFunction("fiprintf", FT, Callee->getAttributes()); in callOptimizer()
DLowerInvoke.cpp163 AbortFn = M.getOrInsertFunction("abort", Type::getVoidTy(M.getContext()), in doInitialization()
/freebsd-9-stable/contrib/llvm/lib/IR/
DModule.cpp138 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module
157 Constant *NewF = getOrInsertFunction(Name, Ty); in getOrInsertFunction()
171 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module
173 return getOrInsertFunction(Name, Ty, AttributeSet()); in getOrInsertFunction()
181 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module
195 return getOrInsertFunction(Name, in getOrInsertFunction()
200 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module
213 return getOrInsertFunction(Name, in getOrInsertFunction()
DFunction.cpp687 cast<Function>(M->getOrInsertFunction(getName(id, Tys), in getDeclaration()
/freebsd-9-stable/contrib/llvm/lib/Target/R600/
DSIAnnotateControlFlow.cpp126 If = M.getOrInsertFunction( in doInitialization()
129 Else = M.getOrInsertFunction( in doInitialization()
132 Break = M.getOrInsertFunction( in doInitialization()
135 IfBreak = M.getOrInsertFunction( in doInitialization()
138 ElseBreak = M.getOrInsertFunction( in doInitialization()
141 Loop = M.getOrInsertFunction( in doInitialization()
144 EndCf = M.getOrInsertFunction( in doInitialization()
/freebsd-9-stable/contrib/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getVoidRetI8XEntryPoint()
157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
178 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getI8XRetI8XXI8XEntryPoint()
/freebsd-9-stable/contrib/llvm/lib/Analysis/IPA/
DCallGraph.cpp25 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph()
60 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph()
72 ExternalCallingNode = getOrInsertFunction(0); in runOnModule()
173 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph
DCallGraphSCCPass.cpp286 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
310 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DModule.h323 Constant *getOrInsertFunction(StringRef Name, FunctionType *T,
326 Constant *getOrInsertFunction(StringRef Name, FunctionType *T);
335 Constant *getOrInsertFunction(StringRef Name,
340 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DIntrinsicLowering.cpp35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); in EnsureFunctionExists()
75 Constant* FCache = M->getOrInsertFunction(NewFn, in ReplaceCallWith()
114 M.getOrInsertFunction("memcpy", in AddPrototypes()
121 M.getOrInsertFunction("memmove", in AddPrototypes()
128 M.getOrInsertFunction("memset", in AddPrototypes()
DStackProtector.cpp459 Constant *StackChkFail = M->getOrInsertFunction( in CreateFailBB()
465 Constant *StackChkFail = M->getOrInsertFunction( in CreateFailBB()
DDwarfEHPrepare.cpp126 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy); in InsertUnwindResumeCalls()
DSjLjEHPrepare.cpp101 RegisterFn = M.getOrInsertFunction( in doInitialization()
104 UnregisterFn = M.getOrInsertFunction( in doInitialization()
DShadowStackGC.cpp149 getOrInsertFunction("__gcc_personality_v0", in Next()
/freebsd-9-stable/contrib/llvm/include/llvm/Analysis/
DCallGraph.h158 CallGraphNode *getOrInsertFunction(const Function *F);
/freebsd-9-stable/contrib/llvm/tools/lli/
Dlli.cpp456 Constant *Exit = Mod->getOrInsertFunction("exit", Type::getVoidTy(Context), in main()
/freebsd-9-stable/contrib/llvm/lib/Target/Mips/
DMips16HardFloat.cpp400 Value *F = (M->getOrInsertFunction(Name, A, MyVoid, T, NULL)); in fixupFPReturnAndCall()
/freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp627 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF); in DoPromotion()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp1033 Value *MSP = M->getOrInsertFunction("memset_pattern16", in processLoopStridedStore()

12