Home
last modified time | relevance | path

Searched refs:LayoutSucc (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp162 MachineBasicBlock* LayoutSucc = nullptr; in runOnMachineFunction() local
166 LayoutSucc = FirstSucc; in runOnMachineFunction()
169 LayoutSucc = SecondSucc; in runOnMachineFunction()
183 if (!LayoutSucc || (CondBranchTarget != JumpAroundTarget)) { in runOnMachineFunction()
187 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
189 if ((LayoutSucc->size() == 1) && in runOnMachineFunction()
190 IsUnconditionalJump(LayoutSucc->front().getOpcode())) { in runOnMachineFunction()
193 LayoutSucc->front().getOperand(0).getMBB(); in runOnMachineFunction()
195 bool case1 = LayoutSucc->isLayoutSuccessor(JumpAroundTarget); in runOnMachineFunction()
207 LayoutSucc->erase(LayoutSucc->begin()); in runOnMachineFunction()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp151 MachineBasicBlock* LayoutSucc = nullptr; in runOnMachineFunction() local
155 LayoutSucc = FirstSucc; in runOnMachineFunction()
158 LayoutSucc = SecondSucc; in runOnMachineFunction()
172 if (!LayoutSucc || (CondBranchTarget != JumpAroundTarget)) { in runOnMachineFunction()
176 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
179 if ((LayoutSucc->size() == 1) && in runOnMachineFunction()
180 IsUnconditionalJump(LayoutSucc->front().getOpcode())) { in runOnMachineFunction()
183 LayoutSucc->front().getOperand(0).getMBB(); in runOnMachineFunction()
185 bool case1 = LayoutSucc->isLayoutSuccessor(JumpAroundTarget); in runOnMachineFunction()
197 LayoutSucc->erase(LayoutSucc->begin()); in runOnMachineFunction()
[all …]