Kind of rewrite applied when converting MS‐style inline assembly.

Synopsis

Declared in <llvm/MC/MCParser/MCTargetAsmParser.h>

enum AsmRewriteKind;

Members

Name

Description

AOK_Align

Rewrite align as .align.

AOK_EVEN

Rewrite even as .even.

AOK_Emit

Rewrite _emit as .byte.

AOK_CallInput

Rewrite in terms of ${N:P}.

AOK_Input

Rewrite in terms of $N.

AOK_Output

Rewrite in terms of $N.

AOK_SizeDirective

Add a sizing directive (e.g., dword ptr).

AOK_Label

Rewrite local labels.

AOK_EndOfStatement

Add an end‐of‐statement (e.g., newline and tab).

AOK_Skip

Skip emission (e.g., offset/type operators).

AOK_IntelExpr

Compound Intel expression rewrite.

Created with MrDocs