/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsInstrInfo.cpp | 279 bool MipsInstrInfo::isBranchOffsetInRange(unsigned BranchOpc, int64_t BrOffset) const { in isBranchOffsetInRange() 303 return isInt<18>(BrOffset); in isBranchOffsetInRange() 319 return isInt<17>(BrOffset); in isBranchOffsetInRange() 323 return isInt<11>(BrOffset); in isBranchOffsetInRange() 327 return isInt<8>(BrOffset); in isBranchOffsetInRange() 332 return isInt<28>(BrOffset); in isBranchOffsetInRange() 356 return isInt<18>(BrOffset); in isBranchOffsetInRange() 360 return isInt<23>(BrOffset); in isBranchOffsetInRange() 364 return isInt<11>(BrOffset); in isBranchOffsetInRange() 368 return isInt<8>(BrOffset); in isBranchOffsetInRange() [all …]
|
D | MipsConstantIslandPass.cpp | 1474 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local 1481 << int(DestOffset - BrOffset) << "\t" << *MI); in isBBInRange() 1483 if (BrOffset <= DestOffset) { in isBBInRange() 1485 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange() 1488 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()
|
D | MipsInstrInfo.h | 91 int64_t BrOffset) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVInstrInfo.h | 69 const DebugLoc &DL, int64_t BrOffset, 81 int64_t BrOffset) const override;
|
D | RISCVInstrInfo.cpp | 355 int64_t BrOffset, in insertIndirectBranch() argument 370 if (!isInt<32>(BrOffset)) in insertIndirectBranch() 411 int64_t BrOffset) const { in isBranchOffsetInRange() 424 return isIntN(13, BrOffset); in isBranchOffsetInRange() 427 return isIntN(21, BrOffset); in isBranchOffsetInRange()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64BranchRelaxation.cpp | 269 unsigned BrOffset = getInstrOffset(MI); in isBlockInRange() local 276 << int(DestOffset - BrOffset) << "\t" << *MI); in isBlockInRange() 279 if (BrOffset <= DestOffset) in isBlockInRange() 280 return (DestOffset - BrOffset <= MaxOffs); in isBlockInRange() 281 return (BrOffset - DestOffset <= MaxOffs); in isBlockInRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
D | AVRInstrInfo.h | 109 int64_t BrOffset) const override; 114 int64_t BrOffset,
|
D | AVRInstrInfo.cpp | 533 int64_t BrOffset) const { in isBranchOffsetInRange() 543 return isIntN(13, BrOffset); in isBranchOffsetInRange() 554 return isIntN(7, BrOffset); in isBranchOffsetInRange() 561 int64_t BrOffset, in insertIndirectBranch() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | BranchRelaxation.cpp | 285 int64_t BrOffset = getInstrOffset(MI); in isBlockInRange() local 288 if (TII->isBranchOffsetInRange(MI.getOpcode(), DestOffset - BrOffset)) in isBlockInRange() 294 << DestOffset << " offset " << DestOffset - BrOffset << '\t' in isBlockInRange()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 1392 unsigned BrOffset = GetOffsetOf(MI) + PCAdj; in BBIsInRange() local 1399 << " offset " << int(DestOffset-BrOffset) << "\t" << *MI); in BBIsInRange() 1401 if (BrOffset <= DestOffset) { in BBIsInRange() 1403 if (DestOffset-BrOffset <= MaxDisp) in BBIsInRange() 1406 if (BrOffset-DestOffset <= MaxDisp) in BBIsInRange() 1665 unsigned BrOffset = GetOffsetOf(Br.MI) + 4 - 2; in OptimizeThumb2Branches() local 1667 if (BrOffset < DestOffset && (DestOffset - BrOffset) <= 126) { in OptimizeThumb2Branches()
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 1653 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local 1660 << " offset " << int(DestOffset-BrOffset) << "\t" << *MI); in isBBInRange() 1662 if (BrOffset <= DestOffset) { in isBBInRange() 1664 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange() 1667 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange() 1955 unsigned BrOffset = getOffsetOf(Br.MI) + 4 - 2; in optimizeThumb2Branches() local 1957 if (BrOffset < DestOffset && (DestOffset - BrOffset) <= 126) { in optimizeThumb2Branches()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 1589 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local 1596 << int(DestOffset - BrOffset) << "\t" << *MI); in isBBInRange() 1598 if (BrOffset <= DestOffset) { in isBBInRange() 1600 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange() 1603 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange() 1885 unsigned BrOffset = getOffsetOf(Br.MI) + 4 - 2; in optimizeThumb2Branches() local 1887 if (BrOffset < DestOffset && (DestOffset - BrOffset) <= 126) { in optimizeThumb2Branches()
|
/external/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 1482 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local 1489 << " offset " << int(DestOffset-BrOffset) << "\t" << *MI); in isBBInRange() 1491 if (BrOffset <= DestOffset) { in isBBInRange() 1493 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange() 1496 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 518 int64_t BrOffset) const { in isBranchOffsetInRange() argument 535 int64_t BrOffset = 0,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64InstrInfo.h | 168 int64_t BrOffset) const override;
|
D | AArch64InstrInfo.cpp | 169 int64_t BrOffset) const { in isBranchOffsetInRange() 173 return isIntN(Bits, BrOffset / 4); in isBranchOffsetInRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.h | 229 int64_t BrOffset) const override; 236 int64_t BrOffset,
|
D | SIInstrInfo.cpp | 1440 int64_t BrOffset) const { in isBranchOffsetInRange() 1446 BrOffset /= 4; in isBranchOffsetInRange() 1450 BrOffset -= 1; in isBranchOffsetInRange() 1452 return isIntN(BranchOffsetBits, BrOffset); in isBranchOffsetInRange() 1469 int64_t BrOffset, in insertIndirectBranch() argument 1490 if (BrOffset >= 0) { in insertIndirectBranch()
|