Home
last modified time | relevance | path

Searched refs:getInstSizeInBytes (Results 1 – 25 of 59) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp98 TotalSize += TII->getInstSizeInBytes(MI); in measureFunction()
120 MBBStartOffset += TII->getInstSizeInBytes(*MI); in expandBranches()
180 int InstrSizeDiff = -TII->getInstSizeInBytes(OldBranch); in expandBranches()
198 InstrSizeDiff += TII->getInstSizeInBytes(*MI); in expandBranches()
204 InstrSizeDiff += TII->getInstSizeInBytes(*MI); in expandBranches()
H A DMSP430InstrInfo.h54 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp52 BBI.Size += TII->getInstSizeInBytes(I); in computeBlockSize()
83 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
H A DARMConstantIslandPass.cpp1437 UserOffset + TII->getInstSizeInBytes(*UserMI) + 1); in createNewWater()
1452 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1455 Offset += TII->getInstSizeInBytes(*I), I = std::next(I)) { in createNewWater()
1457 std::max(BaseInsertOffset, Offset + TII->getInstSizeInBytes(*I) + 1); in createNewWater()
1469 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1471 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1780 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1802 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1809 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1814 BBUtils->adjustBBSize(MI->getParent(), -TII->getInstSizeInBytes(*MI)); in fixupConditionalBr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVExpandPseudoInsts.cpp62 unsigned getInstSizeInBytes(const MachineFunction &MF) const { in getInstSizeInBytes() function in __anon01765ec40111::RISCVExpandPseudo
66 Size += TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
79 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction()
87 const unsigned NewSize = getInstSizeInBytes(MF); in runOnMachineFunction()
498 unsigned getInstSizeInBytes(const MachineFunction &MF) const { in getInstSizeInBytes() function in __anon01765ec40111::RISCVPreRAExpandPseudo
502 Size += TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
515 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction()
523 const unsigned NewSize = getInstSizeInBytes(MF); in runOnMachineFunction()
H A DRISCVExpandAtomicPseudoInsts.cpp61 unsigned getInstSizeInBytes(const MachineFunction &MF) const { in getInstSizeInBytes() function in __anon63aa91a10111::RISCVExpandAtomicPseudo
65 Size += TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
78 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction()
86 const unsigned NewSize = getInstSizeInBytes(MF); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp211 static unsigned getInstSizeInBytes(const MachineInstr &MI, in getInstSizeInBytes() function
213 unsigned Size = TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
232 Terminator.Size = getInstSizeInBytes(MI, TII); in describeTerminator()
307 Block.Size += getInstSizeInBytes(*MI, TII); in initMBBInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaInstrInfo.cpp199 unsigned XtensaInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in XtensaInstrInfo
452 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
474 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
561 *BytesAdded += getInstSizeInBytes(*MI); in insertConstBranchAtInst()
605 *BytesAdded += getInstSizeInBytes(*MI); in insertConstBranchAtInst()
625 *BytesAdded += getInstSizeInBytes(*MI); in insertBranchAtInst()
669 *BytesAdded += getInstSizeInBytes(*MI); in insertBranchAtInst()
H A DXtensaInstrInfo.h41 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp77 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
175 Offset += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp582 BBI.Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
599 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
993 BBInfo[UserMBB->getNumber()].Size += TII->getInstSizeInBytes(*NewMI); in createNewWater()
1031 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1033 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1322 int Delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1346 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1348 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1353 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
H A DCSKYInstrInfo.cpp127 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
140 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
169 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
177 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
186 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
602 unsigned CSKYInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in CSKYInstrInfo
H A DCSKYInstrInfo.h78 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp411 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
421 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
428 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
457 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
476 unsigned AVRInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in llvm::AVRInstrInfo
H A DAVRInstrInfo.h74 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp233 unsigned LoongArchInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in LoongArchInstrInfo
559 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
572 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
594 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
604 *BytesAdded += getInstSizeInBytes(*MIB); in insertBranch()
613 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
H A DLoongArchInstrInfo.h53 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp787 BBI.Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
804 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
1274 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1276 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1595 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1617 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1619 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1624 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
H A DMipsInstrInfo.h142 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp135 unsigned MINumBytes = TII->getInstSizeInBytes(MI); in ComputeBlockSizes()
336 MBBStartOffset += TII->getInstSizeInBytes(*I); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrInfo.h51 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DARCBranchFinalize.cpp157 unsigned Size = TII->getInstSizeInBytes(MI); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h109 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp218 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
236 Offset += TII->getInstSizeInBytes(*I); in getInstrOffset()
562 unsigned OldBrSize = TII->getInstSizeInBytes(MI); in fixupUnconditionalBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.h120 unsigned getInstSizeInBytes(const MCInst &MI) const;

123