LLVM 20.0.0git
Public Member Functions | List of all members
llvm::HexagonMCChecker Class Reference

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 ()
 

Detailed Description

Check for a valid bundle.

Definition at line 33 of file HexagonMCChecker.h.

Constructor & Destructor Documentation

◆ HexagonMCChecker() [1/2]

HexagonMCChecker::HexagonMCChecker ( MCContext Context,
MCInstrInfo const MCII,
MCSubtargetInfo const STI,
MCInst mcb,
const MCRegisterInfo ri,
bool  ReportErrors = true 
)
explicit

Definition at line 197 of file HexagonMCChecker.cpp.

◆ HexagonMCChecker() [2/2]

HexagonMCChecker::HexagonMCChecker ( HexagonMCChecker const Check,
MCSubtargetInfo const STI,
bool  CopyReportErrors 
)
explicit

Definition at line 205 of file HexagonMCChecker.cpp.

Member Function Documentation

◆ check()

bool HexagonMCChecker::check ( bool  FullCheck = true)

Definition at line 213 of file HexagonMCChecker.cpp.

◆ reportBranchErrors()

void HexagonMCChecker::reportBranchErrors ( )

◆ reportError() [1/2]

void HexagonMCChecker::reportError ( SMLoc  Loc,
Twine const Msg 
)

◆ reportError() [2/2]

void HexagonMCChecker::reportError ( Twine const Msg)

Definition at line 779 of file HexagonMCChecker.cpp.

References llvm::MCInst::getLoc(), and reportError().

◆ reportErrorNewValue()

void HexagonMCChecker::reportErrorNewValue ( unsigned  Register)

Definition at line 773 of file HexagonMCChecker.cpp.

References llvm::MCRegisterInfo::getName(), and reportError().

◆ reportErrorRegisters()

void HexagonMCChecker::reportErrorRegisters ( unsigned  Register)

Definition at line 768 of file HexagonMCChecker.cpp.

References llvm::MCRegisterInfo::getName(), and reportError().

◆ reportNote()

void HexagonMCChecker::reportNote ( SMLoc  Loc,
llvm::Twine const Msg 
)

◆ reportWarning()

void HexagonMCChecker::reportWarning ( Twine const Msg)

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