/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 41 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI, 2), in EmitStrLen() 63 Constant *StrChr = M->getOrInsertFunction("strchr", AttrListPtr::get(&AWI, 1), in EmitStrChr() 83 Value *StrNCmp = M->getOrInsertFunction("strncmp", AttrListPtr::get(AWI, 3), in EmitStrNCmp() 106 Value *StrCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), in EmitStrCpy() 124 Value *StrNCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI, 2), in EmitStrNCpy() 143 Value *MemCpy = M->getOrInsertFunction("__memcpy_chk", in EmitMemCpyChk() 166 Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1), in EmitMemChr() 191 Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI, 3), in EmitMemCmp() 226 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), in EmitUnaryFloatFnCall() 240 Value *PutChar = M->getOrInsertFunction("putchar", B.getInt32Ty(), in EmitPutChar() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 153 TsanFuncEntry = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 156 M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), nullptr)); in initializeCallbacks() 164 TsanRead[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 168 TsanWrite[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 173 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 178 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 185 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr)); in initializeCallbacks() 188 TsanAtomicStore[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 213 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr)); in initializeCallbacks() 218 TsanAtomicCAS[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() [all …]
|
D | SanitizerCoverage.cpp | 222 M.getOrInsertFunction(SanCovName, VoidTy, Int32PtrTy, nullptr)); in runOnModule() 224 M.getOrInsertFunction(SanCovWithCheckName, VoidTy, Int32PtrTy, nullptr)); in runOnModule() 226 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy, nullptr)); in runOnModule() 228 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in runOnModule() 231 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in runOnModule() 234 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in runOnModule() 243 M.getOrInsertFunction(SanCovTracePCName, VoidTy, nullptr)); in runOnModule() 245 M.getOrInsertFunction(SanCovTraceEnterName, VoidTy, Int32PtrTy, nullptr)); in runOnModule() 247 M.getOrInsertFunction(SanCovTraceBBName, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
|
D | EfficiencySanitizer.cpp | 257 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 261 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 265 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 269 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 273 M.getOrInsertFunction("__esan_unaligned_loadN", IRB.getVoidTy(), in initializeCallbacks() 276 M.getOrInsertFunction("__esan_unaligned_storeN", IRB.getVoidTy(), in initializeCallbacks() 279 M.getOrInsertFunction("memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 282 M.getOrInsertFunction("memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 285 M.getOrInsertFunction("memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 523 M.getOrInsertFunction(EsanExitName, IRB_Dtor.getVoidTy(), in createDestructor()
|
D | AddressSanitizer.cpp | 1368 AsanPoisonGlobals = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1371 AsanUnpoisonGlobals = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1376 AsanRegisterGlobals = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1380 M.getOrInsertFunction(kAsanUnregisterGlobalsName, IRB.getVoidTy(), in initializeCallbacks() 1387 M.getOrInsertFunction(kAsanRegisterImageGlobalsName, in initializeCallbacks() 1392 M.getOrInsertFunction(kAsanUnregisterImageGlobalsName, in initializeCallbacks() 1650 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1654 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1661 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1665 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Module.cpp | 139 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 158 Constant *NewF = getOrInsertFunction(Name, Ty); in getOrInsertFunction() 189 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 192 return getOrInsertFunction(Name, Ty, AttributeList); in getOrInsertFunction() 200 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 214 return getOrInsertFunction(Name, in getOrInsertFunction() 219 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 232 return getOrInsertFunction(Name, in getOrInsertFunction()
|
/external/llvm/unittests/IR/ |
D | VerifierTest.cpp | 30 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); in TEST() 53 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); in TEST() 71 Function *F1 = cast<Function>(M1.getOrInsertFunction("foo1", FTy)); in TEST() 72 Function *F2 = cast<Function>(M2.getOrInsertFunction("foo2", FTy)); in TEST() 73 Function *F3 = cast<Function>(M3.getOrInsertFunction("foo3", FTy)); in TEST()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 143 If = M.getOrInsertFunction( in doInitialization() 146 Else = M.getOrInsertFunction( in doInitialization() 149 Break = M.getOrInsertFunction( in doInitialization() 152 IfBreak = M.getOrInsertFunction( in doInitialization() 155 ElseBreak = M.getOrInsertFunction( in doInitialization() 158 Loop = M.getOrInsertFunction( in doInitialization() 161 EndCf = M.getOrInsertFunction( in doInitialization()
|
/external/llvm/lib/IR/ |
D | Module.cpp | 121 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 144 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 146 return getOrInsertFunction(Name, Ty, AttributeSet()); in getOrInsertFunction() 154 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 168 return getOrInsertFunction(Name, in getOrInsertFunction() 173 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 186 return getOrInsertFunction(Name, in getOrInsertFunction()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCRuntimeEntryPoints.h | 136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getVoidRetI8XEntryPoint() 155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 176 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getI8XRetI8XXI8XEntryPoint()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 724 Constant *StrLen = M->getOrInsertFunction("strlen", DL.getIntPtrType(Context), in emitStrLen() 743 M->getOrInsertFunction("strchr", I8Ptr, I8Ptr, I32Ty, nullptr); in emitStrChr() 759 Value *StrNCmp = M->getOrInsertFunction("strncmp", B.getInt32Ty(), in emitStrNCmp() 779 Value *StrCpy = M->getOrInsertFunction(Name, I8Ptr, I8Ptr, I8Ptr, nullptr); in emitStrCpy() 795 Value *StrNCpy = M->getOrInsertFunction(Name, I8Ptr, I8Ptr, I8Ptr, in emitStrNCpy() 816 Value *MemCpy = M->getOrInsertFunction( in emitMemCpyChk() 835 Value *MemChr = M->getOrInsertFunction("memchr", B.getInt8PtrTy(), in emitMemChr() 854 Value *MemCmp = M->getOrInsertFunction("memcmp", B.getInt32Ty(), in emitMemCmp() 888 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), in emitUnaryFloatFnCall() 904 Value *Callee = M->getOrInsertFunction(Name, Op1->getType(), Op1->getType(), in emitBinaryFloatFnCall() [all …]
|
D | SanitizerStats.cpp | 60 Constant *StatReport = M->getOrInsertFunction( in create() 101 Constant *StatInit = M->getOrInsertFunction( in finish()
|
D | ModuleUtils.cpp | 115 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in createSanitizerCtorAndInitFunctions() 122 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in createSanitizerCtorAndInitFunctions()
|
/external/swiftshader/third_party/LLVM/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 65 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), in main() 97 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context), in main()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
D | CallGraph.cpp | 54 ExternalCallingNode = getOrInsertFunction(0); in runOnModule() 115 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph() 154 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph() 251 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 74 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), in main() 105 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context), in main()
|
/external/llvm/lib/Analysis/ |
D | CallGraph.cpp | 24 : M(M), Root(nullptr), ExternalCallingNode(getOrInsertFunction(nullptr)), in CallGraph() 58 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph() 93 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph() 165 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 77 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 81 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 88 getOrInsertFunction("brainf", Type::getVoidTy(C), NULL)); in header() 158 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Module.h | 293 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 296 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 305 Constant *getOrInsertFunction(StringRef Name, 310 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
D | BrainF.cpp | 64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 76 getOrInsertFunction("brainf", Type::getVoidTy(C), NULL)); in header() 149 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header()
|
/external/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 99 Constant *C = M.getOrInsertFunction( in buildCFICheck() 118 Constant *CFICheckFailFn = M.getOrInsertFunction( in buildCFICheck()
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 164 CallGraphNode *getOrInsertFunction(const Function *F); 388 CallGraphNode *getOrInsertFunction(const Function *F) { in getOrInsertFunction() function 389 return G->getOrInsertFunction(F); in getOrInsertFunction()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); in EnsureFunctionExists() 75 Constant* FCache = M->getOrInsertFunction(NewFn, in ReplaceCallWith() 114 M.getOrInsertFunction("memcpy", in AddPrototypes() 121 M.getOrInsertFunction("memmove", in AddPrototypes() 128 M.getOrInsertFunction("memset", in AddPrototypes()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); in EnsureFunctionExists() 75 Constant* FCache = M->getOrInsertFunction(NewFn, in ReplaceCallWith() 114 M.getOrInsertFunction("memcpy", in AddPrototypes() 121 M.getOrInsertFunction("memmove", in AddPrototypes() 128 M.getOrInsertFunction("memset", in AddPrototypes()
|
/external/llvm/include/llvm/IR/ |
D | Module.h | 328 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 331 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 339 Constant *getOrInsertFunction(StringRef Name, 344 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|