LLVM 20.0.0git
|
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) | |
HexagonMCChecker (HexagonMCChecker const &Check, MCSubtargetInfo const &STI, bool CopyReportErrors) | |
bool | check (bool FullCheck=true) |
void | reportErrorRegisters (unsigned Register) |
void | reportErrorNewValue (unsigned Register) |
void | reportError (SMLoc Loc, Twine const &Msg) |
void | reportNote (SMLoc Loc, Twine const &Msg) |
void | reportError (Twine const &Msg) |
void | reportWarning (Twine const &Msg) |
void | reportBranchErrors () |
Check for a valid bundle.
Definition at line 33 of file HexagonMCChecker.h.
|
explicit |
Definition at line 197 of file HexagonMCChecker.cpp.
|
explicit |
Definition at line 205 of file HexagonMCChecker.cpp.
Definition at line 213 of file HexagonMCChecker.cpp.
void HexagonMCChecker::reportBranchErrors | ( | ) |
Definition at line 319 of file HexagonMCChecker.cpp.
References llvm::HexagonMCInstrInfo::bundleInstructions(), I, llvm::HexagonMCInstrInfo::IsABranchingInst(), and reportNote().
Definition at line 783 of file HexagonMCChecker.cpp.
References llvm::MCContext::reportError().
Referenced by reportError(), reportErrorNewValue(), and reportErrorRegisters().
Definition at line 779 of file HexagonMCChecker.cpp.
References llvm::MCInst::getLoc(), and reportError().
void HexagonMCChecker::reportErrorNewValue | ( | unsigned | Register | ) |
Definition at line 773 of file HexagonMCChecker.cpp.
References llvm::MCRegisterInfo::getName(), and reportError().
void HexagonMCChecker::reportErrorRegisters | ( | unsigned | Register | ) |
Definition at line 768 of file HexagonMCChecker.cpp.
References llvm::MCRegisterInfo::getName(), and reportError().
void HexagonMCChecker::reportNote | ( | SMLoc | Loc, |
llvm::Twine const & | Msg | ||
) |
Definition at line 788 of file HexagonMCChecker.cpp.
References llvm::SourceMgr::DK_Note, llvm::MCContext::getSourceManager(), and llvm::SourceMgr::PrintMessage().
Referenced by reportBranchErrors().
Definition at line 796 of file HexagonMCChecker.cpp.
References llvm::MCInst::getLoc(), and llvm::MCContext::reportWarning().