Home
last modified time | relevance | path

Searched defs:ifOp (Results 1 – 25 of 52) sorted by relevance

123

/llvm-project/mlir/lib/Dialect/Vector/Transforms/
H A DVectorEmulateMaskedLoadStore.cpp73 auto ifOp = rewriter.create<scf::IfOp>( in matchAndRewrite() local
140 auto ifOp = rewriter.create<scf::IfOp>(loc, maskBit, /*else=*/false); in matchAndRewrite() local
/llvm-project/mlir/lib/Dialect/Affine/Transforms/
H A DAffineLoopInvariantCodeMotion.cpp83 if (auto ifOp = dyn_cast<AffineIfOp>(op)) { isOpLoopInvariant() local
190 checkInvarianceOfNestedIfOps(AffineIfOp ifOp,Value indVar,ValueRange iterArgs,SmallPtrSetImpl<Operation * > & opsWithUsers,SmallPtrSetImpl<Operation * > & opsToHoist) checkInvarianceOfNestedIfOps() argument
/llvm-project/mlir/lib/Conversion/OpenACCToSCF/
H A DOpenACCToSCF.cpp44 auto ifOp = rewriter.create<scf::IfOp>(op.getLoc(), TypeRange(), in matchAndRewrite() local
/llvm-project/mlir/lib/Dialect/SCF/Transforms/
H A DWrapInZeroTripCheck.cpp116 auto ifOp = rewriter.create<scf::IfOp>( in wrapWhileLoopInZeroTripCheck() local
H A DLoopSpecialization.cpp73 auto ifOp = b.create<scf::IfOp>(op.getLoc(), cond, /*withElseRegion=*/true); in specializeParallelLoopForUnrolling() local
102 auto ifOp = b.create<scf::IfOp>(op.getLoc(), cond, /*withElseRegion=*/true); in specializeForLoopForUnrolling() local
H A DBufferizableOpInterfaceImpl.cpp229 auto ifOp = cast<scf::IfOp>(op); getAliasingOpOperands() local
241 auto ifOp = cast<scf::IfOp>(op); bufferize() local
275 auto ifOp = cast<scf::IfOp>(op); getBufferType() local
1123 if (auto ifOp = dyn_cast<scf::IfOp>(op->getParentOp())) { getAliasingValues() local
[all...]
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseBufferRewriting.cpp195 builder.setInsertionPointAfter(ifOp); in createInlinedCompareImplementation() local
224 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, builder.getIntegerType(1), createEqCompare() local
278 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, builder.getIntegerType(1), createLessThanCompare() local
444 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, cond, /*else=*/false); createCompareThenSwap() local
457 scf::IfOp ifOp = createCompareThenSwap(builder, loc, xPerm, ny, swapOperands, createInsert3rd() local
489 scf::IfOp ifOp = createCompareThenSwap( createSort5() local
500 scf::IfOp ifOp = createCompareThenSwap(builder, loc, xPerm, ny, swapOperands, createSort5() local
634 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, types, cond, /*else=*/true); createPartitionFunc() local
956 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, types, cond, /*else=*/true); createQuickSort() local
961 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, cond, /*else=*/false); createQuickSort() local
1327 scf::IfOp ifOp = rewriter.create<scf::IfOp>(loc, bufferType, cond, matchAndRewrite() local
[all...]
H A DSparsification.cpp477 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, builder.getIndexType(), cond, genInsertionStore() local
555 scf::IfOp ifOp = genTensorStore() local
859 while (auto ifOp = dyn_cast_or_null<scf::IfOp>( finalizeWhileOp() local
935 scf::IfOp ifOp = builder.create<scf::IfOp>(loc, types, cond, /*else=*/true); genIf() local
941 endIf(CodegenEnv & env,OpBuilder & builder,scf::IfOp ifOp,Value redInput,Value cntInput,Value insInput,Value validIns) endIf() argument
1277 scf::IfOp ifOp = genIf(env, rewriter, curr, lj); genStmt() local
[all...]
H A DSparseTensorRewriting.cpp841 scf::IfOp ifOp = rewriter.create<scf::IfOp>(loc, cond, /*else*/ false); in printContentsLevel() local
1225 auto ifOp = builder.create<scf::IfOp>(loc, reduc.getTypes(), cond, matchAndRewrite() local
1308 auto ifOp = builder.create<scf::IfOp>(loc, reduc.getTypes(), cond, matchAndRewrite() local
[all...]
/llvm-project/mlir/test/lib/Dialect/SCF/
H A DTestSCFUtils.cpp159 /// wrap the operation in a scf.ifOp operation. in predicateOp() local
84 __anon2309fbc80402(scf::IfOp ifOp) runOnOperation() argument
[all...]
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/
H A DExpandRealloc.cpp93 auto ifOp = rewriter.create<scf::IfOp>( in matchAndRewrite() local
/llvm-project/mlir/lib/Conversion/SCFToEmitC/
H A DSCFToEmitC.cpp139 matchAndRewrite(IfOp ifOp,PatternRewriter & rewriter) const matchAndRewrite() argument
/llvm-project/mlir/lib/Conversion/ControlFlowToSCF/
H A DControlFlowToSCF.cpp38 auto ifOp = builder.create<scf::IfOp>(controlFlowCondOp->getLoc(), createStructuredBranchRegionOp() local
/llvm-project/flang/include/flang/Optimizer/Builder/
H A DFactory.h118 auto ifOp = builder.template create<fir::IfOp>(loc, cond, /*withElse=*/true); in genCharacterCopy() local
H A DFIRBuilder.h410 IfBuilder(fir::IfOp ifOp,FirOpBuilder & builder) IfBuilder() argument
[all...]
/llvm-project/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaInferShapes.cpp118 IfOp ifOp = dyn_cast<IfOp>(op); propagateShapesToTosaIf() local
/llvm-project/flang/lib/Optimizer/Transforms/
H A DSimplifyIntrinsics.cpp646 if (fir::IfOp ifOp = genMinMaxlocReductionLoop() local
732 fir::IfOp ifOp = builder.create<fir::IfOp>(loc, elementType, ifCompatElem, genRuntimeMinMaxlocBody() local
779 fir::IfOp ifOp = builder.create<fir::IfOp>(loc, elementType, cmp, genRuntimeMinMaxlocBody() local
808 fir::IfOp ifOp = genRuntimeMinMaxlocBody() local
837 fir::IfOp ifOp = builder.create<fir::IfOp>(loc, elementType, cond, genRuntimeMinMaxlocBody() local
[all...]
H A DControlFlowConverter.cpp166 matchAndRewrite(IfOp ifOp, mlir::PatternRewriter &rewriter) const override { in matchAndRewrite() argument
H A DLoopVersioning.cpp454 auto ifOp = runOnOperation() local
/llvm-project/flang/lib/Lower/OpenMP/
H A DReductionProcessor.cpp463 fir::IfOp ifOp = createReductionCleanupRegion() local
528 fir::IfOp ifOp = builder.create<fir::IfOp>(loc, isNotAllocated, createReductionInitRegion() local
/llvm-project/mlir/lib/Conversion/MathToFuncs/
H A DMathToFuncs.cpp695 scf::IfOp ifOp = builder.create<scf::IfOp>( in createCtlzFunc() local
730 scf::IfOp ifOp = b.create<scf::IfOp>( in createCtlzFunc() local
/llvm-project/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp492 auto ifOp = builder.create<fir::IfOp>(loc, isAllocated, genFreememIfAllocated() local
821 auto ifOp = genReallocIfNeeded() local
855 auto ifOp = builder genReallocIfNeeded() local
/llvm-project/mlir/lib/Dialect/Affine/Utils/
H A DUtils.cpp259 /// Returns the outermost affine.for/parallel op that the `ifOp` i argument
243 promoteIfBlock(AffineIfOp ifOp,bool elseBlock) promoteIfBlock() argument
285 hoistAffineIfOp(AffineIfOp ifOp,Operation * hoistOverOp) hoistAffineIfOp() argument
410 hoistAffineIfOp(AffineIfOp ifOp,bool * folded) hoistAffineIfOp() argument
[all...]
/llvm-project/flang/lib/Optimizer/HLFIR/Transforms/
H A DLowerHLFIROrderedAssignments.cpp388 auto ifOp = builder.create<fir::IfOp>(loc, std::nullopt, mask, false); in pre() local
570 assert(ifOp && "must be an if"); in enterElsewhere() local
505 auto ifOp = builder.create<fir::IfOp>(cdt.getLoc(), std::nullopt, cdt, generateMaskIfOp() local
[all...]
/llvm-project/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp382 matchAndRewrite(IfOp ifOp,PatternRewriter & rewriter) const matchAndRewrite() argument
[all...]

123