LLVM: lib/Target/ARC/ARCInstrInfo.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define GET_INSTRINFO_CTOR_DTOR
#define DEBUG_TYPE "arc-inst-info"
Enumerations
enum AddrIncType { NoAddInc = 0 , PreInc = 1 , PostInc = 2 , Scaled = 3 }
enum TSFlagsConstants { TSF_AddrModeOff = 0 , TSF_AddModeMask = 3 }
Functions
static bool isZeroImm (const MachineOperand &Op)
static bool isLoad (int Opcode)
static bool isStore (int Opcode)
static ARCCC::CondCode getOppositeBranchCondition (ARCCC::CondCode CC)
Return the inverse of passed condition, i.e. turning COND_E to COND_NE.
static bool isUncondBranchOpcode (int Opc)
static bool isCondBranchOpcode (int Opc)
static bool isJumpOpcode (int Opc)

DEBUG_TYPE

#define DEBUG_TYPE "arc-inst-info"

GET_INSTRINFO_CTOR_DTOR

#define GET_INSTRINFO_CTOR_DTOR

AddrIncType

TSFlagsConstants

getOppositeBranchCondition()

Return the inverse of passed condition, i.e. turning COND_E to COND_NE.

Definition at line 103 of file ARCInstrInfo.cpp.

References llvm::ARCCC::EQ, llvm::ARCCC::GE, llvm::ARCCC::GT, llvm::ARCCC::HI, llvm::ARCCC::HS, llvm::ARCCC::LE, llvm_unreachable, llvm::ARCCC::LO, llvm::ARCCC::LS, llvm::ARCCC::LT, llvm::ARCCC::NE, llvm::ARCCC::NZ, llvm::ARCCC::VC, llvm::ARCCC::VS, and llvm::ARCCC::Z.

Referenced by llvm::ARCInstrInfo::reverseBranchCondition().

isCondBranchOpcode()

bool isCondBranchOpcode ( int Opc) static

isJumpOpcode()

bool isJumpOpcode ( int Opc) static

isLoad()

bool isLoad ( int Opcode) static

Definition at line 54 of file ARCInstrInfo.cpp.

Referenced by DecodeMem(), DecodeMemAS(), llvm::PPCHazardRecognizer970::EmitInstruction(), llvm::MemoryDependenceResults::getDependency(), llvm::PPCHazardRecognizer970::getHazardType(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), llvm::MemoryDependenceResults::getPointerDependencyFrom(), llvm::MemoryDependenceResults::getPointerDependencyFrom(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), llvm::MemoryDependenceResults::getSimplePointerDependencyFrom(), and llvm::ARCInstrInfo::isLoadFromStackSlot().

isStore()

bool isStore ( int Opcode) static

isUncondBranchOpcode()

bool isUncondBranchOpcode ( int Opc) static

isZeroImm()