Target‐specific formatter for MIR operands and pseudo source values.

Synopsis

Declared in <llvm/CodeGen/MIRFormatter.h>

class MIRFormatter;

Type Aliases

Name

Description

ErrorCallbackType

Callback type used to report MIR parsing errors.

Member Functions

Name

Description

MIRFormatter [constructor]

Construct a default MIR formatter.

~MIRFormatter [destructor] [virtual]

Destroy a MIR formatter.

parseCustomPseudoSourceValue [virtual]

Implement target specific parsing of target custom pseudo source value.

parseImmMnemonic [virtual]

Implement target specific parsing of immediate mnemonics. The mnemonic is dot separated strings.

printCustomPseudoSourceValue [virtual]

Implement target specific printing of target custom pseudo source value. Default implementation is not necessarily the correct MIR serialization format.

printImm [virtual]

Print a machine operand immediate with a target‐specific mnemonic.

Static Member Functions

Name

Description

parseIRValue

Parse an IR value from MIR serialization format.

printIRValue

Print an IR value in MIR serialization format.

Created with MrDocs