LLVM 19.0.0git
Macros | Functions
ARCInstPrinter.cpp File Reference
#include "ARCInstPrinter.h"
#include "MCTargetDesc/ARCInfo.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "ARCGenAsmWriter.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "asm-printer"
 

Functions

template<class T >
static const charBadConditionCode (T cc)
 
static const charARCBRCondCodeToString (ARCCC::BRCondCode BRCC)
 
static const charARCCondCodeToString (ARCCC::CondCode CC)
 
static void printExpr (const MCExpr *Expr, const MCAsmInfo *MAI, raw_ostream &OS)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "asm-printer"

Definition at line 26 of file ARCInstPrinter.cpp.

Function Documentation

◆ ARCBRCondCodeToString()

static const char * ARCBRCondCodeToString ( ARCCC::BRCondCode  BRCC)
static

◆ ARCCondCodeToString()

static const char * ARCCondCodeToString ( ARCCC::CondCode  CC)
static

◆ BadConditionCode()

template<class T >
static const char * BadConditionCode ( T  cc)
static

Definition at line 31 of file ARCInstPrinter.cpp.

References llvm::dbgs(), and LLVM_DEBUG.

Referenced by ARCBRCondCodeToString(), and ARCCondCodeToString().

◆ printExpr()

static void printExpr ( const MCExpr Expr,
const MCAsmInfo MAI,
raw_ostream OS 
)
static