Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DExtensibleDialect.h397 void setFoldHookFn(OperationName::FoldHookFn &&foldHook) { in setFoldHookFn() argument
398 foldHookFn = std::move(foldHook); in setFoldHookFn()
H A DOperationSupport.h277 FoldHookFn &&foldHook,
332 LogicalResult foldHook(Operation *op, ArrayRef<Attribute> operands, in foldHook() function
H A DOpDefinition.h1785 return foldHook<ConcreteOpT>(op, operands, results);
1823 static LogicalResult foldHook(Operation *op, ArrayRef<Attribute> operands,
/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp718 VerifyRegionInvariantsFn &&verifyRegionInvariants, FoldHookFn &&foldHook, in insert() argument
769 impl.foldHookFn = std::move(foldHook); in insert()
H A DOperation.cpp491 if (info && succeeded(info->foldHook(this, operands, results))) in fold()
/llvm-project-15.0.7/mlir/docs/
H A DDefiningDialects.md410 // General folder implementation, see AbstractOperation::foldHook for more