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

Check for a valid bundle. More...

#include "Target/Hexagon/MCTargetDesc/HexagonMCChecker.h"

Public Member Functions

 HexagonMCChecker (MCContext &Context, MCInstrInfo const &MCII, MCSubtargetInfo const &STI, MCInst &mcb, const MCRegisterInfo &ri, bool ReportErrors=true)
 
bool check (bool FullCheck=true)
 
void reportErrorRegisters (unsigned Register)
 
void reportErrorNewValue (unsigned Register)
 
void reportError (SMLoc Loc, Twine const &Msg)
 
void reportError (Twine const &Msg)
 
void reportWarning (Twine const &Msg)
 

Detailed Description

Check for a valid bundle.

Definition at line 34 of file HexagonMCChecker.h.

Constructor & Destructor Documentation

◆ HexagonMCChecker()

HexagonMCChecker::HexagonMCChecker ( MCContext Context,
MCInstrInfo const MCII,
MCSubtargetInfo const STI,
MCInst mcb,
const MCRegisterInfo ri,
bool  ReportErrors = true 
)
explicit

Definition at line 237 of file HexagonMCChecker.cpp.

Member Function Documentation

◆ check()

bool HexagonMCChecker::check ( bool  FullCheck = true)

◆ reportError() [1/2]

void HexagonMCChecker::reportError ( SMLoc  Loc,
Twine const Msg 
)

◆ reportError() [2/2]

void HexagonMCChecker::reportError ( Twine const Msg)

Definition at line 681 of file HexagonMCChecker.cpp.

References llvm::MCInst::getLoc(), and reportError().

◆ reportErrorNewValue()

void HexagonMCChecker::reportErrorNewValue ( unsigned  Register)

Definition at line 675 of file HexagonMCChecker.cpp.

References llvm::MCRegisterInfo::getName(), and reportError().

Referenced by isNeitherAnorX().

◆ reportErrorRegisters()

void HexagonMCChecker::reportErrorRegisters ( unsigned  Register)

Definition at line 670 of file HexagonMCChecker.cpp.

References llvm::MCRegisterInfo::getName(), and reportError().

Referenced by isNeitherAnorX().

◆ reportWarning()

void HexagonMCChecker::reportWarning ( Twine const Msg)

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