LLVM API Documentation

Enumerations | Functions
llvm::MBlaze Namespace Reference

Enumerations

enum  FPBranchCode {
  BRANCH_F, BRANCH_T, BRANCH_FL, BRANCH_TL,
  BRANCH_INVALID
}
enum  CondCode {
  FCOND_F, FCOND_UN, FCOND_EQ, FCOND_UEQ,
  FCOND_OLT, FCOND_ULT, FCOND_OLE, FCOND_ULE,
  FCOND_SF, FCOND_NGLE, FCOND_SEQ, FCOND_NGL,
  FCOND_LT, FCOND_NGE, FCOND_LE, FCOND_NGT,
  FCOND_T, FCOND_OR, FCOND_NEQ, FCOND_OGL,
  FCOND_UGE, FCOND_OGE, FCOND_UGT, FCOND_OGT,
  FCOND_ST, FCOND_GLE, FCOND_SNE, FCOND_GL,
  FCOND_NLT, FCOND_GE, FCOND_NLE, FCOND_GT,
  COND_EQ, COND_GT, COND_GE, COND_LT,
  COND_LE, COND_NE, COND_INVALID
}
enum  SubregIndex { SUBREG_FPEVEN = 1, SUBREG_FPODD = 2 }
enum  RelocationType {
  reloc_pcrel_word = 0, reloc_picrel_word = 1, reloc_absolute_word = 2, reloc_absolute_word_sext = 3,
  reloc_absolute_dword = 4
}

Functions

static unsigned GetCondBranchFromCond (CondCode CC)
static const char * MBlazeFCCToString (MBlaze::CondCode CC)
 MBlazeCCToString - Map each FP condition code to its string.
static bool isUncondBranchOpcode (int Opc)
static bool isCondBranchOpcode (int Opc)

Enumeration Type Documentation

Enumerator:
FCOND_F 
FCOND_UN 
FCOND_EQ 
FCOND_UEQ 
FCOND_OLT 
FCOND_ULT 
FCOND_OLE 
FCOND_ULE 
FCOND_SF 
FCOND_NGLE 
FCOND_SEQ 
FCOND_NGL 
FCOND_LT 
FCOND_NGE 
FCOND_LE 
FCOND_NGT 
FCOND_T 
FCOND_OR 
FCOND_NEQ 
FCOND_OGL 
FCOND_UGE 
FCOND_OGE 
FCOND_UGT 
FCOND_OGT 
FCOND_ST 
FCOND_GLE 
FCOND_SNE 
FCOND_GL 
FCOND_NLT 
FCOND_GE 
FCOND_NLE 
FCOND_GT 
COND_EQ 
COND_GT 
COND_GE 
COND_LT 
COND_LE 
COND_NE 
COND_INVALID 

Definition at line 39 of file MBlazeInstrInfo.h.

Enumerator:
BRANCH_F 
BRANCH_T 
BRANCH_FL 
BRANCH_TL 
BRANCH_INVALID 

Definition at line 30 of file MBlazeInstrInfo.h.

Enumerator:
reloc_pcrel_word 

reloc_pcrel_word - PC relative relocation, add the relocated value to the value already in memory, after we adjust it for where the PC is.

reloc_picrel_word 

reloc_picrel_word - PIC base relative relocation, add the relocated value to the value already in memory, after we adjust it for where the PIC base is.

reloc_absolute_word 

reloc_absolute_word - absolute relocation, just add the relocated value to the value already in memory.

reloc_absolute_word_sext 

reloc_absolute_word_sext - absolute relocation, just add the relocated value to the value already in memory. In object files, it represents a value which must be sign-extended when resolving the relocation.

reloc_absolute_dword 

reloc_absolute_dword - absolute relocation, just add the relocated value to the value already in memory.

Definition at line 21 of file MBlazeRelocations.h.

SubregIndex - The index of various sized subregister classes. Note that these indices must be kept in sync with the class indices in the MBlazeRegisterInfo.td file.

Enumerator:
SUBREG_FPEVEN 
SUBREG_FPODD 

Definition at line 33 of file MBlazeRegisterInfo.h.


Function Documentation

static unsigned llvm::MBlaze::GetCondBranchFromCond ( CondCode  CC) [inline, static]

Definition at line 89 of file MBlazeInstrInfo.h.

References COND_EQ, COND_GE, COND_GT, COND_LE, COND_LT, COND_NE, and llvm_unreachable.

static bool llvm::MBlaze::isCondBranchOpcode ( int  Opc) [inline, static]
static bool llvm::MBlaze::isUncondBranchOpcode ( int  Opc) [inline, static]
static const char* llvm::MBlaze::MBlazeFCCToString ( MBlaze::CondCode  CC) [inline, static]

MBlazeCCToString - Map each FP condition code to its string.

GetOppositeBranchCondition - Return the inverse of the specified cond, e.g. turning COND_E to COND_NE.

Definition at line 106 of file MBlazeInstrInfo.h.

References FCOND_EQ, FCOND_F, FCOND_GE, FCOND_GL, FCOND_GLE, FCOND_GT, FCOND_LE, FCOND_LT, FCOND_NEQ, FCOND_NGE, FCOND_NGL, FCOND_NGLE, FCOND_NGT, FCOND_NLE, FCOND_NLT, FCOND_OGE, FCOND_OGL, FCOND_OGT, FCOND_OLE, FCOND_OLT, FCOND_OR, FCOND_SEQ, FCOND_SF, FCOND_SNE, FCOND_ST, FCOND_T, FCOND_UEQ, FCOND_UGE, FCOND_UGT, FCOND_ULE, FCOND_ULT, FCOND_UN, and llvm_unreachable.