/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/ |
D | SCFToSPIRV.cpp | 134 auto loopOp = rewriter.create<spirv::LoopOp>(loc, loopControl); in matchAndRewrite() local 135 loopOp.addEntryAndMergeBlock(); in matchAndRewrite() 141 loopOp.body().getBlocks().insert(std::next(loopOp.body().begin(), 1), header); in matchAndRewrite() 163 rewriter.inlineRegionBefore(forOp->getRegion(0), loopOp.body(), in matchAndRewrite() 164 std::next(loopOp.body().begin(), 2)); in matchAndRewrite() 169 rewriter.setInsertionPointToEnd(&(loopOp.body().front())); in matchAndRewrite() 174 auto *mergeBlock = loopOp.getMergeBlock(); in matchAndRewrite() 183 Block *continueBlock = loopOp.getContinueBlock(); in matchAndRewrite() 198 replaceSCFOutputValue(forOp, loopOp, typeConverter, rewriter, in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Dialect/OpenACC/IR/ |
D | OpenACC.cpp | 615 static LogicalResult verifyLoopOp(acc::LoopOp loopOp) { in verifyLoopOp() argument 617 if ((loopOp.auto_() && (loopOp.independent() || loopOp.seq())) || in verifyLoopOp() 618 (loopOp.independent() && loopOp.seq())) { in verifyLoopOp() 619 loopOp.emitError("only one of " + acc::LoopOp::getAutoAttrName() + ", " + in verifyLoopOp() 627 if (loopOp.seq() && loopOp.exec_mapping() != OpenACCExecMapping::NONE) { in verifyLoopOp() 628 loopOp.emitError("gang, worker or vector cannot appear with the seq attr"); in verifyLoopOp() 633 if (loopOp.region().empty()) { in verifyLoopOp() 634 loopOp.emitError("expected non-empty body."); in verifyLoopOp()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | SliceAnalysis.cpp | 107 auto *loopOp = loopIv.getOperation(); in getBackwardSliceImpl() local 108 if (backwardSlice->count(loopOp) == 0) in getBackwardSliceImpl() 109 getBackwardSliceImpl(loopOp, backwardSlice, filter); in getBackwardSliceImpl()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/ |
D | Serializer.cpp | 85 if (auto loopOp = dyn_cast<spirv::LoopOp>(op)) in getStructuredControlFlowOpMergeBlock() local 86 return loopOp.getMergeBlock(); in getStructuredControlFlowOpMergeBlock() 97 if (auto loopOp = dyn_cast<spirv::LoopOp>(block->getParentOp())) { in getPhiIncomingBlock() local 100 Operation *op = loopOp.getOperation(); in getPhiIncomingBlock() 106 return loopOp->getBlock(); in getPhiIncomingBlock() 343 LogicalResult processLoopOp(spirv::LoopOp loopOp); 1757 LogicalResult Serializer::processLoopOp(spirv::LoopOp loopOp) { in processLoopOp() argument 1761 auto &body = loopOp.body(); in processLoopOp() 1766 auto *headerBlock = loopOp.getHeaderBlock(); in processLoopOp() 1767 auto *continueBlock = loopOp.getContinueBlock(); in processLoopOp() [all …]
|
D | Deserializer.cpp | 1997 auto loopOp = builder.create<spirv::LoopOp>(location, control); in createLoopOp() local 1998 loopOp.addEntryAndMergeBlock(); in createLoopOp() 2000 return loopOp; in createLoopOp() 2022 if (auto loopOp = createLoopOp(control)) in structurizeImpl() local 2023 op = loopOp.getOperation(); in structurizeImpl()
|
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/ |
D | ConvertSPIRVToLLVM.cpp | 1042 matchAndRewrite(spirv::LoopOp loopOp, ArrayRef<Value> operands, in matchAndRewrite() argument 1045 if (loopOp.loop_control() != spirv::LoopControl::None) in matchAndRewrite() 1048 Location loc = loopOp.getLoc(); in matchAndRewrite() 1053 auto position = Block::iterator(loopOp); in matchAndRewrite() 1058 Block *entryBlock = loopOp.getEntryBlock(); in matchAndRewrite() 1063 Block *headerBlock = loopOp.getHeaderBlock(); in matchAndRewrite() 1069 Block *mergeBlock = loopOp.getMergeBlock(); in matchAndRewrite() 1075 rewriter.inlineRegionBefore(loopOp.body(), endBlock); in matchAndRewrite() 1076 rewriter.replaceOp(loopOp, endBlock->getArguments()); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/ |
D | SCFToGPU.cpp | 507 auto loopOp = rewriter.create<scf::ForOp>( in processParallelLoop() local 511 newIndex = loopOp.getInductionVar(); in processParallelLoop() 512 rewriter.setInsertionPointToStart(loopOp.getBody()); in processParallelLoop()
|
/external/llvm-project/flang/lib/Lower/ |
D | OpenACC.cpp | 231 auto loopOp = createRegionOp<mlir::acc::LoopOp, mlir::acc::YieldOp>( in genACC() local 234 loopOp.setAttr(mlir::acc::LoopOp::getExecutionMappingAttrName(), in genACC() 244 loopOp.setAttr(mlir::acc::LoopOp::getCollapseAttrName(), in genACC() 248 loopOp.setAttr(mlir::acc::LoopOp::getSeqAttrName(), in genACC() 252 loopOp.setAttr(mlir::acc::LoopOp::getIndependentAttrName(), in genACC() 255 loopOp.setAttr(mlir::acc::LoopOp::getAutoAttrName(), in genACC()
|
D | IO.cpp | 389 auto loopOp = in genIoLoop() local 391 builder.setInsertionPointToStart(loopOp.getBody()); in genIoLoop() 393 loopOp.getInductionVar()); in genIoLoop()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | SPIRVOps.cpp | 2264 static void print(spirv::LoopOp loopOp, OpAsmPrinter &printer) { in print() argument 2265 auto *op = loopOp.getOperation(); in print() 2268 auto control = loopOp.loop_control(); in print() 2286 static LogicalResult verify(spirv::LoopOp loopOp) { in verify() argument 2287 auto *op = loopOp.getOperation(); in verify() 2323 return loopOp.emitOpError( in verify() 2327 return loopOp.emitOpError( in verify() 2333 return loopOp.emitOpError( in verify() 2339 return loopOp.emitOpError( in verify() 2343 return loopOp.emitOpError( in verify() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | regexcmp.cpp | 1083 int32_t loopOp = (int32_t)fRXPat->fCompiledPat->popi(); in doParseActions() local 1084 U_ASSERT(URX_TYPE(loopOp) == URX_CTR_LOOP && URX_VAL(loopOp) == topLoc); in doParseActions() 1085 loopOp++; // point LoopOp after the just-inserted STO_SP in doParseActions() 1086 fRXPat->fCompiledPat->push(loopOp, *fStatus); in doParseActions()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 3025 SmallVector<Operation *, 1> loopOp{loop.getOperation()}; in createFullTiles() local 3026 getIndexSet(loopOp, &cst); in createFullTiles()
|