Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Rewrite/
DByteCode.cpp129 enum class PDLValueKind { Attribute, Operation, Type, Value }; enum
296 PDLValueKind kind = in appendPDLValueList()
297 TypeSwitch<Type, PDLValueKind>(value.getType()) in appendPDLValueList()
299 [](Type) { return PDLValueKind::Attribute; }) in appendPDLValueList()
301 [](Type) { return PDLValueKind::Operation; }) in appendPDLValueList()
302 .Case<pdl::TypeType>([](Type) { return PDLValueKind::Type; }) in appendPDLValueList()
303 .Case<pdl::ValueType>([](Type) { return PDLValueKind::Value; }); in appendPDLValueList()
803 switch (static_cast<PDLValueKind>(read())) { in readImpl()
804 case PDLValueKind::Attribute: in readImpl()
806 case PDLValueKind::Operation: in readImpl()
[all …]