Lines Matching defs:KindTy
166 enum class KindTy {
188 LoongArchOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {}
190 bool isToken() const override { return Kind == KindTy::Token; }
191 bool isReg() const override { return Kind == KindTy::Register; }
192 bool isImm() const override { return Kind == KindTy::Immediate; }
196 return Kind == KindTy::Register &&
519 assert(Kind == KindTy::Register && "Invalid type access!");
524 assert(Kind == KindTy::Immediate && "Invalid type access!");
529 assert(Kind == KindTy::Token && "Invalid type access!");
542 case KindTy::Immediate:
545 case KindTy::Register:
548 case KindTy::Token:
555 auto Op = std::make_unique<LoongArchOperand>(KindTy::Token);
564 auto Op = std::make_unique<LoongArchOperand>(KindTy::Register);
573 auto Op = std::make_unique<LoongArchOperand>(KindTy::Immediate);