LLVM 20.0.0git
Macros | Functions
M68kISelDAGToDAG.cpp File Reference

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)
 

Detailed Description

This file defines an instruction selector for the M68K target.

Definition in file M68kISelDAGToDAG.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "m68k-isel"

Definition at line 41 of file M68kISelDAGToDAG.cpp.

◆ PASS_NAME

#define PASS_NAME   "M68k DAG->DAG Pattern Instruction Selection"

Definition at line 42 of file M68kISelDAGToDAG.cpp.

Function Documentation

◆ allowARIDWithDisp()

static bool allowARIDWithDisp ( SDNode Parent)
static

◆ AllowARIIWithZeroDisp()

static bool AllowARIIWithZeroDisp ( SDNode Parent)
static

◆ doesDispFit()

static bool doesDispFit ( M68kISelAddressMode &  AM,
int64_t  Val 
)
static

Definition at line 375 of file M68kISelDAGToDAG.cpp.

References llvm::isIntN().

◆ doesDispFitFI()

static bool doesDispFitFI ( M68kISelAddressMode &  AM)
static

Definition at line 368 of file M68kISelDAGToDAG.cpp.

References llvm::isIntN().

◆ isAddressBase()

static bool isAddressBase ( const SDValue N)
static