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

Check for a valid bundle. More...

#include <HexagonMCChecker.h>

Public Member Functions

 HexagonMCChecker (MCInstrInfo const &MCII, MCSubtargetInfo const &STI, MCInst &mcb, MCInst &mcbdx, const MCRegisterInfo &ri)
 
bool check ()
 
void addErrInfo (HexagonMCErrInfo &err)
 add a new error/warning More...
 
unsigned getError ()
 Return the error code for the last operation in the insn bundle. More...
 
unsigned getWarning ()
 
unsigned getShuffleError ()
 
unsigned getErrRegister ()
 
bool getNextErrInfo ()
 

Detailed Description

Check for a valid bundle.

Definition at line 72 of file HexagonMCChecker.h.

Constructor & Destructor Documentation

HexagonMCChecker::HexagonMCChecker ( MCInstrInfo const MCII,
MCSubtargetInfo const STI,
MCInst mcb,
MCInst mcbdx,
const MCRegisterInfo ri 
)
explicit

Definition at line 226 of file HexagonMCChecker.cpp.

Member Function Documentation

void llvm::HexagonMCChecker::addErrInfo ( HexagonMCErrInfo err)
inline

add a new error/warning

Definition at line 202 of file HexagonMCChecker.h.

References llvm::HexagonMCErrInfo::s.

bool HexagonMCChecker::check ( )

Definition at line 233 of file HexagonMCChecker.cpp.

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

unsigned llvm::HexagonMCChecker::getError ( )
inline

Return the error code for the last operation in the insn bundle.

Definition at line 205 of file HexagonMCChecker.h.

References llvm::ErrInfo_T::Error, and llvm::HexagonMCErrInfo::s.

unsigned llvm::HexagonMCChecker::getErrRegister ( )
inline

Definition at line 208 of file HexagonMCChecker.h.

References llvm::ErrInfo_T::Register, and llvm::HexagonMCErrInfo::s.

bool llvm::HexagonMCChecker::getNextErrInfo ( )
inline

Definition at line 209 of file HexagonMCChecker.h.

unsigned llvm::HexagonMCChecker::getShuffleError ( )
inline

Definition at line 207 of file HexagonMCChecker.h.

References llvm::HexagonMCErrInfo::s, and llvm::ErrInfo_T::ShuffleError.

unsigned llvm::HexagonMCChecker::getWarning ( )
inline

Definition at line 206 of file HexagonMCChecker.h.

References llvm::HexagonMCErrInfo::s, and llvm::ErrInfo_T::Warning.


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