LLVM 20.0.0git
Macros | Functions | Variables
M68kSubtarget.cpp File Reference

This file implements the M68k specific subclass of TargetSubtargetInfo. More...

#include "M68kSubtarget.h"
#include "GISel/M68kCallLowering.h"
#include "GISel/M68kLegalizerInfo.h"
#include "GISel/M68kRegisterBankInfo.h"
#include "M68k.h"
#include "M68kMachineFunction.h"
#include "M68kRegisterInfo.h"
#include "M68kTargetMachine.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Function.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "M68kGenSubtargetInfo.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "m68k-subtarget"
 
#define GET_SUBTARGETINFO_TARGET_DESC
 
#define GET_SUBTARGETINFO_CTOR
 

Functions

static StringRef selectM68kCPU (Triple TT, StringRef CPU)
 Select the M68k CPU for the given triple and cpu name.
 

Variables

bool FixGlobalBaseReg
 

Detailed Description

This file implements the M68k specific subclass of TargetSubtargetInfo.

Definition in file M68kSubtarget.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "m68k-subtarget"

Definition at line 33 of file M68kSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 36 of file M68kSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 35 of file M68kSubtarget.cpp.

Function Documentation

◆ selectM68kCPU()

static StringRef selectM68kCPU ( Triple  TT,
StringRef  CPU 
)
static

Select the M68k CPU for the given triple and cpu name.

Definition at line 42 of file M68kSubtarget.cpp.

References llvm::StringRef::empty().

Referenced by llvm::M68kSubtarget::initializeSubtargetDependencies().

Variable Documentation

◆ FixGlobalBaseReg

bool FixGlobalBaseReg
extern