Home
last modified time | relevance | path

Searched refs:PredValues (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineSSAUpdater.cpp80 SmallVector<std::pair<MachineBasicBlock*, unsigned>, 8> &PredValues) { in LookForIdenticalPHI() argument
89 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in LookForIdenticalPHI()
90 AVals[PredValues[i].first] = PredValues[i].second; in LookForIdenticalPHI()
157 SmallVector<std::pair<MachineBasicBlock*, unsigned>, 8> PredValues; in GetValueInMiddleOfBlock() local
165 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
180 unsigned DupPHI = LookForIdenticalPHI(BB, PredValues); in GetValueInMiddleOfBlock()
191 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in GetValueInMiddleOfBlock()
192 MIB.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock()
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp81 SmallVectorImpl<std::pair<MachineBasicBlock*, unsigned> > &PredValues) { in LookForIdenticalPHI()
90 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in LookForIdenticalPHI()
91 AVals[PredValues[i].first] = PredValues[i].second; in LookForIdenticalPHI()
158 SmallVector<std::pair<MachineBasicBlock*, unsigned>, 8> PredValues; in GetValueInMiddleOfBlock() local
166 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
181 unsigned DupPHI = LookForIdenticalPHI(BB, PredValues); in GetValueInMiddleOfBlock()
191 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in GetValueInMiddleOfBlock()
192 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp85 SmallVectorImpl<std::pair<MachineBasicBlock *, unsigned>> &PredValues) { in LookForIdenticalPHI() argument
94 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in LookForIdenticalPHI()
95 AVals[PredValues[i].first] = PredValues[i].second; in LookForIdenticalPHI()
161 SmallVector<std::pair<MachineBasicBlock*, unsigned>, 8> PredValues; in GetValueInMiddleOfBlock() local
169 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
184 unsigned DupPHI = LookForIdenticalPHI(BB, PredValues); in GetValueInMiddleOfBlock()
194 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in GetValueInMiddleOfBlock()
195 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSSAUpdater.cpp123 SmallVector<std::pair<BasicBlock*, Value*>, 8> PredValues; in GetValueInMiddleOfBlock() local
133 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
146 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
158 if (PredValues.empty()) in GetValueInMiddleOfBlock()
168 DenseMap<BasicBlock*, Value*> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock()
169 PredValues.end()); in GetValueInMiddleOfBlock()
179 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()
183 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in GetValueInMiddleOfBlock()
184 InsertedPHI->addIncoming(PredValues[i].second, PredValues[i].first); in GetValueInMiddleOfBlock()
/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp94 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp108 SmallVector<std::pair<BasicBlock *, Value *>, 8> PredValues; in GetValueInMiddleOfBlock() local
118 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
131 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
143 if (PredValues.empty()) in GetValueInMiddleOfBlock()
153 SmallDenseMap<BasicBlock *, Value *, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock()
154 PredValues.end()); in GetValueInMiddleOfBlock()
162 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()
166 for (const auto &PredValue : PredValues) in GetValueInMiddleOfBlock()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp1044 PredValueInfoTy PredValues; in ProcessThreadableEdges() local
1045 if (!ComputeValueKnownInPredecessors(Cond, BB, PredValues, Preference)) in ProcessThreadableEdges()
1048 assert(!PredValues.empty() && in ProcessThreadableEdges()
1052 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) { in ProcessThreadableEdges()
1054 << *PredValues[i].first in ProcessThreadableEdges()
1055 << " for pred '" << PredValues[i].second->getName() << "'.\n"; in ProcessThreadableEdges()
1068 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) { in ProcessThreadableEdges()
1069 BasicBlock *Pred = PredValues[i].second; in ProcessThreadableEdges()
1078 Constant *Val = PredValues[i].first; in ProcessThreadableEdges()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp698 DenseMap<BasicBlock*, Value*> PredValues; in SliceUpIllegalIntegerPHI() local
724 Value *&PredVal = PredValues[Pred]; in SliceUpIllegalIntegerPHI()
773 PredValues.clear(); in SliceUpIllegalIntegerPHI()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp770 DenseMap<BasicBlock*, Value*> PredValues; in SliceUpIllegalIntegerPHI() local
796 Value *&PredVal = PredValues[Pred]; in SliceUpIllegalIntegerPHI()
845 PredValues.clear(); in SliceUpIllegalIntegerPHI()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1180 PredValueInfoTy PredValues; in ProcessThreadableEdges() local
1181 if (!ComputeValueKnownInPredecessors(Cond, BB, PredValues, Preference, CxtI)) in ProcessThreadableEdges()
1184 assert(!PredValues.empty() && in ProcessThreadableEdges()
1188 for (const auto &PredValue : PredValues) { in ProcessThreadableEdges()
1204 for (const auto &PredValue : PredValues) { in ProcessThreadableEdges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1025 DenseMap<BasicBlock*, Value*> PredValues; in SliceUpIllegalIntegerPHI() local
1051 Value *&PredVal = PredValues[Pred]; in SliceUpIllegalIntegerPHI()
1100 PredValues.clear(); in SliceUpIllegalIntegerPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1571 PredValueInfoTy PredValues; in ProcessThreadableEdges() local
1572 if (!ComputeValueKnownInPredecessors(Cond, BB, PredValues, Preference, CxtI)) in ProcessThreadableEdges()
1575 assert(!PredValues.empty() && in ProcessThreadableEdges()
1579 for (const auto &PredValue : PredValues) { in ProcessThreadableEdges()
1598 for (const auto &PredValue : PredValues) { in ProcessThreadableEdges()