LLVM  9.0.0svn
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

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

Member Enumeration Documentation

◆ ConditionalAssemblyType


Definition at line 23 of file AsmCond.h.

Constructor & Destructor Documentation

◆ AsmCond()

llvm::AsmCond::AsmCond ( )

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.

Referenced by getGNUBinOpPrecedence().

◆ 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: