Home | History | Annotate | Download | only in PowerPC

Lines Matching full:branch

13 // positions pass, and a branch pseudo op to machine branch opcode pass.  This
18 #define DEBUG_TYPE "ppc-branch-select"
48 return "PowerPC Branch Selector";
54 INITIALIZE_PASS(PPCBSel, "ppc-branch-select", "PowerPC Branch Selector",
57 /// createPPCBranchSelectionPass - returns an instance of the Branch Selection
86 // If the entire function is smaller than the displacement of a branch field,
94 // For each conditional branch, if the offset to its destination is larger
95 // than the offset field allows, transform it into a long branch sequence
97 // short branch:
99 // long branch:
128 // Determine the offset from the current branch to the destination
132 // If this is a backwards branch, the delta is the offset from the
133 // start of this block to this branch, plus the sizes of all blocks
148 // If this branch is in range, ignore it.
154 // Otherwise, we have to expand it to a long branch.
160 // 0. PPC branch predicate
166 // Jump over the uncond branch inst (i.e. $PC+8) on opposite condition.
178 llvm_unreachable("Unhandled branch type!");
181 // Uncond branch to the real destination.
184 // Remove the old branch from the function.