Home
last modified time | relevance | path

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

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
HDMSP430BranchSelector.cpp99 TotalSize += TII->getInstSizeInBytes(MI); in measureFunction()
121 MBBStartOffset += TII->getInstSizeInBytes(*MI); in expandBranches()
181 int InstrSizeDiff = -TII->getInstSizeInBytes(OldBranch); in expandBranches()
199 InstrSizeDiff += TII->getInstSizeInBytes(*MI); in expandBranches()
205 InstrSizeDiff += TII->getInstSizeInBytes(*MI); in expandBranches()
HDMSP430InstrInfo.h54 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
HDMSP430InstrInfo.cpp288 unsigned MSP430InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in MSP430InstrInfo
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVExpandPseudoInsts.cpp57 unsigned getInstSizeInBytes(const MachineFunction &MF) const { in getInstSizeInBytes() function in __anona411697d0111::RISCVExpandPseudo
61 Size += TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
74 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction()
82 const unsigned NewSize = getInstSizeInBytes(MF); in runOnMachineFunction()
452 unsigned getInstSizeInBytes(const MachineFunction &MF) const { in getInstSizeInBytes() function in __anona411697d0111::RISCVPreRAExpandPseudo
456 Size += TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
469 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction()
477 const unsigned NewSize = getInstSizeInBytes(MF); in runOnMachineFunction()
HDRISCVExpandAtomicPseudoInsts.cpp63 unsigned getInstSizeInBytes(const MachineFunction &MF) const { in getInstSizeInBytes() function in __anonb5bb031a0111::RISCVExpandAtomicPseudo
67 Size += TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
80 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction()
88 const unsigned NewSize = getInstSizeInBytes(MF); in runOnMachineFunction()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/LoongArch/
HDLoongArchInstrInfo.cpp220 unsigned LoongArchInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in LoongArchInstrInfo
363 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
376 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
398 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
408 *BytesAdded += getInstSizeInBytes(*MIB); in insertBranch()
417 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
HDLoongArchInstrInfo.h53 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMBasicBlockInfo.cpp54 BBI.Size += TII->getInstSizeInBytes(I); in computeBlockSize()
85 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
HDARMConstantIslandPass.cpp1456 UserOffset + TII->getInstSizeInBytes(*UserMI) + 1); in createNewWater()
1471 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1474 Offset += TII->getInstSizeInBytes(*I), I = std::next(I)) { in createNewWater()
1476 std::max(BaseInsertOffset, Offset + TII->getInstSizeInBytes(*I) + 1); in createNewWater()
1488 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1490 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1799 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1821 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1828 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1833 BBUtils->adjustBBSize(MI->getParent(), -TII->getInstSizeInBytes(*MI)); in fixupConditionalBr()
[all …]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZLongBranch.cpp214 static unsigned getInstSizeInBytes(const MachineInstr &MI, in getInstSizeInBytes() function
216 unsigned Size = TII->getInstSizeInBytes(MI); in getInstSizeInBytes()
231 Terminator.Size = getInstSizeInBytes(MI, TII); in describeTerminator()
306 Block.Size += getInstSizeInBytes(*MI, TII); in initMBBInfo()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/
HDAVRInstrInfo.cpp414 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
424 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
431 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
460 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
479 unsigned AVRInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in llvm::AVRInstrInfo
HDAVRInstrInfo.h74 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/CSKY/
HDCSKYConstantIslandPass.cpp588 BBI.Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
605 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
999 BBInfo[UserMBB->getNumber()].Size += TII->getInstSizeInBytes(*NewMI); in createNewWater()
1037 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1039 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1328 int Delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1352 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1354 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1359 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
HDCSKYInstrInfo.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
HDCSKYInstrInfo.h78 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64CompressJumpTables.cpp82 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
180 Offset += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
HDMipsConstantIslandPass.cpp789 BBI.Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
806 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
1276 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1278 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1597 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1619 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1621 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1626 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
HDMipsInstrInfo.h134 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
HDSparcInstrInfo.h109 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/
HDARCInstrInfo.h51 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
HDARCBranchFinalize.cpp157 unsigned Size = TII->getInstSizeInBytes(MI); in runOnMachineFunction()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCBranchSelector.cpp139 unsigned MINumBytes = TII->getInstSizeInBytes(MI); in ComputeBlockSizes()
340 MBBStartOffset += TII->getInstSizeInBytes(*I); in runOnMachineFunction()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDBranchRelaxation.cpp205 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
223 Offset += TII->getInstSizeInBytes(*I); in getInstrOffset()
541 unsigned OldBrSize = TII->getInstSizeInBytes(MI); in fixupUnconditionalBranch()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
HDPPCMCCodeEmitter.h120 unsigned getInstSizeInBytes(const MCInst &MI) const;
HDPPCMCCodeEmitter.cpp510 unsigned Size = getInstSizeInBytes(MI); in encodeInstruction()
533 unsigned PPCMCCodeEmitter::getInstSizeInBytes(const MCInst &MI) const { in getInstSizeInBytes() function in PPCMCCodeEmitter

123