LLVM 22.0.0git
M68kISelDAGToDAG.cpp File Reference

This file defines an instruction selector for the M68K target. More...

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()

bool allowARIDWithDisp ( SDNode * Parent)
static

Definition at line 711 of file M68kISelDAGToDAG.cpp.

References llvm::SDNode::getOpcode().

◆ AllowARIIWithZeroDisp()

bool AllowARIIWithZeroDisp ( SDNode * Parent)
static

Definition at line 790 of file M68kISelDAGToDAG.cpp.

References llvm::SDNode::getOpcode().

◆ doesDispFit()

bool doesDispFit ( M68kISelAddressMode & AM,
int64_t Val )
static

Definition at line 375 of file M68kISelDAGToDAG.cpp.

References llvm::isIntN().

◆ doesDispFitFI()

bool doesDispFitFI ( M68kISelAddressMode & AM)
static

Definition at line 368 of file M68kISelDAGToDAG.cpp.

References llvm::isIntN().

◆ isAddressBase()

bool isAddressBase ( const SDValue & N)
static

Definition at line 775 of file M68kISelDAGToDAG.cpp.

References llvm::ISD::ADD, llvm::ISD::ADDC, llvm::any_of(), and N.