/external/llvm/include/llvm/Transforms/Utils/ |
H A D | 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 *C [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | IntrinsicLowering.h | 22 class CallInst; 50 void LowerIntrinsicCall(CallInst *CI); 55 static bool LowerToByteSwap(CallInst *CI);
|
/external/llvm/lib/IR/ |
H A D | Statepoint.cpp | 32 if (isa<InvokeInst>(inst) || isa<CallInst>(inst)) { 51 if (const CallInst *call = dyn_cast<CallInst>(inst)) { 68 if (const CallInst *call = dyn_cast<CallInst>(inst)) {
|
H A D | IRBuilder.cpp | 56 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, 59 CallInst *CI = CallInst::Create(Callee, Ops, Name); 65 CallInst *IRBuilderBase:: 75 CallInst *CI = createCallHelper(TheFn, Ops, this); 90 CallInst *IRBuilderBase:: 102 CallInst *CI = createCallHelper(TheFn, Ops, this); 121 CallInst *IRBuilderBase:: 133 CallInst *CI = createCallHelper(TheFn, Ops, this); 148 CallInst *IRBuilderBas [all...] |
H A D | Instruction.cpp | 280 if (const CallInst *CI = dyn_cast<CallInst>(I1)) 281 return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() && 282 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && 283 CI->getAttributes() == cast<CallInst>(I2)->getAttributes(); 407 return !cast<CallInst>(this)->doesNotAccessMemory(); 427 return !cast<CallInst>(this)->onlyReadsMemory(); 451 if (const CallInst *CI = dyn_cast<CallInst>(this)) 457 if (const CallInst *C [all...] |
/external/llvm/tools/bugpoint-passes/ |
H A D | TestPasses.cpp | 38 if (isa<CallInst>(*I)) 61 if (CallInst *CI = dyn_cast<CallInst>(I)) {
|
/external/llvm/lib/Analysis/ |
H A D | 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/Analysis/ |
H A D | MemoryBuiltins.h | 28 class CallInst; 76 /// extractMallocCall - Returns the corresponding CallInst if the instruction 77 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we 79 const CallInst *extractMallocCall(const Value *I, const TargetLibraryInfo *TLI); 80 static inline CallInst *extractMallocCall(Value *I, 82 return const_cast<CallInst*>(extractMallocCall((const Value*)I, TLI)); 90 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI); 97 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI); 104 Value *getMallocArraySize(CallInst *CI, const DataLayout &DL, 112 /// extractCallocCall - Returns the corresponding CallInst i [all...] |
/external/llvm/include/llvm/IR/ |
H A D | AutoUpgrade.h | 20 class CallInst; 37 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
|
H A D | CallSite.h | 36 class CallInst; 43 typename CallTy = const CallInst, 71 /// isCall - true if a CallInst is enclosed. 165 /// CallInst can be tail call optimized. 167 return isCall() && cast<CallInst>(getInstruction())->isMustTailCall(); 172 return isCall() && cast<CallInst>(getInstruction())->isTailCall(); 178 ? cast<CallInst>(II)->METHOD \ 184 cast<CallInst>(II)->METHOD; \ 345 return cast<CallInst>(getInstruction())->op_end() - 1; 352 CallInst, InvokeIns [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | StatepointLowering.h | 82 void scheduleRelocCall(const CallInst &RelocCall) { 88 void relocCallVisited(const CallInst &RelocCall) { 89 SmallVectorImpl<const CallInst *>::iterator itr = 134 SmallVector<const CallInst *, 10> PendingGCRelocateCalls;
|
H A D | SelectionDAGBuilder.h | 37 class CallInst; 411 const CallInst &StackProtCheckCall) { 775 void visitMaskedLoad(const CallInst &I); 776 void visitMaskedStore(const CallInst &I); 781 void visitCall(const CallInst &I); 782 bool visitMemCmpCall(const CallInst &I); 783 bool visitMemChrCall(const CallInst &I); 784 bool visitStrCpyCall(const CallInst &I, bool isStpcpy); 785 bool visitStrCmpCall(const CallInst &I); 786 bool visitStrLenCall(const CallInst [all...] |
/external/llvm/unittests/IR/ |
H A D | WaymarkTest.cpp | 34 const CallInst *A = CallInst::Create(F.get(), makeArrayRef(values)); 35 ASSERT_NE(A, (const CallInst*)nullptr);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LowerExpectIntrinsic.cpp | 45 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); 87 CallInst *CI; 91 CI = dyn_cast<CallInst>(BI.getCondition()); 95 CI = dyn_cast<CallInst>(CmpI->getOperand(0)); 144 CallInst *CI = dyn_cast<CallInst>(BI++);
|
H A D | PartiallyInlineLibCalls.cpp | 44 bool optimizeSQRT(CallInst *Call, Function *CalledFunc, 72 CallInst *Call = dyn_cast<CallInst>(&*II); 104 bool PartiallyInlineLibCalls::optimizeSQRT(CallInst *Call,
|
H A D | TailRecursionElimination.cpp | 104 CallInst *FindTRECandidate(Instruction *I, 106 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 120 bool CanMoveAboveCall(Instruction *I, CallInst *CI); 121 Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI); 289 SmallVector<CallInst *, 32> DeferredTails; 298 CallInst *CI = dyn_cast<CallInst>(&I); 364 for (CallInst *CI : DeferredTails) { 439 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { 475 static bool isDynamicConstant(Value *V, CallInst *C [all...] |
/external/llvm/examples/Fibonacci/ |
H A D | fibonacci.cpp | 71 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); 76 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | PruneEH.cpp | 118 if (CallInst *CI = dyn_cast<CallInst>(I)) { 183 CallInst *Call = CallInst::Create(II->getCalledValue(), Args, "", II); 213 if (CallInst *CI = dyn_cast<CallInst>(I++)) 245 if (CallInst *CI = dyn_cast<CallInst>(I)) {
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ARCInstKind.h | 102 if (const CallInst *CI = dyn_cast<CallInst>(V)) {
|
H A D | ObjCARCOpts.cpp | 64 cast<CallInst>(Arg)->getArgOperand(0)); 628 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); 662 CallInst *AutoreleaseRVCI = cast<CallInst>(AutoreleaseRV); 711 CallInst *CI = cast<CallInst>(Inst); 729 CallInst *CI = cast<CallInst>(Inst); 759 CallInst *Call = cast<CallInst>(Ins [all...] |
H A D | ObjCARCContract.cpp | 74 SmallPtrSet<CallInst *, 8> StoreStrongCalls; 139 cast<CallInst>(Retain)->setCalledFunction(Decl); 154 CallInst *Retain = nullptr; 170 Retain = dyn_cast_or_null<CallInst>(*DependingInstructions.begin()); 385 CallInst *StoreStrong = CallInst::Create(Decl, Args, "", Store); 458 CallInst::Create(IA, "", Inst); 465 CallInst *CI = cast<CallInst>(Inst); 549 Value *Arg = cast<CallInst>(Ins [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | LowerInvoke.cpp | 60 CallInst *NewCall = CallInst::Create(II->getCalledValue(),
|
H A D | SimplifyLibCalls.cpp | 95 static bool callHasFloatingPointArgument(const CallInst *CI) { 96 for (CallInst::const_op_iterator it = CI->op_begin(), e = CI->op_end(); 187 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilder<> &B) { 235 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilder<> &B) { 277 Value *LibCallSimplifier::optimizeStrChr(CallInst *CI, IRBuilder<> &B) { 322 Value *LibCallSimplifier::optimizeStrRChr(CallInst *CI, IRBuilder<> &B) { 357 Value *LibCallSimplifier::optimizeStrCmp(CallInst *CI, IRBuilder<> &B) { 398 Value *LibCallSimplifier::optimizeStrNCmp(CallInst *CI, IRBuilder<> &B) { 446 Value *LibCallSimplifier::optimizeStrCpy(CallInst *CI, IRBuilder<> &B) { 468 Value *LibCallSimplifier::optimizeStpCpy(CallInst *C [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerStructArgs.cpp | 89 CallInst *CallCVT = 90 CallInst::Create(CvtFunc, BitcastArgs, "cvt_to_param", FirstInst);
|
H A D | NVVMReflect.cpp | 136 // Each of them should a CallInst with a ConstantArray argument. 139 // found in VarMap. If so, replace the uses of CallInst with the 162 assert(isa<CallInst>(U) && "Only a call instruction can use _reflect"); 163 CallInst *Reflect = cast<CallInst>(U); 170 if (isa<CallInst>(Str)) { 172 const CallInst *ConvCall = cast<CallInst>(Str);
|