LLVM  8.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::AsmCond Class Reference

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

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

Collaboration diagram for llvm::AsmCond:
Collaboration graph
[legend]

Public Types

enum  ConditionalAssemblyType { NoCond, IfCond, ElseIfCond, ElseCond }
 

Public Member Functions

 AsmCond ()=default
 

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 22 of file AsmCond.h.

Member Enumeration Documentation

◆ ConditionalAssemblyType

Enumerator
NoCond 
IfCond 
ElseIfCond 
ElseCond 

Definition at line 24 of file AsmCond.h.

Constructor & Destructor Documentation

◆ AsmCond()

llvm::AsmCond::AsmCond ( )
default

Member Data Documentation

◆ CondMet

bool llvm::AsmCond::CondMet = false

Definition at line 32 of file AsmCond.h.

◆ Ignore

bool llvm::AsmCond::Ignore = false

Definition at line 33 of file AsmCond.h.

Referenced by getGNUBinOpPrecedence().

◆ TheCond

ConditionalAssemblyType llvm::AsmCond::TheCond = NoCond

Definition at line 31 of file AsmCond.h.


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