LLVM 20.0.0git
|
#include "ARCRegisterInfo.h"
#include "ARC.h"
#include "ARCInstrInfo.h"
#include "ARCMachineFunctionInfo.h"
#include "ARCSubtarget.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/Debug.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "ARCGenRegisterInfo.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "arc-reg-info" |
#define | GET_REGINFO_TARGET_DESC |
Functions | |
static void | replaceFrameIndex (MachineBasicBlock::iterator II, const ARCInstrInfo &TII, unsigned Reg, unsigned FrameReg, int Offset, int StackSize, int ObjSize, RegScavenger *RS, int SPAdj) |
#define DEBUG_TYPE "arc-reg-info" |
Definition at line 33 of file ARCRegisterInfo.cpp.
#define GET_REGINFO_TARGET_DESC |
Definition at line 35 of file ARCRegisterInfo.cpp.
|
static |
Definition at line 38 of file ARCRegisterInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::dbgs(), llvm::RegState::Define, DL, llvm::MachineBasicBlock::erase(), llvm::RegScavenger::FindUnusedReg(), llvm::getKillRegState(), llvm::MachineBasicBlock::getParent(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), II, llvm::RegState::Kill, LLVM_DEBUG, llvm_unreachable, MBB, MI, llvm::Offset, llvm::printReg(), llvm::RegScavenger::scavengeRegisterBackwards(), llvm::RegScavenger::setRegUsed(), TII, and TRI.
Referenced by llvm::ARCRegisterInfo::eliminateFrameIndex().