Home
last modified time | relevance | path

Searched refs:SrcMO (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCVSXCopy.cpp92 MachineOperand &SrcMO = MI.getOperand(1); in processBlock() local
95 !IsVSReg(SrcMO.getReg(), MRI)) { in processBlock()
100 assert((IsF8Reg(SrcMO.getReg(), MRI) || in processBlock()
101 IsVSSReg(SrcMO.getReg(), MRI) || in processBlock()
102 IsVSFReg(SrcMO.getReg(), MRI)) && in processBlock()
110 .add(SrcMO) in processBlock()
114 SrcMO.setReg(NewVReg); in processBlock()
116 IsVSReg(SrcMO.getReg(), MRI)) { in processBlock()
130 .add(SrcMO); in processBlock()
133 SrcMO.setReg(NewVReg); in processBlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandPostRAPseudos.cpp145 MachineOperand &SrcMO = MI->getOperand(1); in LowerCopy() local
147 bool IdentityCopy = (SrcMO.getReg() == DstMO.getReg()); in LowerCopy()
148 if (IdentityCopy || SrcMO.isUndef()) { in LowerCopy()
153 if (SrcMO.isUndef() || MI->getNumOperands() > 2) { in LowerCopy()
167 DstMO.getReg(), SrcMO.getReg(), SrcMO.isKill()); in LowerCopy()
DMachineSink.cpp799 const MachineOperand *SrcMO = nullptr, *DstMO = nullptr; in attemptDebugCopyProp() local
803 SrcMO = CopyOperands->Source; in attemptDebugCopyProp()
810 if (DbgMO.getReg().isVirtual() != SrcMO->getReg().isVirtual()) in attemptDebugCopyProp()
821 if (!PostRA && (DbgMO.getSubReg() != SrcMO->getSubReg() || in attemptDebugCopyProp()
831 DbgMI.getOperand(0).setReg(SrcMO->getReg()); in attemptDebugCopyProp()
832 DbgMI.getOperand(0).setSubReg(SrcMO->getSubReg()); in attemptDebugCopyProp()
DTwoAddressInstructionPass.cpp1472 MachineOperand &SrcMO = MI->getOperand(SrcIdx); in collectTiedOperands() local
1474 Register SrcReg = SrcMO.getReg(); in collectTiedOperands()
1480 assert(SrcReg && SrcMO.isUse() && "two address instruction invalid"); in collectTiedOperands()
1483 if (SrcMO.isUndef() && !DstMO.getSubReg()) { in collectTiedOperands()
1489 SrcMO.setReg(DstReg); in collectTiedOperands()
1490 SrcMO.setSubReg(0); in collectTiedOperands()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZPostRewrite.cpp226 MachineOperand &SrcMO = MI.getOperand(1); in selectMI() local
227 if (DstReg != SrcMO.getReg()) { in selectMI()
229 .addReg(SrcMO.getReg()); in selectMI()
230 SrcMO.setReg(DstReg); in selectMI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1698 MachineOperand &SrcMO = MI.getOperand(1); in widenScalar() local
1705 const APInt &SrcVal = SrcMO.getCImm()->getValue(); in widenScalar()
1710 SrcMO.setCImm(ConstantInt::get(Ctx, Val)); in widenScalar()
1717 MachineOperand &SrcMO = MI.getOperand(1); in widenScalar() local
1719 APFloat Val = SrcMO.getFPImm()->getValueAPF(); in widenScalar()
1737 SrcMO.setFPImm(ConstantFP::get(Ctx, Val)); in widenScalar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp3302 const MachineOperand &SrcMO = MI.getOperand(1); in foldMemoryOperandImpl() local
3304 Register SrcReg = SrcMO.getReg(); in foldMemoryOperandImpl()
3312 if (DstMO.getSubReg() == 0 && SrcMO.getSubReg() == 0) { in foldMemoryOperandImpl()
3317 storeRegToStackSlot(MBB, InsertPt, SrcReg, SrcMO.isKill(), FrameIndex, in foldMemoryOperandImpl()
3335 assert(SrcMO.getSubReg() == 0 && in foldMemoryOperandImpl()
3366 storeRegToStackSlot(MBB, InsertPt, WidenedSrcReg, SrcMO.isKill(), in foldMemoryOperandImpl()
3381 if (IsFill && SrcMO.getSubReg() == 0 && DstMO.isUndef()) { in foldMemoryOperandImpl()