Home
last modified time | relevance | path

Searched refs:RegKind (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp78 unsigned &RegKind);
781 unsigned RegNo, RegKind; in parseOperand() local
782 if (!matchRegisterName(Parser.getTok(), RegNo, RegKind)) in parseOperand()
787 Operands.push_back(SparcOperand::CreateReg(RegNo, RegKind, S, E)); in parseOperand()
841 unsigned RegKind; in parseSparcAsmOperand() local
842 if (matchRegisterName(Parser.getTok(), RegNo, RegKind)) { in parseSparcAsmOperand()
848 Op = SparcOperand::CreateReg(RegNo, RegKind, S, E); in parseSparcAsmOperand()
936 unsigned &RegKind) in matchRegisterName() argument
940 RegKind = SparcOperand::rk_None; in matchRegisterName()
947 RegKind = SparcOperand::rk_IntReg; in matchRegisterName()
[all …]
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp99 unsigned RegKind : 4; member
165 createMem(MemoryKind MemKind, RegisterKind RegKind, unsigned Base, in createMem() argument
170 Op->Mem.RegKind = RegKind; in createMem()
199 bool isReg(RegisterKind RegKind) const { in isReg()
200 return Kind == KindReg && Reg.Kind == RegKind; in isReg()
241 bool isMem(MemoryKind MemKind, RegisterKind RegKind) const { in isMem()
242 return isMem(MemKind) && Mem.RegKind == RegKind; in isMem()
244 bool isMemDisp12(MemoryKind MemKind, RegisterKind RegKind) const { in isMemDisp12()
245 return isMem(MemKind, RegKind) && inRange(Mem.Disp, 0, 0xfff); in isMemDisp12()
247 bool isMemDisp20(MemoryKind MemKind, RegisterKind RegKind) const { in isMemDisp20()
[all …]
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp586 …bool AddNextRegisterToList(unsigned& Reg, unsigned& RegWidth, RegisterKind RegKind, unsigned Reg1,…
587 …bool ParseAMDGPURegister(RegisterKind& RegKind, unsigned& Reg, unsigned& RegNum, unsigned& RegWidt…
804 bool AMDGPUAsmParser::AddNextRegisterToList(unsigned& Reg, unsigned& RegWidth, RegisterKind RegKind in AddNextRegisterToList() argument
806 switch (RegKind) { in AddNextRegisterToList()
825 bool AMDGPUAsmParser::ParseAMDGPURegister(RegisterKind& RegKind, unsigned& Reg, unsigned& RegNum, u… in ParseAMDGPURegister() argument
832 RegKind = IS_SPECIAL; in ParseAMDGPURegister()
837 RegKind = IS_VGPR; in ParseAMDGPURegister()
840 RegKind = IS_SGPR; in ParseAMDGPURegister()
843 RegKind = IS_TTMP; in ParseAMDGPURegister()
886 if (!ParseAMDGPURegister(RegKind, Reg, RegNum, RegWidth)) in ParseAMDGPURegister()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp331 bool validateMSAIndex(int Val, int RegKind);
562 enum RegKind { enum in __anon62f483b30311::MipsOperand
607 RegKind Kind; /// Bitfield of the kinds it could possibly be
635 static std::unique_ptr<MipsOperand> CreateReg(unsigned Index, RegKind RegKind, in CreateReg() argument
642 Op->RegIdx.Kind = RegKind; in CreateReg()