|
My Project
|
#include <PassOptions.h>


Static Public Member Functions | |
| static std::unique_ptr< T > | createFromString (StringRef options) |
Additional Inherited Members | |
Public Member Functions inherited from mlir::detail::PassOptions | |
| PassOptions ()=default | |
| void | copyOptionValuesFrom (const PassOptions &other) |
| Copy the option values from 'other'. More... | |
| LogicalResult | parseFromString (StringRef options) |
| void | print (raw_ostream &os) |
Subclasses of PassPipelineOptions provide a set of options that can be used to initialize a pass pipeline. See PassPipelineRegistration for usage details.
Usage:
struct MyPipelineOptions : PassPipelineOptions<MyPassOptions> { ListOption<int> someListFlag{ *this, "flag-name", llvm::cl::MiscFlags::CommaSeparated, llvm::cl::desc("...")}; };
|
inlinestatic |
Factory that parses the provided options and returns a unique_ptr to the struct.
1.8.13