Searched defs: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() argument52 explicit ValueOrConst(int64_t c) : value_or_constant(c), is_constant(true) {} in ValueOrConst() argument54 Value value() const { in value()59 int64_t constant() const { in constant()64 bool isConstant() const { return is_constant; } in isConstant()67 union ValueOrConstStorage {73 } value_or_constant;75 bool is_constant;