LLVM  8.0.1
Macros | Functions
SparcInstrInfo.cpp File Reference
#include "SparcInstrInfo.h"
#include "Sparc.h"
#include "SparcMachineFunctionInfo.h"
#include "SparcSubtarget.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h"
#include "SparcGenInstrInfo.inc"
Include dependency graph for SparcInstrInfo.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_CTOR_DTOR
 

Functions

static bool IsIntegerCC (unsigned CC)
 
static SPCC::CondCodes GetOppositeBranchCondition (SPCC::CondCodes CC)
 
static bool isUncondBranchOpcode (int Opc)
 
static bool isCondBranchOpcode (int Opc)
 
static bool isIndirectBranchOpcode (int Opc)
 
static void parseCondBranch (MachineInstr *LastInst, MachineBasicBlock *&Target, SmallVectorImpl< MachineOperand > &Cond)
 

Macro Definition Documentation

◆ GET_INSTRINFO_CTOR_DTOR

#define GET_INSTRINFO_CTOR_DTOR

Definition at line 29 of file SparcInstrInfo.cpp.

Function Documentation

◆ GetOppositeBranchCondition()

static SPCC::CondCodes GetOppositeBranchCondition ( SPCC::CondCodes  CC)
static

◆ isCondBranchOpcode()

static bool isCondBranchOpcode ( int  Opc)
static

Definition at line 146 of file SparcInstrInfo.cpp.

◆ isIndirectBranchOpcode()

static bool isIndirectBranchOpcode ( int  Opc)
static

Definition at line 150 of file SparcInstrInfo.cpp.

◆ IsIntegerCC()

static bool IsIntegerCC ( unsigned  CC)
static

Definition at line 77 of file SparcInstrInfo.cpp.

References llvm::SPCC::ICC_VC.

Referenced by llvm::SparcInstrInfo::insertBranch().

◆ isUncondBranchOpcode()

static bool isUncondBranchOpcode ( int  Opc)
static

Definition at line 144 of file SparcInstrInfo.cpp.

◆ parseCondBranch()

static void parseCondBranch ( MachineInstr LastInst,
MachineBasicBlock *&  Target,
SmallVectorImpl< MachineOperand > &  Cond 
)
static