Home
last modified time | relevance | path

Searched refs:SrcReg2 (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp178 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
186 SrcReg2 = 0; in analyzeCompare()
192 SrcReg2 = MI.getOperand(1).getReg(); in analyzeCompare()
206 unsigned SrcReg2, int ImmValue, in isRedundantFlagInstr() argument
211 OI->getOperand(2).getReg() == SrcReg2) || in isRedundantFlagInstr()
212 (OI->getOperand(1).getReg() == SrcReg2 && in isRedundantFlagInstr()
284 MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int /*CmpMask*/, in optimizeCompareInstr() argument
304 if (SrcReg2 != 0) in optimizeCompareInstr()
330 if (isRedundantFlagInstr(&CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr()
382 if (SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
DLanaiInstrInfo.h98 unsigned &SrcReg2, int &CmpMask,
105 unsigned SrcReg2, int CmpMask, int CmpValue,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp631 Register SrcReg2 = in fuseCompareOperations() local
636 (SrcReg2 && MBBI->modifiesRegister(SrcReg2, TRI))) in fuseCompareOperations()
688 if (SrcReg2) in fuseCompareOperations()
689 MBBI->clearRegisterKills(SrcReg2, TRI); in fuseCompareOperations()
DSystemZInstrInfo.h223 unsigned &SrcReg2, int &Mask, int &Value) const override;
DSystemZInstrInfo.cpp517 unsigned &SrcReg2, int &Mask, in analyzeCompare() argument
524 SrcReg2 = 0; in analyzeCompare()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp857 unsigned SrcReg2 = 0; in PPCEmitCmp() local
859 SrcReg2 = getRegForValue(SrcValue2); in PPCEmitCmp()
860 if (SrcReg2 == 0) in PPCEmitCmp()
868 auto RC2 = SrcReg2 != 0 ? MRI.getRegClass(SrcReg2) : nullptr; in PPCEmitCmp()
891 SrcReg2 = copyRegToRegClass(&PPC::F4RCRegClass, SrcReg2); in PPCEmitCmp()
941 if (!PPCEmitIntExt(SrcVT, SrcReg2, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
943 SrcReg2 = ExtReg; in PPCEmitCmp()
949 .addReg(SrcReg1).addReg(SrcReg2); in PPCEmitCmp()
1359 unsigned SrcReg2 = getRegForValue(I->getOperand(1)); in SelectBinaryIntOp() local
1360 if (SrcReg2 == 0) return false; in SelectBinaryIntOp()
[all …]
DPPCInstrInfo.h352 unsigned &SrcReg2, int &Mask, int &Value) const override;
355 unsigned SrcReg2, int Mask, int Value,
DPPCInstrInfo.cpp1591 unsigned &SrcReg2, int &Mask, in analyzeCompare() argument
1602 SrcReg2 = 0; in analyzeCompare()
1613 SrcReg2 = MI.getOperand(2).getReg(); in analyzeCompare()
1621 unsigned SrcReg2, int Mask, int Value, in optimizeCompareInstr() argument
1727 if (SrcReg2 != 0) in optimizeCompareInstr()
1802 Instr.getOperand(2).getReg() == SrcReg2) || in optimizeCompareInstr()
1803 (Instr.getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
1849 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
4125 Register SrcReg2 = MI.getOperand(2).getReg(); in isSignOrZeroExtended() local
4128 !Register::isVirtualRegister(SrcReg2)) in isSignOrZeroExtended()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h209 unsigned &SrcReg2, int &CmpMask,
214 unsigned SrcReg2, int CmpMask, int CmpValue,
DAArch64SIMDInstrOpt.cpp438 Register SrcReg2 = MI.getOperand(3).getReg(); in optimizeVectElement() local
444 if (!reuseDUP(MI, DupMCID->getOpcode(), SrcReg2, LaneNumber, &DupDest)) { in optimizeVectElement()
447 .addReg(SrcReg2, Src2IsKill) in optimizeVectElement()
DAArch64InstrInfo.cpp988 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
1013 SrcReg2 = MI.getOperand(2).getReg(); in analyzeCompare()
1022 SrcReg2 = 0; in analyzeCompare()
1032 SrcReg2 = 0; in analyzeCompare()
1183 MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
1213 if (CmpValue != 0 || SrcReg2 != 0) in optimizeCompareInstr()
4184 unsigned SrcReg2; in genFusedMultiply() local
4188 SrcReg2 = *ReplacedAddend; in genFusedMultiply()
4191 SrcReg2 = Root.getOperand(IdxOtherOpd).getReg(); in genFusedMultiply()
4201 if (Register::isVirtualRegister(SrcReg2)) in genFusedMultiply()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFastISel.cpp1428 unsigned SrcReg2 = 0; in ARMEmitCmp() local
1430 SrcReg2 = getRegForValue(Src2Value); in ARMEmitCmp()
1431 if (SrcReg2 == 0) return false; in ARMEmitCmp()
1439 SrcReg2 = ARMEmitIntExt(SrcVT, SrcReg2, MVT::i32, isZExt); in ARMEmitCmp()
1440 if (SrcReg2 == 0) return false; in ARMEmitCmp()
1447 SrcReg2 = constrainOperandRegClass(II, SrcReg2, 1); in ARMEmitCmp()
1449 .addReg(SrcReg1).addReg(SrcReg2)); in ARMEmitCmp()
1776 unsigned SrcReg2 = getRegForValue(I->getOperand(1)); in SelectBinaryIntOp() local
1777 if (SrcReg2 == 0) return false; in SelectBinaryIntOp()
1781 SrcReg2 = constrainOperandRegClass(TII.get(Opc), SrcReg2, 2); in SelectBinaryIntOp()
[all …]
DARMBaseInstrInfo.cpp2675 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
2683 SrcReg2 = 0; in analyzeCompare()
2691 SrcReg2 = MI.getOperand(1).getReg(); in analyzeCompare()
2698 SrcReg2 = 0; in analyzeCompare()
2746 unsigned SrcReg, unsigned SrcReg2, in isRedundantFlagInstr() argument
2752 OI->getOperand(2).getReg() == SrcReg2) || in isRedundantFlagInstr()
2753 (OI->getOperand(1).getReg() == SrcReg2 && in isRedundantFlagInstr()
2761 OI->getOperand(3).getReg() == SrcReg2) || in isRedundantFlagInstr()
2762 (OI->getOperand(2).getReg() == SrcReg2 && in isRedundantFlagInstr()
2789 OI->getOperand(1).getReg() == SrcReg2) { in isRedundantFlagInstr()
[all …]
DARMBaseInstrInfo.h290 unsigned &SrcReg2, int &CmpMask,
298 unsigned SrcReg2, int CmpMask, int CmpValue,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.h473 unsigned &SrcReg2, int &CmpMask,
480 unsigned SrcReg2, int CmpMask, int CmpValue,
DX86InstrInfo.cpp1053 Register SrcReg2; in convertToThreeAddress() local
1056 SrcReg2, isKill2, ImplicitOp2, LV)) in convertToThreeAddress()
1065 NewMI = addRegReg(MIB, SrcReg, isKill, SrcReg2, isKill2); in convertToThreeAddress()
1067 LV->replaceKillInstruction(SrcReg2, MI, *NewMI); in convertToThreeAddress()
3274 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
3286 SrcReg2 = 0; in analyzeCompare()
3300 SrcReg2 = 0; in analyzeCompare()
3309 SrcReg2 = MI.getOperand(2).getReg(); in analyzeCompare()
3321 SrcReg2 = 0; in analyzeCompare()
3334 SrcReg2 = MI.getOperand(1).getReg(); in analyzeCompare()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp610 unsigned SrcReg, SrcReg2; in optimizeCmpInstr() local
612 if (!TII->analyzeCompare(MI, SrcReg, SrcReg2, CmpMask, CmpValue) || in optimizeCmpInstr()
614 (SrcReg2 != 0 && Register::isPhysicalRegister(SrcReg2))) in optimizeCmpInstr()
618 if (TII->optimizeCompareInstr(MI, SrcReg, SrcReg2, CmpMask, CmpValue, MRI)) { in optimizeCmpInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1398 unsigned &SrcReg2, int &Mask, int &Value) const { in analyzeCompare() argument
1406 unsigned SrcReg2, int Mask, int Value, in optimizeCompareInstr() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h272 unsigned &SrcReg2, int &Mask, int &Value) const override;
DHexagonInstrInfo.cpp1766 unsigned &SrcReg2, int &Mask, in analyzeCompare() argument
1827 SrcReg2 = MI.getOperand(2).getReg(); in analyzeCompare()
1842 SrcReg2 = 0; in analyzeCompare()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c84 struct rc_src_register SrcReg2) in emit3() argument
96 fpi->U.I.SrcReg[2] = SrcReg2; in emit3()