Home
last modified time | relevance | path

Searched refs:condBlock (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp355 auto *condBlock = rewriter.getInsertionBlock(); in matchAndRewrite() local
357 auto *remainingOpsBlock = rewriter.splitBlock(condBlock, opPosition); in matchAndRewrite()
393 rewriter.setInsertionPointToEnd(condBlock); in matchAndRewrite()
/external/angle/src/compiler/translator/
DOutputSPIRV.cpp5511 spirv::IdRef *condBlock, in GetLoopBlocks() argument
5535 *condBlock = conditional->blockIds[nextBlock++]; in GetLoopBlocks()
5545 *condBlock = conditional->blockIds[nextBlock++]; in GetLoopBlocks()
5553 ASSERT(condBlock->valid()); in GetLoopBlocks()
5554 *continueBlock = *condBlock; in GetLoopBlocks()
5556 if (!condBlock->valid()) 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()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp2833 Block *condBlock = rewriter.createBlock(initBlock->getParent(), {}, in convertSourceMemRefToDescriptor() local
2845 condBlock); in convertSourceMemRefToDescriptor()
2846 rewriter.setInsertionPointToStart(condBlock); in convertSourceMemRefToDescriptor()
2847 Value indexArg = condBlock->getArgument(0); in convertSourceMemRefToDescriptor()
2848 Value strideArg = condBlock->getArgument(1); in convertSourceMemRefToDescriptor()
2856 rewriter.splitBlock(condBlock, rewriter.getInsertionPoint()); in convertSourceMemRefToDescriptor()
2875 condBlock); in convertSourceMemRefToDescriptor()
2881 rewriter.setInsertionPointToEnd(condBlock); in convertSourceMemRefToDescriptor()