Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Affine/Utils/
DUtils.cpp28 static void promoteIfBlock(AffineIfOp ifOp, bool elseBlock) { in promoteIfBlock()
44 static Operation *getOutermostInvariantForOp(AffineIfOp ifOp) { in getOutermostInvariantForOp()
57 } else if (!isa<AffineIfOp>(parentOp)) { in getOutermostInvariantForOp()
70 static AffineIfOp hoistAffineIfOp(AffineIfOp ifOp, Operation *hoistOverOp) { in hoistAffineIfOp()
82 auto hoistedIfOp = b.create<AffineIfOp>(ifOp.getLoc(), ifOp.getIntegerSet(), in hoistAffineIfOp()
108 AffineIfOp ifCloneInElse; in hoistAffineIfOp()
109 hoistOverOpClone->walk([&](AffineIfOp ifClone) { in hoistAffineIfOp()
180 LogicalResult mlir::hoistAffineIfOp(AffineIfOp ifOp, bool *folded) { in hoistAffineIfOp()
192 AffineIfOp::getCanonicalizationPatterns(patterns, ifOp.getContext()); in hoistAffineIfOp()
216 AffineIfOp hoistedIfOp = ::hoistAffineIfOp(ifOp, hoistOverOp); in hoistAffineIfOp()
/external/llvm-project/mlir/include/mlir/Dialect/Affine/
DUtils.h23 class AffineIfOp; variable
37 LogicalResult hoistAffineIfOp(AffineIfOp ifOp, bool *folded = nullptr);
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DAffineLoopInvariantCodeMotion.cpp75 if (isa<AffineIfOp>(op)) { in isOpLoopInvariant()
175 assert(isa<AffineIfOp>(op)); in checkInvarianceOfNestedIfOps()
176 auto ifOp = cast<AffineIfOp>(op); in checkInvarianceOfNestedIfOps()
DSimplifyAffineStructures.cpp84 AffineIfOp::getCanonicalizationPatterns(patterns, func.getContext()); in runOnFunction()
97 if (isa<AffineForOp, AffineIfOp, AffineApplyOp>(op)) in runOnFunction()
/external/llvm-project/mlir/include/mlir/Dialect/Affine/EDSC/
DIntrinsics.h18 using affine_if = OperationBuilder<AffineIfOp>;
/external/llvm-project/mlir/test/lib/Dialect/Affine/
DTestAffineLoopUnswitching.cpp46 auto walkFn = [](AffineIfOp op) { in runOnFunction()
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp1885 struct SimplifyDeadElse : public OpRewritePattern<AffineIfOp> {
1886 using OpRewritePattern<AffineIfOp>::OpRewritePattern;
1888 LogicalResult matchAndRewrite(AffineIfOp ifOp, in matchAndRewrite()
1902 static LogicalResult verify(AffineIfOp op) { in verify()
1930 if (parser.parseAttribute(conditionAttr, AffineIfOp::getConditionAttrName(), in parseAffineIfOp()
1958 AffineIfOp::ensureTerminator(*thenRegion, parser.getBuilder(), in parseAffineIfOp()
1965 AffineIfOp::ensureTerminator(*elseRegion, parser.getBuilder(), in parseAffineIfOp()
1976 static void print(OpAsmPrinter &p, AffineIfOp op) { in print()
2001 IntegerSet AffineIfOp::getIntegerSet() { in getIntegerSet()
2006 void AffineIfOp::setIntegerSet(IntegerSet newSet) { in setIntegerSet()
[all …]
/external/llvm-project/mlir/include/mlir/Analysis/
DAffineStructures.h24 class AffineIfOp; variable
237 void addAffineIfOpDomain(AffineIfOp ifOp);
/external/llvm-project/mlir/lib/Analysis/
DNestedMatcher.cpp106 static bool isAffineIfOp(Operation &op) { return isa<AffineIfOp>(op); } in isAffineIfOp()
DAffineAnalysis.cpp94 assert((isa<AffineForOp, AffineIfOp>(op)) && in getIndexSet()
107 } else if (AffineIfOp ifOp = dyn_cast<AffineIfOp>(op)) { in getIndexSet()
DUtils.cpp39 isa<AffineIfOp>(currOp))) { in getLoopIVs()
57 while (currOp && (isa<AffineIfOp, AffineForOp>(currOp))) { in getEnclosingAffineForAndIfOps()
1059 else if (!isa<AffineForOp, AffineYieldOp, AffineIfOp>(opInst) && in isLoopParallel()
DLoopAnalysis.cpp293 return op.getNumRegions() != 0 && !isa<AffineIfOp, AffineForOp>(op); in isVectorizableLoopBodyWithOpCond()
DAffineStructures.cpp709 void FlatAffineConstraints::addAffineIfOpDomain(AffineIfOp ifOp) { in addAffineIfOpDomain()
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/
DAffineToStandard.cpp397 class AffineIfLowering : public OpRewritePattern<AffineIfOp> {
399 using OpRewritePattern<AffineIfOp>::OpRewritePattern;
401 LogicalResult matchAndRewrite(AffineIfOp op, in matchAndRewrite()
/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopFusionUtils.cpp184 else if (isa<AffineIfOp>(op)) in gatherLoadsAndStores()
419 if (!isa<AffineForOp, AffineIfOp>(op)) in getLoopNestStats()
DLoopUtils.cpp2929 static AffineIfOp createSeparationCondition(MutableArrayRef<AffineForOp> loops, in createSeparationCondition()
3005 return b.create<AffineIfOp>(loops[0].getLoc(), ifCondSet, setOperands, in createSeparationCondition()
3091 AffineIfOp ifOp = createSeparationCondition(inputNest, b); in separateFullTiles()
/external/llvm-project/mlir/include/mlir/Dialect/Affine/IR/
DAffineOps.td335 def AffineIfOp : Affine_Op<"if",