Lines Matching refs:PDLValue

386     PDLValue::Kind kind =  in appendPDLValueKind()
387 TypeSwitch<Type, PDLValue::Kind>(type) in appendPDLValueKind()
389 [](Type) { return PDLValue::Kind::Attribute; }) in appendPDLValueKind()
391 [](Type) { return PDLValue::Kind::Operation; }) in appendPDLValueKind()
394 return PDLValue::Kind::TypeRange; in appendPDLValueKind()
395 return PDLValue::Kind::ValueRange; in appendPDLValueKind()
397 .Case<pdl::TypeType>([](Type) { return PDLValue::Kind::Type; }) in appendPDLValueKind()
398 .Case<pdl::ValueType>([](Type) { return PDLValue::Kind::Value; }); in appendPDLValueKind()
1099 template <typename T, typename Range, PDLValue::Kind kind>
1167 if (read<PDLValue::Kind>() == PDLValue::Kind::Value) { in readValueList()
1243 std::enable_if_t<std::is_class<T>::value && !std::is_same<PDLValue, T>::value,
1249 std::enable_if_t<std::is_same<PDLValue, T>::value, T> readImpl() { in readImpl()
1250 switch (read<PDLValue::Kind>()) { in readImpl()
1251 case PDLValue::Kind::Attribute: in readImpl()
1253 case PDLValue::Kind::Operation: in readImpl()
1255 case PDLValue::Kind::Type: in readImpl()
1257 case PDLValue::Kind::Value: in readImpl()
1259 case PDLValue::Kind::TypeRange: in readImpl()
1261 case PDLValue::Kind::ValueRange: in readImpl()
1280 std::enable_if_t<std::is_same<T, PDLValue::Kind>::value, T> readImpl() { in readImpl()
1281 return static_cast<PDLValue::Kind>(readImpl<ByteCodeField>()); in readImpl()
1319 MutableArrayRef<PDLValue> getResults() { return results; } in getResults()
1336 SmallVector<PDLValue, 16> args; in executeApplyConstraint()
1337 readList<PDLValue>(args); in executeApplyConstraint()
1351 SmallVector<PDLValue, 16> args; in executeApplyRewrite()
1352 readList<PDLValue>(args); in executeApplyRewrite()
1368 for (PDLValue &result : results.getResults()) { in executeApplyRewrite()
1373 assert(result.getKind() == read<PDLValue::Kind>() && in executeApplyRewrite()
1411 PDLValue::Kind valueKind = read<PDLValue::Kind>(); in executeAreRangesEqual()
1416 case PDLValue::Kind::TypeRange: { in executeAreRangesEqual()
1423 case PDLValue::Kind::ValueRange: { in executeAreRangesEqual()
1549 if (read<PDLValue::Kind>() == PDLValue::Kind::Type) { in executeCreateOperation()
1580 template <typename T, typename Range, PDLValue::Kind kind>
1610 switch (read<PDLValue::Kind>()) { in executeForEach()
1611 case PDLValue::Kind::Operation: { in executeForEach()
1666 if (read<PDLValue::Kind>() == PDLValue::Kind::Value) { in executeGetDefiningOp()
1798 if (read<PDLValue::Kind>() == PDLValue::Kind::Value) { in executeGetUsers()
1911 switch (read<PDLValue::Kind>()) { in executeRecordMatch()
1912 case PDLValue::Kind::TypeRange: in executeRecordMatch()
1916 case PDLValue::Kind::ValueRange: in executeRecordMatch()
2068 executeExtract<Operation *, OwningOpRange, PDLValue::Kind::Operation>(); in execute()
2071 executeExtract<Type, TypeRange, PDLValue::Kind::Type>(); in execute()
2074 executeExtract<Value, ValueRange, PDLValue::Kind::Value>(); in execute()