/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 849 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, argument 851 if (IncV->getNumOperands() == 0 || isa<PHINode>(IncV) || 852 (isa<CastInst>(IncV) && !isa<BitCastInst>(IncV))) 858 for (User::op_iterator OI = IncV->op_begin()+1, 859 OE = IncV->op_end(); OI != OE; ++OI) 865 IncV = dyn_cast<Instruction>(IncV->getOperand(0)); 866 if (!IncV) 883 isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L) argument 953 Instruction *IncV = local 1032 Value *IncV; local 1495 hoistStep(Instruction *IncV, Instruction *InsertPos, const DominatorTree *DT) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 821 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, argument 823 if (IncV->getNumOperands() == 0 || isa<PHINode>(IncV) || 824 (isa<CastInst>(IncV) && !isa<BitCastInst>(IncV))) 830 for (User::op_iterator OI = IncV->op_begin()+1, 831 OE = IncV->op_end(); OI != OE; ++OI) 837 IncV = dyn_cast<Instruction>(IncV->getOperand(0)); 838 if (!IncV) 859 getIVIncOperand(Instruction *IncV, Instruction *InsertPos, bool allowScale) argument 926 hoistIVInc(Instruction *IncV, Instruction *InsertPos) argument 963 isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L) argument 980 Value *IncV; local 1097 Instruction *IncV = nullptr; local 1237 Value *IncV = expandIVInc(PN, StepV, L, ExpandTy, IntTy, useSubtract); local [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 112 static bool hoistStep(Instruction *IncV, Instruction *InsertPos, 238 bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 240 bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
|
/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 182 Instruction *getIVIncOperand(Instruction *IncV, Instruction *InsertPos, 186 bool hoistIVInc(Instruction *IncV, Instruction *InsertPos); 353 bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 355 bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 1331 /// getLoopPhiForCounter - Return the loop header phi IFF IncV adds a loop 1333 static PHINode *getLoopPhiForCounter(Value *IncV, Loop *L, DominatorTree *DT) { argument 1334 Instruction *IncI = dyn_cast<Instruction>(IncV); 1408 Value *IncV = Phi->getIncomingValueForBlock(L->getLoopLatch()); 1409 return Phi != getLoopPhiForCounter(IncV, L, DT); 1416 Value *IncV = Phi->getIncomingValue(LatchIdx); local 1420 if (*UI != Cond && *UI != IncV) return false; 1423 for (Value::use_iterator UI = IncV->use_begin(), UE = IncV->use_end(); 1477 Value *IncV local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 1584 /// Return the loop header phi IFF IncV adds a loop invariant value to the phi. 1585 static PHINode *getLoopPhiForCounter(Value *IncV, Loop *L, DominatorTree *DT) { argument 1586 Instruction *IncI = dyn_cast<Instruction>(IncV); 1670 Value *IncV = Phi->getIncomingValue(Idx); 1671 return Phi != getLoopPhiForCounter(IncV, L, DT); 1720 Value *IncV = Phi->getIncomingValue(LatchIdx); local 1723 if (U != Cond && U != IncV) return false; 1725 for (User *U : IncV->users()) 1782 Value *IncV = Phi->getIncomingValue(LatchIdx); local 1783 if (getLoopPhiForCounter(IncV, [all...] |
H A D | LoopStrengthReduce.cpp | 2774 Instruction *IncV = local 2776 if (IncV) 2777 ChainInstruction(PN, IncV, ChainUsersVec); 2884 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); local 2886 SE.getUnknown(IncV));
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAG.cpp | 300 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); local 332 IncV, Chain); 347 Base, IncV); 594 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); local 604 SDValue Ops[] = { Base, IncV, Value, Chain }; 617 Base, IncV);
|