StringRef mcmodule2yaml(raw_ostream &OS, const MCModule &MCM, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
Dump a YAML representation of the MCModule MCM to OS.
StringRef yaml2mcmodule(OwningPtr< MCModule > &MCM, StringRef YamlContent, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
Creates a new module and returns it in MCM.