Lines Matching refs:KindTy

252   enum class KindTy {  enum
294 RISCVOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {} in RISCVOperand()
303 case KindTy::Register: in RISCVOperand()
306 case KindTy::Immediate: in RISCVOperand()
309 case KindTy::Token: in RISCVOperand()
312 case KindTy::SystemRegister: in RISCVOperand()
315 case KindTy::VType: in RISCVOperand()
321 bool isToken() const override { return Kind == KindTy::Token; } in isToken()
322 bool isReg() const override { return Kind == KindTy::Register; } in isReg()
324 return Kind == KindTy::Register && Reg.RegNum == RISCV::V0; in isV0Reg()
326 bool isImm() const override { return Kind == KindTy::Immediate; } in isImm()
328 bool isSystemRegister() const { return Kind == KindTy::SystemRegister; } in isSystemRegister()
329 bool isVType() const { return Kind == KindTy::VType; } in isVType()
332 return Kind == KindTy::Register && in isGPR()
714 assert(Kind == KindTy::Register && "Invalid type access!"); in getReg()
719 assert(Kind == KindTy::SystemRegister && "Invalid access!"); in getSysReg()
724 assert(Kind == KindTy::Immediate && "Invalid type access!"); in getImm()
729 assert(Kind == KindTy::Token && "Invalid type access!"); in getToken()
776 assert(Kind == KindTy::VType && "Invalid access!"); in getVType()
786 case KindTy::Immediate: in print()
789 case KindTy::Register: in print()
793 case KindTy::Token: in print()
796 case KindTy::SystemRegister: in print()
799 case KindTy::VType: in print()
808 auto Op = std::make_unique<RISCVOperand>(KindTy::Token); in createToken()
818 auto Op = std::make_unique<RISCVOperand>(KindTy::Register); in createReg()
828 auto Op = std::make_unique<RISCVOperand>(KindTy::Immediate); in createImm()
838 auto Op = std::make_unique<RISCVOperand>(KindTy::SystemRegister); in createSysReg()
850 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType()