/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
MemoryBuiltins.h | 19 class CallInst; 33 /// extractMallocCall - Returns the corresponding CallInst if the instruction 34 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we 36 const CallInst *extractMallocCall(const Value *I); 37 CallInst *extractMallocCall(Value *I); 39 /// extractMallocCallFromBitCast - Returns the corresponding CallInst if the 41 const CallInst *extractMallocCallFromBitCast(const Value *I); 42 CallInst *extractMallocCallFromBitCast(Value *I); 44 /// isArrayMalloc - Returns the corresponding CallInst if the instruction 47 const CallInst *isArrayMalloc(const Value *I, const TargetData *TD) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
SimplifyLibCalls.h | 25 class CallInst; 52 Value *optimizeCall(CallInst *CI); 55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B); 56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B); 57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B); 60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func); 61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func); 65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp, 103 Value *optimizeCall(CallInst *CI); 107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B) [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
SimplifyLibCalls.h | 25 class CallInst; 51 Value *optimizeCall(CallInst *CI); 54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B); 55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B); 56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B); 59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func); 60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func); 64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp, 100 Value *optimizeCall(CallInst *CI); 104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B) [all...] |
/external/llvm/include/llvm/Analysis/ |
TypeMetadataUtils.h | 35 SmallVectorImpl<CallInst *> &Assumes, CallInst *CI); 42 SmallVectorImpl<Instruction *> &Preds, bool &HasNonCallUses, CallInst *CI);
|
IndirectCallSiteVisitor.h | 27 if (CallInst *CI = dyn_cast<CallInst>(I)) {
|
MemoryBuiltins.h | 28 class CallInst; 71 /// extractMallocCall - Returns the corresponding CallInst if the instruction 72 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we 74 const CallInst *extractMallocCall(const Value *I, const TargetLibraryInfo *TLI); 75 static inline CallInst *extractMallocCall(Value *I, 77 return const_cast<CallInst*>(extractMallocCall((const Value*)I, TLI)); 85 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI); 92 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI); 99 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL, 107 /// extractCallocCall - Returns the corresponding CallInst if the instructio [all...] |
/external/llvm/include/llvm/CodeGen/ |
IntrinsicLowering.h | 22 class CallInst; 49 void LowerIntrinsicCall(CallInst *CI); 54 static bool LowerToByteSwap(CallInst *CI);
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
IntrinsicLowering.h | 22 class CallInst; 50 void LowerIntrinsicCall(CallInst *CI); 55 static bool LowerToByteSwap(CallInst *CI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
IntrinsicLowering.h | 22 class CallInst; 46 void LowerIntrinsicCall(CallInst *CI); 50 static bool LowerToByteSwap(CallInst *CI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
TypeMetadataUtils.h | 42 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI); 50 const CallInst *CI);
|
MemoryBuiltins.h | 33 class CallInst; 91 /// extractMallocCall - Returns the corresponding CallInst if the instruction 92 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we 94 const CallInst *extractMallocCall(const Value *I, const TargetLibraryInfo *TLI); 95 inline CallInst *extractMallocCall(Value *I, const TargetLibraryInfo *TLI) { 96 return const_cast<CallInst*>(extractMallocCall((const Value*)I, TLI)); 104 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI); 111 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI); 118 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL, 126 /// extractCallocCall - Returns the corresponding CallInst if the instructio [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
MemoryBuiltins.cpp | 33 static bool isMallocCall(const CallInst *CI) { 57 /// extractMallocCall - Returns the corresponding CallInst if the instruction 58 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we 60 const CallInst *llvm::extractMallocCall(const Value *I) { 61 const CallInst *CI = dyn_cast<CallInst>(I); 65 CallInst *llvm::extractMallocCall(Value *I) { 66 CallInst *CI = dyn_cast<CallInst>(I); 74 return isMallocCall(dyn_cast<CallInst>(BCI->getOperand(0))) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
AutoUpgrade.h | 21 class CallInst; 31 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
AlignmentFromAssumptions.h | 39 bool extractAlignmentInfo(CallInst *I, Value *&AAPtr, const SCEV *&AlignSCEV, 41 bool processAssumption(CallInst *I);
|
/external/swiftshader/third_party/LLVM/tools/bugpoint-passes/ |
TestPasses.cpp | 38 if (isa<CallInst>(*I))
61 if (CallInst *CI = dyn_cast<CallInst>(I)) {
|
/external/llvm/include/llvm/Transforms/Scalar/ |
AlignmentFromAssumptions.h | 45 bool extractAlignmentInfo(CallInst *I, Value *&AAPtr, const SCEV *&AlignSCEV, 47 bool processAssumption(CallInst *I);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
StatepointLowering.h | 28 class CallInst; 69 void scheduleRelocCall(const CallInst &RelocCall) { 76 void relocCallVisited(const CallInst &RelocCall) { 119 SmallVector<const CallInst *, 10> PendingGCRelocateCalls;
|
/external/spirv-llvm/lib/SPIRV/ |
OCL20To12.cpp | 65 virtual void visitCallInst(CallInst &CI); 70 void visitCallAtomicWorkItemFence(CallInst *CI); 100 OCL20To12::visitCallInst(CallInst& CI) { 118 void OCL20To12::visitCallAtomicWorkItemFence(CallInst* CI) { 126 mutateCallInstOCL(M, CI, [=](CallInst *, std::vector<Value *> &Args){
|
OCL21ToSPIRV.cpp | 67 virtual void visitCallInst(CallInst &CI); 73 void visitCallConvert(CallInst *CI, StringRef MangledName, Op OC); 80 void visitCallDecorate(CallInst *CI, StringRef MangledName); 85 void visitCallSubGroupBarrier(CallInst *CI); 90 void transBuiltin(CallInst *CI, Op OC); 142 OCL21ToSPIRV::visitCallInst(CallInst& CI) { 179 void OCL21ToSPIRV::visitCallConvert(CallInst* CI, 182 mutateCallInstSPIRV(M, CI, [=](CallInst *, std::vector<Value *> &Args){ 192 void OCL21ToSPIRV::visitCallDecorate(CallInst* CI, 194 auto Target = cast<CallInst>(CI->getArgOperand(0)) [all...] |
OCL20ToSPIRV.cpp | 84 virtual void visitCallInst(CallInst &CI); 94 void visitCallBarrier(CallInst *CI); 98 bool eraseUselessConvert(CallInst *Call, const std::string &MangledName, 103 void visitCallConvert(CallInst *CI, StringRef MangledName, 111 void visitCallAsyncWorkGroupCopy(CallInst *CI, 115 void transBuiltin(CallInst *CI, OCLBuiltinTransInfo &Info); 123 void transMemoryBarrier(CallInst *CI, AtomicWorkItemFenceLiterals); 127 void visitCallAllAny(spv::Op OC, CallInst *CI); 132 void transAtomicBuiltin(CallInst *CI, OCLBuiltinTransInfo &Info); 137 void visitCallAtomicWorkItemFence(CallInst *CI) [all...] |
/external/llvm/lib/Analysis/ |
AssumptionCache.cpp | 42 void AssumptionCache::registerAssumption(CallInst *CI) { 69 assert(match(cast<CallInst>(VH), m_Intrinsic<Intrinsic::assume>()) && 86 OS << " " << *cast<CallInst>(VH)->getArgOperand(0) << "\n"; 117 SmallPtrSet<const CallInst *, 4> AssumptionSet; 121 AssumptionSet.insert(cast<CallInst>(VH)); 126 assert(AssumptionSet.count(cast<CallInst>(&II)) &&
|
/external/llvm/include/llvm/IR/ |
AutoUpgrade.h | 20 class CallInst; 38 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
AutoUpgrade.h | 20 class CallInst; 38 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
MemoryBuiltinsTest.cpp | 36 std::unique_ptr<CallInst> Caller( 37 CallInst::Create(AllocSizeFn, {ConstantInt::get(ArgTy, 100)}));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
LibCallsShrinkWrap.cpp | 78 void visitCallInst(CallInst &CI) { checkCandidate(CI); } 93 bool perform(CallInst *CI); 94 void checkCandidate(CallInst &CI); 95 void shrinkWrapCI(CallInst *CI, Value *Cond); 96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func); 97 bool performCallErrors(CallInst *CI, const LibFunc &Func); 98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func); 99 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func); 100 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func); 101 Value *generateCondForPow(CallInst *CI, const LibFunc &Func) [all...] |