LLVM 22.0.0git
ARMRegisterBankInfo.cpp File Reference

This file implements the targeting of the RegisterBankInfo class for ARM. More...

#include "ARMRegisterBankInfo.h"
#include "ARMInstrInfo.h"
#include "ARMSubtarget.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterBank.h"
#include "llvm/CodeGen/RegisterBankInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "ARMGenRegisterBank.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::ARM
 Define some predicates that are used for node matching.

Macros

#define GET_TARGET_REGBANK_IMPL

Enumerations

enum  llvm::ARM::PartialMappingIdx { llvm::ARM::PMI_GPR , llvm::ARM::PMI_SPR , llvm::ARM::PMI_DPR , llvm::ARM::PMI_Min = PMI_GPR }
enum  llvm::ARM::ValueMappingIdx { llvm::ARM::InvalidIdx = 0 , llvm::ARM::GPR3OpsIdx = 1 , llvm::ARM::SPR3OpsIdx = 4 , llvm::ARM::DPR3OpsIdx = 7 }

Functions

static bool llvm::ARM::checkPartMapping (const RegisterBankInfo::PartialMapping &PM, unsigned Start, unsigned Length, unsigned RegBankID)
static void llvm::ARM::checkPartialMappings ()
static bool llvm::ARM::checkValueMapping (const RegisterBankInfo::ValueMapping &VM, const RegisterBankInfo::PartialMapping *BreakDown)
static void llvm::ARM::checkValueMappings ()

Variables

const RegisterBankInfo::PartialMapping llvm::ARM::PartMappings []
const RegisterBankInfo::ValueMapping llvm::ARM::ValueMappings []

Detailed Description

This file implements the targeting of the RegisterBankInfo class for ARM.

Todo
This should be generated by TableGen.

Definition in file ARMRegisterBankInfo.cpp.

Macro Definition Documentation

◆ GET_TARGET_REGBANK_IMPL

#define GET_TARGET_REGBANK_IMPL

Definition at line 21 of file ARMRegisterBankInfo.cpp.