LLVM
15.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 34 of file HexagonMCChecker.h.
|
explicit |
Definition at line 204 of file HexagonMCChecker.cpp.
|
explicit |
Definition at line 212 of file HexagonMCChecker.cpp.
References Other.
bool HexagonMCChecker::check | ( | bool | FullCheck = true | ) |
Definition at line 220 of file HexagonMCChecker.cpp.
void HexagonMCChecker::reportBranchErrors | ( | ) |
Definition at line 326 of file HexagonMCChecker.cpp.
References llvm::HexagonMCInstrInfo::bundleInstructions(), I, llvm::HexagonMCInstrInfo::IsABranchingInst(), and reportNote().
Definition at line 790 of file HexagonMCChecker.cpp.
References llvm::AMDGPU::SendMsg::Msg, and llvm::MCContext::reportError().
Referenced by reportError(), reportErrorNewValue(), and reportErrorRegisters().
Definition at line 786 of file HexagonMCChecker.cpp.
References llvm::MCInst::getLoc(), llvm::AMDGPU::SendMsg::Msg, and reportError().
void HexagonMCChecker::reportErrorNewValue | ( | unsigned | Register | ) |
Definition at line 780 of file HexagonMCChecker.cpp.
References llvm::MCRegisterInfo::getName(), and reportError().
void HexagonMCChecker::reportErrorRegisters | ( | unsigned | Register | ) |
Definition at line 775 of file HexagonMCChecker.cpp.
References llvm::MCRegisterInfo::getName(), and reportError().
void HexagonMCChecker::reportNote | ( | SMLoc | Loc, |
llvm::Twine const & | Msg | ||
) |
Definition at line 795 of file HexagonMCChecker.cpp.
References llvm::SourceMgr::DK_Note, llvm::MCContext::getSourceManager(), llvm::AMDGPU::SendMsg::Msg, and llvm::SourceMgr::PrintMessage().
Referenced by reportBranchErrors().
Definition at line 803 of file HexagonMCChecker.cpp.
References llvm::MCInst::getLoc(), llvm::AMDGPU::SendMsg::Msg, and llvm::MCContext::reportWarning().