/// PassRegistration or registerPass.
PassInfo(StringRef arg, StringRef description, const PassID *passID,
PassAllocatorFunction allocator);
-
-private:
- // Unique identifier for pass.
- const PassID *passID;
};
/// Register a specific dialect pipeline registry function with the system,
PassInfo::PassInfo(StringRef arg, StringRef description, const PassID *passID,
PassAllocatorFunction allocator)
- : PassRegistryEntry(arg, description, buildDefaultRegistryFn(allocator)),
- passID(passID) {}
+ : PassRegistryEntry(arg, description, buildDefaultRegistryFn(allocator)) {}
void mlir::registerPass(StringRef arg, StringRef description,
const PassID *passID,