LLVM 19.0.0git
Functions
llvm::MCParserUtils Namespace Reference

Functions

bool parseAssignmentExpression (StringRef Name, bool allow_redef, MCAsmParser &Parser, MCSymbol *&Symbol, const MCExpr *&Value)
 Parse a value expression and return whether it can be assigned to a symbol with the given name.
 
static bool isSymbolUsedInExpression (const MCSymbol *Sym, const MCExpr *Value)
 Returns whether the given symbol is used anywhere in the given expression, or subexpressions.
 

Function Documentation

◆ isSymbolUsedInExpression()

static bool llvm::MCParserUtils::isSymbolUsedInExpression ( const MCSymbol Sym,
const MCExpr Value 
)
static

◆ parseAssignmentExpression()

bool llvm::MCParserUtils::parseAssignmentExpression ( StringRef  Name,
bool  allow_redef,
MCAsmParser Parser,
MCSymbol *&  Symbol,
const MCExpr *&  Value 
)