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

Member Enumeration Documentation

◆ NearMissKind

Enumerator
NoNearMiss 
NearMissOperand 
NearMissFeature 
NearMissPredicate 
NearMissTooFewOperands 

Definition at line 182 of file MCTargetAsmParser.h.

Member Function Documentation

◆ getFeatures()

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

Definition at line 249 of file MCTargetAsmParser.h.

References assert(), Features, and NearMissFeature.

◆ getKind()

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

Definition at line 245 of file MCTargetAsmParser.h.

◆ getMissedFeature()

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

Definition at line 197 of file MCTargetAsmParser.h.

References NearMissFeature.

◆ getMissedOperand()

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

Definition at line 219 of file MCTargetAsmParser.h.

References NearMissOperand.

◆ getMissedPredicate()

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

Definition at line 207 of file MCTargetAsmParser.h.

References NearMissPredicate.

◆ getOpcode()

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

Definition at line 265 of file MCTargetAsmParser.h.

References assert(), MissedOperand, NearMissOperand, and NearMissTooFewOperands.

◆ getOperandClass()

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

Definition at line 260 of file MCTargetAsmParser.h.

References assert(), MissedOperand, NearMissOperand, and NearMissTooFewOperands.

◆ getOperandError()

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

Definition at line 270 of file MCTargetAsmParser.h.

References assert(), MissedOperand, and NearMissOperand.

◆ getOperandIndex()

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

Definition at line 276 of file MCTargetAsmParser.h.

References assert(), MissedOperand, and NearMissOperand.

◆ getPredicateError()

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

Definition at line 255 of file MCTargetAsmParser.h.

References assert(), NearMissPredicate, and PredicateError.

◆ getSuccess()

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

Definition at line 192 of file MCTargetAsmParser.h.

◆ getTooFewOperands()

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

Definition at line 234 of file MCTargetAsmParser.h.

References NearMissTooFewOperands.

◆ operator bool()

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

Definition at line 243 of file MCTargetAsmParser.h.

References NoNearMiss.

Member Data Documentation

◆ Features

FeatureBitset llvm::NearMissInfo::Features

Definition at line 299 of file MCTargetAsmParser.h.

Referenced by getFeatures().

◆ MissedOperand

MissedOpInfo llvm::NearMissInfo::MissedOperand

Definition at line 301 of file MCTargetAsmParser.h.

Referenced by getOpcode(), getOperandClass(), getOperandError(), and getOperandIndex().

◆ PredicateError

unsigned llvm::NearMissInfo::PredicateError

Definition at line 300 of file MCTargetAsmParser.h.

Referenced by getPredicateError().

◆ TooFewOperands

TooFewOperandsInfo llvm::NearMissInfo::TooFewOperands

Definition at line 302 of file MCTargetAsmParser.h.


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