Home
last modified time | relevance | path

Searched refs:optPM (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/examples/toy/Ch5/
Dtoyc.cpp132 mlir::OpPassManager &optPM = pm.nest<mlir::FuncOp>(); in dumpMLIR() local
133 optPM.addPass(mlir::toy::createShapeInferencePass()); in dumpMLIR()
134 optPM.addPass(mlir::createCanonicalizerPass()); in dumpMLIR()
135 optPM.addPass(mlir::createCSEPass()); in dumpMLIR()
139 mlir::OpPassManager &optPM = pm.nest<mlir::FuncOp>(); in dumpMLIR() local
142 optPM.addPass(mlir::toy::createLowerToAffinePass()); in dumpMLIR()
143 optPM.addPass(mlir::createCanonicalizerPass()); in dumpMLIR()
144 optPM.addPass(mlir::createCSEPass()); in dumpMLIR()
148 optPM.addPass(mlir::createLoopFusionPass()); in dumpMLIR()
149 optPM.addPass(mlir::createMemRefDataFlowOptPass()); in dumpMLIR()
/external/llvm-project/mlir/examples/toy/Ch7/
Dtoyc.cpp146 mlir::OpPassManager &optPM = pm.nest<mlir::FuncOp>(); in loadAndProcessMLIR() local
147 optPM.addPass(mlir::createCanonicalizerPass()); in loadAndProcessMLIR()
148 optPM.addPass(mlir::toy::createShapeInferencePass()); in loadAndProcessMLIR()
149 optPM.addPass(mlir::createCanonicalizerPass()); in loadAndProcessMLIR()
150 optPM.addPass(mlir::createCSEPass()); in loadAndProcessMLIR()
154 mlir::OpPassManager &optPM = pm.nest<mlir::FuncOp>(); in loadAndProcessMLIR() local
157 optPM.addPass(mlir::toy::createLowerToAffinePass()); in loadAndProcessMLIR()
158 optPM.addPass(mlir::createCanonicalizerPass()); in loadAndProcessMLIR()
159 optPM.addPass(mlir::createCSEPass()); in loadAndProcessMLIR()
163 optPM.addPass(mlir::createLoopFusionPass()); in loadAndProcessMLIR()
[all …]
/external/llvm-project/mlir/examples/toy/Ch6/
Dtoyc.cpp146 mlir::OpPassManager &optPM = pm.nest<mlir::FuncOp>(); in loadAndProcessMLIR() local
147 optPM.addPass(mlir::toy::createShapeInferencePass()); in loadAndProcessMLIR()
148 optPM.addPass(mlir::createCanonicalizerPass()); in loadAndProcessMLIR()
149 optPM.addPass(mlir::createCSEPass()); in loadAndProcessMLIR()
153 mlir::OpPassManager &optPM = pm.nest<mlir::FuncOp>(); in loadAndProcessMLIR() local
156 optPM.addPass(mlir::toy::createLowerToAffinePass()); in loadAndProcessMLIR()
157 optPM.addPass(mlir::createCanonicalizerPass()); in loadAndProcessMLIR()
158 optPM.addPass(mlir::createCSEPass()); in loadAndProcessMLIR()
162 optPM.addPass(mlir::createLoopFusionPass()); in loadAndProcessMLIR()
163 optPM.addPass(mlir::createMemRefDataFlowOptPass()); in loadAndProcessMLIR()
/external/llvm-project/mlir/examples/toy/Ch4/
Dtoyc.cpp126 mlir::OpPassManager &optPM = pm.nest<mlir::FuncOp>(); in dumpMLIR() local
127 optPM.addPass(mlir::toy::createShapeInferencePass()); in dumpMLIR()
128 optPM.addPass(mlir::createCanonicalizerPass()); in dumpMLIR()
129 optPM.addPass(mlir::createCSEPass()); in dumpMLIR()