Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.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()
H A DMSP430InstrInfo.h55 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DMSP430InstrInfo.cpp301 unsigned MSP430InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in MSP430InstrInfo
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp296 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
309 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
330 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
339 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
348 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
430 unsigned RISCVInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in RISCVInstrInfo
H A DRISCVInstrInfo.h55 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp416 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
425 if (BytesAdded) *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
431 if (BytesAdded) *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
458 if (BytesRemoved) *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
477 unsigned AVRInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in llvm::AVRInstrInfo
570 return getInstSizeInBytes(MI); in insertIndirectBranch()
H A DAVRInstrInfo.h73 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp70 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
153 Offset += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
H A DAArch64InstrInfo.h49 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp802 BBI.Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
819 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
1295 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1297 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1616 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1638 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1640 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1645 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
H A DMipsInstrInfo.h111 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DMipsDelaySlotFiller.cpp634 if (InMicroMipsMode && TII->getInstSizeInBytes(*std::next(DSI)) == 2 && in runOnMachineBasicBlock()
727 if (InMicroMipsMode && TII->getInstSizeInBytes(*CurrI) == 2 && in searchRange()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp174 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
192 Offset += TII->getInstSizeInBytes(*I); in getInstrOffset()
444 unsigned OldBrSize = TII->getInstSizeInBytes(MI); in fixupUnconditionalBranch()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp128 BlockSize += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
175 MBBStartOffset += TII->getInstSizeInBytes(*I); in runOnMachineFunction()
H A DPPCInstrInfo.h368 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMComputeBlockSize.cpp54 BBI.Size += TII->getInstSizeInBytes(I); in computeBlockSize()
H A DARMConstantIslandPass.cpp873 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
1379 UserOffset + TII->getInstSizeInBytes(*UserMI) + 1); in createNewWater()
1389 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1391 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1718 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1740 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1747 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1752 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
2278 unsigned NewSize = TII->getInstSizeInBytes(*NewJTMI); in optimizeThumb2JumpTables()
2279 unsigned OrigSize = TII->getInstSizeInBytes(*MI); in optimizeThumb2JumpTables()
/freebsd-12.1/contrib/llvm/lib/Target/ARC/
H A DARCInstrInfo.h52 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DARCBranchFinalize.cpp157 unsigned Size = TII->getInstSizeInBytes(MI); in runOnMachineFunction()
H A DARCInstrInfo.cpp391 unsigned ARCInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in ARCInstrInfo
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp216 Terminator.Size = TII->getInstSizeInBytes(MI); in describeTerminator()
291 Block.Size += TII->getInstSizeInBytes(*MI); in initMBBInfo()
H A DSystemZInstrInfo.h265 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.h99 unsigned getInstSizeInBytes(const MCInst &MI) const;
H A DPPCMCCodeEmitter.cpp292 unsigned Size = getInstSizeInBytes(MI); in encodeInstruction()
314 unsigned PPCMCCodeEmitter::getInstSizeInBytes(const MCInst &MI) const { in getInstSizeInBytes() function in PPCMCCodeEmitter
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp320 assert(CodeBytes.size() == STI.getInstrInfo()->getInstSizeInBytes(*MI)); in EmitInstruction()

12