Searched refs:PHIs (Results 1 - 8 of 8) sorted by relevance
/external/llvm/lib/CodeGen/ |
H A D | EarlyIfConversion.cpp | 120 SmallVector<PHIInfo, 8> PHIs; member in class:__anon25739::SSAIfConv 405 PHIs.clear(); 410 PHIs.push_back(&*I); 411 PHIInfo &PI = PHIs.back(); 454 assert(Tail->pred_size() == 2 && "Cannot replace PHIs"); 459 // Convert all PHIs to select instructions inserted before FirstTerm. 460 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { 461 PHIInfo &PI = PHIs[i]; 479 // Convert all PHIs to select instructions inserted before FirstTerm. 480 for (unsigned i = 0, e = PHIs [all...] |
H A D | InlineSpiller.cpp | 525 // Stop at original PHIs. We don't know the value at the predecessors. 536 // expensive if there are many predecessors and many more PHIs as 543 // Separate all values dominated by OrigVNI into PHIs and non-PHIs. 544 SmallVector<VNInfo*, 8> PHIs, NonPHIs; local 557 PHIs.push_back(VNI2); 561 DEBUG(dbgs() << "split phi value, checking " << PHIs.size() 565 // Create entries for all the PHIs. Don't add them to the worklist, we 567 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) 568 SibValues.insert(std::make_pair(PHIs[ [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | BasicBlockUtils.cpp | 99 // Recursively deleting a PHI may cause multiple PHIs to be deleted 100 // or RAUW'd undef, so use an array of WeakVH for the PHIs to delete. 101 SmallVector<WeakVH, 8> PHIs; local 104 PHIs.push_back(PN); 107 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) 108 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) 150 // Begin by getting rid of unneeded PHIs.
|
H A D | SimplifyCFG.cpp | 1485 // Skip PHIs which are trivial. 1512 // If there are no PHIs to process, bail early. This helps ensure idempotence 1545 // Skip PHIs which are trivial. 1753 // we ran out of PHIs then we simplified them all. 1757 // Don't fold i1 branches on PHIs which contain binary operators. These can 2061 SmallVector<PHINode*, 4> PHIs; local 2066 !isProfitableToFoldUnconditional(BI, PBI, Cond, PHIs))) 2231 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { 2233 PHIs[i]->getIncomingValueForBlock(PBI->getParent())); 2271 PHIs[ 3735 SmallVector<PHINode*, 4> PHIs; local [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 612 /// value will trap if the value is dynamically null. PHIs keeps track of any 615 SmallPtrSet<const PHINode*, 8> &PHIs) { 635 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; 637 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; 641 if (PHIs.insert(PN) && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) 660 SmallPtrSet<const PHINode*, 8> PHIs; local 661 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) 960 SmallPtrSet<const PHINode*, 8> &PHIs) { 976 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(Inst, GV, PHIs)) 614 AllUsesOfValueWillTrapIfNull(const Value *V, SmallPtrSet<const PHINode*, 8> &PHIs) argument 958 ValueIsOnlyUsedLocallyOrStoredToOneGlobal(const Instruction *V, const GlobalVariable *GV, SmallPtrSet<const PHINode*, 8> &PHIs) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 1254 // Don't analyze large in-degree PHIs. 1837 static uint64_t GetStringLengthH(Value *V, SmallPtrSet<PHINode*, 32> &PHIs) { argument 1844 if (!PHIs.insert(PN)) 1850 uint64_t Len = GetStringLengthH(PN->getIncomingValue(i), PHIs); 1866 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs); 1868 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs); 1889 SmallPtrSet<PHINode*, 32> PHIs; 1890 uint64_t Len = GetStringLengthH(V, PHIs);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 450 SmallVector<WeakVH, 8> PHIs; local 453 PHIs.push_back(PN); 455 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) 456 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i]))
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 2249 // PHIs that are left in the scalar version of the loop. 2715 // the PHIs and the values we are going to write. 2909 // This is phase one of vectorizing PHIs. 2922 // We know that all PHIs in non-header blocks are converted into 2941 // We might have single edge PHIs (blocks) - use an identity 3071 // Nothing to do for PHIs and BR, since we already took care of the 3512 // the PHIs in this block are induction or reduction variables. 3523 // We only allow if-converted PHIs with more than two incoming values. 4898 SmallVector<Instruction *, 8> PHIs; 4928 PHIs [all...] |
Completed in 3239 milliseconds