Searched refs:caseOp (Results 1 – 3 of 3) sorted by relevance
283 for (cir::CaseOp caseOp : cases) { in matchAndRewrite() local284 mlir::Region ®ion = caseOp.getCaseRegion(); in matchAndRewrite()287 switch (caseOp.getKind()) { in matchAndRewrite()293 assert(caseOp.getValue().size() == 2 && in matchAndRewrite()296 {cast<cir::IntAttr>(caseOp.getValue()[0]).getValue(), in matchAndRewrite()297 cast<cir::IntAttr>(caseOp.getValue()[1]).getValue()}); in matchAndRewrite()304 for (const mlir::Attribute &value : caseOp.getValue()) { in matchAndRewrite()328 mlir::Operation *nextOp = caseOp->getNextNode(); in matchAndRewrite()340 mlir::Block *oldBlock = caseOp->getBlock(); in matchAndRewrite()342 rewriter.splitBlock(oldBlock, caseOp->getIterator()); in matchAndRewrite()[all …]
914 for (auto caseOp : cases) in emitSwitchStmt() local915 terminateBody(builder, caseOp.getCaseRegion(), caseOp.getLoc()); in emitSwitchStmt()
1103 if (auto caseOp = dyn_cast<cir::CaseOp>(op)) in collectCases() local1104 cases.push_back(caseOp); in collectCases()