Lines Matching refs:kind
36 enum Kind { INVALID, UNALLOCATED, CONSTANT, IMMEDIATE, EXPLICIT, ALLOCATED };
40 Kind kind() const { return KindField::decode(value_); }
43 bool Is##name() const { return kind() == type; }
112 explicit InstructionOperand(Kind kind) : value_(KindField::encode(kind)) {}
116 class KindField : public BitField64<Kind, 0, 3> {};
138 DCHECK_EQ(OperandKind, op->kind()); \
143 DCHECK_EQ(OperandKind, op->kind()); \
148 DCHECK_EQ(OperandKind, op.kind()); \
260 DCHECK_EQ(UNALLOCATED, kind());
285 DCHECK_EQ(UNALLOCATED, kind());
291 DCHECK_EQ(UNALLOCATED, kind());
410 LocationOperand(InstructionOperand::Kind operand_kind,
482 DCHECK(ALLOCATED == op->kind() || EXPLICIT == op->kind());
487 DCHECK(ALLOCATED == op->kind() || EXPLICIT == op->kind());
492 DCHECK(ALLOCATED == op.kind() || EXPLICIT == op.kind());
505 ExplicitOperand(LocationKind kind, MachineRepresentation rep, int index);
507 static ExplicitOperand* New(Zone* zone, LocationKind kind,
509 return InstructionOperand::New(zone, ExplicitOperand(kind, rep, index));
518 AllocatedOperand(LocationKind kind, MachineRepresentation rep, int index)
519 : LocationOperand(ALLOCATED, kind, rep, index) {}
521 static AllocatedOperand* New(Zone* zone, LocationKind kind,
523 return InstructionOperand::New(zone, AllocatedOperand(kind, rep, index));
1110 StateValueDescriptor(StateValueKind kind, Zone* zone, MachineType type,
1112 : kind_(kind), type_(type), id_(id), fields_(zone) {}