LLVM 19.0.0git
Public Types | Public Attributes | List of all members
llvm::AsmCond Class Reference

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

#include "llvm/MC/MCParser/AsmCond.h"

Public Types

enum  ConditionalAssemblyType { NoCond , IfCond , ElseIfCond , ElseCond }

Public Attributes

ConditionalAssemblyType TheCond = NoCond
bool CondMet = false
bool Ignore = false

Detailed Description

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.

Member Enumeration Documentation

◆ ConditionalAssemblyType


Definition at line 23 of file AsmCond.h.

Member Data Documentation

◆ CondMet

bool llvm::AsmCond::CondMet = false

Definition at line 31 of file AsmCond.h.

◆ Ignore

bool llvm::AsmCond::Ignore = false

Definition at line 32 of file AsmCond.h.

◆ TheCond

ConditionalAssemblyType llvm::AsmCond::TheCond = NoCond

Definition at line 30 of file AsmCond.h.

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