Home | History | Annotate | Download | only in MSP430

Lines Matching full:branch

13 // positions pass, and a branch pseudo op to machine branch opcode pass.  This
28 #define DEBUG_TYPE "msp430-branch-select"
48 return "MSP430 Branch Selector";
54 /// createMSP430BranchSelectionPass - returns an instance of the Branch
79 // If the entire function is smaller than the displacement of a branch field,
87 // For each conditional branch, if the offset to its destination is larger
88 // than the offset field allows, transform it into a long branch sequence
90 // short branch:
92 // long branch:
114 // Determine the offset from the current branch to the destination
120 // If this is a backwards branch, the delta is the offset from the
121 // start of this block to this branch, plus the sizes of all blocks
136 // If this branch is in range, ignore it.
142 // Otherwise, we have to expand it to a long branch.
151 // 0. MSP430 branch predicate
156 // Jump over the uncond branch inst (i.e. $+6) on opposite condition.
163 // Uncond branch to the real destination.
166 // Remove the old branch from the function.