Home
last modified time | relevance | path

Searched refs:SelectionOp (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVCanonicalization.cpp290 : public OpRewritePattern<spirv::SelectionOp> {
291 using OpRewritePattern<spirv::SelectionOp>::OpRewritePattern;
293 LogicalResult matchAndRewrite(spirv::SelectionOp selectionOp, in matchAndRewrite()
419 void spirv::SelectionOp::getCanonicalizationPatterns( in getCanonicalizationPatterns()
DSPIRVOps.cpp2411 if (!parentOp || !isa<spirv::SelectionOp, spirv::LoopOp>(parentOp)) in verify()
2657 static void print(spirv::SelectionOp selectionOp, OpAsmPrinter &printer) { in print()
2660 printer << spirv::SelectionOp::getOperationName(); in print()
2668 static LogicalResult verify(spirv::SelectionOp selectionOp) { in verify()
2709 Block *spirv::SelectionOp::getHeaderBlock() { in getHeaderBlock()
2715 Block *spirv::SelectionOp::getMergeBlock() { in getMergeBlock()
2721 void spirv::SelectionOp::addMergeBlock() { in addMergeBlock()
2731 spirv::SelectionOp spirv::SelectionOp::createIfThen( in createIfThen()
2736 auto selectionOp = builder.create<spirv::SelectionOp>(loc, selectionControl); in createIfThen()
DSPIRVDialect.cpp72 return isa<spirv::FuncOp, spirv::SelectionOp, spirv::LoopOp>(op); in isLegalToInline()
81 if ((isa<spirv::SelectionOp, spirv::LoopOp>(op)) && in isLegalToInline()
/external/llvm-project/mlir/lib/Conversion/LinalgToSPIRV/
DLinalgToSPIRV.cpp194 spirv::SelectionOp::createIfThen(loc, condition, createAtomicOp, rewriter); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/
DSCFToSPIRV.cpp219 auto selectionOp = rewriter.create<spirv::SelectionOp>(loc, selectionControl); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp83 if (auto selectionOp = dyn_cast<spirv::SelectionOp>(op)) in getStructuredControlFlowOpMergeBlock()
341 LogicalResult processSelectionOp(spirv::SelectionOp selectionOp);
1711 LogicalResult Serializer::processSelectionOp(spirv::SelectionOp selectionOp) { in processSelectionOp()
1919 .Case([&](spirv::SelectionOp op) { return processSelectionOp(op); }) in processOperation()
DDeserializer.cpp1955 spirv::SelectionOp createSelectionOp(uint32_t selectionControl);
1978 spirv::SelectionOp
1985 auto selectionOp = builder.create<spirv::SelectionOp>(location, control); in createSelectionOp()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp1083 class SelectionPattern : public SPIRVToLLVMConversion<spirv::SelectionOp> {
1085 using SPIRVToLLVMConversion<spirv::SelectionOp>::SPIRVToLLVMConversion;
1088 matchAndRewrite(spirv::SelectionOp op, ArrayRef<Value> operands, in matchAndRewrite()
/external/llvm-project/clang/unittests/Tooling/
DStencilTest.cpp178 TEST_F(StencilTest, SelectionOp) { in TEST_F() argument
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVControlFlowOps.td462 static SelectionOp createIfThen(