Searched refs:ValueOrConst (Results 1 – 1 of 1) sorted by relevance
50 struct ValueOrConst { struct51 explicit ValueOrConst(Value v) : value_or_constant(v), is_constant(false) {} in ValueOrConst() function52 explicit ValueOrConst(int64_t c) : value_or_constant(c), is_constant(true) {} in ValueOrConst() function78 llvm::hash_code hash_value(ValueOrConst value) { in hash_value()83 bool operator==(ValueOrConst lhs, ValueOrConst rhs) { in operator ==()92 const ValueOrConst &value) { in operator <<()108 : shape({ValueOrConst{vector}}), is_vector(true) {} in ShapeValue()109 explicit ShapeValue(ValueOrConst vector) : shape({vector}), is_vector(true) { in ShapeValue()116 ValueOrConst vector() const { in vector()121 ArrayRef<ValueOrConst> scalars() const { in scalars()[all …]