Home
last modified time | relevance | path

Searched refs:ValueOrConst (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dsame_shape_propagation.cc50 struct ValueOrConst { struct
51 explicit ValueOrConst(Value v) : value_or_constant(v), is_constant(false) {} in ValueOrConst() function
52 explicit ValueOrConst(int64_t c) : value_or_constant(c), is_constant(true) {} in ValueOrConst() function
78 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 …]