Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DLocked.cpp86 #define TestImplRegReg(Reg0, Value0, Reg1, Value1, Size) \ in TEST_F() argument
89 "(" #Reg0 "," #Value0 ", " #Reg1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
93 __ mov(IceType_i##Size, GPRRegister::Encoded_Reg_##Reg0, \ in TEST_F()
97 __ xchg(IceType_i##Size, GPRRegister::Encoded_Reg_##Reg0, \ in TEST_F()
99 __ And(IceType_i32, GPRRegister::Encoded_Reg_##Reg0, \ in TEST_F()
108 ASSERT_EQ(V1, test.Reg0()) << TestString; \ in TEST_F()
112 #define TestImplSize(Reg0, Reg1, Size) \ in TEST_F() argument
114 TestImplRegReg(Reg0, 0xa2b34567, Reg1, 0x0507ddee, Size); \ in TEST_F()
117 #define TestImpl(Reg0, Reg1) \ in TEST_F() argument
119 if (GPRRegister::Encoded_Reg_##Reg0 < 4 && \ in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsTargetStreamer.h119 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc,
123 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc,
125 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc,
127 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc,
129 void emitRRX(unsigned Opcode, unsigned Reg0, unsigned Reg1, MCOperand Op2,
131 void emitRRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, unsigned Reg2,
133 void emitRRRX(unsigned Opcode, unsigned Reg0, unsigned Reg1, unsigned Reg2,
135 void emitRRI(unsigned Opcode, unsigned Reg0, unsigned Reg1, int16_t Imm,
137 void emitRRIII(unsigned Opcode, unsigned Reg0, unsigned Reg1, int16_t Imm0,
DMipsSEFrameLowering.cpp463 unsigned Reg0 = in emitPrologue() local
469 std::swap(Reg0, Reg1); in emitPrologue()
472 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue()
481 unsigned Reg0 = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local
485 std::swap(Reg0, Reg1); in emitPrologue()
488 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DLocked.cpp89 #define TestImplRegReg(Reg0, Value0, Reg1, Value1, Size) \ in TEST_F() argument
92 "(" #Reg0 "," #Value0 ", " #Reg1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
96 __ mov(IceType_i##Size, Encoded_GPR_##Reg0(), Immediate(Value0)); \ in TEST_F()
98 __ xchg(IceType_i##Size, Encoded_GPR_##Reg0(), Encoded_GPR_##Reg1()); \ in TEST_F()
99 __ And(IceType_i32, Encoded_GPR_##Reg0(), Immediate(Mask##Size)); \ in TEST_F()
106 ASSERT_EQ(V1, test.Reg0()) << TestString; \ in TEST_F()
110 #define TestImplSize(Reg0, Reg1, Size) \ in TEST_F() argument
112 TestImplRegReg(Reg0, 0xa2b34567, Reg1, 0x0507ddee, Size); \ in TEST_F()
115 #define TestImpl(Reg0, Reg1) \ in TEST_F() argument
117 TestImplSize(Reg0, Reg1, 8); \ in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsTargetStreamer.cpp166 void MipsTargetStreamer::emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, in emitR() argument
170 TmpInst.addOperand(MCOperand::createReg(Reg0)); in emitR()
175 void MipsTargetStreamer::emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, in emitRX() argument
179 TmpInst.addOperand(MCOperand::createReg(Reg0)); in emitRX()
185 void MipsTargetStreamer::emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, in emitRI() argument
187 emitRX(Opcode, Reg0, MCOperand::createImm(Imm), IDLoc, STI); in emitRI()
190 void MipsTargetStreamer::emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, in emitRR() argument
192 emitRX(Opcode, Reg0, MCOperand::createReg(Reg1), IDLoc, STI); in emitRR()
205 void MipsTargetStreamer::emitRRX(unsigned Opcode, unsigned Reg0, unsigned Reg1, in emitRRX() argument
210 TmpInst.addOperand(MCOperand::createReg(Reg0)); in emitRRX()
[all …]
DMipsMCCodeEmitter.cpp98 unsigned Reg0 = Ctx.getRegisterInfo()->getEncodingValue(RegOp0); in LowerCompactBranch() local
103 assert(Reg0 != Reg1 && "Instruction has bad operands ($rs == $rt)!"); in LowerCompactBranch()
104 if (Reg0 < Reg1) in LowerCompactBranch()
107 if (Reg0 >= Reg1) in LowerCompactBranch()
111 if (Reg1 >= Reg0) in LowerCompactBranch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonPeephole.cpp240 Register Reg0 = Op0.getReg(); in runOnMachineFunction() local
241 const TargetRegisterClass *RC0 = MRI->getRegClass(Reg0); in runOnMachineFunction()
245 if (Register::isVirtualRegister(Reg0)) { in runOnMachineFunction()
247 if (unsigned PeepholeSrc = PeepholeMap.lookup(Reg0)) { in runOnMachineFunction()
DHexagonBitTracker.cpp316 unsigned Reg0 = Reg[0].Reg; in evaluate() local
842 return rr0(eSXT(RegisterCell::self(0, W0).regify(Reg0), 8), Outputs); in evaluate()
844 return rr0(eSXT(RegisterCell::self(0, W0).regify(Reg0), 16), Outputs); in evaluate()
846 return rr0(eZXT(RegisterCell::self(0, W0).regify(Reg0), 8), Outputs); in evaluate()
848 return rr0(eZXT(RegisterCell::self(0, W0).regify(Reg0), 16), Outputs); in evaluate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2063 SDValue Reg0 = CurDAG->getRegister(0, MVT::i32); in SelectVLD() local
2085 Ops.push_back(Reg0); in SelectVLD()
2088 Ops.push_back(Reg0); in SelectVLD()
2101 const SDValue OpsA[] = { MemAddr, Align, Reg0, ImplDef, Pred, Reg0, Chain }; in SelectVLD()
2114 Ops.push_back(Reg0); in SelectVLD()
2118 Ops.push_back(Reg0); in SelectVLD()
2195 SDValue Reg0 = CurDAG->getRegister(0, MVT::i32); in SelectVST() local
2242 Ops.push_back(Reg0); in SelectVST()
2246 Ops.push_back(Reg0); in SelectVST()
2271 const SDValue OpsA[] = { MemAddr, Align, Reg0, RegSeq, Pred, Reg0, Chain }; in SelectVST()
[all …]
DThumb2SizeReduction.cpp746 Register Reg0 = MI->getOperand(0).getReg(); in ReduceTo2Addr() local
752 if (!isARMLowRegister(Reg0) || !isARMLowRegister(Reg1) in ReduceTo2Addr()
755 if (Reg0 != Reg2) { in ReduceTo2Addr()
758 if (Reg1 != Reg0) in ReduceTo2Addr()
765 } else if (Reg0 != Reg1) { in ReduceTo2Addr()
770 MI->getOperand(CommOpIdx2).getReg() != Reg0) in ReduceTo2Addr()
777 if (Entry.LowRegs2 && !isARMLowRegister(Reg0)) in ReduceTo2Addr()
DARMAsmPrinter.cpp312 Register Reg0 = TRI->getSubReg(RegBegin, ARM::gsub_0); in PrintAsmOperand() local
313 O << ARMInstPrinter::getRegisterName(Reg0) << ", "; in PrintAsmOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCRegisterInfo.h739 uint16_t Reg0 = 0; variable
747 Reg0 = MCRI->RegUnitRoots[RegUnit][0]; in MCRegUnitRootIterator()
753 return Reg0;
758 return Reg0; in isValid()
764 Reg0 = Reg1;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp224 unsigned Reg0 = cast<RegisterSDNode>(V0)->getReg(); in tryInlineAsm() local
247 SDValue T0 = CurDAG->getCopyToReg(Sub0, dl, Reg0, Sub0, in tryInlineAsm()
262 SDValue T0 = CurDAG->getCopyFromReg(Chain, dl, Reg0, MVT::i32, in tryInlineAsm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp174 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteInstructionImpl() local
196 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
199 Reg0 = Reg2; in commuteInstructionImpl()
201 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
204 Reg0 = Reg1; in commuteInstructionImpl()
218 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
DRegisterCoalescer.cpp2502 unsigned Reg0; in valuesIdentical() local
2503 std::tie(Orig0, Reg0) = followCopyChain(Value0); in valuesIdentical()
2504 if (Orig0 == Value1 && Reg0 == Other.Reg) in valuesIdentical()
2514 return Orig0 == Orig1 && Reg0 == Reg1; in valuesIdentical()
2520 return Orig0->def == Orig1->def && Reg0 == Reg1; in valuesIdentical()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMInstPrinter.cpp1437 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwo() local
1440 printRegName(O, Reg0); in printVectorListTwo()
1450 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwoSpaced() local
1453 printRegName(O, Reg0); in printVectorListTwoSpaced()
1505 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwoAllLanes() local
1508 printRegName(O, Reg0); in printVectorListTwoAllLanes()
1552 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwoSpacedAllLanes() local
1555 printRegName(O, Reg0); in printVectorListTwoSpacedAllLanes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp505 unsigned Reg0 = RegInfo->getSEHRegNum(MBBI->getOperand(1).getReg()); in InsertSEH() local
508 .addImm(Reg0) in InsertSEH()
518 Register Reg0 = MBBI->getOperand(1).getReg(); in InsertSEH() local
520 if (Reg0 == AArch64::FP && Reg1 == AArch64::LR) in InsertSEH()
526 .addImm(RegInfo->getSEHRegNum(Reg0)) in InsertSEH()
556 unsigned Reg0 = RegInfo->getSEHRegNum(MBBI->getOperand(0).getReg()); in InsertSEH() local
559 .addImm(Reg0) in InsertSEH()
567 Register Reg0 = MBBI->getOperand(0).getReg(); in InsertSEH() local
569 if (Reg0 == AArch64::FP && Reg1 == AArch64::LR) in InsertSEH()
575 .addImm(RegInfo->getSEHRegNum(Reg0)) in InsertSEH()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h566 bool isRegIntersect(unsigned Reg0, unsigned Reg1, const MCRegisterInfo* TRI);
DAMDGPUBaseInfo.cpp968 bool isRegIntersect(unsigned Reg0, unsigned Reg1, const MCRegisterInfo* TRI) { in isRegIntersect() argument
969 for (MCRegAliasIterator R(Reg0, TRI, true); R.isValid(); ++R) { in isRegIntersect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86MCInstLower.cpp2055 Register Reg0 = RI->getSubReg(Reg, X86::sub_mask_0); in EmitInstruction() local
2060 MIB.addReg(Reg0); in EmitInstruction()
2086 Register Reg0 = RI->getSubReg(Reg, X86::sub_mask_0); in EmitInstruction() local
2093 MIB.addReg(Reg0); in EmitInstruction()
DX86InstrInfo.cpp4943 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in foldMemoryOperandImpl() local
4953 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
4954 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp784 unsigned Reg0, unsigned Reg1, unsigned Reg2, unsigned Reg3, in buildEXP() argument
791 .addReg(Reg0) in buildEXP()
1133 Register Reg0 = I.getOperand(3).getReg(); in selectG_INTRINSIC_W_SIDE_EFFECTS() local
1140 MachineInstr *Exp = buildEXP(TII, &I, Tgt, Reg0, Reg1, Undef, Undef, VM, in selectG_INTRINSIC_W_SIDE_EFFECTS()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp395 Register Reg0 = MI.getOperand(0).getReg(); in commuteInstructionImpl() local
405 if (Reg0 == Reg1) { in commuteInstructionImpl()
425 Register Reg0 = ChangeReg0 ? Reg2 : MI.getOperand(0).getReg(); in commuteInstructionImpl() local
428 .addReg(Reg0, RegState::Define | getDeadRegState(Reg0IsDead)) in commuteInstructionImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInstX8632.cpp2784 const GPRRegister Reg0 = RegX8632::getEncodedGPR(VarReg0->getRegNum()); in emitIAS() local
2785 Asm->xchg(Ty, Reg0, Reg1); in emitIAS()
DIceInstX8664.cpp2711 const GPRRegister Reg0 = RegX8664::getEncodedGPR(VarReg0->getRegNum()); in emitIAS() local
2712 Asm->xchg(Ty, Reg0, Reg1); in emitIAS()