LLVM  12.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::IntelExpr Struct Reference

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

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

Public Member Functions

 IntelExpr ()
 
 IntelExpr (StringRef baseReg, StringRef indexReg, unsigned scale, StringRef offsetName, int64_t imm, bool needBracs)
 
bool hasBaseReg () const
 
bool hasIndexReg () const
 
bool hasRegs () const
 
bool hasOffset () const
 
bool emitImm () const
 
bool isValid () const
 

Public Attributes

bool NeedBracs
 
int64_t Imm
 
StringRef BaseReg
 
StringRef IndexReg
 
StringRef OffsetName
 
unsigned Scale
 

Detailed Description

Definition at line 64 of file MCTargetAsmParser.h.

Constructor & Destructor Documentation

◆ IntelExpr() [1/2]

llvm::IntelExpr::IntelExpr ( )
inline

Definition at line 72 of file MCTargetAsmParser.h.

◆ IntelExpr() [2/2]

llvm::IntelExpr::IntelExpr ( StringRef  baseReg,
StringRef  indexReg,
unsigned  scale,
StringRef  offsetName,
int64_t  imm,
bool  needBracs 
)
inline

Definition at line 76 of file MCTargetAsmParser.h.

References scale().

Member Function Documentation

◆ emitImm()

bool llvm::IntelExpr::emitImm ( ) const
inline

Definition at line 89 of file MCTargetAsmParser.h.

References hasOffset(), and hasRegs().

◆ hasBaseReg()

bool llvm::IntelExpr::hasBaseReg ( ) const
inline

Definition at line 83 of file MCTargetAsmParser.h.

References llvm::StringRef::empty().

Referenced by hasRegs().

◆ hasIndexReg()

bool llvm::IntelExpr::hasIndexReg ( ) const
inline

Definition at line 84 of file MCTargetAsmParser.h.

References llvm::StringRef::empty().

Referenced by hasRegs(), and isValid().

◆ hasOffset()

bool llvm::IntelExpr::hasOffset ( ) const
inline

Definition at line 86 of file MCTargetAsmParser.h.

References llvm::StringRef::empty().

Referenced by emitImm().

◆ hasRegs()

bool llvm::IntelExpr::hasRegs ( ) const
inline

Definition at line 85 of file MCTargetAsmParser.h.

References hasBaseReg(), and hasIndexReg().

Referenced by emitImm().

◆ isValid()

bool llvm::IntelExpr::isValid ( ) const
inline

Definition at line 90 of file MCTargetAsmParser.h.

References hasIndexReg().

Member Data Documentation

◆ BaseReg

StringRef llvm::IntelExpr::BaseReg

Definition at line 67 of file MCTargetAsmParser.h.

◆ Imm

int64_t llvm::IntelExpr::Imm

Definition at line 66 of file MCTargetAsmParser.h.

◆ IndexReg

StringRef llvm::IntelExpr::IndexReg

Definition at line 68 of file MCTargetAsmParser.h.

◆ NeedBracs

bool llvm::IntelExpr::NeedBracs

Definition at line 65 of file MCTargetAsmParser.h.

◆ OffsetName

StringRef llvm::IntelExpr::OffsetName

Definition at line 69 of file MCTargetAsmParser.h.

◆ Scale

unsigned llvm::IntelExpr::Scale

Definition at line 70 of file MCTargetAsmParser.h.


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