Home
last modified time | relevance | path

Searched refs:BrOffset (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp260 unsigned BrOffset = getInstrOffset(MI); in isBlockInRange() local
267 << int(DestOffset - BrOffset) << "\t" << *MI); in isBlockInRange()
270 if (BrOffset <= DestOffset) in isBlockInRange()
271 return (DestOffset - BrOffset <= MaxOffs); in isBlockInRange()
272 return (BrOffset - DestOffset <= MaxOffs); in isBlockInRange()
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp1521 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local
1528 << " offset " << int(DestOffset-BrOffset) << "\t" << *MI); in isBBInRange()
1530 if (BrOffset <= DestOffset) { in isBBInRange()
1532 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange()
1535 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()
1820 unsigned BrOffset = getOffsetOf(Br.MI) + 4 - 2; in optimizeThumb2Branches() local
1822 if (BrOffset < DestOffset && (DestOffset - BrOffset) <= 126) { in optimizeThumb2Branches()
/external/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp1500 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local
1507 << " offset " << int(DestOffset-BrOffset) << "\t" << *MI); in isBBInRange()
1509 if (BrOffset <= DestOffset) { in isBBInRange()
1511 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange()
1514 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()