LLVM 20.0.0git
|
#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/MC/TargetRegistry.h"
#include "llvm/Support/Debug.h"
#include "ARCGenInstrInfo.inc"
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) |
#define DEBUG_TYPE "arc-inst-info" |
Definition at line 29 of file ARCInstrInfo.cpp.
#define GET_INSTRINFO_CTOR_DTOR |
Definition at line 26 of file ARCInstrInfo.cpp.
enum AddrIncType |
Enumerator | |
---|---|
NoAddInc | |
PreInc | |
PostInc | |
Scaled |
Definition at line 31 of file ARCInstrInfo.cpp.
enum TSFlagsConstants |
Enumerator | |
---|---|
TSF_AddrModeOff | |
TSF_AddModeMask |
Definition at line 38 of file ARCInstrInfo.cpp.
|
static |
Return the inverse of passed condition, i.e. turning COND_E to COND_NE.
Definition at line 102 of file ARCInstrInfo.cpp.
References CC, 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(), and llvm::RISCVInstrInfo::reverseBranchCondition().
|
static |
Definition at line 139 of file ARCInstrInfo.cpp.
|
static |
Definition at line 143 of file ARCInstrInfo.cpp.
Referenced by llvm::ARCInstrInfo::analyzeBranch().
|
static |
Definition at line 53 of file ARCInstrInfo.cpp.
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress(), DecodeMem(), DecodeMemAS(), llvm::PPCHazardRecognizer970::EmitInstruction(), llvm::MemoryDependenceResults::getDependency(), llvm::PPCHazardRecognizer970::getHazardType(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), llvm::MemoryDependenceResults::getPointerDependencyFrom(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), llvm::MemoryDependenceResults::getSimplePointerDependencyFrom(), and llvm::ARCInstrInfo::isLoadFromStackSlot().
|
static |
Definition at line 58 of file ARCInstrInfo.cpp.
Referenced by CombineBaseUpdate(), llvm::PPCHazardRecognizer970::EmitInstruction(), llvm::PPCHazardRecognizer970::getHazardType(), llvm::ARCInstrInfo::isStoreToStackSlot(), llvm::ARMInstPrinter::printInst(), and selectLoadStoreUIOp().
|
static |
Definition at line 137 of file ARCInstrInfo.cpp.
|
static |
Definition at line 49 of file ARCInstrInfo.cpp.
Referenced by llvm::ARCInstrInfo::isLoadFromStackSlot(), llvm::XCoreInstrInfo::isLoadFromStackSlot(), llvm::ARCInstrInfo::isStoreToStackSlot(), and llvm::XCoreInstrInfo::isStoreToStackSlot().