LLVM: lib/Target/X86/GISel/X86RegisterBankInfo.cpp File Reference (original) (raw)

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

#include "[X86RegisterBankInfo.h](X86RegisterBankInfo%5F8h%5Fsource.html)"
#include "[X86InstrInfo.h](X86InstrInfo%5F8h%5Fsource.html)"
#include "[X86Subtarget.h](X86Subtarget%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/GenericMachineInstrs.h](GenericMachineInstrs%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/Utils.h](CodeGen%5F2GlobalISel%5F2Utils%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/MachineRegisterInfo.h](MachineRegisterInfo%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/RegisterBank.h](RegisterBank%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/RegisterBankInfo.h](RegisterBankInfo%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/TargetRegisterInfo.h](TargetRegisterInfo%5F8h%5Fsource.html)"
#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.