Constructors

Synopses

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

Construct an Intel‐expression rewrite at loc.

AsmRewrite(
    SMLoc loc,
    unsigned int len,
    IntelExpr exp);

Construct a label rewrite at loc.

AsmRewrite(
    AsmRewriteKind kind,
    SMLoc loc,
    unsigned int len,
    StringRef label);

Construct a rewrite of the given kind at loc.

AsmRewrite(
    AsmRewriteKind kind,
    SMLoc loc,
    unsigned int len = 0,
    int64_t val = 0,
    bool Restricted = false);

Parameters

Name

Description

loc

Source location of the rewrite.

len

Length of the rewritten span.

exp

Intel expression to emit.

kind

Rewrite kind.

label

Label text to use.

val

Optional numeric value for the rewrite.

Restricted

Whether Intel‐expression rewrites are restricted.

Created with MrDocs