/external/llvm-project/mlir/lib/Dialect/Affine/Utils/ |
D | Utils.cpp | 28 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/ |
D | Utils.h | 23 class AffineIfOp; variable 37 LogicalResult hoistAffineIfOp(AffineIfOp ifOp, bool *folded = nullptr);
|
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | AffineLoopInvariantCodeMotion.cpp | 75 if (isa<AffineIfOp>(op)) { in isOpLoopInvariant() 175 assert(isa<AffineIfOp>(op)); in checkInvarianceOfNestedIfOps() 176 auto ifOp = cast<AffineIfOp>(op); in checkInvarianceOfNestedIfOps()
|
D | SimplifyAffineStructures.cpp | 84 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/ |
D | Intrinsics.h | 18 using affine_if = OperationBuilder<AffineIfOp>;
|
/external/llvm-project/mlir/test/lib/Dialect/Affine/ |
D | TestAffineLoopUnswitching.cpp | 46 auto walkFn = [](AffineIfOp op) { in runOnFunction()
|
/external/llvm-project/mlir/lib/Dialect/Affine/IR/ |
D | AffineOps.cpp | 1885 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/ |
D | AffineStructures.h | 24 class AffineIfOp; variable 237 void addAffineIfOpDomain(AffineIfOp ifOp);
|
/external/llvm-project/mlir/lib/Analysis/ |
D | NestedMatcher.cpp | 106 static bool isAffineIfOp(Operation &op) { return isa<AffineIfOp>(op); } in isAffineIfOp()
|
D | AffineAnalysis.cpp | 94 assert((isa<AffineForOp, AffineIfOp>(op)) && in getIndexSet() 107 } else if (AffineIfOp ifOp = dyn_cast<AffineIfOp>(op)) { in getIndexSet()
|
D | Utils.cpp | 39 isa<AffineIfOp>(currOp))) { in getLoopIVs() 57 while (currOp && (isa<AffineIfOp, AffineForOp>(currOp))) { in getEnclosingAffineForAndIfOps() 1059 else if (!isa<AffineForOp, AffineYieldOp, AffineIfOp>(opInst) && in isLoopParallel()
|
D | LoopAnalysis.cpp | 293 return op.getNumRegions() != 0 && !isa<AffineIfOp, AffineForOp>(op); in isVectorizableLoopBodyWithOpCond()
|
D | AffineStructures.cpp | 709 void FlatAffineConstraints::addAffineIfOpDomain(AffineIfOp ifOp) { in addAffineIfOpDomain()
|
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/ |
D | AffineToStandard.cpp | 397 class AffineIfLowering : public OpRewritePattern<AffineIfOp> { 399 using OpRewritePattern<AffineIfOp>::OpRewritePattern; 401 LogicalResult matchAndRewrite(AffineIfOp op, in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopFusionUtils.cpp | 184 else if (isa<AffineIfOp>(op)) in gatherLoadsAndStores() 419 if (!isa<AffineForOp, AffineIfOp>(op)) in getLoopNestStats()
|
D | LoopUtils.cpp | 2929 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/ |
D | AffineOps.td | 335 def AffineIfOp : Affine_Op<"if",
|