/external/llvm/lib/Target/PowerPC/ |
D | PPCVSXCopy.cpp | 99 MachineOperand &SrcMO = MI->getOperand(1); in processBlock() local 102 !IsVSReg(SrcMO.getReg(), MRI)) { in processBlock() 107 IsVRReg(SrcMO.getReg(), MRI) ? &PPC::VSHRCRegClass : in processBlock() 109 assert((IsF8Reg(SrcMO.getReg(), MRI) || in processBlock() 110 IsVRReg(SrcMO.getReg(), MRI) || in processBlock() 111 IsVSSReg(SrcMO.getReg(), MRI) || in processBlock() 112 IsVSFReg(SrcMO.getReg(), MRI)) && in processBlock() 120 .addOperand(SrcMO) in processBlock() 121 .addImm(IsVRReg(SrcMO.getReg(), MRI) ? PPC::sub_128 : in processBlock() 125 SrcMO.setReg(NewVReg); in processBlock() [all …]
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCVSXCopy.cpp | 92 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCVSXCopy.cpp | 92 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 …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ExpandPostRAPseudos.cpp | 145 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()
|
D | MachineSink.cpp | 927 const MachineOperand *SrcMO = nullptr, *DstMO = nullptr; in attemptDebugCopyProp() local 931 SrcMO = CopyOperands->Source; in attemptDebugCopyProp() 938 if (DbgMO.getReg().isVirtual() != SrcMO->getReg().isVirtual()) in attemptDebugCopyProp() 949 if (!PostRA && (DbgMO.getSubReg() != SrcMO->getSubReg() || in attemptDebugCopyProp() 959 DbgMO.setReg(SrcMO->getReg()); in attemptDebugCopyProp() 960 DbgMO.setSubReg(SrcMO->getSubReg()); in attemptDebugCopyProp()
|
D | TwoAddressInstructionPass.cpp | 1327 MachineOperand &SrcMO = MI->getOperand(SrcIdx); in collectTiedOperands() local 1329 Register SrcReg = SrcMO.getReg(); in collectTiedOperands() 1335 assert(SrcReg && SrcMO.isUse() && "two address instruction invalid"); in collectTiedOperands() 1338 if (SrcMO.isUndef() && !DstMO.getSubReg()) { in collectTiedOperands() 1344 SrcMO.setReg(DstReg); in collectTiedOperands() 1345 SrcMO.setSubReg(0); in collectTiedOperands()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ExpandPostRAPseudos.cpp | 145 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()
|
D | MachineSink.cpp | 799 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()
|
D | TwoAddressInstructionPass.cpp | 1472 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()
|
/external/llvm/lib/CodeGen/ |
D | ExpandPostRAPseudos.cpp | 147 MachineOperand &SrcMO = MI->getOperand(1); in LowerCopy() local 149 if (SrcMO.getReg() == DstMO.getReg()) { in LowerCopy() 153 if (SrcMO.isUndef() || MI->getNumOperands() > 2) { in LowerCopy() 167 DstMO.getReg(), SrcMO.getReg(), SrcMO.isKill()); in LowerCopy()
|
D | TwoAddressInstructionPass.cpp | 1413 MachineOperand &SrcMO = MI->getOperand(SrcIdx); in collectTiedOperands() local 1415 unsigned SrcReg = SrcMO.getReg(); in collectTiedOperands() 1421 assert(SrcReg && SrcMO.isUse() && "two address instruction invalid"); in collectTiedOperands() 1424 if (SrcMO.isUndef() && !DstMO.getSubReg()) { in collectTiedOperands() 1430 SrcMO.setReg(DstReg); in collectTiedOperands() 1431 SrcMO.setSubReg(0); in collectTiedOperands()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZPostRewrite.cpp | 226 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()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZPostRewrite.cpp | 226 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 1698 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64InstrInfo.cpp | 3302 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()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64InstrInfo.cpp | 3680 const MachineOperand &SrcMO = MI.getOperand(1); in foldMemoryOperandImpl() local 3682 Register SrcReg = SrcMO.getReg(); in foldMemoryOperandImpl() 3690 if (DstMO.getSubReg() == 0 && SrcMO.getSubReg() == 0) { in foldMemoryOperandImpl() 3695 storeRegToStackSlot(MBB, InsertPt, SrcReg, SrcMO.isKill(), FrameIndex, in foldMemoryOperandImpl() 3713 assert(SrcMO.getSubReg() == 0 && in foldMemoryOperandImpl() 3744 storeRegToStackSlot(MBB, InsertPt, WidenedSrcReg, SrcMO.isKill(), in foldMemoryOperandImpl() 3759 if (IsFill && SrcMO.getSubReg() == 0 && DstMO.isUndef()) { in foldMemoryOperandImpl()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 2081 MachineOperand &SrcMO = MI.getOperand(1); in widenScalar() local 2088 const APInt &SrcVal = SrcMO.getCImm()->getValue(); in widenScalar() 2093 SrcMO.setCImm(ConstantInt::get(Ctx, Val)); in widenScalar() 2100 MachineOperand &SrcMO = MI.getOperand(1); in widenScalar() local 2102 APFloat Val = SrcMO.getFPImm()->getValueAPF(); in widenScalar() 2120 SrcMO.setFPImm(ConstantFP::get(Ctx, Val)); in widenScalar()
|