/dports/lang/mono/mono-5.10.1.57/external/corert/tests/src/Simple/HelloWasm/ |
H A D | Program.cs | 95 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 D | Ops.cpp | 2174 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 D | Ops.cpp | 2174 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 D | Ops.cpp | 2174 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 D | flattened.h | 131 struct SwitchOp struct 137 explicit SwitchOp( in SwitchOp() argument 190 SwitchIOOp, SwitchOp, ActionOp, BeginOp, EndOp, IndirectGotoOp,
|
H A D | flattened.cc | 291 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 D | Ops.cpp | 2268 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 D | LLVMDialect.cpp | 243 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 D | LLVMDialect.cpp | 243 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 D | LLVMDialect.cpp | 233 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 D | LLVMDialect.cpp | 233 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 D | LLVMDialect.cpp | 233 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 D | LLVMDialect.cpp | 235 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 D | StandardToLLVM.cpp | 860 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Target/LLVMIR/ |
H A D | ModuleTranslation.cpp | 340 } 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 D | StandardToLLVM.cpp | 848 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Conversion/StandardToLLVM/ |
H A D | StandardToLLVM.cpp | 848 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Target/LLVMIR/ |
H A D | ModuleTranslation.cpp | 340 } 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 D | StandardToLLVM.cpp | 848 : public OneToOneLLVMTerminatorLowering<SwitchOp, LLVM::SwitchOp> {
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/ |
H A D | LLVMToLLVMIRTranslation.cpp | 407 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 D | LLVMToLLVMIRTranslation.cpp | 407 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 D | LLVMToLLVMIRTranslation.cpp | 407 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 D | LLVMToLLVMIRTranslation.cpp | 407 if (auto switchOp = dyn_cast<LLVM::SwitchOp>(opInst)) {
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/test/Dialect/Standard/ |
H A D | canonicalize-cf.mlir | 143 /// Test the folding of SwitchOp
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/test/Dialect/Standard/ |
H A D | canonicalize-cf.mlir | 143 /// Test the folding of SwitchOp
|