LLVM 20.0.0git
Macros | Functions | Variables
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"

Go to the source code of this file.

Macros

#define GET_INSTRINFO_CTOR_DTOR
 

Functions

static SPCC::CondCodes GetOppositeBranchCondition (SPCC::CondCodes CC)
 
static bool isUncondBranchOpcode (int Opc)
 
static bool isI32CondBranchOpcode (int Opc)
 
static bool isI64CondBranchOpcode (int Opc)
 
static bool isRegCondBranchOpcode (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)
 

Variables

static cl::opt< unsignedBPccDisplacementBits ("sparc-bpcc-offset-bits", cl::Hidden, cl::init(19), cl::desc("Restrict range of BPcc/FBPfcc instructions (DEBUG)"))
 
static cl::opt< unsignedBPrDisplacementBits ("sparc-bpr-offset-bits", cl::Hidden, cl::init(16), cl::desc("Restrict range of BPr instructions (DEBUG)"))
 

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 178 of file SparcInstrInfo.cpp.

Referenced by isCondBranchOpcode().

◆ isI32CondBranchOpcode()

static bool isI32CondBranchOpcode ( int  Opc)
static

Definition at line 163 of file SparcInstrInfo.cpp.

Referenced by isCondBranchOpcode().

◆ isI64CondBranchOpcode()

static bool isI64CondBranchOpcode ( int  Opc)
static

Definition at line 168 of file SparcInstrInfo.cpp.

Referenced by isCondBranchOpcode().

◆ isIndirectBranchOpcode()

static bool isIndirectBranchOpcode ( int  Opc)
static

Definition at line 188 of file SparcInstrInfo.cpp.

◆ isRegCondBranchOpcode()

static bool isRegCondBranchOpcode ( int  Opc)
static

◆ isUncondBranchOpcode()

static bool isUncondBranchOpcode ( int  Opc)
static

Definition at line 161 of file SparcInstrInfo.cpp.

◆ parseCondBranch()

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

Variable Documentation

◆ BPccDisplacementBits

cl::opt< unsigned > BPccDisplacementBits("sparc-bpcc-offset-bits", cl::Hidden, cl::init(19), cl::desc("Restrict range of BPcc/FBPfcc instructions (DEBUG)")) ( "sparc-bpcc-offset-bits"  ,
cl::Hidden  ,
cl::init(19)  ,
cl::desc("Restrict range of BPcc/FBPfcc instructions (DEBUG)")   
)
static

◆ BPrDisplacementBits

cl::opt< unsigned > BPrDisplacementBits("sparc-bpr-offset-bits", cl::Hidden, cl::init(16), cl::desc("Restrict range of BPr instructions (DEBUG)")) ( "sparc-bpr-offset-bits"  ,
cl::Hidden  ,
cl::init(16)  ,
cl::desc("Restrict range of BPr instructions (DEBUG)")   
)
static