/external/llvm/lib/Transforms/Utils/ |
BypassSlowDivision.cpp | 39 PHINode *Quotient; 40 PHINode *Remainder; 42 DivPhiNodes(PHINode *InQuotient, PHINode *InRemainder) 142 PHINode *QuoPhi = SuccessorBuilder.CreatePHI(Instr->getType(), 2); 145 PHINode *RemPhi = SuccessorBuilder.CreatePHI(Instr->getType(), 2);
|
CloneFunction.cpp | 322 if (!isa<PHINode>(NewInst)) { 452 SmallVector<const PHINode*, 16> PHIToResolve; 465 if (const PHINode *PN = dyn_cast<PHINode>(I)) 479 const PHINode *OPN = PHIToResolve[phino]; 489 PHINode *PN = cast<PHINode>(VMap[OPN]); 511 PHINode *PN = cast<PHINode>(NewBB->begin()); 529 for (; (PN = dyn_cast<PHINode>(I)); ++I) [all...] |
SimplifyCFG.cpp | 136 isa<PHINode>(BBI); ++BBI) { 137 PHINode *PN = cast<PHINode>(BBI); 154 SmallVectorImpl<PHINode*> &PhiNodes) { 177 isa<PHINode>(BBI); ++BBI) { 178 PHINode *PN = cast<PHINode>(BBI); 193 if (!isa<PHINode>(Succ->begin())) return; // Quick exit if nothing to do 195 PHINode *PN; 197 (PN = dyn_cast<PHINode>(I)); ++I [all...] |
LoopUnrollRuntime.cpp | 72 PHINode *PN = dyn_cast<PHINode>(BBI); ++BBI) { 76 PHINode *NewPN = PHINode::Create(PN->getType(), 2, PN->getName()+".unr", 170 for (BasicBlock::iterator I = Header->begin(); isa<PHINode>(I); ++I) { 171 PHINode *NewPHI = cast<PHINode>(VMap[I]);
|
UnifyFunctionExitNodes.cpp | 94 PHINode *PN = nullptr; 99 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(),
|
CodeExtractor.cpp | 193 PHINode *PN = dyn_cast<PHINode>(Header->begin()); 233 PHINode *PN = cast<PHINode>(OldPred->begin()); 244 for (AfterPHIs = OldPred->begin(); isa<PHINode>(AfterPHIs); ++AfterPHIs) { 245 PHINode *PN = cast<PHINode>(AfterPHIs); 248 PHINode *NewPN = PHINode::Create(PN->getType(), 1 + NumPredsFromRegion, 410 PHINode *P = dyn_cast<PHINode>(U.getUser()) [all...] |
SimplifyIndVar.cpp | 75 void simplifyUsers(PHINode *CurrIV, IVVisitor *V = nullptr); 310 if (PHINode *PHI = dyn_cast<PHINode>(UseInst)) 389 void SimplifyIndvar::simplifyUsers(PHINode *CurrIV, IVVisitor *V) { 451 bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, LPPassManager *LPM, 465 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I) { 466 Changed |= simplifyUsersOfIV(cast<PHINode>(I), SE, LPM, Dead);
|
FlattenCFG.cpp | 127 PHINode *PHI = dyn_cast<PHINode>(BB->begin()); 182 if (isa<PHINode>(CI) || !isSafeToSpeculativelyExecute(CI)) 263 PHI = dyn_cast<PHINode>(PS2->begin()); 429 if (isa<PHINode>(CI) || CI->mayHaveSideEffects() ||
|
LowerSwitch.cpp | 271 for (BasicBlock::iterator I = Succ->begin(); isa<PHINode>(I); ++I) { 272 PHINode* PN = cast<PHINode>(I); 359 for (BasicBlock::iterator I = Default->begin(); isa<PHINode>(I); ++I) { 360 PHINode *PN = cast<PHINode>(I);
|
InlineFunction.cpp | 50 PHINode *InnerEHValuesPHI; ///< PHI for EH values from landingpad insts. 62 for (; isa<PHINode>(I); ++I) { 64 PHINode *PHI = cast<PHINode>(I); 99 PHINode *phi = cast<PHINode>(I); 123 PHINode *OuterPHI = cast<PHINode>(I); 124 PHINode *InnerPHI = PHINode::Create(OuterPHI->getType(), PHICapacity [all...] |
/external/llvm/lib/Analysis/ |
IVUsers.cpp | 127 if (!isa<PHINode>(I) && !isSafeToSpeculativelyExecute(I, DL)) 152 if (isa<PHINode>(User) && Processed.count(User)) 159 if (PHINode *PHI = dyn_cast<PHINode>(User)) { 161 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo); 175 if (isa<PHINode>(User) || Processed.count(User) || 262 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I)
|
SparsePropagation.cpp | 110 for (BasicBlock::iterator I = Dest->begin(); isa<PHINode>(I); ++I) 111 visitPHINode(*cast<PHINode>(I)); 230 void SparseSolver::visitPHINode(PHINode &PN) { 231 // The lattice function may store more information on a PHINode than could be 280 if (PHINode *PN = dyn_cast<PHINode>(&I))
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 35 class PHINode; 82 bool RecursivelyDeleteDeadPHINode(PHINode *PN, 166 AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = nullptr);
|
/external/llvm/lib/Transforms/Scalar/ |
TailRecursionElimination.cpp | 108 SmallVectorImpl<PHINode *> &ArgumentPHIs, 113 SmallVectorImpl<PHINode *> &ArgumentPHIs, 117 SmallVectorImpl<PHINode *> &ArgumentPHIs, 390 SmallVector<PHINode*, 8> ArgumentPHIs; 423 PHINode *PN = ArgumentPHIs[i]; 622 SmallVectorImpl<PHINode *> &ArgumentPHIs, 712 PHINode *PN = PHINode::Create(I->getType(), 2, 744 PHINode *AccPN = 745 PHINode::Create(AccumulatorRecursionEliminationInitVal->getType() [all...] |
LoopDeletion.cpp | 92 while (PHINode *P = dyn_cast<PHINode>(BI)) { 198 while (PHINode *P = dyn_cast<PHINode>(BI)) {
|
Sink.cpp | 86 if (PHINode *PN = dyn_cast<PHINode>(UseInst)) { 89 unsigned Num = PHINode::getIncomingValueNumForOperand(U.getOperandNo()); 175 if (isa<TerminatorInst>(Inst) || isa<PHINode>(Inst))
|
LoopRotation.cpp | 131 for (I = OrigHeader->begin(); PHINode *PN = dyn_cast<PHINode>(I); ++I) 165 if (!isa<PHINode>(UserInst)) { 376 for (; PHINode *PN = dyn_cast<PHINode>(I); ++I) 429 PHINode *PN = dyn_cast<PHINode>(BI); ++BI)
|
JumpThreading.cpp | 130 bool ProcessBranchOnPHI(PHINode *PN); 393 if (PHINode *PN = dyn_cast<PHINode>(I)) { 498 PHINode *PN = dyn_cast<PHINode>(Cmp->getOperand(0)); [all...] |
/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 188 void ComputePHILiveOutRegInfo(const PHINode*); 192 void InvalidatePHILiveOutRegInfo(const PHINode *PN) {
|
/external/llvm/unittests/Transforms/Utils/ |
Local.cpp | 29 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2);
|
/external/llvm/lib/CodeGen/ |
SjLjEHPrepare.cpp | 299 !isa<PHINode>(Inst->user_back())) 312 if (UI->getParent() != BB || isa<PHINode>(UI)) 323 if (!isa<PHINode>(U)) { 327 PHINode *PN = cast<PHINode>(U); 364 SmallPtrSet<PHINode *, 8> PHIsToDemote; 365 for (BasicBlock::iterator PN = UnwindBlock->begin(); isa<PHINode>(PN); ++PN) 366 PHIsToDemote.insert(cast<PHINode>(PN)); 371 for (SmallPtrSet<PHINode *, 8>::iterator I = PHIsToDemote.begin(),
|
CodeGenPrepare.cpp | 321 if (!isa<DbgInfoIntrinsic>(BBI) && !isa<PHINode>(BBI)) 348 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) { 351 if (UI->getParent() != DestBB || !isa<PHINode>(UI)) 353 // If User is inside DestBB block and it is a PHINode then check 357 if (const PHINode *UPN = dyn_cast<PHINode>(UI)) 371 const PHINode *DestBBPN = dyn_cast<PHINode>(DestBB->begin()); 376 if (const PHINode *BBPN = dyn_cast<PHINode>(BB->begin())) [all...] |
DwarfEHPrepare.cpp | 151 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesSize,
|
/external/llvm/lib/IR/ |
Instruction.cpp | 344 if (const PHINode *thisPHI = dyn_cast<PHINode>(this)) { 345 const PHINode *otherPHI = cast<PHINode>(I); 388 const PHINode *PN = dyn_cast<PHINode>(I);
|
/external/llvm/examples/BrainF/ |
BrainF.cpp | 184 void BrainF::readloop(PHINode *phi, BasicBlock *oldbb, BasicBlock *testbb, 295 PHINode *phi_0 = 296 PHINode::Create(PointerType::getUnqual(IntegerType::getInt8Ty(C)), 450 PHINode *phi_1 = builder->
|