LLVM  5.0.0
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, llvm::Twine const &Msg)
 
void reportError (llvm::Twine const &Msg)
 
void reportWarning (llvm::Twine const &Msg)
 

Detailed Description

Check for a valid bundle.

Definition at line 28 of file HexagonMCChecker.h.

Constructor & Destructor Documentation

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

Definition at line 234 of file HexagonMCChecker.cpp.

Member Function Documentation

bool HexagonMCChecker::check ( bool  FullCheck = true)

Definition at line 242 of file HexagonMCChecker.cpp.

Referenced by llvm::HexagonMCInstrInfo::canonicalizePacket().

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

Definition at line 681 of file HexagonMCChecker.cpp.

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

void HexagonMCChecker::reportErrorNewValue ( unsigned  Register)

Definition at line 675 of file HexagonMCChecker.cpp.

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

void HexagonMCChecker::reportErrorRegisters ( unsigned  Register)

Definition at line 670 of file HexagonMCChecker.cpp.

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

void HexagonMCChecker::reportWarning ( llvm::Twine const &  Msg)

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