| /llvm-project-15.0.7/llvm/unittests/Target/AArch64/ |
| H A D | InstSizes.cpp | 96 EXPECT_EQ(4u, II.getInstSizeInBytes(*I)); in TEST() 130 EXPECT_EQ(16u, II.getInstSizeInBytes(*I)); in TEST() 132 EXPECT_EQ(32u, II.getInstSizeInBytes(*I)); in TEST() 145 EXPECT_EQ(16u, II.getInstSizeInBytes(*I)); in TEST() 147 EXPECT_EQ(32u, II.getInstSizeInBytes(*I)); in TEST() 160 EXPECT_EQ(4u, II.getInstSizeInBytes(*I)); in TEST() 189 EXPECT_EQ(16u, II.getInstSizeInBytes(*I)); in TEST() 203 EXPECT_EQ(20u, II.getInstSizeInBytes(*I)); in TEST() 217 EXPECT_EQ(8u, II.getInstSizeInBytes(*I)); in TEST() 231 EXPECT_EQ(4u, II.getInstSizeInBytes(*I)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/ |
| H A D | MSP430BranchSelector.cpp | 99 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 D | MSP430InstrInfo.h | 54 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMBasicBlockInfo.cpp | 55 BBI.Size += TII->getInstSizeInBytes(I); in computeBlockSize() 86 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf()
|
| H A D | ARMConstantIslandPass.cpp | 1442 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() 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() 2394 unsigned NewSize = TII->getInstSizeInBytes(*NewJTMI); in optimizeThumb2JumpTables() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZLongBranch.cpp | 214 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 D | SystemZInstrInfo.h | 294 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRInstrInfo.cpp | 420 *BytesAdded += getInstSizeInBytes(MI); in insertBranch() 430 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch() 437 *BytesAdded += getInstSizeInBytes(MI); in insertBranch() 466 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch() 485 unsigned AVRInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in llvm::AVRInstrInfo
|
| H A D | AVRInstrInfo.h | 72 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantIslandPass.cpp | 592 BBI.Size += TII->getInstSizeInBytes(MI); in computeBlockSize() 609 Offset += TII->getInstSizeInBytes(*I); in getOffsetOf() 1003 BBInfo[UserMBB->getNumber()].Size += TII->getInstSizeInBytes(*NewMI); in createNewWater() 1041 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); in createNewWater() 1043 Offset += TII->getInstSizeInBytes(*MI), MI = std::next(MI)) { in createNewWater() 1332 int Delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr() 1356 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr() 1358 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr() 1363 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
|
| H A D | CSKYInstrInfo.cpp | 127 *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() 600 unsigned CSKYInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in CSKYInstrInfo
|
| H A D | CSKYInstrInfo.h | 76 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64CompressJumpTables.cpp | 82 Size += TII->getInstSizeInBytes(MI); in computeBlockSize() 179 Offset += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 789 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 D | MipsInstrInfo.h | 134 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | BranchRelaxation.cpp | 167 Size += TII->getInstSizeInBytes(MI); in computeBlockSize() 185 Offset += TII->getInstSizeInBytes(*I); in getInstrOffset() 435 unsigned OldBrSize = TII->getInstSizeInBytes(MI); in fixupUnconditionalBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARC/ |
| H A D | ARCInstrInfo.h | 51 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
|
| H A D | ARCBranchFinalize.cpp | 157 unsigned Size = TII->getInstSizeInBytes(MI); in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCBranchSelector.cpp | 139 unsigned MINumBytes = TII->getInstSizeInBytes(MI); in ComputeBlockSizes() 340 MBBStartOffset += TII->getInstSizeInBytes(*I); in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCMCCodeEmitter.h | 120 unsigned getInstSizeInBytes(const MCInst &MI) const;
|
| H A D | PPCMCCodeEmitter.cpp | 458 unsigned Size = getInstSizeInBytes(MI); in encodeInstruction() 480 unsigned PPCMCCodeEmitter::getInstSizeInBytes(const MCInst &MI) const { in getInstSizeInBytes() function in PPCMCCodeEmitter
|
| /llvm-project-15.0.7/llvm/unittests/Target/ARM/ |
| H A D | InstSizes.cpp | 95 EXPECT_EQ(Expected, II.getInstSizeInBytes(*I)); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.cpp | 897 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch() 910 *BytesRemoved += getInstSizeInBytes(*I); in removeBranch() 932 *BytesAdded += getInstSizeInBytes(MI); in insertBranch() 941 *BytesAdded += getInstSizeInBytes(CondMI); in insertBranch() 950 *BytesAdded += getInstSizeInBytes(MI); in insertBranch() 1031 unsigned RISCVInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in RISCVInstrInfo 1294 SequenceSize += getInstSizeInBytes(*I); in getOutliningCandidateInfo()
|
| H A D | RISCVInstrInfo.h | 85 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMCInstLower.cpp | 259 assert(CodeBytes.size() == STI.getInstrInfo()->getInstSizeInBytes(*MI)); in emitInstruction()
|