Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp180 unsigned LoongArchInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in LoongArchInstrInfo
308 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
321 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
343 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
353 *BytesAdded += getInstSizeInBytes(*MIB); in insertBranch()
362 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
H A DLoongArchInstrInfo.h51 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/openbsd-src/gnu/llvm/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.cpp1442 UserOffset + TII->getInstSizeInBytes(*UserMI) + 1); in createNewWater()
1457 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1460 Offset += TII->getInstSizeInBytes(*I), I = std::next(I)) { in createNewWater()
1462 std::max(BaseInsertOffset, Offset + TII->getInstSizeInBytes(*I) + 1); in createNewWater()
1474 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater()
1476 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater()
1785 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1807 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1814 BBUtils->adjustBBSize(MBB, TII->getInstSizeInBytes(MBB->back())); in fixupConditionalBr()
1819 BBUtils->adjustBBSize(MI->getParent(), -TII->getInstSizeInBytes(*MI)); in fixupConditionalBr()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.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()
H A DSystemZInstrInfo.h295 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp409 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
419 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
426 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
455 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
474 unsigned AVRInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in llvm::AVRInstrInfo
H A DAVRInstrInfo.h72 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.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()
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;
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp82 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
179 Offset += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
/openbsd-src/gnu/llvm/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()
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()
H A DMipsInstrInfo.h134 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp170 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
188 Offset += TII->getInstSizeInBytes(*I); in getInstrOffset()
446 unsigned OldBrSize = TII->getInstSizeInBytes(MI); in fixupUnconditionalBranch()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h109 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp139 unsigned MINumBytes = TII->getInstSizeInBytes(MI); in ComputeBlockSizes()
340 MBBStartOffset += TII->getInstSizeInBytes(*I); in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.h120 unsigned getInstSizeInBytes(const MCInst &MI) const;
H A DPPCMCCodeEmitter.cpp458 unsigned Size = getInstSizeInBytes(MI); in encodeInstruction()
480 unsigned PPCMCCodeEmitter::getInstSizeInBytes(const MCInst &MI) const { in getInstSizeInBytes() function in PPCMCCodeEmitter
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h87 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
H A DRISCVInstrInfo.cpp886 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
899 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch()
921 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
930 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch()
939 *BytesAdded += getInstSizeInBytes(MI); in insertBranch()
1193 unsigned RISCVInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in RISCVInstrInfo
1886 SequenceSize += getInstSizeInBytes(*I); in getOutliningCandidateInfo()

123