Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp279 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 …]
DMipsConstantIslandPass.cpp1474 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()
DMipsInstrInfo.h91 int64_t BrOffset) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.h69 const DebugLoc &DL, int64_t BrOffset,
81 int64_t BrOffset) const override;
DRISCVInstrInfo.cpp355 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/
DAArch64BranchRelaxation.cpp269 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/
DAVRInstrInfo.h109 int64_t BrOffset) const override;
114 int64_t BrOffset,
DAVRInstrInfo.cpp533 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/
DBranchRelaxation.cpp285 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/
DARMConstantIslandPass.cpp1392 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/
DARMConstantIslandPass.cpp1653 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/
DARMConstantIslandPass.cpp1589 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/
DMipsConstantIslandPass.cpp1482 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/
DTargetInstrInfo.h518 int64_t BrOffset) const { in isBranchOffsetInRange() argument
535 int64_t BrOffset = 0,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h168 int64_t BrOffset) const override;
DAArch64InstrInfo.cpp169 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/
DSIInstrInfo.h229 int64_t BrOffset) const override;
236 int64_t BrOffset,
DSIInstrInfo.cpp1440 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()