Home
last modified time | relevance | path

Searched refs:thenBlock (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DParallelLoopTiling.cpp160 Block &thenBlock = ifInbound.getThenRegion().front(); in tileParallelLoop() local
166 thenBlock.getArgument(ivs.index()) in tileParallelLoop()
169 thenBlock.eraseArguments(llvm::to_vector<4>( in tileParallelLoop()
170 llvm::seq((unsigned)0, thenBlock.getNumArguments()))); in tileParallelLoop()
H A DBufferizableOpInterfaceImpl.cpp166 auto thenYieldOp = cast<scf::YieldOp>(ifOp.thenBlock()->getTerminator()); in bufferize()
217 rewriter.mergeBlocks(ifOp.thenBlock(), newIfOp.thenBlock()); in bufferize()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/
H A DAllReduceLowering.cpp283 Block *thenBlock = rewriter.splitBlock(currentBlock, currentPoint); in createIf() local
284 Block *elseBlock = rewriter.splitBlock(thenBlock, thenBlock->begin()); in createIf()
288 create<cf::CondBranchOp>(condition, thenBlock, in createIf()
292 rewriter.setInsertionPointToStart(thenBlock); in createIf()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp1464 Block *thenBlock = &getThenRegion().front(); in fold() local
1592 if (replacement.thenBlock()) in matchAndRewrite()
1593 rewriter.eraseBlock(replacement.thenBlock()); in matchAndRewrite()
1832 nextThen = nextIf.thenBlock(); in matchAndRewrite()
1840 nextElse = nextIf.thenBlock(); in matchAndRewrite()
1849 nextElse = nextIf.thenBlock(); in matchAndRewrite()
1984 auto nestedOps = op.thenBlock()->without_terminator(); in matchAndRewrite()
2057 Block *newIfBlock = newIf.thenBlock(); in matchAndRewrite()
2062 rewriter.mergeBlocks(nestedIf.thenBlock(), newIfBlock); in matchAndRewrite()
2063 rewriter.setInsertionPointToEnd(newIf.thenBlock()); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDistribute.cpp41 rewriter.eraseOp(ifOp.thenBlock()->getTerminator()); in rewriteWarpOpToScfFor()
64 rewriter.setInsertionPointToStart(ifOp.thenBlock()); in rewriteWarpOpToScfFor()
77 rewriter.mergeBlocks(warpOpBody, ifOp.thenBlock(), bbArgReplacements); in rewriteWarpOpToScfFor()
81 auto yieldOp = cast<vector::YieldOp>(ifOp.thenBlock()->getTerminator()); in rewriteWarpOpToScfFor()
131 rewriter.setInsertionPointToEnd(ifOp.thenBlock()); in rewriteWarpOpToScfFor()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/
H A DSCFToSPIRV.cpp264 auto *thenBlock = &thenRegion.front(); in matchAndRewrite() local
283 thenBlock, ArrayRef<Value>(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp380 auto *thenBlock = &thenRegion.front(); in matchAndRewrite() local
404 rewriter.create<cf::CondBranchOp>(loc, ifOp.getCondition(), thenBlock, in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/
H A DUtils.cpp317 auto *thenBlock = hoistedIfOp.getThenBlock(); in hoistAffineIfOp() local
318 thenBlock->getOperations().splice(thenBlock->begin(), in hoistAffineIfOp()
H A DLoopUtils.cpp2818 Block *thenBlock = ifOp.getThenBlock(); in separateFullTiles() local
2820 thenBlock->getOperations().splice( in separateFullTiles()
2821 std::prev(thenBlock->end()), in separateFullTiles()
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h884 printBlockLabel(SS, E->thenBlock(), -1); in printBranch()
H A DThreadSafetyTIL.h1426 const BasicBlock *thenBlock() const { return Branches[0]; } in thenBlock() function
1427 BasicBlock *thenBlock() { return Branches[0]; } in thenBlock() function
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp3444 Block *thenBlock = nullptr; in createIfThen() local
3449 thenBlock = builder.createBlock(mergeBlock); in createIfThen()
3457 builder.createBlock(thenBlock); in createIfThen()
3459 loc, condition, thenBlock, in createIfThen()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SCF/IR/
H A DSCFOps.td593 Block* thenBlock();