reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
95 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } 95 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } 96 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; } 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; }