/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/Disassembler/ |
D | PPCDisassembler.cpp | 75 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass() argument 77 assert(RegNo < N && "Invalid register number"); in decodeRegisterClass() 78 Inst.addOperand(MCOperand::createReg(Regs[RegNo])); in decodeRegisterClass() 82 static DecodeStatus DecodeCRRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCRRCRegisterClass() argument 85 return decodeRegisterClass(Inst, RegNo, CRRegs); in DecodeCRRCRegisterClass() 88 static DecodeStatus DecodeCRBITRCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeCRBITRCRegisterClass() argument 91 return decodeRegisterClass(Inst, RegNo, CRBITRegs); in DecodeCRBITRCRegisterClass() 94 static DecodeStatus DecodeF4RCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeF4RCRegisterClass() argument 97 return decodeRegisterClass(Inst, RegNo, FRegs); in DecodeF4RCRegisterClass() 100 static DecodeStatus DecodeF8RCRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeF8RCRegisterClass() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineRegisterInfo.h | 110 MachineOperand *&getRegUseDefListHead(Register RegNo) { in getRegUseDefListHead() argument 111 if (RegNo.isVirtual()) in getRegUseDefListHead() 112 return VRegInfo[RegNo.id()].second; in getRegUseDefListHead() 113 return PhysRegUseDefLists[RegNo.id()]; in getRegUseDefListHead() 116 MachineOperand *getRegUseDefListHead(Register RegNo) const { in getRegUseDefListHead() argument 117 if (RegNo.isVirtual()) in getRegUseDefListHead() 118 return VRegInfo[RegNo.id()].second; in getRegUseDefListHead() 119 return PhysRegUseDefLists[RegNo.id()]; in getRegUseDefListHead() 281 reg_iterator reg_begin(unsigned RegNo) const { in reg_begin() argument 282 return reg_iterator(getRegUseDefListHead(RegNo)); in reg_begin() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/Disassembler/ |
D | HexagonDisassembler.cpp | 96 static DecodeStatus DecodeIntRegsRegisterClass(MCInst &Inst, unsigned RegNo, 100 unsigned RegNo, 103 static DecodeStatus DecodeIntRegsLow8RegisterClass(MCInst &Inst, unsigned RegNo, 106 static DecodeStatus DecodeHvxVRRegisterClass(MCInst &Inst, unsigned RegNo, 109 static DecodeStatus DecodeDoubleRegsRegisterClass(MCInst &Inst, unsigned RegNo, 113 DecodeGeneralDoubleLow8RegsRegisterClass(MCInst &Inst, unsigned RegNo, 115 static DecodeStatus DecodeHvxWRRegisterClass(MCInst &Inst, unsigned RegNo, 119 unsigned RegNo, 122 static DecodeStatus DecodePredRegsRegisterClass(MCInst &Inst, unsigned RegNo, 125 static DecodeStatus DecodeHvxQRRegisterClass(MCInst &Inst, unsigned RegNo, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Disassembler/ |
D | AArch64Disassembler.cpp | 41 unsigned RegNo, uint64_t Address, 44 unsigned RegNo, 47 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, unsigned RegNo, 50 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, unsigned RegNo, 53 static DecodeStatus DecodeFPR16RegisterClass(MCInst &Inst, unsigned RegNo, 56 static DecodeStatus DecodeFPR8RegisterClass(MCInst &Inst, unsigned RegNo, 59 static DecodeStatus DecodeGPR64commonRegisterClass(MCInst &Inst, unsigned RegNo, 62 static DecodeStatus DecodeGPR64RegisterClass(MCInst &Inst, unsigned RegNo, 66 unsigned RegNo, uint64_t Address, 68 static DecodeStatus DecodeGPR32RegisterClass(MCInst &Inst, unsigned RegNo, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/Disassembler/ |
D | RISCVDisassembler.cpp | 59 static DecodeStatus DecodeGPRRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGPRRegisterClass() argument 68 if (RegNo >= 32 || (IsRV32E && RegNo >= 16)) in DecodeGPRRegisterClass() 71 Register Reg = RISCV::X0 + RegNo; in DecodeGPRRegisterClass() 76 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFPR32RegisterClass() argument 79 if (RegNo >= 32) in DecodeFPR32RegisterClass() 82 Register Reg = RISCV::F0_F + RegNo; in DecodeFPR32RegisterClass() 87 static DecodeStatus DecodeFPR32CRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFPR32CRegisterClass() argument 90 if (RegNo >= 8) { in DecodeFPR32CRegisterClass() 93 Register Reg = RISCV::F8_F + RegNo; in DecodeFPR32CRegisterClass() 98 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeFPR64RegisterClass() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/Disassembler/ |
D | SystemZDisassembler.cpp | 82 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo, in decodeRegisterClass() argument 84 assert(RegNo < Size && "Invalid register"); in decodeRegisterClass() 85 RegNo = Regs[RegNo]; in decodeRegisterClass() 86 if (RegNo == 0) in decodeRegisterClass() 88 Inst.addOperand(MCOperand::createReg(RegNo)); in decodeRegisterClass() 92 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR32BitRegisterClass() argument 95 return decodeRegisterClass(Inst, RegNo, SystemZMC::GR32Regs, 16); in DecodeGR32BitRegisterClass() 98 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGRH32BitRegisterClass() argument 101 return decodeRegisterClass(Inst, RegNo, SystemZMC::GRH32Regs, 16); in DecodeGRH32BitRegisterClass() 104 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, in DecodeGR64BitRegisterClass() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/Disassembler/ |
D | SparcDisassembler.cpp | 146 unsigned RegNo, in DecodeIntRegsRegisterClass() argument 149 if (RegNo > 31) in DecodeIntRegsRegisterClass() 151 unsigned Reg = IntRegDecoderTable[RegNo]; in DecodeIntRegsRegisterClass() 157 unsigned RegNo, in DecodeI64RegsRegisterClass() argument 160 if (RegNo > 31) in DecodeI64RegsRegisterClass() 162 unsigned Reg = IntRegDecoderTable[RegNo]; in DecodeI64RegsRegisterClass() 169 unsigned RegNo, in DecodeFPRegsRegisterClass() argument 172 if (RegNo > 31) in DecodeFPRegsRegisterClass() 174 unsigned Reg = FPRegDecoderTable[RegNo]; in DecodeFPRegsRegisterClass() 181 unsigned RegNo, in DecodeDFPRegsRegisterClass() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 70 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 96 bool matchRegisterName(const AsmToken &Tok, unsigned &RegNo, 631 bool SparcAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument 636 RegNo = 0; in ParseRegister() 641 if (matchRegisterName(Tok, RegNo, regKind)) { in ParseRegister() 824 unsigned RegNo, RegKind; in parseOperand() local 825 if (!matchRegisterName(Parser.getTok(), RegNo, RegKind)) in parseOperand() 830 Operands.push_back(SparcOperand::CreateReg(RegNo, RegKind, S, E)); in parseOperand() 882 unsigned RegNo; in parseSparcAsmOperand() local 884 if (matchRegisterName(Parser.getTok(), RegNo, RegKind)) { in parseSparcAsmOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/Disassembler/ |
D | MipsDisassembler.cpp | 83 unsigned RegNo, 88 unsigned RegNo, 93 unsigned RegNo, 98 unsigned RegNo, 103 unsigned RegNo, 108 unsigned RegNo, 118 unsigned RegNo, 123 unsigned RegNo, 128 unsigned RegNo, 133 unsigned RegNo, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCExpr.h | 28 const int64_t RegNo; // All 30 explicit X86MCExpr(int64_t R) : RegNo(R) {} in X86MCExpr() 36 static const X86MCExpr *create(int64_t RegNo, MCContext &Ctx) { in create() argument 37 return new (Ctx) X86MCExpr(RegNo); in create() 45 int64_t getRegNo() const { return RegNo; } in getRegNo() 52 OS << X86ATTInstPrinter::getRegisterName(RegNo); in printImpl()
|
D | X86BaseInfo.h | 1096 inline bool isX86_64ExtendedReg(unsigned RegNo) { in isX86_64ExtendedReg() argument 1097 if ((RegNo >= X86::XMM8 && RegNo <= X86::XMM31) || in isX86_64ExtendedReg() 1098 (RegNo >= X86::YMM8 && RegNo <= X86::YMM31) || in isX86_64ExtendedReg() 1099 (RegNo >= X86::ZMM8 && RegNo <= X86::ZMM31)) in isX86_64ExtendedReg() 1102 switch (RegNo) { in isX86_64ExtendedReg() 1123 static inline bool is32ExtendedReg(unsigned RegNo) { in is32ExtendedReg() argument 1124 return ((RegNo >= X86::XMM16 && RegNo <= X86::XMM31) || in is32ExtendedReg() 1125 (RegNo >= X86::YMM16 && RegNo <= X86::YMM31) || in is32ExtendedReg() 1126 (RegNo >= X86::ZMM16 && RegNo <= X86::ZMM31)); in is32ExtendedReg()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/ |
D | MSP430AsmParser.cpp | 48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 188 void setReg(unsigned RegNo) { in setReg() argument 190 Reg = RegNo; in setReg() 289 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument 293 RegNo = MatchRegisterName(Name); in ParseRegister() 294 if (RegNo == MSP430::NoRegister) { in ParseRegister() 295 RegNo = MatchRegisterAltName(Name); in ParseRegister() 296 if (RegNo == MSP430::NoRegister) in ParseRegister() 440 unsigned RegNo; in ParseOperand() local 442 if (!ParseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 68 unsigned RegNo = unsigned(Reg); in contains() local 69 unsigned InByte = RegNo % 8; in contains() 70 unsigned Byte = RegNo / 8; in contains() 439 const MCRegisterDesc &operator[](MCRegister RegNo) const { 440 assert(RegNo < NumRegs && 442 return Desc[RegNo]; 447 const MCRegisterDesc &get(MCRegister RegNo) const { in get() argument 448 return operator[](RegNo); in get() 464 unsigned getSubRegIndex(MCRegister RegNo, MCRegister SubRegNo) const; 478 const char *getName(MCRegister RegNo) const { in getName() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsTargetStreamer.h | 51 virtual void emitDirectiveSetAtWithArg(unsigned RegNo); 93 virtual void emitDirectiveCpLoad(unsigned RegNo); 94 virtual void emitDirectiveCpLocal(unsigned RegNo); 98 virtual void emitDirectiveCpsetup(unsigned RegNo, int RegOrOffset, 230 void emitDirectiveSetAtWithArg(unsigned RegNo) override; 272 void emitDirectiveCpLoad(unsigned RegNo) override; 273 void emitDirectiveCpLocal(unsigned RegNo) override; 284 void emitDirectiveCpsetup(unsigned RegNo, int RegOrOffset, 344 void emitDirectiveCpLoad(unsigned RegNo) override; 345 void emitDirectiveCpLocal(unsigned RegNo) override; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DbgEntityHistoryCalculator.cpp | 112 static void dropRegDescribedVar(RegDescribedVarsMap &RegVars, unsigned RegNo, in dropRegDescribedVar() argument 114 const auto &I = RegVars.find(RegNo); in dropRegDescribedVar() 115 assert(RegNo != 0U && I != RegVars.end()); in dropRegDescribedVar() 126 static void addRegDescribedVar(RegDescribedVarsMap &RegVars, unsigned RegNo, in addRegDescribedVar() argument 128 assert(RegNo != 0U); in addRegDescribedVar() 129 auto &VarSet = RegVars[RegNo]; in addRegDescribedVar() 136 static void clobberRegEntries(InlinedEntity Var, unsigned RegNo, in clobberRegEntries() argument 147 if (isDescribedByReg(*Entry.getInstr()) == RegNo) { in clobberRegEntries() 221 static void clobberRegisterUses(RegDescribedVarsMap &RegVars, unsigned RegNo, in clobberRegisterUses() argument 225 const auto &I = RegVars.find(RegNo); in clobberRegisterUses()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIInsertWaitcnts.cpp | 515 for (signed RegNo = Interval.first; RegNo < Interval.second; ++RegNo) { in setExpScore() local 516 setRegScore(RegNo, EXP_CNT, Val); in setExpScore() 645 for (signed RegNo = Interval.first; RegNo < Interval.second; in updateByEvent() 646 ++RegNo) { in updateByEvent() 647 setRegScore(RegNo + NUM_ALL_VGPRS, t, CurrScore); in updateByEvent() 656 for (signed RegNo = Interval.first; RegNo < Interval.second; ++RegNo) { in updateByEvent() local 657 setRegScore(RegNo, T, CurrScore); in updateByEvent() 960 for (signed RegNo = CallAddrOpInterval.first; in generateWaitcntInstBefore() local 961 RegNo < CallAddrOpInterval.second; ++RegNo) in generateWaitcntInstBefore() 963 LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait); in generateWaitcntInstBefore() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/ |
D | BPFAsmParser.cpp | 41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 204 static std::unique_ptr<BPFOperand> createReg(unsigned RegNo, SMLoc S, in createReg() 207 Op->Reg.RegNum = RegNo; in createReg() 323 bool BPFAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument 328 RegNo = 0; in ParseRegister() 414 unsigned RegNo = MatchRegisterName(Name); in parseRegister() local 416 if (RegNo == 0) in parseRegister() 420 Operands.push_back(BPFOperand::createReg(RegNo, S, E)); in parseRegister() 455 unsigned RegNo = MatchRegisterName(Name); in ParseInstruction() local 457 if (RegNo != 0) { in ParseInstruction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCInstPrinter.cpp | 50 void PPCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { in printRegName() 51 const char *RegName = getRegisterName(RegNo); in printRegName() 428 unsigned RegNo; in printcrbitm() local 431 case PPC::CR0: RegNo = 0; break; in printcrbitm() 432 case PPC::CR1: RegNo = 1; break; in printcrbitm() 433 case PPC::CR2: RegNo = 2; break; in printcrbitm() 434 case PPC::CR3: RegNo = 3; break; in printcrbitm() 435 case PPC::CR4: RegNo = 4; break; in printcrbitm() 436 case PPC::CR5: RegNo = 5; break; in printcrbitm() 437 case PPC::CR6: RegNo = 6; break; in printcrbitm() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 918 bool parseSEHRegisterNumber(unsigned RegClassID, unsigned &RegNo); 955 bool OmitRegisterFromClobberLists(unsigned RegNo) override; 1025 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 1132 bool X86AsmParser::ParseRegister(unsigned &RegNo, in ParseRegister() argument 1135 RegNo = 0; in ParseRegister() 1153 RegNo = MatchRegisterName(Tok.getString()); in ParseRegister() 1156 if (RegNo == 0) in ParseRegister() 1157 RegNo = MatchRegisterName(Tok.getString().lower()); in ParseRegister() 1162 (RegNo == X86::EFLAGS || RegNo == X86::MXCSR)) in ParseRegister() 1163 RegNo = 0; in ParseRegister() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/ |
D | AVRAsmParser.cpp | 55 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 225 void makeReg(unsigned RegNo) { in makeReg() argument 227 RegImm = {RegNo, nullptr}; in makeReg() 235 void makeMemri(unsigned RegNo, MCExpr const *Imm) { in makeMemri() argument 237 RegImm = {RegNo, Imm}; in makeMemri() 383 int RegNo = parseRegister(); in tryParseRegisterOperand() local 385 if (RegNo == AVR::NoRegister) in tryParseRegisterOperand() 389 Operands.push_back(AVROperand::CreateReg(RegNo, T.getLoc(), T.getEndLoc())); in tryParseRegisterOperand() 554 int RegNo; in parseMemriOperand() local 558 RegNo = parseRegister(); in parseMemriOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/Disassembler/ |
D | BPFDisassembler.cpp | 100 static DecodeStatus DecodeGPRRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeGPRRegisterClass() argument 103 if (RegNo > 11) in DecodeGPRRegisterClass() 106 unsigned Reg = GPRDecoderTable[RegNo]; in DecodeGPRRegisterClass() 115 static DecodeStatus DecodeGPR32RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeGPR32RegisterClass() argument 118 if (RegNo > 11) in DecodeGPR32RegisterClass() 121 unsigned Reg = GPR32DecoderTable[RegNo]; in DecodeGPR32RegisterClass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsTargetStreamer.cpp | 65 void MipsTargetStreamer::emitDirectiveSetAtWithArg(unsigned RegNo) { in emitDirectiveSetAtWithArg() argument 112 void MipsTargetStreamer::emitDirectiveCpLoad(unsigned RegNo) {} in emitDirectiveCpLoad() argument 113 void MipsTargetStreamer::emitDirectiveCpLocal(unsigned RegNo) { in emitDirectiveCpLocal() argument 126 GPReg = RegNo; in emitDirectiveCpLocal() 136 void MipsTargetStreamer::emitDirectiveCpsetup(unsigned RegNo, int RegOrOffset, in emitDirectiveCpsetup() argument 465 void MipsTargetAsmStreamer::emitDirectiveSetAtWithArg(unsigned RegNo) { in emitDirectiveSetAtWithArg() argument 466 OS << "\t.set\tat=$" << Twine(RegNo) << "\n"; in emitDirectiveSetAtWithArg() 467 MipsTargetStreamer::emitDirectiveSetAtWithArg(RegNo); in emitDirectiveSetAtWithArg() 653 void MipsTargetAsmStreamer::emitDirectiveCpLoad(unsigned RegNo) { in emitDirectiveCpLoad() argument 655 << StringRef(MipsInstPrinter::getRegisterName(RegNo)).lower() << "\n"; in emitDirectiveCpLoad() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64InstPrinter.h | 30 void printRegName(raw_ostream &OS, unsigned RegNo) const override; 42 virtual StringRef getRegName(unsigned RegNo) const { in getRegName() argument 43 return getRegisterName(RegNo); in getRegName() 46 static const char *getRegisterName(unsigned RegNo, 212 StringRef getRegName(unsigned RegNo) const override { in getRegName() argument 213 return getRegisterName(RegNo); in getRegName() 216 static const char *getRegisterName(unsigned RegNo,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/ |
D | RISCVInstPrinter.cpp | 81 void RISCVInstPrinter::printRegName(raw_ostream &O, unsigned RegNo) const { in printRegName() 82 O << getRegisterName(RegNo); in printRegName() 153 const char *RISCVInstPrinter::getRegisterName(unsigned RegNo) { in getRegisterName() argument 154 return getRegisterName(RegNo, ArchRegNames ? RISCV::NoRegAltName in getRegisterName()
|
D | RISCVInstPrinter.h | 32 void printRegName(raw_ostream &O, unsigned RegNo) const override; 53 static const char *getRegisterName(unsigned RegNo); 54 static const char *getRegisterName(unsigned RegNo, unsigned AltIdx);
|