LLVM  6.0.0svn
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 (bool needBracs=false)
 
 IntelExpr (int64_t imm, bool needBracs)
 
 IntelExpr (StringRef reg, int64_t imm=0, unsigned scale=0, bool needBracs=true)
 
 IntelExpr (StringRef baseReg, StringRef indexReg, unsigned scale=0, int64_t imm=0, bool needBracs=true)
 
bool hasBaseReg () const
 
bool hasIndexReg () const
 
bool hasRegs () const
 
bool isValid () const
 

Public Attributes

bool NeedBracs
 
int64_t Imm
 
StringRef BaseReg
 
StringRef IndexReg
 
unsigned Scale
 

Detailed Description

Definition at line 61 of file MCTargetAsmParser.h.

Constructor & Destructor Documentation

◆ IntelExpr() [1/4]

llvm::IntelExpr::IntelExpr ( bool  needBracs = false)
inline

Definition at line 68 of file MCTargetAsmParser.h.

◆ IntelExpr() [2/4]

llvm::IntelExpr::IntelExpr ( int64_t  imm,
bool  needBracs 
)
inline

Definition at line 72 of file MCTargetAsmParser.h.

◆ IntelExpr() [3/4]

llvm::IntelExpr::IntelExpr ( StringRef  reg,
int64_t  imm = 0,
unsigned  scale = 0,
bool  needBracs = true 
)
inline

Definition at line 77 of file MCTargetAsmParser.h.

References scale().

◆ IntelExpr() [4/4]

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

Definition at line 85 of file MCTargetAsmParser.h.

Member Function Documentation

◆ hasBaseReg()

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

Definition at line 90 of file MCTargetAsmParser.h.

References llvm::StringRef::size().

Referenced by hasRegs().

◆ hasIndexReg()

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

Definition at line 93 of file MCTargetAsmParser.h.

References llvm::StringRef::size().

Referenced by hasRegs(), and isValid().

◆ hasRegs()

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

Definition at line 96 of file MCTargetAsmParser.h.

References hasBaseReg(), and hasIndexReg().

◆ isValid()

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

Definition at line 99 of file MCTargetAsmParser.h.

References hasIndexReg().

Member Data Documentation

◆ BaseReg

StringRef llvm::IntelExpr::BaseReg

Definition at line 64 of file MCTargetAsmParser.h.

◆ Imm

int64_t llvm::IntelExpr::Imm

Definition at line 63 of file MCTargetAsmParser.h.

◆ IndexReg

StringRef llvm::IntelExpr::IndexReg

Definition at line 65 of file MCTargetAsmParser.h.

◆ NeedBracs

bool llvm::IntelExpr::NeedBracs

Definition at line 62 of file MCTargetAsmParser.h.

◆ Scale

unsigned llvm::IntelExpr::Scale

Definition at line 66 of file MCTargetAsmParser.h.


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