forked from OSchip/llvm-project
7446151236
This allows individual passes to define options structs and for these options to be parsed per instance of the pass while building the pass pipeline from the command line provided textual specification. The user can specify these per-instance pipeline options like so: ``` struct MyPassOptions : public PassOptions<MyPassOptions> { Option<int> exampleOption{*this, "flag-name", llvm:🆑:desc("...")}; List<int> exampleListOption{*this, "list-flag-name", llvm:🆑:desc("...")}; }; static PassRegistration<MyPass, MyPassOptions> pass("my-pass", "description"); ``` PiperOrigin-RevId: 273650140 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TestCallGraph.cpp | ||
TestConstantFold.cpp | ||
TestInlining.cpp | ||
TestLoopFusion.cpp | ||
TestLoopMapping.cpp | ||
TestLoopParametricTiling.cpp | ||
TestMemRefStrideCalculation.cpp | ||
TestOpaqueLoc.cpp | ||
TestVectorizationUtils.cpp |