Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DHexagonSplitTFRCondSets.cpp100 int SrcReg2 = MI->getOperand(3).getReg(); in runOnMachineFunction() local
118 if (DestReg != SrcReg2) { in runOnMachineFunction()
120 DestReg).addReg(MI->getOperand(1).getReg()).addReg(SrcReg2); in runOnMachineFunction()
157 int SrcReg2 = MI->getOperand(3).getReg(); in runOnMachineFunction() local
173 if (DestReg != SrcReg2) { in runOnMachineFunction()
176 addReg(MI->getOperand(1).getReg()).addReg(SrcReg2); in runOnMachineFunction()
DHexagonInstrInfo.h75 unsigned &SrcReg, unsigned &SrcReg2,
DHexagonInstrInfo.cpp343 unsigned &SrcReg, unsigned &SrcReg2, in analyzeCompare() argument
397 SrcReg2 = MI->getOperand(2).getReg(); in analyzeCompare()
407 SrcReg2 = 0; in analyzeCompare()
/external/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp382 unsigned SrcReg2 = (Compare->getOperand(1).isReg() ? in fuseCompareAndBranch() local
387 (SrcReg2 && MBBI->modifiesRegister(SrcReg2, TRI))) in fuseCompareAndBranch()
417 if (SrcReg2) in fuseCompareAndBranch()
418 MBBI->clearRegisterKills(SrcReg2, TRI); in fuseCompareAndBranch()
DSystemZInstrInfo.h153 unsigned &SrcReg2, int &Mask, int &Value) const override;
155 unsigned SrcReg2, int Mask, int Value,
DSystemZInstrInfo.cpp400 unsigned &SrcReg, unsigned &SrcReg2, in analyzeCompare() argument
408 SrcReg2 = 0; in analyzeCompare()
484 unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
487 assert(!SrcReg2 && "Only optimizing constant comparisons so far"); in optimizeCompareInstr()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h149 unsigned &SrcReg2, int &CmpMask,
154 unsigned SrcReg2, int CmpMask, int CmpValue,
DAArch64FastISel.cpp952 unsigned SrcReg2; in EmitCmp() local
954 SrcReg2 = getRegForValue(Src2Value); in EmitCmp()
955 if (SrcReg2 == 0) in EmitCmp()
965 SrcReg2 = EmitIntExt(SrcVT, SrcReg2, MVT::i32, isZExt); in EmitCmp()
966 if (SrcReg2 == 0) in EmitCmp()
982 .addReg(SrcReg2); in EmitCmp()
990 .addReg(SrcReg2); in EmitCmp()
DAArch64InstrInfo.cpp568 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
587 SrcReg2 = MI->getOperand(2).getReg(); in analyzeCompare()
596 SrcReg2 = 0; in analyzeCompare()
605 SrcReg2 = 0; in analyzeCompare()
658 MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
696 if (CmpValue != 0 || SrcReg2 != 0) in optimizeCompareInstr()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h219 unsigned &SrcReg, unsigned &SrcReg2,
223 unsigned SrcReg, unsigned SrcReg2,
DPPCFastISel.cpp796 unsigned SrcReg2 = 0; in PPCEmitCmp() local
798 SrcReg2 = getRegForValue(SrcValue2); in PPCEmitCmp()
799 if (SrcReg2 == 0) in PPCEmitCmp()
811 if (!PPCEmitIntExt(SrcVT, SrcReg2, MVT::i32, ExtReg, IsZExt)) in PPCEmitCmp()
813 SrcReg2 = ExtReg; in PPCEmitCmp()
819 .addReg(SrcReg1).addReg(SrcReg2); in PPCEmitCmp()
1179 unsigned SrcReg2 = getRegForValue(I->getOperand(1)); in SelectBinaryIntOp() local
1180 if (SrcReg2 == 0) return false; in SelectBinaryIntOp()
1184 std::swap(SrcReg1, SrcReg2); in SelectBinaryIntOp()
1187 .addReg(SrcReg1).addReg(SrcReg2); in SelectBinaryIntOp()
DPPCInstrInfo.cpp1282 unsigned &SrcReg, unsigned &SrcReg2, in analyzeCompare() argument
1293 SrcReg2 = 0; in analyzeCompare()
1304 SrcReg2 = MI->getOperand(2).getReg(); in analyzeCompare()
1310 unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
1411 if (SrcReg2 != 0) in optimizeCompareInstr()
1450 Instr.getOperand(2).getReg() == SrcReg2) || in optimizeCompareInstr()
1451 (Instr.getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
1497 ShouldSwap = SrcReg2 != 0 && Sub->getOperand(1).getReg() == SrcReg2 && in optimizeCompareInstr()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp417 unsigned SrcReg, SrcReg2; in optimizeCmpInstr() local
419 if (!TII->analyzeCompare(MI, SrcReg, SrcReg2, CmpMask, CmpValue) || in optimizeCmpInstr()
421 (SrcReg2 != 0 && TargetRegisterInfo::isPhysicalRegister(SrcReg2))) in optimizeCmpInstr()
425 if (TII->optimizeCompareInstr(MI, SrcReg, SrcReg2, CmpMask, CmpValue, MRI)) { in optimizeCmpInstr()
/external/llvm/lib/Target/X86/
DX86InstrInfo.h428 unsigned &SrcReg2, int &CmpMask,
435 unsigned SrcReg2, int CmpMask, int CmpValue,
DX86InstrInfo.cpp2251 unsigned SrcReg2; in convertToThreeAddress() local
2254 SrcReg2, isKill2, isUndef2, ImplicitOp2)) in convertToThreeAddress()
2264 NewMI = addRegReg(MIB, SrcReg, isKill, SrcReg2, isKill2); in convertToThreeAddress()
2271 LV->replaceKillInstruction(SrcReg2, MI, NewMI); in convertToThreeAddress()
3354 analyzeCompare(const MachineInstr *MI, unsigned &SrcReg, unsigned &SrcReg2, in analyzeCompare() argument
3366 SrcReg2 = 0; in analyzeCompare()
3376 SrcReg2 = 0; in analyzeCompare()
3385 SrcReg2 = MI->getOperand(2).getReg(); in analyzeCompare()
3397 SrcReg2 = 0; in analyzeCompare()
3406 SrcReg2 = MI->getOperand(1).getReg(); in analyzeCompare()
[all …]
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1438 unsigned SrcReg2 = 0; in ARMEmitCmp() local
1440 SrcReg2 = getRegForValue(Src2Value); in ARMEmitCmp()
1441 if (SrcReg2 == 0) return false; in ARMEmitCmp()
1449 SrcReg2 = ARMEmitIntExt(SrcVT, SrcReg2, MVT::i32, isZExt); in ARMEmitCmp()
1450 if (SrcReg2 == 0) return false; in ARMEmitCmp()
1457 SrcReg2 = constrainOperandRegClass(II, SrcReg2, 1); in ARMEmitCmp()
1459 .addReg(SrcReg1).addReg(SrcReg2)); in ARMEmitCmp()
1777 unsigned SrcReg2 = getRegForValue(I->getOperand(1)); in SelectBinaryIntOp() local
1778 if (SrcReg2 == 0) return false; in SelectBinaryIntOp()
1782 SrcReg2 = constrainOperandRegClass(TII.get(Opc), SrcReg2, 2); in SelectBinaryIntOp()
[all …]
DARMBaseInstrInfo.h189 unsigned &SrcReg2, int &CmpMask,
197 unsigned SrcReg2, int CmpMask, int CmpValue,
DARMBaseInstrInfo.cpp2141 analyzeCompare(const MachineInstr *MI, unsigned &SrcReg, unsigned &SrcReg2, in analyzeCompare() argument
2148 SrcReg2 = 0; in analyzeCompare()
2155 SrcReg2 = MI->getOperand(1).getReg(); in analyzeCompare()
2162 SrcReg2 = 0; in analyzeCompare()
2225 unsigned SrcReg2, int ImmValue, in isRedundantFlagInstr() argument
2232 OI->getOperand(2).getReg() == SrcReg2) || in isRedundantFlagInstr()
2233 (OI->getOperand(1).getReg() == SrcReg2 && in isRedundantFlagInstr()
2255 optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
2293 if (SrcReg2 != 0) in optimizeCompareInstr()
2321 if (isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr()
[all …]
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h773 unsigned &SrcReg, unsigned &SrcReg2, in analyzeCompare() argument
782 unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c83 struct rc_src_register SrcReg2) in emit3() argument
95 fpi->U.I.SrcReg[2] = SrcReg2; in emit3()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c83 struct rc_src_register SrcReg2) in emit3() argument
95 fpi->U.I.SrcReg[2] = SrcReg2; in emit3()