LLVM 20.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"

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 223 of file MCTargetAsmParser.h.

Member Enumeration Documentation

◆ NearMissKind

Enumerator
NoNearMiss 
NearMissOperand 
NearMissFeature 
NearMissPredicate 
NearMissTooFewOperands 

Definition at line 225 of file MCTargetAsmParser.h.

Member Function Documentation

◆ getFeatures()

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

Definition at line 292 of file MCTargetAsmParser.h.

References assert(), Features, and NearMissFeature.

◆ getKind()

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

Definition at line 288 of file MCTargetAsmParser.h.

◆ getMissedFeature()

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

Definition at line 240 of file MCTargetAsmParser.h.

References NearMissFeature.

◆ getMissedOperand()

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

Definition at line 262 of file MCTargetAsmParser.h.

References NearMissOperand.

◆ getMissedPredicate()

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

Definition at line 250 of file MCTargetAsmParser.h.

References NearMissPredicate.

◆ getOpcode()

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

Definition at line 308 of file MCTargetAsmParser.h.

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

◆ getOperandClass()

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

Definition at line 303 of file MCTargetAsmParser.h.

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

◆ getOperandError()

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

Definition at line 313 of file MCTargetAsmParser.h.

References assert(), MissedOperand, and NearMissOperand.

◆ getOperandIndex()

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

Definition at line 319 of file MCTargetAsmParser.h.

References assert(), MissedOperand, and NearMissOperand.

◆ getPredicateError()

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

Definition at line 298 of file MCTargetAsmParser.h.

References assert(), NearMissPredicate, and PredicateError.

◆ getSuccess()

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

Definition at line 235 of file MCTargetAsmParser.h.

◆ getTooFewOperands()

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

Definition at line 277 of file MCTargetAsmParser.h.

References NearMissTooFewOperands.

◆ operator bool()

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

Definition at line 286 of file MCTargetAsmParser.h.

References NoNearMiss.

Member Data Documentation

◆ Features

FeatureBitset llvm::NearMissInfo::Features

Definition at line 342 of file MCTargetAsmParser.h.

Referenced by getFeatures().

◆ MissedOperand

MissedOpInfo llvm::NearMissInfo::MissedOperand

Definition at line 344 of file MCTargetAsmParser.h.

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

◆ PredicateError

unsigned llvm::NearMissInfo::PredicateError

Definition at line 343 of file MCTargetAsmParser.h.

Referenced by getPredicateError().

◆ TooFewOperands

TooFewOperandsInfo llvm::NearMissInfo::TooFewOperands

Definition at line 345 of file MCTargetAsmParser.h.


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