LLVM  8.0.1
Macros | Functions
ARCInstrInfo.cpp File Reference
#include "ARCInstrInfo.h"
#include "ARC.h"
#include "ARCMachineFunctionInfo.h"
#include "ARCSubtarget.h"
#include "MCTargetDesc/ARCInfo.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/TargetRegistry.h"
#include "ARCGenInstrInfo.inc"
Include dependency graph for ARCInstrInfo.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_CTOR_DTOR
 
#define DEBUG_TYPE   "arc-inst-info"
 

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. More...
 
static bool isUncondBranchOpcode (int Opc)
 
static bool isCondBranchOpcode (int Opc)
 
static bool isJumpOpcode (int Opc)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "arc-inst-info"

Definition at line 30 of file ARCInstrInfo.cpp.

◆ GET_INSTRINFO_CTOR_DTOR

#define GET_INSTRINFO_CTOR_DTOR

Definition at line 27 of file ARCInstrInfo.cpp.

Function Documentation

◆ GetOppositeBranchCondition()

static ARCCC::CondCode GetOppositeBranchCondition ( ARCCC::CondCode  CC)
static

◆ isCondBranchOpcode()

static bool isCondBranchOpcode ( int  Opc)
static

Definition at line 127 of file ARCInstrInfo.cpp.

◆ isJumpOpcode()

static bool isJumpOpcode ( int  Opc)
static

Definition at line 131 of file ARCInstrInfo.cpp.

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

◆ isLoad()

static bool isLoad ( int  Opcode)
static

◆ isStore()

static bool isStore ( int  Opcode)
static

◆ isUncondBranchOpcode()

static bool isUncondBranchOpcode ( int  Opc)
static

Definition at line 125 of file ARCInstrInfo.cpp.

References llvm::ISD::BR.

◆ isZeroImm()

static bool isZeroImm ( const MachineOperand Op)
static