Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.h54 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DMSP430InstrInfo.cpp288 unsigned MSP430InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in MSP430InstrInfo
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp415 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
424 if (BytesAdded) *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
430 if (BytesAdded) *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
457 if (BytesRemoved) *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
476 unsigned AVRInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in llvm::AVRInstrInfo
570 return getInstSizeInBytes(MI); in insertIndirectBranch()
H A DAVRInstrInfo.h72 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp55 BBI.Size += TII->getInstSizeInBytes(I); in computeBlockSize()
86 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
H A DARMConstantIslandPass.cpp1396 UserOffset + TII->getInstSizeInBytes(*UserMI) + 1); in createNewWater()
1411 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1414 Offset += TII->getInstSizeInBytes(*I), I = std::next(I)) { in createNewWater()
1416 std::max(BaseInsertOffset, Offset + TII->getInstSizeInBytes(*I) + 1); in createNewWater()
1428 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1430 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1740 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1762 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1769 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1774 BBUtils->adjustBBSize(MI->getParent(), -TII->getInstSizeInBytes(*MI)); in fixupConditionalBr()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp82 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
179 Offset += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.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()
1598 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1620 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1622 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1627 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
H A DMipsInstrInfo.h114 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DMipsDelaySlotFiller.cpp644 if (InMicroMipsMode && TII->getInstSizeInBytes(*std::next(DSI)) == 2 && in runOnMachineBasicBlock()
753 if (InMicroMipsMode && TII->getInstSizeInBytes(*CurrI) == 2 && in searchRange()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp168 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
186 Offset += TII->getInstSizeInBytes(*I); in getInstrOffset()
436 unsigned OldBrSize = TII->getInstSizeInBytes(MI); in fixupUnconditionalBranch()
H A DIfConversion.cpp315 CommonBytes += TII->getInstSizeInBytes(I); in MeetIfcvtSizeLimit()
319 CommonBytes += TII->getInstSizeInBytes(I); in MeetIfcvtSizeLimit()
332 CommonBytes += TII->getInstSizeInBytes(I); in MeetIfcvtSizeLimit()
341 CommonBytes += TII->getInstSizeInBytes(I); in MeetIfcvtSizeLimit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp581 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
594 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
616 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
625 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
634 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
713 unsigned RISCVInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in RISCVInstrInfo
1028 SequenceSize += getInstSizeInBytes(*I); in getOutliningCandidateInfo()
H A DRISCVInstrInfo.h59 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/netbsd-src/external/apache2/llvm/dist/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()
H A DARCInstrInfo.cpp403 unsigned ARCInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in ARCInstrInfo
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp142 unsigned MINumBytes = TII->getInstSizeInBytes(MI); in ComputeBlockSizes()
346 MBBStartOffset += TII->getInstSizeInBytes(*I); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp215 Terminator.Size = TII->getInstSizeInBytes(MI); in describeTerminator()
290 Block.Size += TII->getInstSizeInBytes(*MI); in initMBBInfo()
H A DSystemZInstrInfo.h294 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.h120 unsigned getInstSizeInBytes(const MCInst &MI) const;
H A DPPCMCCodeEmitter.cpp460 unsigned Size = getInstSizeInBytes(MI); in encodeInstruction()
482 unsigned PPCMCCodeEmitter::getInstSizeInBytes(const MCInst &MI) const { in getInstSizeInBytes() function in PPCMCCodeEmitter
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h360 virtual unsigned getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function
824 return getInstSizeInBytes(MI); in predictBranchSizeForIfCvt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp321 assert(CodeBytes.size() == STI.getInstrInfo()->getInstSizeInBytes(*MI)); in emitInstruction()

12