LLVM
8.0.1
|
#include "Target/PowerPC/PPCSubtarget.h"
Public Types | |
enum | POPCNTDKind { POPCNTD_Unavailable, POPCNTD_Slow, POPCNTD_Fast } |
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 InstrItineraryData * | getInstrItineraryData () const override |
getInstrItins - Return the instruction itineraries based on subtarget selection. More... | |
const PPCFrameLowering * | getFrameLowering () const override |
const PPCInstrInfo * | getInstrInfo () const override |
const PPCTargetLowering * | getTargetLowering () const override |
const SelectionDAGTargetInfo * | getSelectionDAGInfo () const override |
const PPCRegisterInfo * | getRegisterInfo () const override |
const PPCTargetMachine & | getTargetMachine () const |
PPCSubtarget & | initializeSubtargetDependencies (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 | useSoftFloat () const |
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 | hasFPU () const |
bool | hasQPX () const |
bool | hasVSX () const |
bool | hasP8Vector () const |
bool | hasP8Altivec () const |
bool | hasP8Crypto () const |
bool | hasP9Vector () const |
bool | hasP9Altivec () const |
bool | hasMFOCRF () const |
bool | hasISEL () 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 | isSecurePlt () 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 |
unsigned | getRedZoneSize () const |
bool | hasHTM () const |
bool | hasFusion () const |
bool | hasFloat128 () const |
bool | isISA3_0 () const |
bool | useLongCalls () const |
bool | needsSwapsForVSXMemOps () const |
POPCNTDKind | hasPOPCNTD () const |
const Triple & | getTargetTriple () 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 | isTargetLinux () const |
bool | isDarwinABI () const |
bool | isSVR4ABI () const |
bool | isELFv2ABI () const |
bool | enableEarlyIfConversion () const override |
Originally, this function return hasISEL(). More... | |
bool | enableMachineScheduler () const override |
bool | enablePostRAScheduler () const override |
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 |
unsigned char | classifyGlobalReference (const GlobalValue *GV) const |
classifyGlobalReference - Classify a global variable reference for the current subtarget accourding to how we should reference it. More... | |
bool | isXRaySupported () const override |
Definition at line 68 of file PPCSubtarget.h.
Enumerator | |
---|---|
POPCNTD_Unavailable | |
POPCNTD_Slow | |
POPCNTD_Fast |
Definition at line 70 of file PPCSubtarget.h.
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.
References DarwinDirective, DeprecatedDST, llvm::PPC::DIR_NONE, FeatureMFTB, llvm::Triple::getArch(), getPlatformStackAlignment(), Has64BitSupport, has64BitSupport(), HasAltivec, HasBPERMD, HasCMPB, HasDirectMove, HasExtDiv, HasFCPSGN, HasFloat128, HasFPCVT, HasFPRND, HasFPU, HasFRE, HasFRES, HasFRSQRTE, HasFRSQRTES, HasFSQRT, HasFusion, HasHardFloat, HasHTM, HasICBT, HasInvariantFunctionDescriptors, HasISEL, HasLazyResolverStubs, HasLDBRX, HasLFIWAX, HasMFOCRF, HasOnlyMSYNC, HasP8Altivec, HasP8Crypto, HasP8Vector, HasP9Altivec, HasP9Vector, HasPartwordAtomics, HasPOPCNTD, HasQPX, HasRecipPrec, HasSPE, HasSTFIWX, HasVSX, InstrItins, IsBookE, isDarwin(), IsE500, IsISA3_0, IsLittleEndian, llvm::Triple::isOSNetBSD(), llvm::Triple::isOSOpenBSD(), IsPPC4xx, IsPPC64, IsPPC6xx, IsQPXStackUnaligned, ParseSubtargetFeatures(), POPCNTD_Unavailable, llvm::Triple::ppc64le, QPXStackUnaligned, llvm::report_fatal_error(), SecurePlt, StackAlignment, TargetTriple, Use64BitRegs, UseCRBits, and UseLongCalls.
unsigned char PPCSubtarget::classifyGlobalReference | ( | const GlobalValue * | GV | ) | const |
classifyGlobalReference - Classify a global variable reference for the current subtarget accourding to how we should reference it.
Definition at line 220 of file PPCSubtarget.cpp.
References llvm::TargetMachine::getCodeModel(), llvm::GlobalValue::getParent(), llvm::CodeModel::Large, llvm::PPCII::MO_NLP_FLAG, llvm::PPCII::MO_PIC_FLAG, llvm::TargetMachine::shouldAssumeDSOLocal(), and TM.
|
inlineoverride |
Originally, this function return hasISEL().
Now we always enable it, but may expand the ISEL instruction later.
Definition at line 315 of file PPCSubtarget.h.
|
override |
Definition at line 181 of file PPCSubtarget.cpp.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
override |
Definition at line 186 of file PPCSubtarget.cpp.
|
override |
Definition at line 215 of file PPCSubtarget.cpp.
References UseSubRegLiveness.
|
override |
Definition at line 188 of file PPCSubtarget.cpp.
|
override |
Definition at line 192 of file PPCSubtarget.cpp.
References isPPC64().
|
inline |
getDarwinDirective - Returns the -m directive specified for the cpu.
Definition at line 171 of file PPCSubtarget.h.
Referenced by llvm::PPCTTIImpl::enableAggressiveInterleaving(), llvm::PPCTTIImpl::getCacheLineSize(), llvm::PPCTTIImpl::getMaxInterleaveFactor(), llvm::PPCInstrInfo::getOperandLatency(), llvm::PPCTTIImpl::getUnrollingPreferences(), llvm::PPCInstrInfo::insertNoop(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inlineoverride |
Definition at line 179 of file PPCSubtarget.h.
Referenced by EmitTailCallStoreFPAndRetAddr(), EnsureStackAlignment(), and needStackSlotPassParameters().
|
inlineoverride |
Definition at line 182 of file PPCSubtarget.h.
Referenced by llvm::PPCFrameLowering::eliminateCallFramePseudoInstr(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCRegisterInfo::lowerCRBitRestore(), llvm::PPCRegisterInfo::lowerCRBitSpilling(), llvm::PPCRegisterInfo::lowerCRRestore(), llvm::PPCRegisterInfo::lowerCRSpilling(), llvm::PPCRegisterInfo::lowerDynamicAlloc(), llvm::PPCRegisterInfo::lowerDynamicAreaOffset(), llvm::PPCRegisterInfo::lowerVRSAVERestore(), llvm::PPCRegisterInfo::lowerVRSAVESpilling(), llvm::PPCRegisterInfo::materializeFrameBaseRegister(), llvm::PPCRegisterInfo::resolveFrameIndex(), llvm::PPCFrameLowering::restoreCalleeSavedRegisters(), and llvm::PPCFrameLowering::spillCalleeSavedRegisters().
|
inlineoverride |
getInstrItins - Return the instruction itineraries based on subtarget selection.
Definition at line 175 of file PPCSubtarget.h.
|
inline |
Definition at line 274 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
inline |
Definition at line 283 of file PPCSubtarget.h.
Referenced by llvm::PPCFrameLowering::determineFrameLayout().
|
inlineoverride |
Definition at line 189 of file PPCSubtarget.h.
Referenced by llvm::PPCFrameLowering::addScavengingSpillSlot(), llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::determineFrameLayout(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCTargetLowering::PPCTargetLowering(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), and llvm::PPCFrameLowering::replaceFPWithRealFP().
|
inlineoverride |
Definition at line 186 of file PPCSubtarget.h.
|
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 167 of file PPCSubtarget.h.
|
inlineoverride |
Definition at line 183 of file PPCSubtarget.h.
|
inline |
Definition at line 192 of file PPCSubtarget.h.
References llvm::SystemZISD::TM.
Referenced by computeBasePointerSaveOffset(), and llvm::PPCInstrInfo::getMachineCombinerPatterns().
Definition at line 298 of file PPCSubtarget.h.
|
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 209 of file PPCSubtarget.h.
Referenced by PPCSubtarget(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 242 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::getByValTypeAlignment(), llvm::PPCRegisterInfo::getCalleeSavedRegs(), llvm::PPCRegisterInfo::getCalleeSavedRegsViaCopy(), llvm::PPCRegisterInfo::getCallPreservedMask(), llvm::PPCTTIImpl::getMemoryOpCost(), llvm::PPCTTIImpl::getNumberOfRegisters(), GetPointerOperand(), llvm::PPCTTIImpl::getRegisterBitWidth(), llvm::PPCRegisterInfo::getReservedRegs(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 254 of file PPCSubtarget.h.
|
inline |
Definition at line 256 of file PPCSubtarget.h.
Referenced by mayUseP9Setb().
|
inline |
Definition at line 271 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 255 of file PPCSubtarget.h.
|
inline |
Definition at line 231 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 289 of file PPCSubtarget.h.
|
inline |
Definition at line 241 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 240 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 244 of file PPCSubtarget.h.
|
inline |
Definition at line 233 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 234 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 235 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 236 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 232 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 288 of file PPCSubtarget.h.
|
inline |
Definition at line 287 of file PPCSubtarget.h.
|
inline |
Definition at line 266 of file PPCSubtarget.h.
|
inline |
Definition at line 267 of file PPCSubtarget.h.
Referenced by PrepareCall().
|
inline |
Definition at line 253 of file PPCSubtarget.h.
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.
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 168 of file PPCSubtarget.cpp.
References llvm::GlobalValue::getParent(), llvm::GlobalValue::hasCommonLinkage(), HasLazyResolverStubs, llvm::GlobalValue::isDeclarationForLinker(), llvm::TargetMachine::shouldAssumeDSOLocal(), and TM.
Referenced by getLabelAccessInfo().
|
inline |
Definition at line 257 of file PPCSubtarget.h.
|
inline |
Definition at line 239 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 252 of file PPCSubtarget.h.
|
inline |
Definition at line 259 of file PPCSubtarget.h.
|
inline |
Definition at line 248 of file PPCSubtarget.h.
Referenced by getVectorCompareInfo(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 249 of file PPCSubtarget.h.
|
inline |
Definition at line 247 of file PPCSubtarget.h.
Referenced by EnsureStackAlignment(), llvm::PPCRegisterInfo::getLargestLegalSuperClass(), llvm::PPCTTIImpl::getMemoryOpCost(), llvm::PPC::isVPKUDUMShuffleMask(), mayUseP9Setb(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 251 of file PPCSubtarget.h.
Referenced by getVectorCompareInfo(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 250 of file PPCSubtarget.h.
Referenced by llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), llvm::PPCInstrInfo::copyPhysReg(), llvm::PPCRegisterInfo::getLargestLegalSuperClass(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 270 of file PPCSubtarget.h.
|
inline |
Definition at line 296 of file PPCSubtarget.h.
Referenced by llvm::PPCTTIImpl::getPopcntSupport(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 245 of file PPCSubtarget.h.
Referenced by EnsureStackAlignment(), llvm::PPCTargetLowering::getByValTypeAlignment(), llvm::PPCTTIImpl::getMemoryOpCost(), llvm::PPCTTIImpl::getNumberOfRegisters(), llvm::PPCTargetLowering::getPreIndexedAddressParts(), llvm::PPCTTIImpl::getRegisterBitWidth(), llvm::PPCTargetLowering::getSetCCResultType(), getVCmpInst(), llvm::PPCTTIImpl::getVectorInstrCost(), mayUseP9Setb(), needStackSlotPassParameters(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 237 of file PPCSubtarget.h.
Referenced by getEstimateRefinementSteps().
|
inline |
Definition at line 243 of file PPCSubtarget.h.
Referenced by EnsureStackAlignment(), llvm::PPCRegisterInfo::getCalleeSavedRegs(), llvm::PPCTargetLowering::getNumRegistersForCallingConv(), llvm::PPCTargetLowering::getRegisterTypeForCallingConv(), getVCmpInst(), llvm::PPCTargetLowering::hasSPE(), mayUseP9Setb(), llvm::PPCTargetLowering::PPCTargetLowering(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), and selectI64Imm().
|
inline |
Definition at line 238 of file PPCSubtarget.h.
|
inline |
Definition at line 246 of file PPCSubtarget.h.
Referenced by EnsureStackAlignment(), llvm::PPCRegisterInfo::getCalleeSavedRegs(), llvm::PPCRegisterInfo::getCallPreservedMask(), llvm::PPCRegisterInfo::getLargestLegalSuperClass(), llvm::PPCTTIImpl::getMemoryOpCost(), llvm::PPCTTIImpl::getNumberOfRegisters(), getVCmpInst(), getVectorCompareInfo(), llvm::PPCTTIImpl::getVectorInstrCost(), llvm::PPCInstrInfo::loadRegFromStackSlot(), mayUseP9Setb(), llvm::PPCTargetLowering::PPCTargetLowering(), and selectI64Imm().
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.
|
inline |
isBGQ - True if this is a BG/Q platform.
Definition at line 303 of file PPCSubtarget.h.
References llvm::Triple::BGQ, and llvm::Triple::getVendor().
|
inline |
Definition at line 258 of file PPCSubtarget.h.
|
inline |
isDarwin - True if this is any darwin platform.
Definition at line 301 of file PPCSubtarget.h.
References llvm::Triple::isMacOSX().
Referenced by llvm::PPCTargetLowering::getByValTypeAlignment(), PeepholePPC64ZExtGather(), PPCSubtarget(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 309 of file PPCSubtarget.h.
References isDarwin().
Referenced by computeBasePointerSaveOffset(), computeFramePointerSaveOffset(), computeLinkageSize(), computeReturnSaveOffset(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::emitPrologue(), EmitTailCallStoreFPAndRetAddr(), llvm::PPCRegisterInfo::getCalleeSavedRegs(), llvm::PPCRegisterInfo::getCalleeSavedRegsViaCopy(), llvm::PPCFrameLowering::getCalleeSavedSpillSlots(), llvm::PPCRegisterInfo::getCallPreservedMask(), llvm::PPCRegisterInfo::getReservedRegs(), llvm::PPCFrameLowering::restoreCalleeSavedRegisters(), and llvm::PPCFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 265 of file PPCSubtarget.h.
|
inline |
Definition at line 263 of file PPCSubtarget.h.
bool PPCSubtarget::isELFv2ABI | ( | ) | const |
Definition at line 233 of file PPCSubtarget.cpp.
References llvm::PPCTargetMachine::isELFv2ABI(), and TM.
Referenced by computeLinkageSize(), computeTOCSaveOffset(), llvm::PPCFrameLowering::emitPrologue(), EnsureStackAlignment(), INITIALIZE_PASS(), mayUseP9Setb(), and PrepareCall().
|
inline |
Definition at line 264 of file PPCSubtarget.h.
|
inline |
Definition at line 290 of file PPCSubtarget.h.
Referenced by mayUseP9Setb(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 228 of file PPCSubtarget.h.
Referenced by EnsureStackAlignment(), and mayUseP9Setb().
|
inline |
Definition at line 260 of file PPCSubtarget.h.
bool PPCSubtarget::isPPC64 | ( | ) | const |
isPPC64 - Return true if we are generating code for 64-bit pointer mode.
Definition at line 234 of file PPCSubtarget.cpp.
References llvm::PPCTargetMachine::isPPC64(), and TM.
Referenced by llvm::PPCFrameLowering::addScavengingSpillSlot(), llvm::PPCInstrInfo::analyzeBranch(), combineADDToADDZE(), computeBasePointerSaveOffset(), computeFramePointerSaveOffset(), computeLinkageSize(), computeReturnSaveOffset(), llvm::PPC::createFastISel(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::eliminateCallFramePseudoInstr(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), EmitTailCallStoreFPAndRetAddr(), EnsureStackAlignment(), llvm::PPCInstrInfo::FoldImmediate(), llvm::PPCTargetLowering::getByValTypeAlignment(), llvm::PPCFrameLowering::getCalleeSavedSpillSlots(), getCriticalPathRCs(), llvm::PPCTTIImpl::getIntImmCost(), llvm::PPCTargetLowering::getPICJumpTableRelocBase(), llvm::PPCTargetLowering::getPICJumpTableRelocBaseExpr(), llvm::PPCTTIImpl::getRegisterBitWidth(), getTOCEntry(), llvm::PPCInstrInfo::insertBranch(), llvm::PPCTargetLowering::isJumpTableRelative(), mayUseP9Setb(), needStackSlotPassParameters(), llvm::PPCInstrInfo::optimizeCompareInstr(), PeepholePPC64ZExtGather(), llvm::PPCTargetLowering::PPCTargetLowering(), llvm::PPCInstrInfo::PredicateInstruction(), PrepareCall(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), llvm::PPCFrameLowering::replaceFPWithRealFP(), llvm::PPCFrameLowering::restoreCalleeSavedRegisters(), llvm::PPCTargetLowering::SelectAddressRegImm(), llvm::PPCTargetLowering::SelectAddressRegRegOnly(), and llvm::PPCFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 261 of file PPCSubtarget.h.
|
inline |
Definition at line 273 of file PPCSubtarget.h.
|
inline |
Definition at line 262 of file PPCSubtarget.h.
Referenced by GetSymbolRef(), and mayUseP9Setb().
|
inline |
Definition at line 310 of file PPCSubtarget.h.
Referenced by llvm::PPC::createFastISel(), llvm::PPCFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitPrologue(), llvm::PPCFrameLowering::enableShrinkWrapping(), EnsureStackAlignment(), llvm::PPCRegisterInfo::getBaseRegister(), llvm::PPCFrameLowering::getCalleeSavedSpillSlots(), llvm::PPCTargetLowering::getPICJumpTableRelocBaseExpr(), llvm::PPCRegisterInfo::getReservedRegs(), getTOCEntry(), llvm::PPCRegisterInfo::hasReservedSpillSlot(), llvm::PPCRegisterInfo::isCallerPreservedPhysReg(), llvm::PPCInstrInfo::isSignOrZeroExtended(), mayUseP9Setb(), needStackSlotPassParameters(), llvm::PPCTargetLowering::PPCTargetLowering(), PrepareCall(), llvm::PPCFrameLowering::processFunctionBeforeFrameFinalized(), llvm::PPCFrameLowering::replaceFPWithRealFP(), llvm::PPCFrameLowering::restoreCalleeSavedRegisters(), and llvm::PPCFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 305 of file PPCSubtarget.h.
References llvm::Triple::isOSBinFormatELF().
Referenced by mayUseP9Setb(), and PrepareCall().
|
inline |
Definition at line 307 of file PPCSubtarget.h.
References llvm::Triple::isOSLinux().
|
inline |
Definition at line 306 of file PPCSubtarget.h.
References llvm::Triple::isOSBinFormatMachO().
|
inlineoverride |
Definition at line 334 of file PPCSubtarget.h.
|
inline |
Definition at line 292 of file PPCSubtarget.h.
|
override |
Definition at line 198 of file PPCSubtarget.cpp.
References llvm::MachineSchedPolicy::OnlyBottomUp, and llvm::MachineSchedPolicy::ShouldTrackPressure.
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
Definition of function is auto generated by tblgen.
Referenced by PPCSubtarget().
|
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 216 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::PPCTargetLowering().
|
override |
Definition at line 211 of file PPCSubtarget.cpp.
|
inline |
useCRBits - Return true if we should store and manipulate i1 values in the individual condition register bits.
Definition at line 220 of file PPCSubtarget.h.
Referenced by computeBranchTargetAndInversion(), llvm::PPCTargetLowering::getSetCCResultType(), getVCmpInst(), mayUseP9Setb(), and llvm::PPCTargetLowering::PPCTargetLowering().
|
inline |
Definition at line 291 of file PPCSubtarget.h.
|
inline |
Definition at line 211 of file PPCSubtarget.h.
Referenced by llvm::PPCTargetLowering::useSoftFloat().
|
protected |
Which cpu directive was used.
Definition at line 88 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 126 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 125 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 148 of file PPCSubtarget.h.
|
protected |
Definition at line 92 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 97 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 116 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 118 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 132 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 117 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 107 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 135 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 114 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 113 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 98 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 109 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 109 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 109 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 109 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 108 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 134 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 95 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 133 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 129 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 130 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 115 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 127 of file PPCSubtarget.h.
Referenced by hasLazyResolverStub(), and PPCSubtarget().
|
protected |
Definition at line 119 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 112 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Used by the ISel to turn in optimizations for POWER4-derived architectures.
Definition at line 91 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 121 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 103 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 104 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 102 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 106 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 105 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 131 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 140 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 100 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 110 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 99 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 111 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 101 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 149 of file PPCSubtarget.h.
|
protected |
Selected instruction itineraries (one entry per itinerary class.)
Definition at line 85 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 120 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 122 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 136 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 128 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 123 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 96 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 124 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
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 145 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 138 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
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 82 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
TargetTriple - What processor and OS we're targeting.
Definition at line 78 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 150 of file PPCSubtarget.h.
|
protected |
Definition at line 147 of file PPCSubtarget.h.
Referenced by classifyGlobalReference(), hasLazyResolverStub(), isELFv2ABI(), and isPPC64().
|
protected |
Definition at line 151 of file PPCSubtarget.h.
|
protected |
Definition at line 93 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 94 of file PPCSubtarget.h.
Referenced by PPCSubtarget().
|
protected |
Definition at line 137 of file PPCSubtarget.h.
Referenced by PPCSubtarget().