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

#include <PPCSubtarget.h>

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

Public Member Functions

 PPCSubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const PPCTargetMachine &TM)
 This constructor initializes the data members to match that of the specified triple. More...
 
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)
 ParseSubtargetFeatures - Parses features string setting specified subtarget options. More...
 
unsigned 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. More...
 
unsigned getDarwinDirective () const
 getDarwinDirective - Returns the -m directive specified for the cpu. More...
 
const InstrItineraryDatagetInstrItineraryData () const override
 getInstrItins - Return the instruction itineraries based on subtarget selection. More...
 
const PPCFrameLoweringgetFrameLowering () const override
 
const PPCInstrInfogetInstrInfo () const override
 
const PPCTargetLoweringgetTargetLowering () const override
 
const TargetSelectionDAGInfogetSelectionDAGInfo () const override
 
const PPCRegisterInfogetRegisterInfo () const override
 
const PPCTargetMachinegetTargetMachine () const
 
PPCSubtargetinitializeSubtargetDependencies (StringRef CPU, StringRef FS)
 initializeSubtargetDependencies - Initializes using a CPU and feature string so that we can use initializer lists for subtarget initialization. More...
 
bool isPPC64 () const
 isPPC64 - Return true if we are generating code for 64-bit pointer mode. More...
 
bool has64BitSupport () const
 has64BitSupport - Return true if the selected CPU supports 64-bit instructions, regardless of whether we are in 32-bit or 64-bit mode. More...
 
bool use64BitRegs () const
 use64BitRegs - Return true if in 64-bit mode or if we should use 64-bit registers in 32-bit mode when possible. More...
 
bool useCRBits () const
 useCRBits - Return true if we should store and manipulate i1 values in the individual condition register bits. More...
 
bool hasLazyResolverStub (const GlobalValue *GV) const
 hasLazyResolverStub - Return true if accesses to the specified global have to go through a dyld lazy resolution stub. More...
 
bool isLittleEndian () const
 
bool hasFCPSGN () const
 
bool hasFSQRT () const
 
bool hasFRE () const
 
bool hasFRES () const
 
bool hasFRSQRTE () const
 
bool hasFRSQRTES () const
 
bool hasRecipPrec () const
 
bool hasSTFIWX () const
 
bool hasLFIWAX () const
 
bool hasFPRND () const
 
bool hasFPCVT () const
 
bool hasAltivec () const
 
bool hasSPE () const
 
bool hasQPX () const
 
bool hasVSX () const
 
bool hasP8Vector () const
 
bool hasP8Altivec () const
 
bool hasP8Crypto () const
 
bool hasMFOCRF () const
 
bool hasISEL () const
 
bool hasPOPCNTD () const
 
bool hasBPERMD () const
 
bool hasExtDiv () const
 
bool hasCMPB () const
 
bool hasLDBRX () const
 
bool isBookE () const
 
bool hasOnlyMSYNC () const
 
bool isPPC4xx () const
 
bool isPPC6xx () const
 
bool isE500 () const
 
bool isFeatureMFTB () const
 
bool isDeprecatedDST () const
 
bool hasICBT () const
 
bool hasInvariantFunctionDescriptors () const
 
bool hasPartwordAtomics () const
 
bool hasDirectMove () const
 
bool isQPXStackUnaligned () const
 
unsigned getPlatformStackAlignment () const
 
bool hasHTM () const
 
const TriplegetTargetTriple () const
 
bool isDarwin () const
 isDarwin - True if this is any darwin platform. More...
 
bool isBGQ () const
 isBGQ - True if this is a BG/Q platform. More...
 
bool isTargetELF () const
 
bool isTargetMachO () const
 
bool isDarwinABI () const
 
bool isSVR4ABI () const
 
bool isELFv2ABI () const
 
bool enableEarlyIfConversion () const override
 
bool enableMachineScheduler () const override
 
bool enablePostRAScheduler () const override
 
AntiDepBreakMode getAntiDepBreakMode () const override
 
void getCriticalPathRCs (RegClassVector &CriticalPathRCs) const override
 
void overrideSchedPolicy (MachineSchedPolicy &Policy, MachineInstr *begin, MachineInstr *end, unsigned NumRegionInstrs) const override
 
bool useAA () const override
 
bool enableSubRegLiveness () const override
 

Protected Attributes

Triple TargetTriple
 TargetTriple - What processor and OS we're targeting. More...
 
unsigned 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. More...
 
InstrItineraryData InstrItins
 Selected instruction itineraries (one entry per itinerary class.) More...
 
unsigned DarwinDirective
 Which cpu directive was used. More...
 
bool HasMFOCRF
 Used by the ISel to turn in optimizations for POWER4-derived architectures. More...
 
bool Has64BitSupport
 
bool Use64BitRegs
 
bool UseCRBits
 
bool IsPPC64
 
bool HasAltivec
 
bool HasSPE
 
bool HasQPX
 
bool HasVSX
 
bool HasP8Vector
 
bool HasP8Altivec
 
bool HasP8Crypto
 
bool HasFCPSGN
 
bool HasFSQRT
 
bool HasFRE
 
bool HasFRES
 
bool HasFRSQRTE
 
bool HasFRSQRTES
 
bool HasRecipPrec
 
bool HasSTFIWX
 
bool HasLFIWAX
 
bool HasFPRND
 
bool HasFPCVT
 
bool HasISEL
 
bool HasPOPCNTD
 
bool HasBPERMD
 
bool HasExtDiv
 
bool HasCMPB
 
bool HasLDBRX
 
bool IsBookE
 
bool HasOnlyMSYNC
 
bool IsE500
 
bool IsPPC4xx
 
bool IsPPC6xx
 
bool FeatureMFTB
 
bool DeprecatedDST
 
bool HasLazyResolverStubs
 
bool IsLittleEndian
 
bool HasICBT
 
bool HasInvariantFunctionDescriptors
 
bool HasPartwordAtomics
 
bool HasDirectMove
 
bool HasHTM
 
bool IsQPXStackUnaligned
 When targeting QPX running a stock PPC64 Linux kernel where the stack alignment has not been changed, we need to keep the 16-byte alignment of the stack. More...
 
const PPCTargetMachineTM
 
PPCFrameLowering FrameLowering
 
PPCInstrInfo InstrInfo
 
PPCTargetLowering TLInfo
 
TargetSelectionDAGInfo TSInfo
 

Detailed Description

Definition at line 66 of file PPCSubtarget.h.

Constructor & Destructor Documentation

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

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

Definition at line 50 of file PPCSubtarget.cpp.

Member Function Documentation

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

Definition at line 272 of file PPCSubtarget.h.

References hasISEL().

bool PPCSubtarget::enableMachineScheduler ( ) const
override
bool PPCSubtarget::enablePostRAScheduler ( ) const
override

Definition at line 178 of file PPCSubtarget.cpp.

bool PPCSubtarget::enableSubRegLiveness ( ) const
override

Definition at line 209 of file PPCSubtarget.cpp.

References UseSubRegLiveness.

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

Definition at line 180 of file PPCSubtarget.cpp.

References llvm::TargetSubtargetInfo::ANTIDEP_ALL.

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

Definition at line 184 of file PPCSubtarget.cpp.

References isPPC64().

unsigned llvm::PPCSubtarget::getDarwinDirective ( ) const
inline
const PPCFrameLowering* llvm::PPCSubtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 160 of file PPCSubtarget.h.

References FrameLowering.

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

getInstrItins - Return the instruction itineraries based on subtarget selection.

Definition at line 156 of file PPCSubtarget.h.

References InstrItins.

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

Definition at line 250 of file PPCSubtarget.h.

References hasQPX(), isBGQ(), and isQPXStackUnaligned().

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

Definition at line 167 of file PPCSubtarget.h.

References TSInfo.

unsigned 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 148 of file PPCSubtarget.h.

References StackAlignment.

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

Definition at line 164 of file PPCSubtarget.h.

References TLInfo.

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

Definition at line 173 of file PPCSubtarget.h.

References TM.

Referenced by computeBasePointerSaveOffset().

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

Definition at line 258 of file PPCSubtarget.h.

References TargetTriple.

Referenced by PrepareCall().

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

has64BitSupport - Return true if the selected CPU supports 64-bit instructions, regardless of whether we are in 32-bit or 64-bit mode.

Definition at line 190 of file PPCSubtarget.h.

References Has64BitSupport.

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

bool llvm::PPCSubtarget::hasAltivec ( ) const
inline
bool llvm::PPCSubtarget::hasBPERMD ( ) const
inline

Definition at line 231 of file PPCSubtarget.h.

References HasBPERMD.

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

Definition at line 233 of file PPCSubtarget.h.

References HasCMPB.

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

Definition at line 247 of file PPCSubtarget.h.

References HasDirectMove.

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

Definition at line 232 of file PPCSubtarget.h.

References HasExtDiv.

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

Definition at line 210 of file PPCSubtarget.h.

References HasFCPSGN.

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

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

Definition at line 220 of file PPCSubtarget.h.

References HasFPCVT.

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

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

Definition at line 219 of file PPCSubtarget.h.

References HasFPRND.

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

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

Definition at line 212 of file PPCSubtarget.h.

References HasFRE.

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

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

Definition at line 213 of file PPCSubtarget.h.

References HasFRES.

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

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

Definition at line 214 of file PPCSubtarget.h.

References HasFRSQRTE.

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

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

Definition at line 215 of file PPCSubtarget.h.

References HasFRSQRTES.

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

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

Definition at line 211 of file PPCSubtarget.h.

References HasFSQRT.

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

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

Definition at line 256 of file PPCSubtarget.h.

References HasHTM.

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

Definition at line 242 of file PPCSubtarget.h.

References HasICBT.

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

Definition at line 243 of file PPCSubtarget.h.

References HasInvariantFunctionDescriptors.

Referenced by PrepareCall().

bool llvm::PPCSubtarget::hasISEL ( ) const
inline
bool PPCSubtarget::hasLazyResolverStub ( const GlobalValue GV) const

hasLazyResolverStub - Return true if accesses to the specified global have to go through a dyld lazy resolution stub.

This means that an extra load is required to get the address of the global.

Definition at line 145 of file PPCSubtarget.cpp.

References llvm::TargetMachine::getRelocationModel(), llvm::GlobalValue::hasCommonLinkage(), llvm::GlobalValue::hasHiddenVisibility(), HasLazyResolverStubs, llvm::GlobalValue::hasLinkOnceLinkage(), llvm::GlobalValue::hasWeakLinkage(), llvm::GlobalValue::isDeclaration(), llvm::Reloc::Static, and TM.

Referenced by GetLabelAccessInfo().

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

Definition at line 234 of file PPCSubtarget.h.

References HasLDBRX.

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

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

Definition at line 218 of file PPCSubtarget.h.

References HasLFIWAX.

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

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

Definition at line 228 of file PPCSubtarget.h.

References HasMFOCRF.

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

Definition at line 236 of file PPCSubtarget.h.

References HasOnlyMSYNC.

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

Definition at line 226 of file PPCSubtarget.h.

References HasP8Altivec.

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

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

Definition at line 227 of file PPCSubtarget.h.

References HasP8Crypto.

bool llvm::PPCSubtarget::hasP8Vector ( ) const
inline
bool llvm::PPCSubtarget::hasPartwordAtomics ( ) const
inline
bool llvm::PPCSubtarget::hasPOPCNTD ( ) const
inline
bool llvm::PPCSubtarget::hasQPX ( ) const
inline
bool llvm::PPCSubtarget::hasRecipPrec ( ) const
inline

Definition at line 216 of file PPCSubtarget.h.

References HasRecipPrec.

Referenced by llvm::PPCTargetMachine::PPCTargetMachine().

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

Definition at line 222 of file PPCSubtarget.h.

References HasSPE.

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

Definition at line 217 of file PPCSubtarget.h.

References HasSTFIWX.

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

bool llvm::PPCSubtarget::hasVSX ( ) const
inline
PPCSubtarget & PPCSubtarget::initializeSubtargetDependencies ( StringRef  CPU,
StringRef  FS 
)

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

Definition at line 43 of file PPCSubtarget.cpp.

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

isBGQ - True if this is a BG/Q platform.

Definition at line 263 of file PPCSubtarget.h.

References llvm::Triple::BGQ, llvm::Triple::getVendor(), and TargetTriple.

Referenced by getPlatformStackAlignment().

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

Definition at line 235 of file PPCSubtarget.h.

References IsBookE.

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

isDarwin - True if this is any darwin platform.

Definition at line 261 of file PPCSubtarget.h.

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

Referenced by llvm::PPCTargetLowering::getByValTypeAlignment(), isDarwinABI(), and llvm::PPCTargetLowering::PPCTargetLowering().

bool llvm::PPCSubtarget::isDarwinABI ( ) const
inline
bool llvm::PPCSubtarget::isDeprecatedDST ( ) const
inline

Definition at line 241 of file PPCSubtarget.h.

References DeprecatedDST.

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

Definition at line 239 of file PPCSubtarget.h.

References IsE500.

bool PPCSubtarget::isELFv2ABI ( ) const
bool llvm::PPCSubtarget::isFeatureMFTB ( ) const
inline

Definition at line 240 of file PPCSubtarget.h.

References FeatureMFTB.

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

Definition at line 207 of file PPCSubtarget.h.

References IsLittleEndian.

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

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

Definition at line 237 of file PPCSubtarget.h.

References IsPPC4xx.

bool PPCSubtarget::isPPC64 ( ) const

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

Definition at line 214 of file PPCSubtarget.cpp.

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

Referenced by llvm::PPCFrameLowering::addScavengingSpillSlot(), llvm::PPCInstrInfo::AnalyzeBranch(), llvm::PPCTargetLowering::BuildSDIVPow2(), computeBasePointerSaveOffset(), computeFramePointerSaveOffset(), computeLinkageSize(), computeReturnSaveOffset(), llvm::PPC::createFastISel(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::determineFrameLayout(), llvm::PPCFrameLowering::eliminateCallFramePseudoInstr(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCInstrInfo::FoldImmediate(), llvm::PPCTargetLowering::getByValTypeAlignment(), llvm::PPCFrameLowering::getCalleeSavedSpillSlots(), getCriticalPathRCs(), llvm::PPCTTIImpl::getIntImmCost(), llvm::PPCTargetLowering::getOptimalMemOpType(), llvm::PPCTargetLowering::getRegForInlineAsmConstraint(), llvm::PPCTTIImpl::getRegisterBitWidth(), llvm::PPCTargetLowering::getRegisterByName(), llvm::PPCInstrInfo::InsertBranch(), llvm::PPCTargetLowering::isZExtFree(), llvm::PPCInstrInfo::optimizeCompareInstr(), llvm::PPCTargetLowering::PerformDAGCombine(), llvm::PPCTargetLowering::PPCTargetLowering(), llvm::PPCInstrInfo::PredicateInstruction(), PrepareCall(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), llvm::PPCTargetLowering::ReplaceNodeResults(), llvm::PPCFrameLowering::restoreCalleeSavedRegisters(), llvm::PPCTargetLowering::SelectAddressRegImm(), llvm::PPCTargetLowering::SelectAddressRegRegOnly(), and llvm::PPCFrameLowering::spillCalleeSavedRegisters().

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

Definition at line 238 of file PPCSubtarget.h.

References IsPPC6xx.

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

Definition at line 249 of file PPCSubtarget.h.

References IsQPXStackUnaligned.

Referenced by getPlatformStackAlignment().

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

Definition at line 265 of file PPCSubtarget.h.

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

Referenced by PrepareCall().

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

Definition at line 266 of file PPCSubtarget.h.

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

Referenced by isDarwinABI().

void PPCSubtarget::overrideSchedPolicy ( MachineSchedPolicy Policy,
MachineInstr begin,
MachineInstr end,
unsigned  NumRegionInstrs 
) const
override
void llvm::PPCSubtarget::ParseSubtargetFeatures ( StringRef  CPU,
StringRef  FS 
)

ParseSubtargetFeatures - Parses features string setting specified subtarget options.

Definition of function is auto generated by tblgen.

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

use64BitRegs - Return true if in 64-bit mode or if we should use 64-bit registers in 32-bit mode when possible.

This can only true if has64BitSupport() returns true.

Definition at line 195 of file PPCSubtarget.h.

References Use64BitRegs.

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

bool PPCSubtarget::useAA ( ) const
override

Definition at line 204 of file PPCSubtarget.cpp.

References DarwinDirective, and needsAggressiveScheduling().

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

useCRBits - Return true if we should store and manipulate i1 values in the individual condition register bits.

Definition at line 199 of file PPCSubtarget.h.

References UseCRBits.

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

Member Data Documentation

unsigned llvm::PPCSubtarget::DarwinDirective
protected

Which cpu directive was used.

Definition at line 79 of file PPCSubtarget.h.

Referenced by enableMachineScheduler(), getDarwinDirective(), overrideSchedPolicy(), and useAA().

bool llvm::PPCSubtarget::DeprecatedDST
protected

Definition at line 114 of file PPCSubtarget.h.

Referenced by isDeprecatedDST().

bool llvm::PPCSubtarget::FeatureMFTB
protected

Definition at line 113 of file PPCSubtarget.h.

Referenced by isFeatureMFTB().

PPCFrameLowering llvm::PPCSubtarget::FrameLowering
protected

Definition at line 129 of file PPCSubtarget.h.

Referenced by getFrameLowering().

bool llvm::PPCSubtarget::Has64BitSupport
protected

Definition at line 83 of file PPCSubtarget.h.

Referenced by has64BitSupport().

bool llvm::PPCSubtarget::HasAltivec
protected

Definition at line 87 of file PPCSubtarget.h.

Referenced by hasAltivec().

bool llvm::PPCSubtarget::HasBPERMD
protected

Definition at line 104 of file PPCSubtarget.h.

Referenced by hasBPERMD().

bool llvm::PPCSubtarget::HasCMPB
protected

Definition at line 106 of file PPCSubtarget.h.

Referenced by hasCMPB().

bool llvm::PPCSubtarget::HasDirectMove
protected

Definition at line 120 of file PPCSubtarget.h.

Referenced by hasDirectMove().

bool llvm::PPCSubtarget::HasExtDiv
protected

Definition at line 105 of file PPCSubtarget.h.

Referenced by hasExtDiv().

bool llvm::PPCSubtarget::HasFCPSGN
protected

Definition at line 94 of file PPCSubtarget.h.

Referenced by hasFCPSGN().

bool llvm::PPCSubtarget::HasFPCVT
protected

Definition at line 101 of file PPCSubtarget.h.

Referenced by hasFPCVT().

bool llvm::PPCSubtarget::HasFPRND
protected

Definition at line 100 of file PPCSubtarget.h.

Referenced by hasFPRND().

bool llvm::PPCSubtarget::HasFRE
protected

Definition at line 96 of file PPCSubtarget.h.

Referenced by hasFRE().

bool llvm::PPCSubtarget::HasFRES
protected

Definition at line 96 of file PPCSubtarget.h.

Referenced by hasFRES().

bool llvm::PPCSubtarget::HasFRSQRTE
protected

Definition at line 96 of file PPCSubtarget.h.

Referenced by hasFRSQRTE().

bool llvm::PPCSubtarget::HasFRSQRTES
protected

Definition at line 96 of file PPCSubtarget.h.

Referenced by hasFRSQRTES().

bool llvm::PPCSubtarget::HasFSQRT
protected

Definition at line 95 of file PPCSubtarget.h.

Referenced by hasFSQRT().

bool llvm::PPCSubtarget::HasHTM
protected

Definition at line 121 of file PPCSubtarget.h.

Referenced by hasHTM().

bool llvm::PPCSubtarget::HasICBT
protected

Definition at line 117 of file PPCSubtarget.h.

Referenced by hasICBT().

bool llvm::PPCSubtarget::HasInvariantFunctionDescriptors
protected

Definition at line 118 of file PPCSubtarget.h.

Referenced by hasInvariantFunctionDescriptors().

bool llvm::PPCSubtarget::HasISEL
protected

Definition at line 102 of file PPCSubtarget.h.

Referenced by hasISEL().

bool llvm::PPCSubtarget::HasLazyResolverStubs
protected

Definition at line 115 of file PPCSubtarget.h.

Referenced by hasLazyResolverStub().

bool llvm::PPCSubtarget::HasLDBRX
protected

Definition at line 107 of file PPCSubtarget.h.

Referenced by hasLDBRX().

bool llvm::PPCSubtarget::HasLFIWAX
protected

Definition at line 99 of file PPCSubtarget.h.

Referenced by hasLFIWAX().

bool llvm::PPCSubtarget::HasMFOCRF
protected

Used by the ISel to turn in optimizations for POWER4-derived architectures.

Definition at line 82 of file PPCSubtarget.h.

Referenced by hasMFOCRF().

bool llvm::PPCSubtarget::HasOnlyMSYNC
protected

Definition at line 109 of file PPCSubtarget.h.

Referenced by hasOnlyMSYNC().

bool llvm::PPCSubtarget::HasP8Altivec
protected

Definition at line 92 of file PPCSubtarget.h.

Referenced by hasP8Altivec().

bool llvm::PPCSubtarget::HasP8Crypto
protected

Definition at line 93 of file PPCSubtarget.h.

Referenced by hasP8Crypto().

bool llvm::PPCSubtarget::HasP8Vector
protected

Definition at line 91 of file PPCSubtarget.h.

Referenced by hasP8Vector().

bool llvm::PPCSubtarget::HasPartwordAtomics
protected

Definition at line 119 of file PPCSubtarget.h.

Referenced by hasPartwordAtomics().

bool llvm::PPCSubtarget::HasPOPCNTD
protected

Definition at line 103 of file PPCSubtarget.h.

Referenced by hasPOPCNTD().

bool llvm::PPCSubtarget::HasQPX
protected

Definition at line 89 of file PPCSubtarget.h.

Referenced by hasQPX().

bool llvm::PPCSubtarget::HasRecipPrec
protected

Definition at line 97 of file PPCSubtarget.h.

Referenced by hasRecipPrec().

bool llvm::PPCSubtarget::HasSPE
protected

Definition at line 88 of file PPCSubtarget.h.

Referenced by hasSPE().

bool llvm::PPCSubtarget::HasSTFIWX
protected

Definition at line 98 of file PPCSubtarget.h.

Referenced by hasSTFIWX().

bool llvm::PPCSubtarget::HasVSX
protected

Definition at line 90 of file PPCSubtarget.h.

Referenced by hasVSX().

PPCInstrInfo llvm::PPCSubtarget::InstrInfo
protected

Definition at line 130 of file PPCSubtarget.h.

Referenced by getInstrInfo().

InstrItineraryData llvm::PPCSubtarget::InstrItins
protected

Selected instruction itineraries (one entry per itinerary class.)

Definition at line 76 of file PPCSubtarget.h.

Referenced by getInstrItineraryData().

bool llvm::PPCSubtarget::IsBookE
protected

Definition at line 108 of file PPCSubtarget.h.

Referenced by isBookE().

bool llvm::PPCSubtarget::IsE500
protected

Definition at line 110 of file PPCSubtarget.h.

Referenced by isE500().

bool llvm::PPCSubtarget::IsLittleEndian
protected

Definition at line 116 of file PPCSubtarget.h.

Referenced by isLittleEndian().

bool llvm::PPCSubtarget::IsPPC4xx
protected

Definition at line 111 of file PPCSubtarget.h.

Referenced by isPPC4xx().

bool llvm::PPCSubtarget::IsPPC64
protected

Definition at line 86 of file PPCSubtarget.h.

bool llvm::PPCSubtarget::IsPPC6xx
protected

Definition at line 112 of file PPCSubtarget.h.

Referenced by isPPC6xx().

bool llvm::PPCSubtarget::IsQPXStackUnaligned
protected

When targeting QPX running a stock PPC64 Linux kernel where the stack alignment has not been changed, we need to keep the 16-byte alignment of the stack.

Definition at line 126 of file PPCSubtarget.h.

Referenced by isQPXStackUnaligned().

unsigned 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 73 of file PPCSubtarget.h.

Referenced by getStackAlignment().

Triple llvm::PPCSubtarget::TargetTriple
protected

TargetTriple - What processor and OS we're targeting.

Definition at line 69 of file PPCSubtarget.h.

Referenced by getTargetTriple(), isBGQ(), isDarwin(), isTargetELF(), and isTargetMachO().

PPCTargetLowering llvm::PPCSubtarget::TLInfo
protected

Definition at line 131 of file PPCSubtarget.h.

Referenced by getTargetLowering().

const PPCTargetMachine& llvm::PPCSubtarget::TM
protected

Definition at line 128 of file PPCSubtarget.h.

Referenced by getTargetMachine(), hasLazyResolverStub(), isELFv2ABI(), and isPPC64().

TargetSelectionDAGInfo llvm::PPCSubtarget::TSInfo
protected

Definition at line 132 of file PPCSubtarget.h.

Referenced by getSelectionDAGInfo().

bool llvm::PPCSubtarget::Use64BitRegs
protected

Definition at line 84 of file PPCSubtarget.h.

Referenced by use64BitRegs().

bool llvm::PPCSubtarget::UseCRBits
protected

Definition at line 85 of file PPCSubtarget.h.

Referenced by useCRBits().


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