LLVM
8.0.1
|
#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"
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) |
#define DEBUG_TYPE "arc-inst-info" |
Definition at line 30 of file ARCInstrInfo.cpp.
#define GET_INSTRINFO_CTOR_DTOR |
Definition at line 27 of file ARCInstrInfo.cpp.
|
static |
Return the inverse of passed condition, i.e. turning COND_E to COND_NE.
Definition at line 90 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 getFallThroughMBB(), llvm::X86InstrInfo::optimizeCompareInstr(), llvm::ARCInstrInfo::reverseBranchCondition(), and llvm::X86InstrInfo::reverseBranchCondition().
|
static |
Definition at line 127 of file ARCInstrInfo.cpp.
|
static |
Definition at line 131 of file ARCInstrInfo.cpp.
Referenced by llvm::ARCInstrInfo::analyzeBranch().
|
static |
Definition at line 41 of file ARCInstrInfo.cpp.
Referenced by canFoldInAddressingMode(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::PPCHazardRecognizer970::EmitInstruction(), llvm::MemoryDependenceResults::getDependency(), llvm::PPCHazardRecognizer970::getHazardType(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), llvm::ARCInstrInfo::isLoadFromStackSlot(), llvm::MemoryDependenceResults::MemoryDependenceResults(), llvm::PPCHazardRecognizer970::PPCHazardRecognizer970(), and SortNonLocalDepInfoCache().
|
static |
Definition at line 46 of file ARCInstrInfo.cpp.
Referenced by CombineBaseUpdate(), llvm::PPCHazardRecognizer970::EmitInstruction(), llvm::PPCHazardRecognizer970::getHazardType(), getOrInsertGlobal(), llvm::ARCInstrInfo::isStoreToStackSlot(), llvm::PPCHazardRecognizer970::PPCHazardRecognizer970(), llvm::ARMInstPrinter::printInst(), selectLoadStoreUIOp(), and selectUnmergeValues().
|
static |
Definition at line 125 of file ARCInstrInfo.cpp.
References llvm::ISD::BR.
|
static |
Definition at line 37 of file ARCInstrInfo.cpp.
References llvm::MachineOperand::getImm(), and llvm::MachineOperand::isImm().
Referenced by llvm::ARCInstrInfo::isLoadFromStackSlot(), and llvm::ARCInstrInfo::isStoreToStackSlot().