Home
last modified time | relevance | path

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

/external/llvm-project/mlir/test/lib/Rewrite/
DTestPDLByteCode.cpp16 static LogicalResult customSingleEntityConstraint(PDLValue value, in customSingleEntityConstraint()
22 static LogicalResult customMultiEntityConstraint(ArrayRef<PDLValue> values, in customMultiEntityConstraint()
29 static PDLValue customCreate(ArrayRef<PDLValue> args, ArrayAttr constantParams, in customCreate()
36 static void customRewriter(Operation *root, ArrayRef<PDLValue> args, in customRewriter()
/external/llvm-project/mlir/include/mlir/IR/
DPatternMatch.h239 class PDLValue {
245 PDLValue(const PDLValue &other) : impl(other.impl) {} in PDLValue() function
246 PDLValue(std::nullptr_t = nullptr) : impl() {} in impl()
247 PDLValue(Attribute value) : impl(value) {} in PDLValue() function
248 PDLValue(Operation *value) : impl(value) {} in PDLValue() function
249 PDLValue(Type value) : impl(value) {} in PDLValue() function
250 PDLValue(Value value) : impl(value) {} in PDLValue() function
299 inline raw_ostream &operator<<(raw_ostream &os, PDLValue value) {
312 ArrayRef<PDLValue>, ArrayAttr, PatternRewriter &)>;
317 std::function<PDLValue(ArrayRef<PDLValue>, ArrayAttr, PatternRewriter &)>;
[all …]
/external/llvm-project/mlir/lib/Rewrite/
DByteCode.cpp796 std::enable_if_t<std::is_class<T>::value && !std::is_same<PDLValue, T>::value,
802 std::enable_if_t<std::is_same<PDLValue, T>::value, T> readImpl() { in readImpl()
856 SmallVector<PDLValue, 16> args; in execute()
857 readList<PDLValue>(args); in execute()
873 SmallVector<PDLValue, 16> args; in execute()
874 readList<PDLValue>(args); in execute()
935 SmallVector<PDLValue, 16> args; in execute()
936 readList<PDLValue>(args); in execute()
944 PDLValue result = createFn(args, constParams, rewriter); in execute()
/external/llvm-project/mlir/lib/IR/
DPatternMatch.cpp76 void PDLValue::print(raw_ostream &os) { in print()