Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Target/AArch64/
DInstSizes.cpp89 EXPECT_EQ(16u, II.getInstSizeInBytes(*I)); in TEST()
91 EXPECT_EQ(32u, II.getInstSizeInBytes(*I)); in TEST()
104 EXPECT_EQ(16u, II.getInstSizeInBytes(*I)); in TEST()
106 EXPECT_EQ(32u, II.getInstSizeInBytes(*I)); in TEST()
120 EXPECT_EQ(16u, II.getInstSizeInBytes(*I)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
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()
DMSP430InstrInfo.h71 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
DMSP430InstrInfo.cpp301 unsigned MSP430InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in MSP430InstrInfo
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
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()
431 unsigned RISCVInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in RISCVInstrInfo
DRISCVInstrInfo.h55 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
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()
DAVRInstrInfo.h73 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
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()
DMipsInstrInfo.h111 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
DMipsDelaySlotFiller.cpp634 if (InMicroMipsMode && TII->getInstSizeInBytes(*std::next(DSI)) == 2 && in runOnMachineBasicBlock()
727 if (InMicroMipsMode && TII->getInstSizeInBytes(*CurrI) == 2 && in searchRange()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchRelaxation.cpp174 Size += TII->getInstSizeInBytes(MI); in computeBlockSize()
192 Offset += TII->getInstSizeInBytes(*I); in getInstrOffset()
444 unsigned OldBrSize = TII->getInstSizeInBytes(MI); in fixupUnconditionalBranch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp128 BlockSize += TII->getInstSizeInBytes(MI); in runOnMachineFunction()
175 MBBStartOffset += TII->getInstSizeInBytes(*I); in runOnMachineFunction()
DPPCInstrInfo.h324 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMComputeBlockSize.cpp54 BBI.Size += TII->getInstSizeInBytes(I); in computeBlockSize()
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()
1702 int delta = TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1724 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1731 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back()); in fixupConditionalBr()
1736 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI); in fixupConditionalBr()
2262 unsigned NewSize = TII->getInstSizeInBytes(*NewJTMI); in optimizeThumb2JumpTables()
2263 unsigned OrigSize = TII->getInstSizeInBytes(*MI); in optimizeThumb2JumpTables()
DARMBaseInstrInfo.h182 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCInstrInfo.h52 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
DARCBranchFinalize.cpp157 unsigned Size = TII->getInstSizeInBytes(MI); in runOnMachineFunction()
DARCInstrInfo.cpp391 unsigned ARCInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const { in getInstSizeInBytes() function in ARCInstrInfo
/external/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp215 Terminator.Size = TII->getInstSizeInBytes(MI); in describeTerminator()
286 Block.Size += TII->getInstSizeInBytes(*MI); in initMBBInfo()
DSystemZInstrInfo.h222 uint64_t getInstSizeInBytes(const MachineInstr &MI) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp216 Terminator.Size = TII->getInstSizeInBytes(MI); in describeTerminator()
291 Block.Size += TII->getInstSizeInBytes(*MI); in initMBBInfo()
DSystemZInstrInfo.h268 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h49 unsigned getInstSizeInBytes(const MachineInstr &MI) const override;

12