/external/llvm/include/llvm/Transforms/Utils/ |
SimplifyIndVar.h | 30 class PHINode; 44 bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, LPPassManager *LPM,
|
SSAUpdater.h | 25 class PHINode; 51 SmallVectorImpl<PHINode*> *InsertedPHIs; 56 explicit SSAUpdater(SmallVectorImpl<PHINode*> *InsertedPHIs = 0);
|
/external/llvm/lib/Transforms/Utils/ |
SSAUpdater.cpp | 38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) 73 static bool IsEquivalentPHI(PHINode *PHI, 129 if (PHINode *SomePhi = dyn_cast<PHINode>(BB->begin())) { 167 if (isa<PHINode>(BB->begin())) { 170 PHINode *SomePHI; 172 (SomePHI = dyn_cast<PHINode>(It)); ++It) { 179 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), 212 if (PHINode *UserPN = dyn_cast<PHINode>(User) [all...] |
DemoteRegToStack.cpp | 43 if (PHINode *PN = dyn_cast<PHINode>(U)) { 89 for (; isa<PHINode>(InsertPt) || isa<LandingPadInst>(InsertPt); ++InsertPt) 99 AllocaInst *llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) {
|
LCSSA.cpp | 153 !isa<PHINode>(I->use_back()))) 188 if (PHINode *PN = dyn_cast<PHINode>(U)) 210 SmallVector<PHINode*, 16> AddedPHIs; 225 PHINode *PN = PHINode::Create(Inst->getType(), 258 if (PHINode *PN = dyn_cast<PHINode>(User)) 261 if (isa<PHINode>(UserBB->begin()) &&
|
Local.cpp | 341 bool llvm::RecursivelyDeleteDeadPHINode(PHINode *PN, 416 if (!isa<PHINode>(BB->begin())) 425 while (PHINode *PN = dyn_cast<PHINode>(PhiIt)) { 447 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { 512 for (BasicBlock::iterator I = Succ->begin(); isa<PHINode>(I); ++I) { 513 PHINode *PN = cast<PHINode>(I); 515 // If the incoming value from BB is again a PHINode i [all...] |
BasicBlockUtils.cpp | 68 if (!isa<PHINode>(BB->begin())) return; 77 while (PHINode *PN = dyn_cast<PHINode>(BB->begin())) { 102 PHINode *PN = dyn_cast<PHINode>(I); ++I) 107 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) 141 if (PHINode *PN = dyn_cast<PHINode>(BI)) { 150 if (isa<PHINode>(BB->front()) [all...] |
BreakCriticalEdges.cpp | 134 PHINode *PN = dyn_cast<PHINode>(I); ++I) { 140 if (const PHINode *VP = dyn_cast<PHINode>(V)) 145 PHINode *NewPN = 146 PHINode::Create(PN->getType(), Preds.size(), "split", 209 for (BasicBlock::iterator I = DestBB->begin(); isa<PHINode>(I); ++I) { 213 PHINode *PN = cast<PHINode>(I); 263 if (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) [all...] |
LoopUnroll.cpp | 50 if (PHINode *PN = dyn_cast<PHINode>(I)) { 250 std::vector<PHINode*> OrigPHINode; 251 for (BasicBlock::iterator I = Header->begin(); isa<PHINode>(I); ++I) { 252 OrigPHINode.push_back(cast<PHINode>(I)); 282 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHINode[i]]); 305 PHINode *phi = dyn_cast<PHINode>(BBI); ++BBI) { 332 PHINode *PN = OrigPHINode[i] [all...] |
BypassSlowDivision.cpp | 38 PHINode *Quotient; 39 PHINode *Remainder; 41 DivPhiNodes(PHINode *InQuotient, PHINode *InRemainder) 141 PHINode *QuoPhi = SuccessorBuilder.CreatePHI(Instr->getType(), 2); 144 PHINode *RemPhi = SuccessorBuilder.CreatePHI(Instr->getType(), 2);
|
CloneFunction.cpp | 265 if (!isa<PHINode>(NewInst)) { 395 SmallVector<const PHINode*, 16> PHIToResolve; 408 if (const PHINode *PN = dyn_cast<PHINode>(I)) 422 const PHINode *OPN = PHIToResolve[phino]; 432 PHINode *PN = cast<PHINode>(VMap[OPN]); 454 PHINode *PN = cast<PHINode>(NewBB->begin()); 472 for (; (PN = dyn_cast<PHINode>(I)); ++I) [all...] |
LoopUnrollRuntime.cpp | 71 PHINode *PN = dyn_cast<PHINode>(BBI); ++BBI) { 75 PHINode *NewPN = PHINode::Create(PN->getType(), 2, PN->getName()+".unr", 169 for (BasicBlock::iterator I = Header->begin(); isa<PHINode>(I); ++I) { 170 PHINode *NewPHI = cast<PHINode>(VMap[I]);
|
SimplifyCFG.cpp | 117 isa<PHINode>(BBI); ++BBI) { 118 PHINode *PN = cast<PHINode>(BBI); 135 SmallVectorImpl<PHINode*> &PhiNodes) { 158 isa<PHINode>(BBI); ++BBI) { 159 PHINode *PN = cast<PHINode>(BBI); 174 if (!isa<PHINode>(Succ->begin())) return; // Quick exit if nothing to do 176 PHINode *PN; 178 (PN = dyn_cast<PHINode>(I)); ++I [all...] |
/external/llvm/lib/VMCore/ |
BasicBlock.cpp | 133 // which is not a PHINode. If we have an invalid basic 136 while (isa<PHINode>(i)) ++i; 143 // which is not a PHINode. If we have an invalid basic 146 while (isa<PHINode>(i) || isa<DbgInfoIntrinsic>(i)) ++i; 152 // which is not a PHINode. If we have an invalid basic 157 if (isa<PHINode>(i) || isa<DbgInfoIntrinsic>(i)) 223 PHINode *APN = dyn_cast<PHINode>(&front()); 250 while (PHINode *PN = dyn_cast<PHINode>(&front())) [all...] |
Dominators.cpp | 120 if (isa<InvokeInst>(Def) || isa<PHINode>(User)) 222 PHINode *PN = dyn_cast<PHINode>(UserInst); 246 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) 278 if (isa<PHINode>(UserInst)) 297 if (PHINode *PN = dyn_cast<PHINode>(I))
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 24 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) { 81 PHINode *NewLHS = 0, *NewRHS = 0; 83 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), 91 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), 130 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { 201 SmallVector<PHINode*, 16> OperandPhis(FixedOperands.size()); 207 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, 225 if (PHINode *OpPhi = OperandPhis[op]) 287 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolutionExpander.h | 68 std::set<AssertingVH<PHINode> > ChainedPhis; 119 PHINode *getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty); 186 void setChainedPhi(PHINode *PN) { ChainedPhis.insert(PN); } 255 bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 257 bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 260 PHINode *getAddRecExprPHILiterally(const SCEVAddRecExpr *Normalized, 264 Value *expandIVInc(PHINode *PN, Value *StepV, const Loop *L,
|
SparsePropagation.h | 28 class PHINode; 77 virtual bool IsSpecialCasedPHI(PHINode *PN) { 199 void visitPHINode(PHINode &I);
|
/external/llvm/lib/Transforms/Scalar/ |
IndVarSimplify.cpp | 105 void HandleFloatingPointIV(Loop *L, PHINode *PH); 113 PHINode *IndVar, SCEVExpander &Rewriter); 192 PHINode *PHI = dyn_cast<PHINode>(User); 243 void IndVarSimplify::HandleFloatingPointIV(Loop *L, PHINode *PN) { 398 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); 450 PHINode *PN = dyn_cast<PHINode>(I); ++I) 454 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i]) [all...] |
Reg2Mem.cpp | 53 if (I->getParent() != BB || isa<PHINode>(I)) 116 if (isa<PHINode>(iib)) 123 DemotePHIToStack(cast<PHINode>(*ilb), AllocaInsertionPoint);
|
TailRecursionElimination.cpp | 95 SmallVector<PHINode*, 8> &ArgumentPHIs, 100 SmallVector<PHINode*, 8> &ArgumentPHIs, 104 SmallVector<PHINode*, 8> &ArgumentPHIs, 156 SmallVector<PHINode*, 8> ArgumentPHIs; 203 PHINode *PN = ArgumentPHIs[i]; 413 SmallVector<PHINode*, 8> &ArgumentPHIs, 500 PHINode *PN = PHINode::Create(I->getType(), 2, 532 PHINode *AccPN = 533 PHINode::Create(AccumulatorRecursionEliminationInitVal->getType() [all...] |
CodeGenPrepare.cpp | 278 if (!isa<DbgInfoIntrinsic>(BBI) && !isa<PHINode>(BBI)) 305 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) { 309 if (User->getParent() != DestBB || !isa<PHINode>(User)) 311 // If User is inside DestBB block and it is a PHINode then check 315 if (const PHINode *UPN = dyn_cast<PHINode>(User)) 329 const PHINode *DestBBPN = dyn_cast<PHINode>(DestBB->begin()); 334 if (const PHINode *BBPN = dyn_cast<PHINode>(BB->begin())) [all...] |
/external/llvm/examples/BrainF/ |
BrainF.h | 73 void readloop(PHINode *phi, BasicBlock *oldbb,
|
/external/llvm/lib/Transforms/IPO/ |
PartialInlining.cpp | 95 PHINode* OldPhi = dyn_cast<PHINode>(I); 98 PHINode* retPhi = PHINode::Create(OldPhi->getType(), 2, "", Ins);
|
/external/llvm/lib/Analysis/ |
IVUsers.cpp | 127 if (!isa<PHINode>(I) && !isSafeToSpeculativelyExecute(I, TD)) 153 if (isa<PHINode>(User) && Processed.count(User)) 160 if (PHINode *PHI = dyn_cast<PHINode>(User)) { 162 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo); 176 if (isa<PHINode>(User) || Processed.count(User) || 243 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I)
|