/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/IR/ |
Module.cpp | 133 // getOrInsertFunction - Look up the specified function in the module symbol 138 Constant *Module::getOrInsertFunction(StringRef Name, 157 Constant *NewF = getOrInsertFunction(Name, Ty); 188 Constant *Module::getOrInsertFunction(StringRef Name, 190 return getOrInsertFunction(Name, Ty, AttributeSet()); 193 // getOrInsertFunction - Look up the specified function in the module symbol 198 Constant *Module::getOrInsertFunction(StringRef Name, 211 // Build the function type and chain to the other getOrInsertFunction... 212 return getOrInsertFunction(Name, 217 Constant *Module::getOrInsertFunction(StringRef Name [all...] |
/external/llvm/lib/Target/R600/ |
SIAnnotateControlFlow.cpp | 124 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(
|
AMDILPeepholeOptimizer.cpp | 368 F->getParent()->getOrInsertFunction(buffer, F->getFunctionType())); 616 getOrInsertFunction(StringRef(name), funcType)); 780 getOrInsertFunction(StringRef(name), funcType)); [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 137 TsanFuncEntry = checkInterfaceFunction(M.getOrInsertFunction( 139 TsanFuncExit = checkInterfaceFunction(M.getOrInsertFunction( 146 TsanRead[i] = checkInterfaceFunction(M.getOrInsertFunction( 150 TsanWrite[i] = checkInterfaceFunction(M.getOrInsertFunction( 157 TsanAtomicLoad[i] = checkInterfaceFunction(M.getOrInsertFunction( 162 TsanAtomicStore[i] = checkInterfaceFunction(M.getOrInsertFunction( 187 TsanAtomicRMW[op][i] = checkInterfaceFunction(M.getOrInsertFunction( 193 TsanAtomicCAS[i] = checkInterfaceFunction(M.getOrInsertFunction( 196 TsanVptrUpdate = checkInterfaceFunction(M.getOrInsertFunction( 199 TsanAtomicThreadFence = checkInterfaceFunction(M.getOrInsertFunction( [all...] |
GCOVProfiling.cpp | 563 Constant *AtExitFn = M->getOrInsertFunction("atexit", FTy); 571 M->getOrInsertFunction("llvm_register_flush_function", FTy); 641 return M->getOrInsertFunction("llvm_gcda_start_file", FTy); 652 return M->getOrInsertFunction("__llvm_gcov_indirect_counter_increment", FTy); 662 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); 671 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy); 676 return M->getOrInsertFunction("llvm_delete_flush_function_list", FTy); 681 return M->getOrInsertFunction("llvm_gcda_end_file", FTy);
|
AddressSanitizer.cpp | 670 // Validate the result of Module::getOrInsertFunction called for an interface 673 // getOrInsertFunction returns a bitcast. [all...] |
ProfilingUtils.cpp | 33 Constant *InitFn = M.getOrInsertFunction(FnName, Type::getInt32Ty(Context),
|
MemorySanitizer.cpp | 275 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy(), NULL); 277 MsanCopyOriginFn = M.getOrInsertFunction( 280 MsanSetAllocaOriginFn = M.getOrInsertFunction( 283 MsanPoisonStackFn = M.getOrInsertFunction( 285 MemmoveFn = M.getOrInsertFunction( 288 MemcpyFn = M.getOrInsertFunction( 291 MemsetFn = M.getOrInsertFunction( 362 appendToGlobalCtors(M, cast<Function>(M.getOrInsertFunction( [all...] |
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 48 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(Name, Op->getType() [all...] |
/external/llvm/lib/Analysis/IPA/ |
CallGraph.cpp | 54 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) {
|
CallGraphSCCPass.cpp | 286 CalleeNode = CG.getOrInsertFunction(Callee); 310 CalleeNode = CG.getOrInsertFunction(Callee);
|
/external/llvm/lib/Target/MBlaze/ |
MBlazeIntrinsicInfo.cpp | 109 return cast<Function>(M->getOrInsertFunction(getName(IntrID),
|
/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 | 60 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
|
/external/llvm/include/llvm/IR/ |
Module.h | 313 /// getOrInsertFunction - Look up the specified function in the module symbol 322 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 325 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 327 /// getOrInsertFunction - Look up the specified function in the module symbol 334 Constant *getOrInsertFunction(StringRef Name, 338 /// getOrInsertFunction - Same as above, but without the attributes. 339 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 | 365 M->getOrInsertFunction("__stack_chk_fail",
|
SjLjEHPrepare.cpp | 103 RegisterFn = M.getOrInsertFunction("_Unwind_SjLj_Register", 108 M.getOrInsertFunction("_Unwind_SjLj_Unregister",
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 136 M->getOrInsertFunction( 154 M->getOrInsertFunction("objc_retainAutorelease", FTy, Attribute); 169 M->getOrInsertFunction("objc_retainAutoreleaseReturnValue", FTy,
|
/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/include/llvm/Analysis/ |
CallGraph.h | 136 /// getOrInsertFunction - This method is identical to calling operator[], but 139 CallGraphNode *getOrInsertFunction(const Function *F);
|