/external/llvm/lib/CodeGen/ |
EarlyIfConversion.cpp | 78 // Head block, and phis in the Tail block are converted to select instructions. 90 /// The block containing phis after the if-then-else. 120 SmallVector<PHIInfo, 8> PHIs; 207 // There shouldn't normally be any phis in a single-predecessor block. 381 // If Tail doesn't have any phis, there must be side effects. 383 DEBUG(dbgs() << "No phis in tail.\n"); 404 // Any phis in the tail block must be convertible to selects. 405 PHIs.clear(); 410 PHIs.push_back(&*I); 411 PHIInfo &PI = PHIs.back() [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
BasicBlockUtils.cpp | 98 // Recursively deleting a PHI may cause multiple PHIs to be deleted 99 // or RAUW'd undef, so use an array of WeakVH for the PHIs to delete. 100 SmallVector<WeakVH, 8> PHIs; 103 PHIs.push_back(PN); 106 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) 107 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) 149 // Begin by getting rid of unneeded PHIs.
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
InlineSpiller.cpp | 439 // dominated, phis need checking. 508 // Stop at original PHIs. We don't know the value at the predecessors. 519 // expensive if there are many predecessors and many more PHIs as 526 // Separate all values dominated by OrigVNI into PHIs and non-PHIs. 527 SmallVector<VNInfo*, 8> PHIs, NonPHIs; 540 PHIs.push_back(VNI2); 544 DEBUG(dbgs() << "split phi value, checking " << PHIs.size() 548 // Create entries for all the PHIs. Don't add them to the worklist, we 550 for (unsigned i = 0, e = PHIs.size(); i != e; ++i [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 579 /// dynamically null. PHIs keeps track of any phi nodes we've seen to avoid 582 SmallPtrSetImpl<const PHINode*> &PHIs) { 602 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; 604 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; 608 if (PHIs.insert(PN).second && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) 627 SmallPtrSet<const PHINode*, 8> PHIs; 628 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
GlobalOpt.cpp | 638 /// value will trap if the value is dynamically null. PHIs keeps track of any 641 SmallPtrSet<const PHINode*, 8> &PHIs) { 664 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; 666 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; 670 if (PHIs.insert(PN) && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) 692 SmallPtrSet<const PHINode*, 8> PHIs; 693 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ValueTracking.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
BasicBlockUtils.cpp | 80 // Recursively deleting a PHI may cause multiple PHIs to be deleted 81 // or RAUW'd undef, so use an array of WeakVH for the PHIs to delete. 82 SmallVector<WeakVH, 8> PHIs; 85 PHIs.push_back(PN); 88 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) 89 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) 132 // Begin by getting rid of unneeded PHIs.
|
LoopUtils.cpp | 291 SmallVector<Instruction *, 8> PHIs; 321 PHIs.push_back(UI); 334 Worklist.append(PHIs.begin(), PHIs.end()); [all...] |
SimplifyCFG.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
IndVarSimplify.cpp | 163 // because it understands lcssa phis while SCEV does not. 463 SmallVector<WeakVH, 8> PHIs; 466 PHIs.push_back(PN); 468 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) 469 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i])) [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
IndVarSimplify.cpp | 142 // because it understands lcssa phis while SCEV does not. 449 SmallVector<WeakVH, 8> PHIs; 452 PHIs.push_back(PN); 454 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) 455 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i])) 714 // Only deal with PHIs. [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 623 SetVector<PHINode *> PHIs; 670 // We cannot transform PHIs on unsplittable basic blocks. 674 PHIs.insert(PN); 679 for (auto *PN : PHIs) [all...] |