Lines Matching refs:BRANCH
253 /// BB with backward-edge could have move instructions after the branch
609 case AMDGPU::BRANCH:
769 // Remove unconditional branch instr.
1328 // new: headBlk => if () {initReg = 1; org trueBlk branch} else
1329 // {initReg = 0; org falseBlk branch }
1339 // XXX: We have an opportunity here to optimize the "branch into if" case
1340 // here. Branch into if looks like this:
1357 // 1. Insert MOV GPR0, 0 before the branch instruction in diamond_head.
1358 // 2. Insert MOV GPR0, 1 before the branch instruction in branch_from.
1359 // 3. Move the branch instruction from diamond_head into its own basic
1361 // 4. Add an unconditional branch from diamond_head to new_block
1362 // 5. Replace the branch instruction in branch_from with an unconditional
1363 // branch to new_block. If branch_from has multiple predecessors, then
1364 // we need to replace the True/False block in the branch
1366 // 6. Change the condition of the branch instruction in new_block from
1630 // if we've arrived here then we've already erased the branch instruction
1693 dbgs() << "migrateInstruction don't see branch instr\n" ;
1698 dbgs() << "migrateInstruction see branch instr\n" ;
1733 DEBUG(dbgs() << "Old branch instr: " << *BranchMI << "\n";);
1751 // I saw two unconditional branch in one basic block in example
1755 DEBUG(dbgs() << "Removing uncond branch instr"; BranchMI->dump(););
1771 DEBUG(dbgs() << "Removing unneeded cond branch instr"; BranchMI->dump(););