|
LLVM
5.0.0
|
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) |
Check for a valid bundle.
Definition at line 28 of file HexagonMCChecker.h.
|
explicit |
Definition at line 234 of file HexagonMCChecker.cpp.
Definition at line 242 of file HexagonMCChecker.cpp.
Referenced by llvm::HexagonMCInstrInfo::canonicalizePacket().
| void HexagonMCChecker::reportError | ( | SMLoc | Loc, |
| llvm::Twine const & | Msg | ||
| ) |
Definition at line 685 of file HexagonMCChecker.cpp.
References llvm::MCContext::reportError().
Referenced by reportError(), reportErrorNewValue(), and reportErrorRegisters().
| 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 | ) |
Definition at line 690 of file HexagonMCChecker.cpp.
References llvm::SourceMgr::DK_Warning, llvm::MCInst::getLoc(), llvm::MCContext::getSourceManager(), and llvm::SourceMgr::PrintMessage().
1.8.6