Home | History | Annotate | Download | only in Mips

Lines Matching full:branch

10 // This pass expands a branch or jump instruction into a long branch if its
33 #define DEBUG_TYPE "mips-long-branch"
38 "skip-mips-long-branch",
40 cl::desc("MIPS: Skip long branch pass."),
44 "force-mips-long-branch",
70 return "Mips Long Branch";
133 // Return if MBB has no branch instructions.
140 // MBB has only one branch instruction if FirstBr is not a branch
146 assert(!FirstBr->isIndirectBranch() && "Unexpected indirect branch found.");
166 // most one branch after this loop is executed.
184 // Search for MBB's branch instruction.
194 // Compute offset of branch in number of bytes.
200 // Compute offset of a forward branch.
208 // Compute offset of a backward branch.
215 // Replace Br with a branch which has the opposite condition code and a
241 // Bundle the instruction in the delay slot to the newly created branch
242 // and erase the original branch.
250 // Expand branch instructions to long branches.
335 // In NaCl, modifying the sp is not allowed in branch delay slot.
348 // Bundle-align the target of indirect branch JR.
371 // We assume the branch is within-function, and that offset is within
441 // Change branch destination.
446 // Change branch destination and reverse condition.
488 // Skip if this MBB doesn't have a branch or the branch has already been
489 // converted to a long branch.