Home
last modified time | relevance | path

Searched refs:continueBlock (Results 1 – 15 of 15) sorted by relevance

/external/deqp-deps/glslang/SPIRV/
DInReadableOrder.cpp82 Block* continueBlock = nullptr; in visit() local
90 continueBlock = in visit()
92 delayed_.insert(continueBlock); in visit()
100 if (continueBlock) { in visit()
102 (reachableViaControlFlow_.count(continueBlock) > 0) in visit()
105 delayed_.erase(continueBlock); in visit()
106 visit(continueBlock, continueWhy, block); in visit()
DSpvBuilder.h771 void createLoopMerge(Block* mergeBlock, Block* continueBlock, unsigned int control,
DSpvBuilder.cpp3164 void Builder::createLoopMerge(Block* mergeBlock, Block* continueBlock, unsigned int control, in createLoopMerge() argument
3169 merge->addIdOperand(continueBlock->getId()); in createLoopMerge()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DInReadableOrder.cpp82 Block* continueBlock = nullptr; in visit() local
90 continueBlock = in visit()
92 delayed_.insert(continueBlock); in visit()
100 if (continueBlock) { in visit()
102 (reachableViaControlFlow_.count(continueBlock) > 0) in visit()
105 delayed_.erase(continueBlock); in visit()
106 visit(continueBlock, continueWhy, block); in visit()
DSpvBuilder.h771 void createLoopMerge(Block* mergeBlock, Block* continueBlock, unsigned int control,
DSpvBuilder.cpp3168 void Builder::createLoopMerge(Block* mergeBlock, Block* continueBlock, unsigned int control, in createLoopMerge() argument
3173 merge->addIdOperand(continueBlock->getId()); in createLoopMerge()
/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp358 Block *continueBlock; in matchAndRewrite() local
360 continueBlock = remainingOpsBlock; in matchAndRewrite()
362 continueBlock = in matchAndRewrite()
374 rewriter.create<BranchOp>(loc, continueBlock, thenTerminatorOperands); in matchAndRewrite()
376 rewriter.inlineRegionBefore(thenRegion, continueBlock); in matchAndRewrite()
381 auto *elseBlock = continueBlock; in matchAndRewrite()
388 rewriter.create<BranchOp>(loc, continueBlock, elseTerminatorOperands); in matchAndRewrite()
390 rewriter.inlineRegionBefore(elseRegion, continueBlock); in matchAndRewrite()
399 rewriter.replaceOp(ifOp, continueBlock->getArguments()); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAllReduceLowering.cpp275 Block *continueBlock = rewriter.splitBlock(elseBlock, elseBlock->begin()); in createIf() local
284 create<BranchOp>(continueBlock, thenOperands); in createIf()
288 create<BranchOp>(continueBlock, elseOperands); in createIf()
291 rewriter.setInsertionPointToStart(continueBlock); in createIf()
293 continueBlock->addArgument(operand.getType()); in createIf()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp65 Block *continueBlock; // nullptr for spv.selection member
70 : mergeBlock(nullptr), continueBlock(nullptr), loc(location), in BlockMergeInfo()
74 : mergeBlock(m), continueBlock(c), loc(location), control(control) {} in BlockMergeInfo()
1880 auto *continueBlock = getOrCreateBlock(operands[1]); in processLoopMerge() local
1885 .try_emplace(curBlock, loc, loopControl, mergeBlock, continueBlock) in processLoopMerge()
1941 Block *continueBlock) { in structurize() argument
1943 mergeBlock, continueBlock) in structurize()
1952 headerBlock(header), mergeBlock(merge), continueBlock(cont) {} in ControlFlowStructurizer()
1972 Block *continueBlock; // nullptr for spv.selection member in __anonf1899d380311::ControlFlowStructurizer
2020 bool isLoop = continueBlock != nullptr; in structurizeImpl()
[all …]
DSerializer.cpp1767 auto *continueBlock = loopOp.getContinueBlock(); in processLoopOp() local
1770 auto continueID = getBlockID(continueBlock); in processLoopOp()
1803 /*skipHeader=*/true, /*skipBlocks=*/{continueBlock, mergeBlock}))) in processLoopOp()
1807 if (failed(processBlock(continueBlock))) in processLoopOp()
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/
DSCFToSPIRV.cpp183 Block *continueBlock = loopOp.getContinueBlock(); in matchAndRewrite() local
184 rewriter.setInsertionPointToEnd(continueBlock); in matchAndRewrite()
/external/angle/src/compiler/translator/
DBuildSPIRV.h355 spirv::IdRef continueBlock,
361 void writeLoopBodyEnd(spirv::IdRef continueBlock);
DBuildSPIRV.cpp1631 spirv::IdRef continueBlock, in writeLoopHeader() argument
1650 spirv::WriteLoopMerge(getSpirvCurrentFunctionBlock(), mergeBlock, continueBlock, in writeLoopHeader()
1690 void SPIRVBuilder::writeLoopBodyEnd(spirv::IdRef continueBlock) in writeLoopBodyEnd() argument
1700 spirv::WriteBranch(getSpirvCurrentFunctionBlock(), continueBlock); in writeLoopBodyEnd()
DOutputSPIRV.cpp5513 spirv::IdRef *continueBlock, in GetLoopBlocks() argument
5541 *continueBlock = conditional->blockIds[nextBlock++]; in GetLoopBlocks()
5551 if (!continueBlock->valid()) in GetLoopBlocks()
5554 *continueBlock = *condBlock; in GetLoopBlocks()
5668 spirv::IdRef headerBlock, condBlock, bodyBlock, continueBlock, mergeBlock; in visitLoop() local
5670 &continueBlock, &mergeBlock); in visitLoop()
5672 mBuilder.writeLoopHeader(loopType == ELoopDoWhile ? bodyBlock : condBlock, continueBlock, in visitLoop()
5693 mBuilder.writeLoopBodyEnd(continueBlock); in visitLoop()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp1112 auto *continueBlock = rewriter.splitBlock(currentBlock, position); in matchAndRewrite() local
1131 rewriter.create<LLVM::BrOp>(loc, terminatorOperands, continueBlock); in matchAndRewrite()
1141 rewriter.inlineRegionBefore(op.body(), continueBlock); in matchAndRewrite()
1142 rewriter.replaceOp(op, continueBlock->getArguments()); in matchAndRewrite()