Searched refs:attrOrValue (Results 1 – 1 of 1) sorted by relevance
28 static bool isZero(OpFoldResult attrOrValue) { in isZero() argument29 if (Optional<int64_t> val = getConstantIntValue(attrOrValue)) in isZero()36 static Value getAsValue(OpFoldResult attrOrValue, OpBuilder &builder, in getAsValue() argument38 if (Value val = attrOrValue.dyn_cast<Value>()) in getAsValue()40 auto attr = attrOrValue.get<Attribute>().cast<IntegerAttr>(); in getAsValue()