Home
last modified time | relevance | path

Searched refs:SwitchOp (Results 1 – 25 of 59) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corert/tests/src/Simple/HelloWasm/
H A DProgram.cs95 var switchTest0 = SwitchOp(5, 5, 0); in Main()
101 var switchTest1 = SwitchOp(5, 5, 1); in Main()
107 var switchTestDefault = SwitchOp(5, 5, 20); in Main()
172 private static int SwitchOp(int a, int b, int mode) in SwitchOp() method in Program
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/StandardOps/IR/
H A DOps.cpp2174 static LogicalResult verify(SwitchOp op) { in verify()
2197 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
2220 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
2246 static LogicalResult simplifySwitchWithOnlyDefault(SwitchOp op, in simplifySwitchWithOnlyDefault()
2302 static void foldSwitch(SwitchOp op, PatternRewriter &rewriter, in foldSwitch()
2322 static LogicalResult simplifyConstSwitchValue(SwitchOp op, in simplifyConstSwitchValue()
2343 static LogicalResult simplifyPassThroughSwitch(SwitchOp op, in simplifyPassThroughSwitch()
2373 rewriter.replaceOpWithNewOp<SwitchOp>(op, op.flag(), defaultDest, in simplifyPassThroughSwitch()
2415 simplifySwitchFromSwitchOnSameCondition(SwitchOp op, in simplifySwitchFromSwitchOnSameCondition()
2426 auto predSwitch = dyn_cast<SwitchOp>(predecessor->getTerminator()); in simplifySwitchFromSwitchOnSameCondition()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/StandardOps/IR/
H A DOps.cpp2174 static LogicalResult verify(SwitchOp op) { in verify()
2197 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
2220 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
2246 static LogicalResult simplifySwitchWithOnlyDefault(SwitchOp op, in simplifySwitchWithOnlyDefault()
2302 static void foldSwitch(SwitchOp op, PatternRewriter &rewriter, in foldSwitch()
2322 static LogicalResult simplifyConstSwitchValue(SwitchOp op, in simplifyConstSwitchValue()
2343 static LogicalResult simplifyPassThroughSwitch(SwitchOp op, in simplifyPassThroughSwitch()
2373 rewriter.replaceOpWithNewOp<SwitchOp>(op, op.flag(), defaultDest, in simplifyPassThroughSwitch()
2415 simplifySwitchFromSwitchOnSameCondition(SwitchOp op, in simplifySwitchFromSwitchOnSameCondition()
2426 auto predSwitch = dyn_cast<SwitchOp>(predecessor->getTerminator()); in simplifySwitchFromSwitchOnSameCondition()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/StandardOps/IR/
H A DOps.cpp2174 static LogicalResult verify(SwitchOp op) { in verify()
2197 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
2220 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
2246 static LogicalResult simplifySwitchWithOnlyDefault(SwitchOp op, in simplifySwitchWithOnlyDefault()
2302 static void foldSwitch(SwitchOp op, PatternRewriter &rewriter, in foldSwitch()
2322 static LogicalResult simplifyConstSwitchValue(SwitchOp op, in simplifyConstSwitchValue()
2343 static LogicalResult simplifyPassThroughSwitch(SwitchOp op, in simplifyPassThroughSwitch()
2373 rewriter.replaceOpWithNewOp<SwitchOp>(op, op.flag(), defaultDest, in simplifyPassThroughSwitch()
2415 simplifySwitchFromSwitchOnSameCondition(SwitchOp op, in simplifySwitchFromSwitchOnSameCondition()
2426 auto predSwitch = dyn_cast<SwitchOp>(predecessor->getTerminator()); in simplifySwitchFromSwitchOnSameCondition()
[all …]
/dports/devel/f18/f18-1688bef/lib/burnside/
H A Dflattened.h131 struct SwitchOp struct
137 explicit SwitchOp( in SwitchOp() argument
190 SwitchIOOp, SwitchOp, ActionOp, BeginOp, EndOp, IndirectGotoOp,
H A Dflattened.cc291 SwitchOp{s.value(), std::move(labels), ec.source}); in Build()
364 ops.emplace_back(SwitchOp{s.value(), std::move(labels), ec.source}); in Build()
368 ops.emplace_back(SwitchOp{s.value(), in Build()
596 SwitchOp{construct, targets, std::get<0>(construct.t).source}); in Multiway()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/StandardOps/IR/
H A DOps.cpp2268 static LogicalResult verify(SwitchOp op) { in verify()
2292 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
2318 static LogicalResult simplifySwitchWithOnlyDefault(SwitchOp op, in simplifySwitchWithOnlyDefault()
2374 static void foldSwitch(SwitchOp op, PatternRewriter &rewriter, in foldSwitch()
2394 static LogicalResult simplifyConstSwitchValue(SwitchOp op, in simplifyConstSwitchValue()
2415 static LogicalResult simplifyPassThroughSwitch(SwitchOp op, in simplifyPassThroughSwitch()
2445 rewriter.replaceOpWithNewOp<SwitchOp>(op, op.flag(), defaultDest, in simplifyPassThroughSwitch()
2487 simplifySwitchFromSwitchOnSameCondition(SwitchOp op, in simplifySwitchFromSwitchOnSameCondition()
2498 auto predSwitch = dyn_cast<SwitchOp>(predecessor->getTerminator()); in simplifySwitchFromSwitchOnSameCondition()
2544 simplifySwitchFromDefaultSwitchOnSameCondition(SwitchOp op, in simplifySwitchFromDefaultSwitchOnSameCondition()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp243 void SwitchOp::build(OpBuilder &builder, OperationState &result, Value value, in build()
314 static void printSwitchOpCases(OpAsmPrinter &p, SwitchOp op, in printSwitchOpCases()
339 static LogicalResult verify(SwitchOp op) { in verify()
354 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
358 MutableOperandRange SwitchOp::getCaseOperandsMutable(unsigned index) { in getCaseOperandsMutable()
377 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp243 void SwitchOp::build(OpBuilder &builder, OperationState &result, Value value, in build()
314 static void printSwitchOpCases(OpAsmPrinter &p, SwitchOp op, in printSwitchOpCases()
339 static LogicalResult verify(SwitchOp op) { in verify()
354 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
358 MutableOperandRange SwitchOp::getCaseOperandsMutable(unsigned index) { in getCaseOperandsMutable()
377 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp233 void SwitchOp::build(OpBuilder &builder, OperationState &result, Value value, in build()
304 static void printSwitchOpCases(OpAsmPrinter &p, SwitchOp op, in printSwitchOpCases()
329 static LogicalResult verify(SwitchOp op) { in verify()
344 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
348 MutableOperandRange SwitchOp::getCaseOperandsMutable(unsigned index) { in getCaseOperandsMutable()
367 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp233 void SwitchOp::build(OpBuilder &builder, OperationState &result, Value value, in build()
304 static void printSwitchOpCases(OpAsmPrinter &p, SwitchOp op, in printSwitchOpCases()
329 static LogicalResult verify(SwitchOp op) { in verify()
344 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
348 MutableOperandRange SwitchOp::getCaseOperandsMutable(unsigned index) { in getCaseOperandsMutable()
367 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp233 void SwitchOp::build(OpBuilder &builder, OperationState &result, Value value, in build()
304 static void printSwitchOpCases(OpAsmPrinter &p, SwitchOp op, in printSwitchOpCases()
329 static LogicalResult verify(SwitchOp op) { in verify()
344 OperandRange SwitchOp::getCaseOperands(unsigned index) { in getCaseOperands()
348 MutableOperandRange SwitchOp::getCaseOperandsMutable(unsigned index) { in getCaseOperandsMutable()
367 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp235 void SwitchOp::build(OpBuilder &builder, OperationState &result, Value value, in build()
289 static void printSwitchOpCases(OpAsmPrinter &p, SwitchOp op, in printSwitchOpCases()
313 static LogicalResult verify(SwitchOp op) { in verify()
329 SwitchOp::getMutableSuccessorOperands(unsigned index) { in getMutableSuccessorOperands()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Conversion/StandardToLLVM/
H A DStandardToLLVM.cpp860 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Target/LLVMIR/
H A DModuleTranslation.cpp340 } else if (auto switchOp = dyn_cast<LLVM::SwitchOp>(terminator)) { in getPHISourceValue()
840 if (auto switchOp = dyn_cast<LLVM::SwitchOp>(opInst)) { in convertOperation()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Conversion/StandardToLLVM/
H A DStandardToLLVM.cpp848 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Conversion/StandardToLLVM/
H A DStandardToLLVM.cpp848 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Target/LLVMIR/
H A DModuleTranslation.cpp340 } else if (auto switchOp = dyn_cast<LLVM::SwitchOp>(terminator)) { in getPHISourceValue()
840 if (auto switchOp = dyn_cast<LLVM::SwitchOp>(opInst)) { in convertOperation()
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Conversion/StandardToLLVM/
H A DStandardToLLVM.cpp848 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp407 if (auto switchOp = dyn_cast<LLVM::SwitchOp>(opInst)) { in convertOperationImpl()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp407 if (auto switchOp = dyn_cast<LLVM::SwitchOp>(opInst)) { in convertOperationImpl()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp407 if (auto switchOp = dyn_cast<LLVM::SwitchOp>(opInst)) { in convertOperationImpl()
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp407 if (auto switchOp = dyn_cast<LLVM::SwitchOp>(opInst)) {
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/test/Dialect/Standard/
H A Dcanonicalize-cf.mlir143 /// Test the folding of SwitchOp
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/test/Dialect/Standard/
H A Dcanonicalize-cf.mlir143 /// Test the folding of SwitchOp

123