Searched refs:getInstSizeInBytes (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp99 TotalSize += TII->getInstSizeInBytes(MI);
121 MBBStartOffset += TII->getInstSizeInBytes(*MI);
181 int InstrSizeDiff = -TII->getInstSizeInBytes(OldBranch);
199 InstrSizeDiff += TII->getInstSizeInBytes(*MI);
205 InstrSizeDiff += TII->getInstSizeInBytes(*MI);
H A DMSP430InstrInfo.h54 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DMSP430InstrInfo.cpp300 unsigned MSP430InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { function in class:MSP430InstrInfo
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp55 BBI.Size += TII->getInstSizeInBytes(I);
56 // For inline asm, getInstSizeInBytes returns a conservative estimate.
86 Offset += TII->getInstSizeInBytes(*I);
H A DARMConstantIslandPass.cpp1353 UserOffset + TII->getInstSizeInBytes(*UserMI) + 1);
1367 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI),
1371 Offset += TII->getInstSizeInBytes(*I), I = std::next(I)) {
1373 std::max(BaseInsertOffset, Offset + TII->getInstSizeInBytes(*I) + 1);
1385 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI);
1387 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) {
1698 int delta = TII->getInstSizeInBytes(MBB->back());
1720 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back()));
1727 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back()));
1732 BBUtils->adjustBBSize(MI->getParent(), -TII->getInstSizeInBytes(*M
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp70 Size += TII->getInstSizeInBytes(MI);
160 Offset += TII->getInstSizeInBytes(MI);
H A DAArch64InstrInfo.h50 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-11-stable/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);
H A DARCInstrInfo.cpp403 unsigned ARCInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { function in class:ARCInstrInfo
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp415 *BytesAdded += getInstSizeInBytes(MI);
424 if (BytesAdded) *BytesAdded += getInstSizeInBytes(CondMI);
430 if (BytesAdded) *BytesAdded += getInstSizeInBytes(MI);
457 if (BytesRemoved) *BytesRemoved += getInstSizeInBytes(*I);
476 unsigned AVRInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { function in class:llvm::AVRInstrInfo
570 return getInstSizeInBytes(MI);
H A DAVRInstrInfo.h72 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.h98 unsigned getInstSizeInBytes(const MCInst &MI) const;
H A DPPCMCCodeEmitter.cpp291 unsigned Size = getInstSizeInBytes(MI);
313 unsigned PPCMCCodeEmitter::getInstSizeInBytes(const MCInst &MI) const { function in class:PPCMCCodeEmitter
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp318 *BytesRemoved += getInstSizeInBytes(*I);
331 *BytesRemoved += getInstSizeInBytes(*I);
353 *BytesAdded += getInstSizeInBytes(MI);
362 *BytesAdded += getInstSizeInBytes(CondMI);
371 *BytesAdded += getInstSizeInBytes(MI);
453 unsigned RISCVInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { function in class:RISCVInstrInfo
695 SequenceSize += getInstSizeInBytes(*I);
H A DRISCVInstrInfo.h56 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp172 Size += TII->getInstSizeInBytes(MI);
190 Offset += TII->getInstSizeInBytes(*I);
442 unsigned OldBrSize = TII->getInstSizeInBytes(MI);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstrInfo.h110 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DMipsConstantIslandPass.cpp795 BBI.Size += TII->getInstSizeInBytes(MI);
812 Offset += TII->getInstSizeInBytes(*I);
1282 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI);
1284 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) {
1604 int delta = TII->getInstSizeInBytes(MBB->back());
1626 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back());
1628 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back());
1633 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp138 BlockSize += TII->getInstSizeInBytes(MI);
315 MBBStartOffset += TII->getInstSizeInBytes(*I);
H A DPPCInstrInfo.h376 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp215 Terminator.Size = TII->getInstSizeInBytes(MI);
290 Block.Size += TII->getInstSizeInBytes(*MI);
H A DSystemZInstrInfo.h279 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp320 // Sanity-check getInstSizeInBytes on explicitly specified CPUs (it cannot
335 assert(CodeBytes.size() == STI.getInstrInfo()->getInstSizeInBytes(*MI));
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h346 virtual unsigned getInstSizeInBytes(const MachineInstr &MI) const { function in class:llvm::TargetInstrInfo
810 return getInstSizeInBytes(MI);

Completed in 295 milliseconds

12