Lines Matching refs:Repr
91 char Repr; member in __anond0ef0c150311::OperandsSignature::OpKind
94 OpKind() : Repr(OK_Invalid) {} in OpKind()
96 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <()
97 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==()
99 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg()
100 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP()
104 OpKind K; K.Repr = OK_Imm+V; return K; in getImm()
107 bool isReg() const { return Repr == OK_Reg; } in isReg()
108 bool isFP() const { return Repr == OK_FP; } in isFP()
109 bool isImm() const { return Repr >= OK_Imm; } in isImm()
111 unsigned getImmCode() const { assert(isImm()); return Repr-OK_Imm; } in getImmCode()