LLVM  4.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::HexagonMCErrInfo Class Reference

#include <HexagonMCChecker.h>

Collaboration diagram for llvm::HexagonMCErrInfo:
[legend]

Public Types

enum  {
  CHECK_SUCCESS = 0, CHECK_ERROR_BRANCHES = 0x00001, CHECK_ERROR_NEWP = 0x00002, CHECK_ERROR_NEWV = 0x00004,
  CHECK_ERROR_REGISTERS = 0x00008, CHECK_ERROR_READONLY = 0x00010, CHECK_ERROR_LOOP = 0x00020, CHECK_ERROR_ENDLOOP = 0x00040,
  CHECK_ERROR_SOLO = 0x00080, CHECK_ERROR_SHUFFLE = 0x00100, CHECK_ERROR_NOSLOTS = 0x00200, CHECK_ERROR_UNKNOWN = 0x00400,
  CHECK_WARN_CURRENT = 0x10000, CHECK_WARN_TEMPORARY = 0x20000
}
 

Public Member Functions

void reset ()
 
 HexagonMCErrInfo ()
 
void setError (unsigned e, unsigned r=Hexagon::NoRegister)
 
void setWarning (unsigned w, unsigned r=Hexagon::NoRegister)
 
void setShuffleError (unsigned e)
 

Public Attributes

ErrInfo_T s
 

Detailed Description

Definition at line 32 of file HexagonMCChecker.h.

Member Enumeration Documentation

anonymous enum
Enumerator
CHECK_SUCCESS 
CHECK_ERROR_BRANCHES 
CHECK_ERROR_NEWP 
CHECK_ERROR_NEWV 
CHECK_ERROR_REGISTERS 
CHECK_ERROR_READONLY 
CHECK_ERROR_LOOP 
CHECK_ERROR_ENDLOOP 
CHECK_ERROR_SOLO 
CHECK_ERROR_SHUFFLE 
CHECK_ERROR_NOSLOTS 
CHECK_ERROR_UNKNOWN 
CHECK_WARN_CURRENT 
CHECK_WARN_TEMPORARY 

Definition at line 34 of file HexagonMCChecker.h.

Constructor & Destructor Documentation

llvm::HexagonMCErrInfo::HexagonMCErrInfo ( )
inline

Definition at line 60 of file HexagonMCChecker.h.

References reset().

Member Function Documentation

void llvm::HexagonMCErrInfo::reset ( )
inline
void llvm::HexagonMCErrInfo::setError ( unsigned  e,
unsigned  r = Hexagon::NoRegister 
)
inline

Definition at line 64 of file HexagonMCChecker.h.

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

void llvm::HexagonMCErrInfo::setShuffleError ( unsigned  e)
inline

Definition at line 68 of file HexagonMCChecker.h.

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

void llvm::HexagonMCErrInfo::setWarning ( unsigned  w,
unsigned  r = Hexagon::NoRegister 
)
inline

Definition at line 66 of file HexagonMCChecker.h.

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

Member Data Documentation

ErrInfo_T llvm::HexagonMCErrInfo::s

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