LLVM: llvm::AsmCond Class Reference (original) (raw)

AsmCond - Class to support conditional assembly. More...

#include "[llvm/MC/MCParser/AsmCond.h](AsmCond%5F8h%5Fsource.html)"

Public Types
enum ConditionalAssemblyType { NoCond, IfCond, ElseIfCond, ElseCond }

AsmCond - Class to support conditional assembly.

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.

Definition at line 21 of file AsmCond.h.

ConditionalAssemblyType

Enumerator
NoCond
IfCond
ElseIfCond
ElseCond

Definition at line 23 of file AsmCond.h.

CondMet

bool llvm::AsmCond::CondMet = false

Ignore

bool llvm::AsmCond::Ignore = false

TheCond

ConditionalAssemblyType llvm::AsmCond::TheCond = NoCond


The documentation for this class was generated from the following file: