LLVM 20.0.0git
|
This file defines an instruction selector for the M68K target. More...
#include "M68k.h"
#include "M68kMachineFunction.h"
#include "M68kRegisterInfo.h"
#include "M68kTargetMachine.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Type.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include "M68kGenDAGISel.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "m68k-isel" |
#define | PASS_NAME "M68k DAG->DAG Pattern Instruction Selection" |
Functions | |
static bool | doesDispFitFI (M68kISelAddressMode &AM) |
static bool | doesDispFit (M68kISelAddressMode &AM, int64_t Val) |
static bool | allowARIDWithDisp (SDNode *Parent) |
static bool | isAddressBase (const SDValue &N) |
static bool | AllowARIIWithZeroDisp (SDNode *Parent) |
This file defines an instruction selector for the M68K target.
Definition in file M68kISelDAGToDAG.cpp.
#define DEBUG_TYPE "m68k-isel" |
Definition at line 41 of file M68kISelDAGToDAG.cpp.
#define PASS_NAME "M68k DAG->DAG Pattern Instruction Selection" |
Definition at line 42 of file M68kISelDAGToDAG.cpp.
Definition at line 711 of file M68kISelDAGToDAG.cpp.
References llvm::ISD::ATOMIC_LOAD, llvm::ISD::ATOMIC_STORE, llvm::SDNode::getOpcode(), llvm::ISD::LOAD, and llvm::ISD::STORE.
Definition at line 790 of file M68kISelDAGToDAG.cpp.
References llvm::ISD::ATOMIC_CMP_SWAP, llvm::ISD::ATOMIC_LOAD, llvm::ISD::ATOMIC_STORE, llvm::SDNode::getOpcode(), llvm::ISD::LOAD, and llvm::ISD::STORE.
|
static |
Definition at line 375 of file M68kISelDAGToDAG.cpp.
References llvm::isIntN().
|
static |
Definition at line 368 of file M68kISelDAGToDAG.cpp.
References llvm::isIntN().
Definition at line 775 of file M68kISelDAGToDAG.cpp.
References llvm::ISD::ADD, llvm::ISD::ADDC, llvm::any_of(), llvm::M68kISD::GLOBAL_BASE_REG, N, llvm::M68kISD::Wrapper, and llvm::M68kISD::WrapperPC.