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

12

/freebsd-10.0-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp146 TsanFuncEntry = checkInterfaceFunction(M.getOrInsertFunction(
148 TsanFuncExit = checkInterfaceFunction(M.getOrInsertFunction(
155 TsanRead[i] = checkInterfaceFunction(M.getOrInsertFunction(
159 TsanWrite[i] = checkInterfaceFunction(M.getOrInsertFunction(
166 TsanAtomicLoad[i] = checkInterfaceFunction(M.getOrInsertFunction(
171 TsanAtomicStore[i] = checkInterfaceFunction(M.getOrInsertFunction(
196 TsanAtomicRMW[op][i] = checkInterfaceFunction(M.getOrInsertFunction(
202 TsanAtomicCAS[i] = checkInterfaceFunction(M.getOrInsertFunction(
205 TsanVptrUpdate = checkInterfaceFunction(M.getOrInsertFunction(
208 TsanVptrLoad = checkInterfaceFunction(M.getOrInsertFunction(
[all...]
H A DGCOVProfiling.cpp582 Constant *GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy);
649 return M->getOrInsertFunction("llvm_gcda_start_file", FTy);
660 return M->getOrInsertFunction("__llvm_gcov_indirect_counter_increment", FTy);
670 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy);
679 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy);
684 return M->getOrInsertFunction("llvm_delete_writeout_function_list", FTy);
689 return M->getOrInsertFunction("llvm_delete_flush_function_list", FTy);
694 return M->getOrInsertFunction("llvm_gcda_end_file", FTy);
H A DAddressSanitizer.cpp667 // Validate the result of Module::getOrInsertFunction called for an interface
670 // getOrInsertFunction returns a bitcast.
839 AsanPoisonGlobals = checkInterfaceFunction(M.getOrInsertFunction(
842 AsanUnpoisonGlobals = checkInterfaceFunction(M.getOrInsertFunction(
846 AsanRegisterGlobals = checkInterfaceFunction(M.getOrInsertFunction(
850 AsanUnregisterGlobals = checkInterfaceFunction(M.getOrInsertFunction(
1013 checkInterfaceFunction(M.getOrInsertFunction(
1017 AsanErrorCallbackSized[0] = checkInterfaceFunction(M.getOrInsertFunction(
1019 AsanErrorCallbackSized[1] = checkInterfaceFunction(M.getOrInsertFunction(
1022 AsanHandleNoReturnFunc = checkInterfaceFunction(M.getOrInsertFunction(
[all...]
H A DProfilingUtils.cpp33 Constant *InitFn = M.getOrInsertFunction(FnName, Type::getInt32Ty(Context),
H A DMemorySanitizer.cpp278 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy(), NULL);
280 MsanCopyOriginFn = M.getOrInsertFunction(
283 MsanSetAllocaOriginFn = M.getOrInsertFunction(
286 MsanPoisonStackFn = M.getOrInsertFunction(
288 MemmoveFn = M.getOrInsertFunction(
291 MemcpyFn = M.getOrInsertFunction(
294 MemsetFn = M.getOrInsertFunction(
365 appendToGlobalCtors(M, cast<Function>(M.getOrInsertFunction(
H A DPathProfiling.cpp1353 llvmIncrementHashFunction = M.getOrInsertFunction(
1360 llvmDecrementHashFunction = M.getOrInsertFunction(
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DModule.cpp133 // getOrInsertFunction - Look up the specified function in the module symbol
138 Constant *Module::getOrInsertFunction(StringRef Name, function in class:Module
157 Constant *NewF = getOrInsertFunction(Name, Ty);
188 Constant *Module::getOrInsertFunction(StringRef Name, function in class:Module
190 return getOrInsertFunction(Name, Ty, AttributeSet());
193 // getOrInsertFunction - Look up the specified function in the module symbol
198 Constant *Module::getOrInsertFunction(StringRef Name, function in class:Module
211 // Build the function type and chain to the other getOrInsertFunction...
212 return getOrInsertFunction(Name,
217 Constant *Module::getOrInsertFunction(StringRe function in class:Module
[all...]
H A DFunction.cpp661 cast<Function>(M->getOrInsertFunction(getName(id, Tys),
/freebsd-10.0-release/contrib/llvm/lib/Target/R600/
H A DSIAnnotateControlFlow.cpp124 If = M.getOrInsertFunction(
127 Else = M.getOrInsertFunction(
130 Break = M.getOrInsertFunction(
133 IfBreak = M.getOrInsertFunction(
136 ElseBreak = M.getOrInsertFunction(
139 Loop = M.getOrInsertFunction(
142 EndCf = M.getOrInsertFunction(
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp48 Constant *StrLen = M->getOrInsertFunction("strlen",
77 Constant *StrNLen = M->getOrInsertFunction("strnlen",
107 Constant *StrChr = M->getOrInsertFunction("strchr",
134 Value *StrNCmp = M->getOrInsertFunction("strncmp",
164 Value *StrCpy = M->getOrInsertFunction(Name,
188 Value *StrNCpy = M->getOrInsertFunction(Name,
214 Value *MemCpy = M->getOrInsertFunction("__memcpy_chk",
243 Value *MemChr = M->getOrInsertFunction("memchr",
274 Value *MemCmp = M->getOrInsertFunction("memcmp",
307 Value *Callee = M->getOrInsertFunction(Nam
[all...]
H A DLowerInvoke.cpp166 AbortFn = M.getOrInsertFunction("abort", Type::getVoidTy(M.getContext()),
H A DSimplifyLibCalls.cpp1219 Value *Callee = M->getOrInsertFunction(Name, Op->getType(),
1410 M->getOrInsertFunction("iprintf", FT, Callee->getAttributes());
1503 M->getOrInsertFunction("siprintf", FT, Callee->getAttributes());
1581 M->getOrInsertFunction("fiprintf", FT, Callee->getAttributes());
/freebsd-10.0-release/contrib/llvm/lib/Analysis/IPA/
H A DCallGraph.cpp54 ExternalCallingNode = getOrInsertFunction(0);
115 CallGraphNode *Node = getOrInsertFunction(F);
150 Node->addCalledFunction(CS, getOrInsertFunction(Callee));
244 // getOrInsertFunction - This method is identical to calling operator[], but
247 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { function in class:CallGraph
H A DCallGraphSCCPass.cpp286 CalleeNode = CG.getOrInsertFunction(Callee);
310 CalleeNode = CG.getOrInsertFunction(Callee);
/freebsd-10.0-release/contrib/llvm/lib/Target/MBlaze/
H A DMBlazeIntrinsicInfo.cpp109 return cast<Function>(M->getOrInsertFunction(getName(IntrID),
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DModule.h314 /// getOrInsertFunction - Look up the specified function in the module symbol
323 Constant *getOrInsertFunction(StringRef Name, FunctionType *T,
326 Constant *getOrInsertFunction(StringRef Name, FunctionType *T);
328 /// getOrInsertFunction - Look up the specified function in the module symbol
335 Constant *getOrInsertFunction(StringRef Name,
339 /// getOrInsertFunction - Same as above, but without the attributes.
340 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false));
75 Constant* FCache = M->getOrInsertFunction(NewFn,
114 M.getOrInsertFunction("memcpy",
121 M.getOrInsertFunction("memmove",
128 M.getOrInsertFunction("memset",
H A DDwarfEHPrepare.cpp130 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
H A DStackProtector.cpp365 M->getOrInsertFunction("__stack_chk_fail",
H A DSjLjEHPrepare.cpp103 RegisterFn = M.getOrInsertFunction("_Unwind_SjLj_Register",
108 M.getOrInsertFunction("_Unwind_SjLj_Unregister",
H A DShadowStackGC.cpp149 getOrInsertFunction("__gcc_personality_v0",
/freebsd-10.0-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp141 M->getOrInsertFunction(
159 M->getOrInsertFunction("objc_retainAutorelease", FTy, Attribute);
174 M->getOrInsertFunction("objc_retainAutoreleaseReturnValue", FTy,
190 M->getOrInsertFunction("objc_retainAutoreleasedReturnValue", FTy,
H A DObjCARCOpts.cpp834 Constant *Callee = M->getOrInsertFunction(Name, FTy);
877 Constant *Callee = M->getOrInsertFunction(Name, FTy);
1162 M->getOrInsertFunction("objc_autoreleaseReturnValue", FTy,
1176 M->getOrInsertFunction(
1192 M->getOrInsertFunction(
1207 M->getOrInsertFunction(
1223 M->getOrInsertFunction(
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/
H A DCallGraph.h136 /// getOrInsertFunction - This method is identical to calling operator[], but
139 CallGraphNode *getOrInsertFunction(const Function *F);
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp630 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF);

Completed in 307 milliseconds

12