Home
last modified time | relevance | path

Searched refs:bodyBlock (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Async/IR/
DAsync.cpp168 Block &bodyBlock = bodyRegion->front(); in build() local
171 bodyBlock.addArgument(valueType ? valueType.getValueType() in build()
180 builder.setInsertionPointToStart(&bodyBlock); in build()
184 builder.setInsertionPointToStart(&bodyBlock); in build()
185 bodyBuilder(builder, result.location, bodyBlock.getArguments()); in build()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp83 Block &bodyBlock = bodyRegion->front(); in build() local
84 bodyBlock.addArgument(builder.getIndexType()); in build()
86 bodyBlock.addArgument(v.getType()); in build()
95 builder.setInsertionPointToStart(&bodyBlock); in build()
96 bodyBuilder(builder, result.location, bodyBlock.getArgument(0), in build()
97 bodyBlock.getArguments().drop_front()); in build()
825 Block *bodyBlock = builder.createBlock(bodyRegion, {}, argTypes); in build() local
828 builder.setInsertionPointToStart(bodyBlock); in build()
830 bodyBlock->getArguments().take_front(numIVs), in build()
831 bodyBlock->getArguments().drop_front(numIVs)); in build()
/external/llvm-project/mlir/lib/Dialect/Shape/IR/
DShape.cpp901 Block &bodyBlock = bodyRegion->front(); in build() local
902 bodyBlock.addArgument(builder.getIndexType()); in build()
909 bodyBlock.addArgument(elementType); in build()
912 bodyBlock.addArgument(initValType); in build()
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgOps.cpp175 Block *bodyBlock = builder.createBlock(&region, region.end(), blockArgTypes); in build() local
176 bodyBuild(builder, result.location, bodyBlock->getArguments()); in build()
232 Block *bodyBlock = builder.createBlock(&region, region.end(), blockArgTypes); in build() local
234 bodyBlock->getArguments().take_front(nLoops), in build()
235 bodyBlock->getArguments().drop_front(nLoops)); in build()
/external/angle/src/compiler/translator/
DOutputSPIRV.cpp5512 spirv::IdRef *bodyBlock, in GetLoopBlocks() argument
5537 *bodyBlock = conditional->blockIds[nextBlock++]; in GetLoopBlocks()
5558 *condBlock = *bodyBlock; in GetLoopBlocks()
5668 spirv::IdRef headerBlock, condBlock, bodyBlock, continueBlock, mergeBlock; in visitLoop() local
5669 GetLoopBlocks(conditional, loopType, hasCondition, &headerBlock, &condBlock, &bodyBlock, in visitLoop()
5672 mBuilder.writeLoopHeader(loopType == ELoopDoWhile ? bodyBlock : condBlock, continueBlock, in visitLoop()
5683 mBuilder.writeLoopConditionEnd(conditionValue, bodyBlock, mergeBlock); in visitLoop()
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp1242 Block &bodyBlock = bodyRegion->front(); in build() local
1243 Value inductionVar = bodyBlock.addArgument(builder.getIndexType()); in build()
1245 bodyBlock.addArgument(val.getType()); in build()
1254 builder.setInsertionPointToStart(&bodyBlock); in build()
1256 bodyBlock.getArguments().drop_front()); in build()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp2855 Block *bodyBlock = in convertSourceMemRefToDescriptor() local
2857 rewriter.setInsertionPointToStart(bodyBlock); in convertSourceMemRefToDescriptor()
2878 rewriter.splitBlock(bodyBlock, rewriter.getInsertionPoint()); in convertSourceMemRefToDescriptor()
2882 rewriter.create<LLVM::CondBrOp>(loc, pred, bodyBlock, llvm::None, remainder, in convertSourceMemRefToDescriptor()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp1794 Block *bodyBlock = in build() local
1796 bodyBuilder(b, result.location, bodyBlock->getArguments()); in build()