Lines Matching refs:Repr
90 char Repr;
93 OpKind() : Repr(OK_Invalid) {}
95 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; }
96 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; }
98 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; }
99 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; }
102 "Too many integer predicates for the 'Repr' char");
103 OpKind K; K.Repr = OK_Imm+V; return K;
106 bool isReg() const { return Repr == OK_Reg; }
107 bool isFP() const { return Repr == OK_FP; }
108 bool isImm() const { return Repr >= OK_Imm; }
110 unsigned getImmCode() const { assert(isImm()); return Repr-OK_Imm; }