Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DPatternMatch.h1172 buildConstraintFn(ConstraintFnT &&constraintFn) {
1173 return std::forward<ConstraintFnT>(constraintFn);
1181 buildConstraintFn(ConstraintFnT &&constraintFn) {
1182 return [constraintFn = std::forward<ConstraintFnT>(constraintFn)](
1189 return processArgsAndInvokeConstraint(constraintFn, rewriter, values,
1298 PDLConstraintFunction constraintFn);
1301 ConstraintFnT &&constraintFn) {
1304 std::forward<ConstraintFnT>(constraintFn)));
/llvm-project-15.0.7/mlir/lib/IR/
H A DPatternMatch.cpp183 StringRef name, PDLConstraintFunction constraintFn) { in registerConstraintFunction() argument
188 constraintFunctions.try_emplace(name, std::move(constraintFn)); in registerConstraintFunction()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpDefinitionsGen.cpp724 Optional<StringRef> constraintFn; in genAttributeVerifier() local
726 (constraintFn = staticVerifierEmitter.getAttrConstraintFn(attr))) { in genAttributeVerifier()
727 body << formatv(verifyAttrUnique, *constraintFn, varName, attrName); in genAttributeVerifier()
2592 StringRef constraintFn = in genOperandResultVerifier() local
2594 body << formatv(verifyValues, staticValue.index(), constraintFn, valueKind); in genOperandResultVerifier()
2635 auto constraintFn = in genRegionVerifier() local
2637 body << formatv(verifyRegion, getRegion, constraintFn, region.name); in genRegionVerifier()
2672 auto constraintFn = in genSuccessorVerifier() local
2674 body << formatv(verifySuccessor, getSuccessor, constraintFn, in genSuccessorVerifier()
/llvm-project-15.0.7/mlir/lib/Rewrite/
H A DByteCode.cpp1335 const PDLConstraintFunction &constraintFn = constraintFunctions[read()]; in executeApplyConstraint() local
1345 selectJump(succeeded(constraintFn(rewriter, args))); in executeApplyConstraint()