LLVM 22.0.0git
X86RegisterBankInfo.cpp File Reference

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

#include "X86RegisterBankInfo.h"
#include "X86InstrInfo.h"
#include "X86Subtarget.h"
#include "llvm/CodeGen/GlobalISel/GenericMachineInstrs.h"
#include "llvm/CodeGen/GlobalISel/Utils.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterBank.h"
#include "llvm/CodeGen/RegisterBankInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/IR/IntrinsicsX86.h"
#include "X86GenRegisterBank.inc"
#include "X86GenRegisterBankInfo.def"

Go to the source code of this file.

Macros

#define GET_TARGET_REGBANK_IMPL
#define GET_TARGET_REGBANK_INFO_IMPL

Functions

static bool isFPIntrinsic (const MachineRegisterInfo &MRI, const MachineInstr &MI)

Detailed Description

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

Todo
This should be generated by TableGen.

Definition in file X86RegisterBankInfo.cpp.

Macro Definition Documentation

◆ GET_TARGET_REGBANK_IMPL

#define GET_TARGET_REGBANK_IMPL

Definition at line 24 of file X86RegisterBankInfo.cpp.

◆ GET_TARGET_REGBANK_INFO_IMPL

#define GET_TARGET_REGBANK_INFO_IMPL

Definition at line 29 of file X86RegisterBankInfo.cpp.

Function Documentation

◆ isFPIntrinsic()

bool isFPIntrinsic ( const MachineRegisterInfo & MRI,
const MachineInstr & MI )
static

Definition at line 48 of file X86RegisterBankInfo.cpp.

References llvm::cast(), getIntrinsicID(), MI, and MRI.