LLVM  16.0.0git
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/MC/TargetRegistry.h"
#include "llvm/Support/ErrorHandling.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 isI32CondBranchOpcode (int Opc)
 
static bool isI64CondBranchOpcode (int Opc)
 
static bool isFCondBranchOpcode (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 28 of file SparcInstrInfo.cpp.

Function Documentation

◆ GetOppositeBranchCondition()

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

◆ isCondBranchOpcode()

static bool isCondBranchOpcode ( int  Opc)
static

◆ isFCondBranchOpcode()

static bool isFCondBranchOpcode ( int  Opc)
static

Definition at line 157 of file SparcInstrInfo.cpp.

Referenced by isCondBranchOpcode().

◆ isI32CondBranchOpcode()

static bool isI32CondBranchOpcode ( int  Opc)
static

Definition at line 147 of file SparcInstrInfo.cpp.

References llvm::SPISD::BPICC.

Referenced by isCondBranchOpcode().

◆ isI64CondBranchOpcode()

static bool isI64CondBranchOpcode ( int  Opc)
static

Definition at line 152 of file SparcInstrInfo.cpp.

References llvm::SPISD::BPXCC.

Referenced by isCondBranchOpcode().

◆ isIndirectBranchOpcode()

static bool isIndirectBranchOpcode ( int  Opc)
static

Definition at line 164 of file SparcInstrInfo.cpp.

◆ IsIntegerCC()

static bool IsIntegerCC ( unsigned  CC)
static

Definition at line 76 of file SparcInstrInfo.cpp.

References CC, and llvm::SPCC::ICC_VC.

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

◆ isUncondBranchOpcode()

static bool isUncondBranchOpcode ( int  Opc)
static

Definition at line 143 of file SparcInstrInfo.cpp.

◆ parseCondBranch()

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