LLVM  13.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 63 of file MCTargetAsmParser.h.

Constructor & Destructor Documentation

◆ IntelExpr() [1/2]

llvm::IntelExpr::IntelExpr ( )
inline

Definition at line 71 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 75 of file MCTargetAsmParser.h.

References scale(), and Scale.

Member Function Documentation

◆ emitImm()

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

Definition at line 88 of file MCTargetAsmParser.h.

References hasOffset(), and hasRegs().

◆ hasBaseReg()

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

Definition at line 82 of file MCTargetAsmParser.h.

References BaseReg, and llvm::StringRef::empty().

Referenced by hasRegs().

◆ hasIndexReg()

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

Definition at line 83 of file MCTargetAsmParser.h.

References llvm::StringRef::empty(), and IndexReg.

Referenced by hasRegs(), and isValid().

◆ hasOffset()

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

Definition at line 85 of file MCTargetAsmParser.h.

References llvm::StringRef::empty(), and OffsetName.

Referenced by emitImm().

◆ hasRegs()

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

Definition at line 84 of file MCTargetAsmParser.h.

References hasBaseReg(), and hasIndexReg().

Referenced by emitImm().

◆ isValid()

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

Definition at line 89 of file MCTargetAsmParser.h.

References hasIndexReg(), and Scale.

Member Data Documentation

◆ BaseReg

StringRef llvm::IntelExpr::BaseReg

Definition at line 66 of file MCTargetAsmParser.h.

Referenced by hasBaseReg().

◆ Imm

int64_t llvm::IntelExpr::Imm

Definition at line 65 of file MCTargetAsmParser.h.

◆ IndexReg

StringRef llvm::IntelExpr::IndexReg

Definition at line 67 of file MCTargetAsmParser.h.

Referenced by hasIndexReg().

◆ NeedBracs

bool llvm::IntelExpr::NeedBracs

Definition at line 64 of file MCTargetAsmParser.h.

◆ OffsetName

StringRef llvm::IntelExpr::OffsetName

Definition at line 68 of file MCTargetAsmParser.h.

Referenced by hasOffset().

◆ Scale

unsigned llvm::IntelExpr::Scale

Definition at line 69 of file MCTargetAsmParser.h.

Referenced by IntelExpr(), and isValid().


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