AsmCond ‐ Class to support conditional assembly

Synopsis

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

class AsmCond;

Description

The conditional assembly feature (.if, .else, .elseif and .endif) is implemented with AsmCond that tells us what we are in the middle of processing. Ignore can be either true or false. When true we are ignoring the block of code in the middle of a conditional.

Enums

Name

Description

ConditionalAssemblyType

Kind of conditional‐assembly directive currently being processed.

Data Members

Name

Description

CondMet

True if a prior branch of this conditional already matched.

Ignore

True when the current conditional block should be skipped.

TheCond

Current conditional‐assembly directive kind.

Created with MrDocs