Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Target/ARM/
DARMBasicBlockInfo.cpp97 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local
104 << int(DestOffset - BrOffset) << "\t" << *MI); in isBBInRange()
106 if (BrOffset <= DestOffset) { in isBBInRange()
108 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange()
111 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBasicBlockInfo.cpp97 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local
104 << int(DestOffset - BrOffset) << "\t" << *MI); in isBBInRange()
106 if (BrOffset <= DestOffset) { in isBBInRange()
108 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange()
111 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp279 int64_t BrOffset) const { in isBranchOffsetInRange()
305 return isInt<18>(BrOffset); in isBranchOffsetInRange()
321 return isInt<17>(BrOffset); in isBranchOffsetInRange()
325 return isInt<11>(BrOffset); in isBranchOffsetInRange()
329 return isInt<8>(BrOffset); in isBranchOffsetInRange()
334 return isInt<28>(BrOffset); in isBranchOffsetInRange()
358 return isInt<18>(BrOffset); in isBranchOffsetInRange()
362 return isInt<23>(BrOffset); in isBranchOffsetInRange()
366 return isInt<11>(BrOffset); in isBranchOffsetInRange()
370 return isInt<8>(BrOffset); in isBranchOffsetInRange()
[all …]
DMipsInstrInfo.h90 int64_t BrOffset) const override;
DMipsConstantIslandPass.cpp1462 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local
1469 << int(DestOffset - BrOffset) << "\t" << *MI); in isBBInRange()
1471 if (BrOffset <= DestOffset) { in isBBInRange()
1473 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange()
1476 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp280 int64_t BrOffset) const { in isBranchOffsetInRange()
306 return isInt<18>(BrOffset); in isBranchOffsetInRange()
322 return isInt<17>(BrOffset); in isBranchOffsetInRange()
326 return isInt<11>(BrOffset); in isBranchOffsetInRange()
330 return isInt<8>(BrOffset); in isBranchOffsetInRange()
335 return isInt<28>(BrOffset); in isBranchOffsetInRange()
359 return isInt<18>(BrOffset); in isBranchOffsetInRange()
363 return isInt<23>(BrOffset); in isBranchOffsetInRange()
367 return isInt<11>(BrOffset); in isBranchOffsetInRange()
371 return isInt<8>(BrOffset); in isBranchOffsetInRange()
[all …]
DMipsInstrInfo.h90 int64_t BrOffset) const override;
DMipsConstantIslandPass.cpp1456 unsigned BrOffset = getOffsetOf(MI) + PCAdj; in isBBInRange() local
1463 << int(DestOffset - BrOffset) << "\t" << *MI); in isBBInRange()
1465 if (BrOffset <= DestOffset) { in isBBInRange()
1467 if (DestOffset-BrOffset <= MaxDisp) in isBBInRange()
1470 if (BrOffset-DestOffset <= MaxDisp) in isBBInRange()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRInstrInfo.h108 int64_t BrOffset) const override;
113 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/llvm-project/llvm/lib/Target/AVR/
DAVRInstrInfo.h108 int64_t BrOffset) const override;
113 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/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-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp56 unsigned BrOffset);
179 unsigned BrOffset) { in computeBranchSize() argument
187 BranchSize = BrOffset; in computeBranchSize()
203 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp59 unsigned BrOffset);
210 unsigned BrOffset) { in computeBranchSize() argument
218 BranchSize = BrOffset; in computeBranchSize()
234 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.h70 const DebugLoc &DL, int64_t BrOffset,
82 int64_t BrOffset) const override;
DRISCVInstrInfo.cpp378 int64_t BrOffset, in insertIndirectBranch() argument
392 if (!isInt<32>(BrOffset)) in insertIndirectBranch()
433 int64_t BrOffset) const { in isBranchOffsetInRange()
446 return isIntN(13, BrOffset); in isBranchOffsetInRange()
449 return isIntN(21, BrOffset); in isBranchOffsetInRange()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVInstrInfo.h70 const DebugLoc &DL, int64_t BrOffset,
82 int64_t BrOffset) const override;
DRISCVInstrInfo.cpp400 int64_t BrOffset, in insertIndirectBranch() argument
410 if (!isInt<32>(BrOffset)) in insertIndirectBranch()
449 int64_t BrOffset) const { in isBranchOffsetInRange()
463 return isIntN(13, BrOffset); in isBranchOffsetInRange()
466 return isIntN(21, BrOffset); in isBranchOffsetInRange()
468 return isIntN(32, SignExtend64(BrOffset + 0x800, XLen)); in isBranchOffsetInRange()
/external/llvm-project/llvm/lib/CodeGen/
DBranchRelaxation.cpp277 int64_t BrOffset = getInstrOffset(MI); in isBlockInRange() local
280 if (TII->isBranchOffsetInRange(MI.getOpcode(), DestOffset - BrOffset)) in isBlockInRange()
286 << DestOffset << " offset " << DestOffset - BrOffset << '\t' in isBlockInRange()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchRelaxation.cpp283 int64_t BrOffset = getInstrOffset(MI); in isBlockInRange() local
286 if (TII->isBranchOffsetInRange(MI.getOpcode(), DestOffset - BrOffset)) in isBlockInRange()
292 << DestOffset << " offset " << DestOffset - BrOffset << '\t' in isBlockInRange()
/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/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-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h177 int64_t BrOffset) const override;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h549 int64_t BrOffset) const { in isBranchOffsetInRange() argument
566 int64_t BrOffset = 0,

12