/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
D | Locked.cpp | 86 #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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsTargetStreamer.h | 119 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,
|
D | MipsSEFrameLowering.cpp | 463 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()
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
D | Locked.cpp | 89 #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 …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetStreamer.h | 103 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, 107 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc, 109 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc, 111 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc, 113 void emitRRX(unsigned Opcode, unsigned Reg0, unsigned Reg1, MCOperand Op2, 115 void emitRRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, unsigned Reg2, 117 void emitRRI(unsigned Opcode, unsigned Reg0, unsigned Reg1, int16_t Imm,
|
D | MipsSEFrameLowering.cpp | 438 unsigned Reg0 = in emitPrologue() local 444 std::swap(Reg0, Reg1); in emitPrologue() 447 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue() 456 unsigned Reg0 = MRI->getDwarfRegNum(Reg, true); in emitPrologue() local 460 std::swap(Reg0, Reg1); in emitPrologue() 463 MCCFIInstruction::createOffset(nullptr, Reg0, Offset)); in emitPrologue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsTargetStreamer.cpp | 166 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 …]
|
D | MipsMCCodeEmitter.cpp | 98 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()
|
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 613 uint16_t Reg0; variable 616 MCRegUnitRootIterator() : Reg0(0), Reg1(0) {} in MCRegUnitRootIterator() 619 Reg0 = MCRI->RegUnitRoots[RegUnit][0]; in MCRegUnitRootIterator() 625 return Reg0; 630 return Reg0; in isValid() 636 Reg0 = Reg1;
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsTargetStreamer.cpp | 129 void MipsTargetStreamer::emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, in emitR() argument 133 TmpInst.addOperand(MCOperand::createReg(Reg0)); in emitR() 138 void MipsTargetStreamer::emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, in emitRX() argument 142 TmpInst.addOperand(MCOperand::createReg(Reg0)); in emitRX() 148 void MipsTargetStreamer::emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, in emitRI() argument 150 emitRX(Opcode, Reg0, MCOperand::createImm(Imm), IDLoc, STI); in emitRI() 153 void MipsTargetStreamer::emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, in emitRR() argument 155 emitRX(Opcode, Reg0, MCOperand::createReg(Reg1), IDLoc, STI); in emitRR() 168 void MipsTargetStreamer::emitRRX(unsigned Opcode, unsigned Reg0, unsigned Reg1, in emitRRX() argument 173 TmpInst.addOperand(MCOperand::createReg(Reg0)); in emitRRX() [all …]
|
D | MipsMCCodeEmitter.cpp | 129 unsigned Reg0 = Ctx.getRegisterInfo()->getEncodingValue(RegOp0); in LowerCompactBranch() local 133 assert(Reg0 != Reg1 && "Instruction has bad operands ($rs == $rt)!"); in LowerCompactBranch() 134 if (Reg0 < Reg1) in LowerCompactBranch() 137 if (Reg0 >= Reg1) in LowerCompactBranch() 141 if (Reg1 >= Reg0) in LowerCompactBranch()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonPeephole.cpp | 240 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()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonPeephole.cpp | 243 unsigned Reg0 = Op0.getReg(); in runOnMachineFunction() local 244 const TargetRegisterClass *RC0 = MRI->getRegClass(Reg0); in runOnMachineFunction() 248 if (TargetRegisterInfo::isVirtualRegister(Reg0)) { in runOnMachineFunction() 250 if (unsigned PeepholeSrc = PeepholeMap.lookup(Reg0)) { in runOnMachineFunction()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 1861 SDValue Reg0 = CurDAG->getRegister(0, MVT::i32); in SelectVLD() local 1881 Ops.push_back(isa<ConstantSDNode>(Inc.getNode()) ? Reg0 : Inc); in SelectVLD() 1884 Ops.push_back(Reg0); in SelectVLD() 1897 const SDValue OpsA[] = { MemAddr, Align, Reg0, ImplDef, Pred, Reg0, Chain }; in SelectVLD() 1910 Ops.push_back(Reg0); in SelectVLD() 1914 Ops.push_back(Reg0); in SelectVLD() 1991 SDValue Reg0 = CurDAG->getRegister(0, MVT::i32); in SelectVST() local 2036 Ops.push_back(Reg0); in SelectVST() 2040 Ops.push_back(Reg0); in SelectVST() 2065 const SDValue OpsA[] = { MemAddr, Align, Reg0, RegSeq, Pred, Reg0, Chain }; in SelectVST() [all …]
|
D | Thumb2SizeReduction.cpp | 706 unsigned Reg0 = MI->getOperand(0).getReg(); in ReduceTo2Addr() local 712 if (!isARMLowRegister(Reg0) || !isARMLowRegister(Reg1) in ReduceTo2Addr() 715 if (Reg0 != Reg2) { in ReduceTo2Addr() 718 if (Reg1 != Reg0) in ReduceTo2Addr() 725 } else if (Reg0 != Reg1) { in ReduceTo2Addr() 730 MI->getOperand(CommOpIdx2).getReg() != Reg0) in ReduceTo2Addr() 737 if (Entry.LowRegs2 && !isARMLowRegister(Reg0)) in ReduceTo2Addr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 2063 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 …]
|
D | Thumb2SizeReduction.cpp | 746 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 739 uint16_t Reg0 = 0; variable 747 Reg0 = MCRI->RegUnitRoots[RegUnit][0]; in MCRegUnitRootIterator() 753 return Reg0; 758 return Reg0; in isValid() 764 Reg0 = Reg1;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcISelDAGToDAG.cpp | 224 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()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelDAGToDAG.cpp | 225 unsigned Reg0 = cast<RegisterSDNode>(V0)->getReg(); in tryInlineAsm() local 248 SDValue T0 = CurDAG->getCopyToReg(Sub0, dl, Reg0, Sub0, in tryInlineAsm() 263 SDValue T0 = CurDAG->getCopyFromReg(Chain, dl, Reg0, MVT::i32, in tryInlineAsm()
|
/external/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 143 unsigned Reg0 = HasDef ? MI.getOperand(0).getReg() : 0; in commuteInstructionImpl() local 157 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl() 160 Reg0 = Reg2; in commuteInstructionImpl() 162 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl() 165 Reg0 = Reg1; in commuteInstructionImpl() 179 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
|
/external/llvm/lib/Target/ARM/InstPrinter/ |
D | ARMInstPrinter.cpp | 1476 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwo() local 1479 printRegName(O, Reg0); in printVectorListTwo() 1489 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwoSpaced() local 1492 printRegName(O, Reg0); in printVectorListTwoSpaced() 1544 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwoAllLanes() local 1547 printRegName(O, Reg0); in printVectorListTwoAllLanes() 1591 unsigned Reg0 = MRI.getSubReg(Reg, ARM::dsub_0); in printVectorListTwoSpacedAllLanes() local 1594 printRegName(O, Reg0); in printVectorListTwoSpacedAllLanes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 174 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMInstPrinter.cpp | 1437 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 505 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()
|