| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/ |
| X86MCExpr.h | 28 const int64_t RegNo; // All 30 explicit X86MCExpr(int64_t R) : RegNo(R) {} 36 static const X86MCExpr *create(int64_t RegNo, MCContext &Ctx) { 37 return new (Ctx) X86MCExpr(RegNo); 45 int64_t getRegNo() const { return RegNo; } 52 OS << X86ATTInstPrinter::getRegisterName(RegNo);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
| NVPTXRegisterInfo.h | 51 const char *getName(unsigned RegNo) const { 53 O << "reg" << RegNo;
|
| NVPTXAsmPrinter.cpp | 510 Register RegNo = MI->getOperand(0).getReg(); 511 if (Register::isVirtualRegister(RegNo)) { 513 getVirtualRegisterName(RegNo)); 517 STI.getRegisterInfo()->getName(RegNo));
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| WebAssemblyInstPrinter.cpp | 42 unsigned RegNo) const { 43 assert(RegNo != WebAssemblyFunctionInfo::UnusedReg); 45 OS << "$" << RegNo;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/AsmParser/ |
| BPFAsmParser.cpp | 41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 42 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 206 static std::unique_ptr<BPFOperand> createReg(unsigned RegNo, SMLoc S, 209 Op->Reg.RegNum = RegNo; 325 bool BPFAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, 327 if (tryParseRegister(RegNo, StartLoc, EndLoc) != MatchOperand_Success) 332 OperandMatchResultTy BPFAsmParser::tryParseRegister(unsigned &RegNo, 338 RegNo = 0; 424 unsigned RegNo = MatchRegisterName(Name); 426 if (RegNo == 0 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| PPCInstPrinter.cpp | 50 void PPCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { 51 const char *RegName = getRegisterName(RegNo); 490 unsigned RegNo; 493 case PPC::CR0: RegNo = 0; break; 494 case PPC::CR1: RegNo = 1; break; 495 case PPC::CR2: RegNo = 2; break; 496 case PPC::CR3: RegNo = 3; break; 497 case PPC::CR4: RegNo = 4; break; 498 case PPC::CR5: RegNo = 5; break; 499 case PPC::CR6: RegNo = 6; break [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/ |
| CSKYAsmParser.cpp | 45 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 52 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 233 static std::unique_ptr<CSKYOperand> createReg(unsigned RegNo, SMLoc S, 236 Op->Reg.RegNum = RegNo; 384 // alternative ABI names), setting RegNo to the matching register. Upon 385 // failure, returns true and sets RegNo to 0. 386 static bool matchRegisterNameHelper(MCRegister &RegNo, StringRef Name) { 387 RegNo = MatchRegisterName(Name); 389 if (RegNo == CSKY::NoRegister) 390 RegNo = MatchRegisterAltName(Name) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/ |
| MSP430AsmParser.cpp | 47 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 48 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 189 void setReg(unsigned RegNo) { 191 Reg = RegNo; 290 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, 292 switch (tryParseRegister(RegNo, StartLoc, EndLoc)) { 304 OperandMatchResultTy MSP430AsmParser::tryParseRegister(unsigned &RegNo, 309 RegNo = MatchRegisterName(Name); 310 if (RegNo == MSP430::NoRegister) { 311 RegNo = MatchRegisterAltName(Name) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/ |
| MipsMCCodeEmitter.cpp | 739 unsigned RegNo = Ctx.getRegisterInfo()->getEncodingValue(Reg); 740 return RegNo; 1048 unsigned RegNo = Ctx.getRegisterInfo()->getEncodingValue(Reg); 1049 if (RegNo != 31)
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyAsmPrinter.cpp | 60 MVT WebAssemblyAsmPrinter::getRegType(unsigned RegNo) const { 62 const TargetRegisterClass *TRC = MRI->getRegClass(RegNo); 67 LLVM_DEBUG(errs() << "Unknown type for register number: " << RegNo); 73 Register RegNo = MO.getReg(); 74 assert(Register::isVirtualRegister(RegNo) && 76 assert(!MFI->isVRegStackified(RegNo)); 77 unsigned WAReg = MFI->getWAReg(RegNo);
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
| BenchmarkResult.cpp | 53 // Special-case RegNo 0, which would otherwise be spelled as ''. 90 StringRef getRegName(unsigned RegNo) { 91 // Special case: RegNo 0 is NoRegister. We have to deal with it explicitly. 92 if (RegNo == 0) 94 const StringRef RegName = State->getRegInfo().getName(RegNo); 96 ErrorStream << "No register with enum value '" << RegNo << "'\n"; 152 if (auto RegNo = getRegNo(String)) 153 return MCOperand::createReg(*RegNo); 267 Optional<unsigned> RegNo; 268 if (Pieces.size() == 2 && (RegNo = Context.getRegNo(Pieces[0]))) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| MachineOperand.h | 159 unsigned RegNo; // For MO_Register. 183 // Register number is in SmallContents.RegNo. 362 return Register(SmallContents.RegNo); 810 Op.SmallContents.RegNo = Reg;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ |
| ARMMCCodeEmitter.cpp | 557 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg); 566 return RegNo; 570 return RegNo; 575 return 2 * RegNo; 1726 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg); 1728 Binary |= (RegNo & 0x1f) << 8; 1745 unsigned RegNo = MRI.getEncodingValue(MI.getOperand(I).getReg()); 1746 Binary |= 1 << RegNo; 1762 unsigned RegNo = CTX.getRegisterInfo()->getEncodingValue(Reg.getReg()); 1774 return RegNo | (Align << 4) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/ |
| AVRAsmParser.cpp | 54 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 55 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 226 void makeReg(unsigned RegNo) { 228 RegImm = {RegNo, nullptr}; 236 void makeMemri(unsigned RegNo, MCExpr const *Imm) { 238 RegImm = {RegNo, Imm}; 390 int RegNo = parseRegister(); 392 if (RegNo == AVR::NoRegister) 396 Operands.push_back(AVROperand::CreateReg(RegNo, T.getLoc(), T.getEndLoc())); 561 int RegNo; [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/ |
| VarLocBasedImpl.cpp | 346 uint64_t RegNo; 440 Loc.RegNo = Op.getReg(); 464 VL.Locs[0].Value.RegNo = Reg; 495 VL.Locs[0].Value.RegNo = NewReg; 507 VL.Locs[I].Value.RegNo = NewReg; 556 : Register(Loc.RegNo), 621 RegML.Value.RegNo = Reg; 629 Locs[Idx].Value.RegNo == Reg) 640 Regs.push_back(Loc.Value.RegNo); 686 Out << printReg(MLoc.Value.RegNo, TRI) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/AsmParser/ |
| SparcAsmParser.cpp | 70 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 71 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 102 // returns true if Tok is matched to a register and returns register in RegNo. 103 bool matchRegisterName(const AsmToken &Tok, unsigned &RegNo, 682 bool SparcAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, 684 if (tryParseRegister(RegNo, StartLoc, EndLoc) != MatchOperand_Success) 689 OperandMatchResultTy SparcAsmParser::tryParseRegister(unsigned &RegNo, 695 RegNo = 0; 700 if (matchRegisterName(Tok, RegNo, regKind)) { 948 unsigned RegNo, RegKind [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/ |
| X86Operand.h | 45 unsigned RegNo; 119 OS << "Reg:" << X86IntelInstPrinter::getRegisterName(Reg.RegNo); 161 return Reg.RegNo; 524 MCRegister RegNo = getReg(); 525 if (X86MCRegisterClasses[X86::GR64RegClassID].contains(RegNo)) 526 RegNo = getX86SubSuperRegister(RegNo, 32); 527 Inst.addOperand(MCOperand::createReg(RegNo)); 532 MCRegister RegNo = getReg(); 533 if (X86MCRegisterClasses[X86::GR32RegClassID].contains(RegNo) || [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| X86FloatingPoint.cpp | 184 unsigned getSlot(unsigned RegNo) const { 185 assert(RegNo < NumFPRegs && "Regno out of range!"); 186 return RegMap[RegNo]; 189 /// isLive - Is RegNo currently live in the stack? 190 bool isLive(unsigned RegNo) const { 191 unsigned Slot = getSlot(RegNo); 192 return Slot < StackTop && Stack[Slot] == RegNo; 203 /// FP<RegNo> register. 204 unsigned getSTReg(unsigned RegNo) const [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| RegisterInfoEmitter.cpp | 484 int RegNo = DwarfRegNum.second[i]; 485 if (RegNo == -1) // -1 is the default value, don't emit a mapping. 488 OS << " { " << getQualifiedName(DwarfRegNum.first) << ", " << RegNo
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| AMDGPUInstPrinter.cpp | 33 void AMDGPUInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { 46 OS << RegNo; 341 void AMDGPUInstPrinter::printRegOperand(unsigned RegNo, raw_ostream &O, 344 switch (RegNo) { 356 StringRef RegName(getRegisterName(RegNo));
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/ |
| PPCAsmParser.cpp | 106 bool MatchRegisterName(unsigned &RegNo, int64_t &IntVal); 108 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 109 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 1189 bool PPCAsmParser::MatchRegisterName(unsigned &RegNo, int64_t &IntVal) { 1198 RegNo = isPPC64() ? PPC::LR8 : PPC::LR; 1201 RegNo = isPPC64() ? PPC::CTR8 : PPC::CTR; 1204 RegNo = PPC::VRSAVE; 1208 RegNo = isPPC64() ? XRegs[IntVal] : RRegs[IntVal]; 1211 RegNo = FRegs[IntVal]; 1214 RegNo = VSRegs[IntVal] [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/ |
| SystemZAsmParser.cpp | 485 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 486 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc, 488 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 929 unsigned RegNo; 932 RegNo = SystemZMC::GR64Regs[Reg.Num]; 936 RegNo = SystemZMC::FP64Regs[Reg.Num]; 940 RegNo = SystemZMC::VR128Regs[Reg.Num]; 944 RegNo = SystemZMC::AR32Regs[Reg.Num]; 948 RegNo = SystemZMC::CR64Regs[Reg.Num]; 954 Operands.push_back(SystemZOperand::createReg(Kind, RegNo, [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/ |
| VEAsmParser.cpp | 57 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 59 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, 796 bool VEAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, 798 if (tryParseRegister(RegNo, StartLoc, EndLoc) != MatchOperand_Success) 828 VEAsmParser::tryParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) { 832 RegNo = 0; 837 RegNo = parseRegisterName(&MatchRegisterName); 838 if (RegNo == VE::NoRegister) 839 RegNo = parseRegisterName(&MatchRegisterAltName); 841 if (RegNo != VE::NoRegister) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonFrameLowering.cpp | 250 unsigned RegNo = 0; 253 if (*SubRegs > RegNo) 254 RegNo = *SubRegs; 256 if (!RegNo || *SubRegs < RegNo) 257 RegNo = *SubRegs; 260 return RegNo;
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| AsmPrinter.cpp | 891 Register RegNo = MI->getOperand(0).getReg(); 896 << printReg(RegNo, MF->getSubtarget().getRegisterInfo());
|