/external/llvm/examples/HowToUseJIT/ |
HowToUseJIT.cpp | 65 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), 97 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
|
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 45 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI, 2), 67 Constant *StrChr = M->getOrInsertFunction("strchr", AttrListPtr::get(&AWI, 1), 87 Value *StrNCmp = M->getOrInsertFunction("strncmp", AttrListPtr::get(AWI, 3), 110 Value *StrCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), 128 Value *StrNCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), 147 Value *MemCpy = M->getOrInsertFunction("__memcpy_chk", 170 Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1), 195 Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI, 3), 227 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), 241 Value *PutChar = M->getOrInsertFunction("putchar", B.getInt32Ty() [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 118 Value *TsanInit = M.getOrInsertFunction("__tsan_init", 123 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", IRB.getVoidTy(), 125 TsanFuncExit = M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), 130 TsanRead[i] = M.getOrInsertFunction(ReadName, IRB.getVoidTy(), 134 TsanWrite[i] = M.getOrInsertFunction(WriteName, IRB.getVoidTy(), 137 TsanVptrUpdate = M.getOrInsertFunction("__tsan_vptr_update", IRB.getVoidTy(),
|
AddressSanitizer.cpp | 327 Value *ReportWarningFunc = CurrentModule->getOrInsertFunction( 506 Function *AsanRegisterGlobals = cast<Function>(M.getOrInsertFunction( 521 Function *AsanUnregisterGlobals = cast<Function>(M.getOrInsertFunction( 557 M.getOrInsertFunction(kAsanInitName, IRB.getVoidTy(), NULL)); 702 IRB.CreateCall(M.getOrInsertFunction(kAsanHandleNoReturnName, [all...] |
GCOVProfiling.cpp | 573 return M->getOrInsertFunction("llvm_gcda_start_file", FTy); 583 return M->getOrInsertFunction("llvm_gcda_increment_indirect_counter", FTy); 593 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); 603 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy); 608 return M->getOrInsertFunction("llvm_gcda_end_file", FTy);
|
ProfilingUtils.cpp | 33 Constant *InitFn = M.getOrInsertFunction(FnName, Type::getInt32Ty(Context),
|
PathProfiling.cpp | [all...] |
/external/llvm/lib/Analysis/IPA/ |
CallGraph.cpp | 54 ExternalCallingNode = getOrInsertFunction(0); 115 CallGraphNode *Node = getOrInsertFunction(F); 147 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 241 // getOrInsertFunction - This method is identical to calling operator[], but 244 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) {
|
CallGraphSCCPass.cpp | 281 CalleeNode = CG.getOrInsertFunction(Callee); 305 CalleeNode = CG.getOrInsertFunction(Callee);
|
/external/llvm/lib/Target/MBlaze/ |
MBlazeIntrinsicInfo.cpp | 108 return cast<Function>(M->getOrInsertFunction(getName(IntrID),
|
/external/llvm/lib/VMCore/ |
Module.cpp | 134 // getOrInsertFunction - Look up the specified function in the module symbol 139 Constant *Module::getOrInsertFunction(StringRef Name, 158 Constant *NewF = getOrInsertFunction(Name, Ty); 189 Constant *Module::getOrInsertFunction(StringRef Name, 192 return getOrInsertFunction(Name, Ty, AttributeList); 195 // getOrInsertFunction - Look up the specified function in the module symbol 200 Constant *Module::getOrInsertFunction(StringRef Name, 213 // Build the function type and chain to the other getOrInsertFunction... 214 return getOrInsertFunction(Name, 219 Constant *Module::getOrInsertFunction(StringRef Name [all...] |
Function.cpp | 389 cast<Function>(M->getOrInsertFunction(getName(id, Tys),
|
/external/llvm/examples/BrainF/ |
BrainF.cpp | 64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); 68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), 76 getOrInsertFunction("brainf", Type::getVoidTy(C), NULL)); 150 getOrInsertFunction("puts", IntegerType::getInt32Ty(C),
|
BrainFDriver.cpp | 61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
|
/external/llvm/include/llvm/ |
Module.h | 316 /// getOrInsertFunction - Look up the specified function in the module symbol 325 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 328 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 330 /// getOrInsertFunction - Look up the specified function in the module symbol 337 Constant *getOrInsertFunction(StringRef Name, 341 /// getOrInsertFunction - Same as above, but without the attributes. 342 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|
/external/llvm/examples/Fibonacci/ |
fibonacci.cpp | 43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
|
/external/llvm/examples/ParallelJIT/ |
ParallelJIT.cpp | 38 cast<Function>(M->getOrInsertFunction("add1", 69 cast<Function>(M->getOrInsertFunction("fib",
|
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 35 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",
|
DwarfEHPrepare.cpp | 130 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
|
StackProtector.cpp | 250 M->getOrInsertFunction("__stack_chk_fail",
|
SjLjEHPrepare.cpp | 103 RegisterFn = M.getOrInsertFunction("_Unwind_SjLj_Register", 108 M.getOrInsertFunction("_Unwind_SjLj_Unregister",
|
ShadowStackGC.cpp | 149 getOrInsertFunction("__gcc_personality_v0",
|
/external/llvm/include/llvm/Analysis/ |
CallGraph.h | 136 /// getOrInsertFunction - This method is identical to calling operator[], but 139 CallGraphNode *getOrInsertFunction(const Function *F);
|
/external/llvm/unittests/Analysis/ |
ScalarEvolutionTest.cpp | 42 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy)); 95 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
|
/external/llvm/lib/Transforms/Scalar/ |
ObjCARC.cpp | [all...] |