LLVM  12.0.0git
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
 
const FeatureBitsetgetFeatures () 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 (const FeatureBitset &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 181 of file MCTargetAsmParser.h.

Member Enumeration Documentation

◆ NearMissKind

Enumerator
NoNearMiss 
NearMissOperand 
NearMissFeature 
NearMissPredicate 
NearMissTooFewOperands 

Definition at line 183 of file MCTargetAsmParser.h.

Member Function Documentation

◆ getFeatures()

const FeatureBitset& llvm::NearMissInfo::getFeatures ( ) const
inline

Definition at line 250 of file MCTargetAsmParser.h.

References assert().

◆ getKind()

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

Definition at line 246 of file MCTargetAsmParser.h.

◆ getMissedFeature()

static NearMissInfo llvm::NearMissInfo::getMissedFeature ( const FeatureBitset MissingFeatures)
inlinestatic

Definition at line 198 of file MCTargetAsmParser.h.

References Features.

◆ getMissedOperand()

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

Definition at line 220 of file MCTargetAsmParser.h.

References MissedOperand.

◆ getMissedPredicate()

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

Definition at line 208 of file MCTargetAsmParser.h.

References PredicateError.

◆ getOpcode()

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

Definition at line 266 of file MCTargetAsmParser.h.

References assert().

◆ getOperandClass()

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

Definition at line 261 of file MCTargetAsmParser.h.

References assert().

◆ getOperandError()

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

Definition at line 271 of file MCTargetAsmParser.h.

References assert().

◆ getOperandIndex()

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

Definition at line 277 of file MCTargetAsmParser.h.

References assert(), and llvm::Error.

◆ getPredicateError()

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

Definition at line 256 of file MCTargetAsmParser.h.

References assert().

◆ getSuccess()

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

Definition at line 193 of file MCTargetAsmParser.h.

◆ getTooFewOperands()

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

Definition at line 235 of file MCTargetAsmParser.h.

References TooFewOperands.

◆ operator bool()

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

Definition at line 244 of file MCTargetAsmParser.h.

Member Data Documentation

◆ Features

FeatureBitset llvm::NearMissInfo::Features

Definition at line 300 of file MCTargetAsmParser.h.

Referenced by getMissedFeature().

◆ MissedOperand

MissedOpInfo llvm::NearMissInfo::MissedOperand

Definition at line 302 of file MCTargetAsmParser.h.

Referenced by getMissedOperand().

◆ PredicateError

unsigned llvm::NearMissInfo::PredicateError

Definition at line 301 of file MCTargetAsmParser.h.

Referenced by getMissedPredicate().

◆ TooFewOperands

TooFewOperandsInfo llvm::NearMissInfo::TooFewOperands

Definition at line 303 of file MCTargetAsmParser.h.

Referenced by getTooFewOperands().


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