LLVM  8.0.1
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 189 of file MCTargetAsmParser.h.

Member Enumeration Documentation

◆ NearMissKind

Enumerator
NoNearMiss 
NearMissOperand 
NearMissFeature 
NearMissPredicate 
NearMissTooFewOperands 

Definition at line 191 of file MCTargetAsmParser.h.

Member Function Documentation

◆ getFeatures()

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

Definition at line 258 of file MCTargetAsmParser.h.

References assert(), Features, and Kind.

◆ getKind()

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

Definition at line 254 of file MCTargetAsmParser.h.

References Kind.

◆ getMissedFeature()

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

Definition at line 206 of file MCTargetAsmParser.h.

References Features.

◆ getMissedOperand()

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

Definition at line 228 of file MCTargetAsmParser.h.

References MissedOperand.

◆ getMissedPredicate()

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

Definition at line 216 of file MCTargetAsmParser.h.

References PredicateError.

◆ getOpcode()

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

Definition at line 274 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getOperandClass()

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

Definition at line 269 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getOperandError()

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

Definition at line 279 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getOperandIndex()

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

Definition at line 285 of file MCTargetAsmParser.h.

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

◆ getPredicateError()

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

Definition at line 264 of file MCTargetAsmParser.h.

References assert(), and Kind.

◆ getSuccess()

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

Definition at line 201 of file MCTargetAsmParser.h.

◆ getTooFewOperands()

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

Definition at line 243 of file MCTargetAsmParser.h.

References TooFewOperands.

◆ operator bool()

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

Definition at line 252 of file MCTargetAsmParser.h.

References Kind.

Member Data Documentation

◆ Features

uint64_t llvm::NearMissInfo::Features

Definition at line 308 of file MCTargetAsmParser.h.

Referenced by getMissedFeature().

◆ MissedOperand

MissedOpInfo llvm::NearMissInfo::MissedOperand

Definition at line 310 of file MCTargetAsmParser.h.

Referenced by getMissedOperand().

◆ PredicateError

unsigned llvm::NearMissInfo::PredicateError

Definition at line 309 of file MCTargetAsmParser.h.

Referenced by getMissedPredicate().

◆ TooFewOperands

TooFewOperandsInfo llvm::NearMissInfo::TooFewOperands

Definition at line 311 of file MCTargetAsmParser.h.

Referenced by getTooFewOperands().


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