LLVM 20.0.0git
Public Types | Public Member Functions | Protected Attributes | List of all members
llvm::PPCSubtarget Class Reference

#include "Target/PowerPC/PPCSubtarget.h"

Inheritance diagram for llvm::PPCSubtarget:
Inheritance graph
[legend]

Public Types

enum  POPCNTDKind { POPCNTD_Unavailable , POPCNTD_Slow , POPCNTD_Fast }
 

Public Member Functions

 PPCSubtarget (const Triple &TT, const std::string &CPU, const std::string &TuneCPU, const std::string &FS, const PPCTargetMachine &TM)
 This constructor initializes the data members to match that of the specified triple.
 
void ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS)
 ParseSubtargetFeatures - Parses features string setting specified subtarget options.
 
Align getStackAlignment () const
 getStackAlignment - Returns the minimum alignment known to hold of the stack frame on entry to the function and which must be maintained by every function for this subtarget.
 
unsigned getCPUDirective () const
 getCPUDirective - Returns the -m directive specified for the cpu.
 
const InstrItineraryDatagetInstrItineraryData () const override
 getInstrItins - Return the instruction itineraries based on subtarget selection.
 
const PPCFrameLoweringgetFrameLowering () const override
 
const PPCInstrInfogetInstrInfo () const override
 
const PPCTargetLoweringgetTargetLowering () const override
 
const SelectionDAGTargetInfogetSelectionDAGInfo () const override
 
const PPCRegisterInfogetRegisterInfo () const override
 
const PPCTargetMachinegetTargetMachine () const
 
PPCSubtargetinitializeSubtargetDependencies (StringRef CPU, StringRef TuneCPU, StringRef FS)
 initializeSubtargetDependencies - Initializes using a CPU, a TuneCPU, and feature string so that we can use initializer lists for subtarget initialization.
 
bool isPPC64 () const
 isPPC64 - Return true if we are generating code for 64-bit pointer mode.
 
bool useSoftFloat () const
 
bool isLittleEndian () const
 
Align getPlatformStackAlignment () const
 
unsigned getRedZoneSize () const
 
bool needsSwapsForVSXMemOps () const
 
POPCNTDKind hasPOPCNTD () const
 
const TriplegetTargetTriple () const
 
bool isTargetELF () const
 
bool isTargetMachO () const
 
bool isTargetLinux () const
 
bool isAIXABI () const
 
bool isSVR4ABI () const
 
bool isELFv2ABI () const
 
bool is64BitELFABI () const
 
bool is32BitELFABI () const
 
bool isUsingPCRelativeCalls () const
 
bool enableEarlyIfConversion () const override
 Originally, this function return hasISEL().
 
bool enableMachineScheduler () const override
 Scheduling customization.
 
bool enableMachinePipeliner () const override
 Pipeliner customization.
 
bool useDFAforSMS () const override
 Machine Pipeliner customization.
 
bool enablePostRAScheduler () const override
 This overrides the PostRAScheduler bit in the SchedModel for each CPU.
 
AntiDepBreakMode getAntiDepBreakMode () const override
 
void getCriticalPathRCs (RegClassVector &CriticalPathRCs) const override
 
void overrideSchedPolicy (MachineSchedPolicy &Policy, unsigned NumRegionInstrs) const override
 
bool useAA () const override
 
bool enableSubRegLiveness () const override
 
bool enableSpillageCopyElimination () const override
 
bool isGVIndirectSymbol (const GlobalValue *GV) const
 True if the GV will be accessed via an indirect symbol.
 
CodeModel::Model getCodeModel (const TargetMachine &TM, const GlobalValue *GV) const
 Calculates the effective code model for argument GV.
 
bool usesFunctionDescriptors () const
 True if the ABI is descriptor based.
 
unsigned descriptorTOCAnchorOffset () const
 
unsigned descriptorEnvironmentPointerOffset () const
 
MCRegister getEnvironmentPointerRegister () const
 
MCRegister getTOCPointerRegister () const
 
MCRegister getThreadPointerRegister () const
 
MCRegister getStackPointerRegister () const
 
bool isXRaySupported () const override
 
bool isPredictableSelectIsExpensive () const
 
unsigned getGPRAllocationOrderIdx () const
 
const CallLoweringgetCallLowering () const override
 
const RegisterBankInfogetRegBankInfo () const override
 
const LegalizerInfogetLegalizerInfo () const override
 
InstructionSelectorgetInstructionSelector () const override
 

Protected Attributes

Triple TargetTriple
 TargetTriple - What processor and OS we're targeting.
 
Align StackAlignment
 stackAlignment - The minimum alignment known to hold of the stack frame on entry to the function and which must be maintained by every function.
 
InstrItineraryData InstrItins
 Selected instruction itineraries (one entry per itinerary class.)
 
unsigned CPUDirective
 Which cpu directive was used.
 
bool IsPPC64
 
bool IsLittleEndian
 
POPCNTDKind HasPOPCNTD
 
const PPCTargetMachineTM
 
PPCFrameLowering FrameLowering
 
PPCInstrInfo InstrInfo
 
PPCTargetLowering TLInfo
 
SelectionDAGTargetInfo TSInfo
 
std::unique_ptr< CallLoweringCallLoweringInfo
 GlobalISel related APIs.
 
std::unique_ptr< LegalizerInfoLegalizer
 
std::unique_ptr< RegisterBankInfoRegBankInfo
 
std::unique_ptr< InstructionSelectorInstSelector
 

Detailed Description

Definition at line 72 of file PPCSubtarget.h.

Member Enumeration Documentation

◆ POPCNTDKind

Enumerator
POPCNTD_Unavailable 
POPCNTD_Slow 
POPCNTD_Fast 

Definition at line 74 of file PPCSubtarget.h.

Constructor & Destructor Documentation

◆ PPCSubtarget()

PPCSubtarget::PPCSubtarget ( const Triple TT,
const std::string &  CPU,
const std::string &  TuneCPU,
const std::string &  FS,
const PPCTargetMachine TM 
)

This constructor initializes the data members to match that of the specified triple.

Definition at line 55 of file PPCSubtarget.cpp.

References CallLoweringInfo, llvm::createPPCInstructionSelector(), getRegisterInfo(), getTargetLowering(), InstSelector, RegBankInfo, and TM.

Member Function Documentation

◆ descriptorEnvironmentPointerOffset()

unsigned llvm::PPCSubtarget::descriptorEnvironmentPointerOffset ( ) const
inline

Definition at line 266 of file PPCSubtarget.h.

References assert(), IsPPC64, and usesFunctionDescriptors().

Referenced by prepareDescriptorIndirectCall().

◆ descriptorTOCAnchorOffset()

unsigned llvm::PPCSubtarget::descriptorTOCAnchorOffset ( ) const
inline

Definition at line 260 of file PPCSubtarget.h.

References assert(), IsPPC64, and usesFunctionDescriptors().

Referenced by prepareDescriptorIndirectCall().

◆ enableEarlyIfConversion()

bool llvm::PPCSubtarget::enableEarlyIfConversion ( ) const
inlineoverride

Originally, this function return hasISEL().

Now we always enable it, but may expand the ISEL instruction later.

Definition at line 225 of file PPCSubtarget.h.

◆ enableMachinePipeliner()

bool PPCSubtarget::enableMachinePipeliner ( ) const
override

Pipeliner customization.

Definition at line 149 of file PPCSubtarget.cpp.

References EnableMachinePipeliner.

◆ enableMachineScheduler()

bool PPCSubtarget::enableMachineScheduler ( ) const
override

Scheduling customization.

Definition at line 147 of file PPCSubtarget.cpp.

Referenced by llvm::PPCTargetLowering::getSchedulingPreference(), and llvm::PPCTargetLowering::PPCTargetLowering().

◆ enablePostRAScheduler()

bool PPCSubtarget::enablePostRAScheduler ( ) const
override

This overrides the PostRAScheduler bit in the SchedModel for each CPU.

Definition at line 156 of file PPCSubtarget.cpp.

◆ enableSpillageCopyElimination()

bool llvm::PPCSubtarget::enableSpillageCopyElimination ( ) const
inlineoverride

Definition at line 244 of file PPCSubtarget.h.

◆ enableSubRegLiveness()

bool PPCSubtarget::enableSubRegLiveness ( ) const
override

Definition at line 185 of file PPCSubtarget.cpp.

◆ getAntiDepBreakMode()

PPCGenSubtargetInfo::AntiDepBreakMode PPCSubtarget::getAntiDepBreakMode ( ) const
override

Definition at line 158 of file PPCSubtarget.cpp.

◆ getCallLowering()

const CallLowering * PPCSubtarget::getCallLowering ( ) const
override

Definition at line 254 of file PPCSubtarget.cpp.

References CallLoweringInfo.

◆ getCodeModel()

CodeModel::Model PPCSubtarget::getCodeModel ( const TargetMachine TM,
const GlobalValue GV 
) const

Calculates the effective code model for argument GV.

Definition at line 205 of file PPCSubtarget.cpp.

References assert(), llvm::GlobalAlias::getAliaseeObject(), llvm::TargetMachine::getCodeModel(), isAIXABI(), llvm::CodeModel::Large, llvm::CodeModel::Small, and TM.

Referenced by getCodeModel().

◆ getCPUDirective()

unsigned llvm::PPCSubtarget::getCPUDirective ( ) const
inline

◆ getCriticalPathRCs()

void PPCSubtarget::getCriticalPathRCs ( RegClassVector &  CriticalPathRCs) const
override

Definition at line 162 of file PPCSubtarget.cpp.

References isPPC64().

◆ getEnvironmentPointerRegister()

MCRegister llvm::PPCSubtarget::getEnvironmentPointerRegister ( ) const
inline

Definition at line 272 of file PPCSubtarget.h.

References assert(), IsPPC64, and usesFunctionDescriptors().

Referenced by buildCallOperands(), and prepareDescriptorIndirectCall().

◆ getFrameLowering()

const PPCFrameLowering * llvm::PPCSubtarget::getFrameLowering ( ) const
inlineoverride

◆ getGPRAllocationOrderIdx()

unsigned llvm::PPCSubtarget::getGPRAllocationOrderIdx ( ) const
inline

Definition at line 302 of file PPCSubtarget.h.

References is64BitELFABI(), and isAIXABI().

◆ getInstrInfo()

const PPCInstrInfo * llvm::PPCSubtarget::getInstrInfo ( ) const
inlineoverride

Definition at line 146 of file PPCSubtarget.h.

References InstrInfo.

Referenced by llvm::PPCFrameLowering::eliminateCallFramePseudoInstr(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::PPCTargetLowering::EmitAtomicBinary(), llvm::PPCTargetLowering::emitEHSjLjLongJmp(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), llvm::PPCTargetLowering::emitProbedAlloca(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCTargetLowering::getPrefLoopAlignment(), getRegisterInfo(), llvm::PPCFrameLowering::inlineStackProbe(), llvm::PPCRegisterInfo::lowerACCRestore(), llvm::PPCRegisterInfo::lowerACCSpilling(), llvm::PPCRegisterInfo::lowerCRBitRestore(), llvm::PPCRegisterInfo::lowerCRBitSpilling(), llvm::PPCRegisterInfo::lowerCRRestore(), llvm::PPCRegisterInfo::lowerCRSpilling(), llvm::PPCRegisterInfo::lowerDynamicAlloc(), llvm::PPCRegisterInfo::lowerDynamicAreaOffset(), llvm::PPCRegisterInfo::lowerOctWordSpilling(), llvm::PPCRegisterInfo::lowerPrepareProbedAlloca(), llvm::PPCRegisterInfo::lowerQuadwordRestore(), llvm::PPCRegisterInfo::lowerQuadwordSpilling(), llvm::PPCRegisterInfo::lowerWACCRestore(), llvm::PPCRegisterInfo::lowerWACCSpilling(), llvm::PPCRegisterInfo::materializeFrameBaseRegister(), llvm::PPCRegisterInfo::prepareDynamicAlloca(), llvm::PPCRegisterInfo::requiresFrameIndexScavenging(), llvm::PPCRegisterInfo::resolveFrameIndex(), llvm::PPCFrameLowering::restoreCalleeSavedRegisters(), and llvm::PPCFrameLowering::spillCalleeSavedRegisters().

◆ getInstrItineraryData()

const InstrItineraryData * llvm::PPCSubtarget::getInstrItineraryData ( ) const
inlineoverride

getInstrItins - Return the instruction itineraries based on subtarget selection.

Definition at line 139 of file PPCSubtarget.h.

References InstrItins.

◆ getInstructionSelector()

InstructionSelector * PPCSubtarget::getInstructionSelector ( ) const
override

Definition at line 266 of file PPCSubtarget.cpp.

References InstSelector.

◆ getLegalizerInfo()

const LegalizerInfo * PPCSubtarget::getLegalizerInfo ( ) const
override

Definition at line 262 of file PPCSubtarget.cpp.

◆ getPlatformStackAlignment()

Align llvm::PPCSubtarget::getPlatformStackAlignment ( ) const
inline

Definition at line 189 of file PPCSubtarget.h.

◆ getRedZoneSize()

unsigned llvm::PPCSubtarget::getRedZoneSize ( ) const
inline

◆ getRegBankInfo()

const RegisterBankInfo * PPCSubtarget::getRegBankInfo ( ) const
override

Definition at line 258 of file PPCSubtarget.cpp.

References RegBankInfo.

◆ getRegisterInfo()

const PPCRegisterInfo * llvm::PPCSubtarget::getRegisterInfo ( ) const
inlineoverride

◆ getSelectionDAGInfo()

const SelectionDAGTargetInfo * llvm::PPCSubtarget::getSelectionDAGInfo ( ) const
inlineoverride

Definition at line 150 of file PPCSubtarget.h.

References TSInfo.

◆ getStackAlignment()

Align llvm::PPCSubtarget::getStackAlignment ( ) const
inline

getStackAlignment - Returns the minimum alignment known to hold of the stack frame on entry to the function and which must be maintained by every function for this subtarget.

Definition at line 131 of file PPCSubtarget.h.

References StackAlignment.

◆ getStackPointerRegister()

MCRegister llvm::PPCSubtarget::getStackPointerRegister ( ) const
inline

Definition at line 290 of file PPCSubtarget.h.

References IsPPC64.

Referenced by buildCallOperands(), and llvm::PPCRegisterInfo::isCallerPreservedPhysReg().

◆ getTargetLowering()

const PPCTargetLowering * llvm::PPCSubtarget::getTargetLowering ( ) const
inlineoverride

◆ getTargetMachine()

const PPCTargetMachine & llvm::PPCSubtarget::getTargetMachine ( ) const
inline

◆ getTargetTriple()

const Triple & llvm::PPCSubtarget::getTargetTriple ( ) const
inline

Definition at line 209 of file PPCSubtarget.h.

References TargetTriple.

Referenced by llvm::PPCInstrInfo::expandPostRAPseudo().

◆ getThreadPointerRegister()

MCRegister llvm::PPCSubtarget::getThreadPointerRegister ( ) const
inline

◆ getTOCPointerRegister()

MCRegister llvm::PPCSubtarget::getTOCPointerRegister ( ) const
inline

◆ hasPOPCNTD()

POPCNTDKind llvm::PPCSubtarget::hasPOPCNTD ( ) const
inline

◆ initializeSubtargetDependencies()

PPCSubtarget & PPCSubtarget::initializeSubtargetDependencies ( StringRef  CPU,
StringRef  TuneCPU,
StringRef  FS 
)

initializeSubtargetDependencies - Initializes using a CPU, a TuneCPU, and feature string so that we can use initializer lists for subtarget initialization.

Definition at line 47 of file PPCSubtarget.cpp.

◆ is32BitELFABI()

bool llvm::PPCSubtarget::is32BitELFABI ( ) const
inline

◆ is64BitELFABI()

bool llvm::PPCSubtarget::is64BitELFABI ( ) const
inline

◆ isAIXABI()

bool llvm::PPCSubtarget::isAIXABI ( ) const
inline

◆ isELFv2ABI()

bool PPCSubtarget::isELFv2ABI ( ) const

◆ isGVIndirectSymbol()

bool PPCSubtarget::isGVIndirectSymbol ( const GlobalValue GV) const

True if the GV will be accessed via an indirect symbol.

Definition at line 187 of file PPCSubtarget.cpp.

References llvm::TargetMachine::getCodeModel(), isAIXABI(), llvm::CodeModel::Large, llvm::TargetMachine::shouldAssumeDSOLocal(), and TM.

Referenced by llvm::PPCTargetLowering::isAccessedAsGotIndirect().

◆ isLittleEndian()

bool llvm::PPCSubtarget::isLittleEndian ( ) const
inline

◆ isPPC64()

bool PPCSubtarget::isPPC64 ( ) const

isPPC64 - Return true if we are generating code for 64-bit pointer mode.

Definition at line 246 of file PPCSubtarget.cpp.

References llvm::PPCTargetMachine::isPPC64(), and TM.

Referenced by llvm::PPCFrameLowering::addScavengingSpillSlot(), llvm::PPCInstrInfo::analyzeBranch(), buildCallOperands(), llvm::PPCTargetLowering::BuildSDIVPow2(), CC_AIX(), combineADDToADDZE(), computeBasePointerSaveOffset(), computeCRSaveOffset(), computeFramePointerSaveOffset(), computeLinkageSize(), computeReturnSaveOffset(), computeTOCSaveOffset(), convertFPToInt(), llvm::PPC::createFastISel(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::eliminateCallFramePseudoInstr(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), llvm::PPCTargetLowering::emitProbedAlloca(), llvm::PPCFrameLowering::emitPrologue(), EmitTailCallStoreFPAndRetAddr(), llvm::PPCInstrInfo::expandPostRAPseudo(), llvm::PPCInstrInfo::findLoopInstr(), llvm::PPCTargetLowering::getByValTypeAlignment(), llvm::PPCFrameLowering::getCalleeSavedSpillSlots(), getCriticalPathRCs(), getDataClassTest(), llvm::PPCTargetLowering::getExceptionPointerRegister(), llvm::PPCTargetLowering::getExceptionSelectorRegister(), llvm::PPCTTIImpl::getIntImmCostInst(), llvm::PPCTargetLowering::getOptimalMemOpType(), llvm::PPCTargetLowering::getPICJumpTableRelocBase(), llvm::PPCTargetLowering::getPICJumpTableRelocBaseExpr(), getRedZoneSize(), llvm::PPCTargetLowering::getRegForInlineAsmConstraint(), llvm::PPCTTIImpl::getRegisterBitWidth(), llvm::PPCTargetLowering::getRegisterByName(), llvm::PPCFrameLowering::getStackThreshold(), llvm::PPCTTIImpl::hasActiveVectorLength(), llvm::PPCFrameLowering::inlineStackProbe(), llvm::PPCInstrInfo::insertBranch(), is32BitELFABI(), is64BitELFABI(), llvm::PPCInstrInfo::isBDNZ(), llvm::PPCTargetLowering::isJumpTableRelative(), llvm::PPCInstrInfo::isTOCSaveMI(), isUsingPCRelativeCalls(), llvm::PPCTargetLowering::isZExtFree(), llvm::PPCInstrInfo::materializeImmPostRA(), llvm::PPCInstrInfo::onlyFoldImmediate(), llvm::PPCInstrInfo::optimizeCmpPostRA(), llvm::PPCInstrInfo::optimizeCompareInstr(), llvm::PPCTargetLowering::PerformDAGCombine(), llvm::PPCTargetLowering::PPCTargetLowering(), llvm::PPCInstrInfo::PredicateInstruction(), prepareDescriptorIndirectCall(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), llvm::PPCTargetLowering::ReplaceNodeResults(), llvm::PPCTargetLowering::SelectAddressRegImm(), llvm::PPCTargetLowering::SelectAddressRegRegOnly(), llvm::PPCTargetLowering::SelectForceXFormMode(), llvm::PPCTargetLowering::SelectOptimalAddrMode(), llvm::PPCTargetLowering::shallExtractConstSplatVectorElementToStore(), llvm::PPCTargetLowering::shouldInlineQuadwordAtomics(), and llvm::PPCInstrInfo::shouldReduceRegisterPressure().

◆ isPredictableSelectIsExpensive()

bool llvm::PPCSubtarget::isPredictableSelectIsExpensive ( ) const
inline

Definition at line 296 of file PPCSubtarget.h.

Referenced by llvm::PPCTargetLowering::PPCTargetLowering().

◆ isSVR4ABI()

bool llvm::PPCSubtarget::isSVR4ABI ( ) const
inline

◆ isTargetELF()

bool llvm::PPCSubtarget::isTargetELF ( ) const
inline

Definition at line 211 of file PPCSubtarget.h.

References llvm::Triple::isOSBinFormatELF(), and TargetTriple.

◆ isTargetLinux()

bool llvm::PPCSubtarget::isTargetLinux ( ) const
inline

◆ isTargetMachO()

bool llvm::PPCSubtarget::isTargetMachO ( ) const
inline

Definition at line 212 of file PPCSubtarget.h.

References llvm::Triple::isOSBinFormatMachO(), and TargetTriple.

◆ isUsingPCRelativeCalls()

bool PPCSubtarget::isUsingPCRelativeCalls ( ) const

◆ isXRaySupported()

bool llvm::PPCSubtarget::isXRaySupported ( ) const
inlineoverride

Definition at line 294 of file PPCSubtarget.h.

References IsLittleEndian, and IsPPC64.

◆ needsSwapsForVSXMemOps()

bool llvm::PPCSubtarget::needsSwapsForVSXMemOps ( ) const
inline

◆ overrideSchedPolicy()

void PPCSubtarget::overrideSchedPolicy ( MachineSchedPolicy Policy,
unsigned  NumRegionInstrs 
) const
override

◆ ParseSubtargetFeatures()

void llvm::PPCSubtarget::ParseSubtargetFeatures ( StringRef  CPU,
StringRef  TuneCPU,
StringRef  FS 
)

ParseSubtargetFeatures - Parses features string setting specified subtarget options.

Definition of function is auto generated by tblgen.

◆ useAA()

bool PPCSubtarget::useAA ( ) const
override

Definition at line 181 of file PPCSubtarget.cpp.

◆ useDFAforSMS()

bool PPCSubtarget::useDFAforSMS ( ) const
override

Machine Pipeliner customization.

Definition at line 153 of file PPCSubtarget.cpp.

◆ usesFunctionDescriptors()

bool llvm::PPCSubtarget::usesFunctionDescriptors ( ) const
inline

◆ useSoftFloat()

bool llvm::PPCSubtarget::useSoftFloat ( ) const
inline

Member Data Documentation

◆ CallLoweringInfo

std::unique_ptr<CallLowering> llvm::PPCSubtarget::CallLoweringInfo
protected

GlobalISel related APIs.

Definition at line 111 of file PPCSubtarget.h.

Referenced by getCallLowering(), and PPCSubtarget().

◆ CPUDirective

unsigned llvm::PPCSubtarget::CPUDirective
protected

Which cpu directive was used.

Definition at line 97 of file PPCSubtarget.h.

Referenced by getCPUDirective().

◆ FrameLowering

PPCFrameLowering llvm::PPCSubtarget::FrameLowering
protected

Definition at line 105 of file PPCSubtarget.h.

Referenced by getFrameLowering().

◆ HasPOPCNTD

POPCNTDKind llvm::PPCSubtarget::HasPOPCNTD
protected

Definition at line 102 of file PPCSubtarget.h.

Referenced by hasPOPCNTD().

◆ InstrInfo

PPCInstrInfo llvm::PPCSubtarget::InstrInfo
protected

Definition at line 106 of file PPCSubtarget.h.

Referenced by getInstrInfo().

◆ InstrItins

InstrItineraryData llvm::PPCSubtarget::InstrItins
protected

Selected instruction itineraries (one entry per itinerary class.)

Definition at line 89 of file PPCSubtarget.h.

Referenced by getInstrItineraryData().

◆ InstSelector

std::unique_ptr<InstructionSelector> llvm::PPCSubtarget::InstSelector
protected

Definition at line 114 of file PPCSubtarget.h.

Referenced by getInstructionSelector(), and PPCSubtarget().

◆ IsLittleEndian

bool llvm::PPCSubtarget::IsLittleEndian
protected

Definition at line 100 of file PPCSubtarget.h.

Referenced by isLittleEndian(), and isXRaySupported().

◆ IsPPC64

bool llvm::PPCSubtarget::IsPPC64
protected

◆ Legalizer

std::unique_ptr<LegalizerInfo> llvm::PPCSubtarget::Legalizer
protected

Definition at line 112 of file PPCSubtarget.h.

◆ RegBankInfo

std::unique_ptr<RegisterBankInfo> llvm::PPCSubtarget::RegBankInfo
protected

Definition at line 113 of file PPCSubtarget.h.

Referenced by getRegBankInfo(), and PPCSubtarget().

◆ StackAlignment

Align llvm::PPCSubtarget::StackAlignment
protected

stackAlignment - The minimum alignment known to hold of the stack frame on entry to the function and which must be maintained by every function.

Definition at line 86 of file PPCSubtarget.h.

Referenced by getStackAlignment().

◆ TargetTriple

Triple llvm::PPCSubtarget::TargetTriple
protected

TargetTriple - What processor and OS we're targeting.

Definition at line 82 of file PPCSubtarget.h.

Referenced by getTargetTriple(), isAIXABI(), isTargetELF(), isTargetLinux(), and isTargetMachO().

◆ TLInfo

PPCTargetLowering llvm::PPCSubtarget::TLInfo
protected

Definition at line 107 of file PPCSubtarget.h.

Referenced by getTargetLowering().

◆ TM

const PPCTargetMachine& llvm::PPCSubtarget::TM
protected

◆ TSInfo

SelectionDAGTargetInfo llvm::PPCSubtarget::TSInfo
protected

Definition at line 108 of file PPCSubtarget.h.

Referenced by getSelectionDAGInfo().


The documentation for this class was generated from the following files: