/external/llvm/examples/HowToUseJIT/ |
HowToUseJIT.cpp | 74 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), 105 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
|
/external/swiftshader/third_party/LLVM/examples/HowToUseJIT/ |
HowToUseJIT.cpp | 65 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context),
97 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 41 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI, 2), 63 Constant *StrChr = M->getOrInsertFunction("strchr", AttrListPtr::get(&AWI, 1), 83 Value *StrNCmp = M->getOrInsertFunction("strncmp", AttrListPtr::get(AWI, 3), 106 Value *StrCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), 124 Value *StrNCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), 143 Value *MemCpy = M->getOrInsertFunction("__memcpy_chk", 166 Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1), 191 Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI, 3), 226 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), 240 Value *PutChar = M->getOrInsertFunction("putchar", B.getInt32Ty() [all...] |
/external/llvm/unittests/IR/ |
VerifierTest.cpp | 30 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); 53 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); 71 Function *F1 = cast<Function>(M1.getOrInsertFunction("foo1", FTy)); 72 Function *F2 = cast<Function>(M2.getOrInsertFunction("foo2", FTy)); 73 Function *F3 = cast<Function>(M3.getOrInsertFunction("foo3", FTy));
|
/frameworks/compile/libbcc/lib/ |
RSInvokeHelperPass.cpp | 91 rsAllocationSetObj = M.getOrInsertFunction("_Z11rsSetObjectP13rs_allocationS_", SetObjType); 97 rsElementSetObj = M.getOrInsertFunction("_Z11rsSetObjectP10rs_elementS_", SetObjType); 103 rsSamplerSetObj = M.getOrInsertFunction("_Z11rsSetObjectP10rs_samplerS_", SetObjType); 109 rsScriptSetObj = M.getOrInsertFunction("_Z11rsSetObjectP9rs_scriptS_", SetObjType); 115 rsTypeSetObj = M.getOrInsertFunction("_Z11rsSetObjectP7rs_typeS_", SetObjType);
|
/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/swiftshader/third_party/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...] |
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
elemental_ir_emitter.cc | 55 llvm::cast<llvm::Function>(module_->getOrInsertFunction( 94 llvm::cast<llvm::Function>(module_->getOrInsertFunction(
|
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 153 TsanFuncEntry = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 156 M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), nullptr)); 164 TsanRead[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 168 TsanWrite[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 173 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 178 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 185 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr)); 188 TsanAtomicStore[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( 213 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr)); 218 TsanAtomicCAS[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( [all...] |
SanitizerCoverage.cpp | 222 M.getOrInsertFunction(SanCovName, VoidTy, Int32PtrTy, nullptr)); 224 M.getOrInsertFunction(SanCovWithCheckName, VoidTy, Int32PtrTy, nullptr)); 226 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy, nullptr)); 228 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 231 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 234 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 243 M.getOrInsertFunction(SanCovTracePCName, VoidTy, nullptr)); 245 M.getOrInsertFunction(SanCovTraceEnterName, VoidTy, Int32PtrTy, nullptr)); 247 M.getOrInsertFunction(SanCovTraceBBName, VoidTy, Int32PtrTy, nullptr));
|
/external/llvm/unittests/Analysis/ |
MixedTBAATest.cpp | 39 auto *F = cast<Function>(M.getOrInsertFunction("f", FTy));
|
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
CallGraph.cpp | 54 ExternalCallingNode = getOrInsertFunction(0); 115 CallGraphNode *Node = getOrInsertFunction(F); 154 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 248 // getOrInsertFunction - This method is identical to calling operator[], but 251 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) {
|
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/ |
BlackfinIntrinsicInfo.cpp | 101 return cast<Function>(M->getOrInsertFunction(getName(IntrID),
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
MBlazeIntrinsicInfo.cpp | 110 return cast<Function>(M->getOrInsertFunction(getName(IntrID),
|
/external/llvm/lib/IR/ |
Module.cpp | 116 // getOrInsertFunction - Look up the specified function in the module symbol 121 Constant *Module::getOrInsertFunction(StringRef Name, 144 Constant *Module::getOrInsertFunction(StringRef Name, 146 return getOrInsertFunction(Name, Ty, AttributeSet()); 149 // getOrInsertFunction - Look up the specified function in the module symbol 154 Constant *Module::getOrInsertFunction(StringRef Name, 167 // Build the function type and chain to the other getOrInsertFunction... 168 return getOrInsertFunction(Name, 173 Constant *Module::getOrInsertFunction(StringRef Name, 185 // Build the function type and chain to the other getOrInsertFunction.. [all...] |
/external/llvm/lib/Target/AMDGPU/ |
SIAnnotateControlFlow.cpp | 143 If = M.getOrInsertFunction( 146 Else = M.getOrInsertFunction( 149 Break = M.getOrInsertFunction( 152 IfBreak = M.getOrInsertFunction( 155 ElseBreak = M.getOrInsertFunction( 158 Loop = M.getOrInsertFunction( 161 EndCf = M.getOrInsertFunction(
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
Module.h | 313 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 316 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 325 Constant *getOrInsertFunction(StringRef Name, 330 return getOrInsertFunction(Name, 337 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ArgsTy... Args) { 338 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
Module.h | 313 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 316 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 325 Constant *getOrInsertFunction(StringRef Name, 330 return getOrInsertFunction(Name, 337 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ArgsTy... Args) { 338 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); [all...] |
/external/llvm/lib/Transforms/IPO/ |
CrossDSOCFI.cpp | 99 Constant *C = M.getOrInsertFunction( 118 Constant *CFICheckFailFn = M.getOrInsertFunction(
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 115 checkSanitizerInterfaceFunction(M.getOrInsertFunction( 122 checkSanitizerInterfaceFunction(M.getOrInsertFunction(
|
SanitizerStats.cpp | 60 Constant *StatReport = M->getOrInsertFunction( 101 Constant *StatInit = M->getOrInsertFunction(
|
/external/llvm/examples/BrainF/ |
BrainF.cpp | 77 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); 81 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), 88 getOrInsertFunction("brainf", Type::getVoidTy(C), NULL)); 158 getOrInsertFunction("puts", IntegerType::getInt32Ty(C),
|
/external/llvm/lib/Analysis/ |
CallGraph.cpp | 24 : M(M), Root(nullptr), ExternalCallingNode(getOrInsertFunction(nullptr)), 58 CallGraphNode *Node = getOrInsertFunction(F); 93 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 162 // getOrInsertFunction - This method is identical to calling operator[], but 165 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) {
|
/external/swiftshader/third_party/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)); 149 getOrInsertFunction("puts", IntegerType::getInt32Ty(C),
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
Module.h | 284 /// getOrInsertFunction - Look up the specified function in the module symbol 293 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 296 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 298 /// getOrInsertFunction - Look up the specified function in the module symbol 305 Constant *getOrInsertFunction(StringRef Name, 309 /// getOrInsertFunction - Same as above, but without the attributes. 310 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|