Home
last modified time | relevance | path

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

/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/llvm-project/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp87 SmallVectorImpl<std::pair<MachineBasicBlock *, Register>> &PredValues) { in LookForIdenticalPHI() argument
96 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in LookForIdenticalPHI()
97 AVals[PredValues[i].first] = PredValues[i].second; in LookForIdenticalPHI()
163 SmallVector<std::pair<MachineBasicBlock*, Register>, 8> PredValues; in GetValueInMiddleOfBlock() local
171 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
186 Register DupPHI = LookForIdenticalPHI(BB, PredValues); in GetValueInMiddleOfBlock()
196 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in GetValueInMiddleOfBlock()
197 InsertedPHI.addReg(PredValues[i].second).addMBB(PredValues[i].first); in GetValueInMiddleOfBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp84 SmallVectorImpl<std::pair<MachineBasicBlock *, unsigned>> &PredValues) { in LookForIdenticalPHI() argument
93 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in LookForIdenticalPHI()
94 AVals[PredValues[i].first] = PredValues[i].second; in LookForIdenticalPHI()
160 SmallVector<std::pair<MachineBasicBlock*, unsigned>, 8> PredValues; in GetValueInMiddleOfBlock() local
168 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
183 unsigned DupPHI = LookForIdenticalPHI(BB, PredValues); in GetValueInMiddleOfBlock()
193 for (unsigned i = 0, e = PredValues.size(); i != e; ++i) in GetValueInMiddleOfBlock()
194 InsertedPHI.addReg(PredValues[i].second).addMBB(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-10.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp107 SmallVector<std::pair<BasicBlock *, Value *>, 8> PredValues; in GetValueInMiddleOfBlock() local
117 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
130 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
142 if (PredValues.empty()) in GetValueInMiddleOfBlock()
152 SmallDenseMap<BasicBlock *, Value *, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock()
153 PredValues.end()); in GetValueInMiddleOfBlock()
161 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()
165 for (const auto &PredValue : PredValues) in GetValueInMiddleOfBlock()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp107 SmallVector<std::pair<BasicBlock *, Value *>, 8> PredValues; in GetValueInMiddleOfBlock() local
117 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
130 PredValues.push_back(std::make_pair(PredBB, PredVal)); in GetValueInMiddleOfBlock()
142 if (PredValues.empty()) in GetValueInMiddleOfBlock()
152 SmallDenseMap<BasicBlock *, Value *, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock()
153 PredValues.end()); in GetValueInMiddleOfBlock()
161 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()
165 for (const auto &PredValue : PredValues) in GetValueInMiddleOfBlock()
/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-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1043 DenseMap<BasicBlock*, Value*> PredValues; in SliceUpIllegalIntegerPHI() local
1069 Value *&PredVal = PredValues[Pred]; in SliceUpIllegalIntegerPHI()
1118 PredValues.clear(); in SliceUpIllegalIntegerPHI()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1128 DenseMap<BasicBlock*, Value*> PredValues; in SliceUpIllegalIntegerPHI() local
1154 Value *&PredVal = PredValues[Pred]; in SliceUpIllegalIntegerPHI()
1203 PredValues.clear(); in SliceUpIllegalIntegerPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1559 PredValueInfoTy PredValues; in ProcessThreadableEdges() local
1560 if (!ComputeValueKnownInPredecessors(Cond, BB, PredValues, Preference, CxtI)) in ProcessThreadableEdges()
1563 assert(!PredValues.empty() && in ProcessThreadableEdges()
1567 for (const auto &PredValue : PredValues) { in ProcessThreadableEdges()
1585 for (const auto &PredValue : PredValues) { in ProcessThreadableEdges()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1614 PredValueInfoTy PredValues; in processThreadableEdges() local
1615 if (!computeValueKnownInPredecessors(Cond, BB, PredValues, Preference, in processThreadableEdges()
1622 assert(!PredValues.empty() && in processThreadableEdges()
1626 for (const auto &PredValue : PredValues) { in processThreadableEdges()
1644 for (const auto &PredValue : PredValues) { in processThreadableEdges()