/external/llvm/examples/HowToUseJIT/ |
HowToUseJIT.cpp | 66 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), 98 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
|
/external/llvm/unittests/IR/ |
VerifierTest.cpp | 28 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); 51 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy));
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInvokeHelperPass.cpp | 92 rsAllocationSetObj = M.getOrInsertFunction("_Z11rsSetObjectP13rs_allocationS_", SetObjType); 98 rsElementSetObj = M.getOrInsertFunction("_Z11rsSetObjectP10rs_elementS_", SetObjType); 104 rsSamplerSetObj = M.getOrInsertFunction("_Z11rsSetObjectP10rs_samplerS_", SetObjType); 110 rsScriptSetObj = M.getOrInsertFunction("_Z11rsSetObjectP9rs_scriptS_", SetObjType); 116 rsTypeSetObj = M.getOrInsertFunction("_Z11rsSetObjectP7rs_typeS_", SetObjType);
|
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 48 Constant *StrLen = M->getOrInsertFunction( 74 M->getOrInsertFunction("strnlen", AttributeSet::get(M->getContext(), AS), 99 Constant *StrChr = M->getOrInsertFunction("strchr", 124 Value *StrNCmp = M->getOrInsertFunction( 149 Value *StrCpy = M->getOrInsertFunction(Name, 172 Value *StrNCpy = M->getOrInsertFunction(Name, 198 Value *MemCpy = M->getOrInsertFunction( 222 Value *MemChr = M->getOrInsertFunction( 247 Value *MemCmp = M->getOrInsertFunction( 284 Value *Callee = M->getOrInsertFunction(Name, Op->getType() [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ARCRuntimeEntryPoints.h | 136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 176 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
|
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 135 TsanFuncEntry = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 138 M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), nullptr)); 144 TsanRead[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 148 TsanWrite[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 154 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 160 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 168 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr)); 172 TsanAtomicStore[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 197 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr)); 202 TsanAtomicCAS[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( [all...] |
SanitizerCoverage.cpp | 161 M.getOrInsertFunction(kSanCovName, VoidTy, Int32PtrTy, nullptr)); 163 M.getOrInsertFunction(kSanCovWithCheckName, VoidTy, Int32PtrTy, nullptr)); 165 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 168 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 171 SanCovModuleInit = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 182 M.getOrInsertFunction(kSanCovTraceEnter, VoidTy, Int32PtrTy, nullptr)); 184 M.getOrInsertFunction(kSanCovTraceBB, VoidTy, Int32PtrTy, nullptr));
|
AddressSanitizer.cpp | [all...] |
GCOVProfiling.cpp | 689 Constant *GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); 757 return M->getOrInsertFunction("llvm_gcda_start_file", FTy); 768 return M->getOrInsertFunction("__llvm_gcov_indirect_counter_increment", FTy); 780 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); 789 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy); 794 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); 799 return M->getOrInsertFunction("llvm_delete_writeout_function_list", FTy); 804 return M->getOrInsertFunction("llvm_delete_flush_function_list", FTy); 809 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); [all...] |
/external/llvm/lib/Analysis/IPA/ |
CallGraph.cpp | 24 : M(M), Root(nullptr), ExternalCallingNode(getOrInsertFunction(nullptr)), 53 CallGraphNode *Node = getOrInsertFunction(F); 88 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 141 // getOrInsertFunction - This method is identical to calling operator[], but 144 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) {
|
CallGraphSCCPass.cpp | 299 CalleeNode = CG.getOrInsertFunction(Callee); 323 CalleeNode = CG.getOrInsertFunction(Callee);
|
/external/llvm/unittests/Analysis/ |
MixedTBAATest.cpp | 37 auto *F = cast<Function>(M.getOrInsertFunction("f", FTy));
|
AliasAnalysisTest.cpp | 74 auto *F = cast<Function>(M.getOrInsertFunction("f", FTy));
|
ScalarEvolutionTest.cpp | 42 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy)); 95 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
|
/external/llvm/lib/IR/ |
Module.cpp | 110 // getOrInsertFunction - Look up the specified function in the module symbol 115 Constant *Module::getOrInsertFunction(StringRef Name, 138 Constant *Module::getOrInsertFunction(StringRef Name, 140 return getOrInsertFunction(Name, Ty, AttributeSet()); 143 // getOrInsertFunction - Look up the specified function in the module symbol 148 Constant *Module::getOrInsertFunction(StringRef Name, 161 // Build the function type and chain to the other getOrInsertFunction... 162 return getOrInsertFunction(Name, 167 Constant *Module::getOrInsertFunction(StringRef Name, 179 // Build the function type and chain to the other getOrInsertFunction.. [all...] |
/external/llvm/lib/Target/R600/ |
SIAnnotateControlFlow.cpp | 131 If = M.getOrInsertFunction( 134 Else = M.getOrInsertFunction( 137 Break = M.getOrInsertFunction( 140 IfBreak = M.getOrInsertFunction( 143 ElseBreak = M.getOrInsertFunction( 146 Loop = M.getOrInsertFunction( 149 EndCf = M.getOrInsertFunction(
|
AMDGPUPromoteAlloca.cpp | 308 Value *ReadLocalSizeY = Mod->getOrInsertFunction( 310 Value *ReadLocalSizeZ = Mod->getOrInsertFunction( 312 Value *ReadTIDIGX = Mod->getOrInsertFunction( 314 Value *ReadTIDIGY = Mod->getOrInsertFunction( 316 Value *ReadTIDIGZ = Mod->getOrInsertFunction( 369 Constant *C = Mod->getOrInsertFunction((F->getName() + ".local").str(),
|
/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/Analysis/ |
CallGraph.h | 158 CallGraphNode *getOrInsertFunction(const Function *F); 374 CallGraphNode *getOrInsertFunction(const Function *F) { 375 return G->getOrInsertFunction(F);
|
/external/llvm/examples/Fibonacci/ |
fibonacci.cpp | 42 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
|
/external/llvm/include/llvm/IR/ |
Module.h | 350 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 353 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 361 Constant *getOrInsertFunction(StringRef Name, 366 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|
/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",
|
StackProtector.cpp | 482 M->getOrInsertFunction("__stack_smash_handler", 489 M->getOrInsertFunction("__stack_chk_fail", Type::getVoidTy(Context),
|