Searched refs:PredValues (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 82 SmallVectorImpl<std::pair<MachineBasicBlock*, unsigned> > &PredValues) { in LookForIdenticalPHI() 91 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in LookForIdenticalPHI() 92 AVals[PredValues[i].first] = PredValues[i].second; in LookForIdenticalPHI() 159 SmallVector<std::pair<MachineBasicBlock*, unsigned>, 8> PredValues; in GetValueInMiddleOfBlock() local 167 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock() 182 unsigned DupPHI = LookForIdenticalPHI(BB, PredValues); in GetValueInMiddleOfBlock() 192 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in GetValueInMiddleOfBlock() 193 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock()
|
/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 94 SmallVector<std::pair<BasicBlock*, Value*>, 8> PredValues; in GetValueInMiddleOfBlock() local 104 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock() 117 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock() 129 if (PredValues.empty()) in GetValueInMiddleOfBlock() 139 SmallDenseMap<BasicBlock*, Value*, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock() 140 PredValues.end()); in GetValueInMiddleOfBlock() 150 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock() 154 for (const auto &PredValue : PredValues) in GetValueInMiddleOfBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1183 PredValueInfoTy PredValues; in ProcessThreadableEdges() local 1184 if (!ComputeValueKnownInPredecessors(Cond, BB, PredValues, Preference, CxtI)) in ProcessThreadableEdges() 1187 assert(!PredValues.empty() && in ProcessThreadableEdges() 1191 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) { in ProcessThreadableEdges() 1193 << *PredValues[i].first in ProcessThreadableEdges() 1194 << " for pred '" << PredValues[i].second->getName() << "'.\n"; in ProcessThreadableEdges() 1207 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) { in ProcessThreadableEdges() 1208 BasicBlock *Pred = PredValues[i].second; in ProcessThreadableEdges() 1217 Constant *Val = PredValues[i].first; in ProcessThreadableEdges()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 784 DenseMap<BasicBlock*, Value*> PredValues; in SliceUpIllegalIntegerPHI() local 810 Value *&PredVal = PredValues[Pred]; in SliceUpIllegalIntegerPHI() 859 PredValues.clear(); in SliceUpIllegalIntegerPHI()
|