LLVM  6.0.0svn
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::NearMissInfo Class Reference

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

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

Public Types

enum  NearMissKind {
  NoNearMiss, NearMissOperand, NearMissFeature, NearMissPredicate,
  NearMissTooFewOperands
}
 

Public Member Functions

 operator bool () const
 
NearMissKind getKind () const
 
uint64_t getFeatures () const
 
unsigned getPredicateError () const
 
unsigned getOperandClass () const
 
unsigned getOpcode () const
 
unsigned getOperandError () const
 
unsigned getOperandIndex () const
 

Static Public Member Functions

static NearMissInfo getSuccess ()
 
static NearMissInfo getMissedFeature (uint64_t MissingFeatures)
 
static NearMissInfo getMissedPredicate (unsigned FailureCode)
 
static NearMissInfo getMissedOperand (unsigned OperandError, unsigned OperandClass, unsigned Opcode, unsigned OperandIndex)
 
static NearMissInfo getTooFewOperands (unsigned OperandClass, unsigned Opcode)
 

Detailed Description

Definition at line 141 of file MCTargetAsmParser.h.

Member Enumeration Documentation

◆ NearMissKind

Enumerator
NoNearMiss 
NearMissOperand 
NearMissFeature 
NearMissPredicate 
NearMissTooFewOperands 

Definition at line 143 of file MCTargetAsmParser.h.

Member Function Documentation

◆ getFeatures()

uint64_t llvm::NearMissInfo::getFeatures ( ) const
inline

Definition at line 210 of file MCTargetAsmParser.h.

References assert(), Features, and Kind.

◆ getKind()

NearMissKind llvm::NearMissInfo::getKind ( ) const
inline

Definition at line 206 of file MCTargetAsmParser.h.

References Kind.

◆ getMissedFeature()

static NearMissInfo llvm::NearMissInfo::getMissedFeature ( uint64_t  MissingFeatures)
inlinestatic

Definition at line 158 of file MCTargetAsmParser.h.

References Features.

◆ getMissedOperand()

static NearMissInfo llvm::NearMissInfo::getMissedOperand ( unsigned  OperandError,
unsigned  OperandClass,
unsigned  Opcode,
unsigned  OperandIndex 
)
inlinestatic

Definition at line 180 of file MCTargetAsmParser.h.

References MissedOperand.

◆ getMissedPredicate()

static NearMissInfo llvm::NearMissInfo::getMissedPredicate ( unsigned  FailureCode)
inlinestatic

Definition at line 168 of file MCTargetAsmParser.h.

References PredicateError.

◆ getOpcode()

unsigned llvm::NearMissInfo::getOpcode ( ) const
inline

Definition at line 226 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getOperandClass()

unsigned llvm::NearMissInfo::getOperandClass ( ) const
inline

Definition at line 221 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getOperandError()

unsigned llvm::NearMissInfo::getOperandError ( ) const
inline

Definition at line 231 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getOperandIndex()

unsigned llvm::NearMissInfo::getOperandIndex ( ) const
inline

Definition at line 237 of file MCTargetAsmParser.h.

References assert(), llvm::lltok::Error, and Kind.

◆ getPredicateError()

unsigned llvm::NearMissInfo::getPredicateError ( ) const
inline

Definition at line 216 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getSuccess()

static NearMissInfo llvm::NearMissInfo::getSuccess ( )
inlinestatic

Definition at line 153 of file MCTargetAsmParser.h.

◆ getTooFewOperands()

static NearMissInfo llvm::NearMissInfo::getTooFewOperands ( unsigned  OperandClass,
unsigned  Opcode 
)
inlinestatic

Definition at line 195 of file MCTargetAsmParser.h.

References TooFewOperands.

◆ operator bool()

llvm::NearMissInfo::operator bool ( ) const
inline

Definition at line 204 of file MCTargetAsmParser.h.

References Kind.

Member Data Documentation

◆ Features

uint64_t llvm::NearMissInfo::Features

Definition at line 260 of file MCTargetAsmParser.h.

Referenced by getMissedFeature().

◆ MissedOperand

MissedOpInfo llvm::NearMissInfo::MissedOperand

Definition at line 262 of file MCTargetAsmParser.h.

Referenced by getMissedOperand().

◆ PredicateError

unsigned llvm::NearMissInfo::PredicateError

Definition at line 261 of file MCTargetAsmParser.h.

Referenced by getMissedPredicate().

◆ TooFewOperands

TooFewOperandsInfo llvm::NearMissInfo::TooFewOperands

Definition at line 263 of file MCTargetAsmParser.h.

Referenced by getTooFewOperands().


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