|
LLVM
3.7.0
|
#include <PPCTargetTransformInfo.h>
Additional Inherited Members | |
Protected Types inherited from llvm::TargetTransformInfoImplBase | |
| typedef TargetTransformInfo | TTI |
Protected Member Functions inherited from llvm::BasicTTIImplBase< PPCTTIImpl > | |
| BasicTTIImplBase (const TargetMachine *TM, const DataLayout &DL) | |
Protected Member Functions inherited from llvm::TargetTransformInfoImplCRTPBase< PPCTTIImpl > | |
| TargetTransformInfoImplCRTPBase (const DataLayout &DL) | |
Protected Member Functions inherited from llvm::TargetTransformInfoImplBase | |
| TargetTransformInfoImplBase (const DataLayout &DL) | |
Protected Attributes inherited from llvm::TargetTransformInfoImplBase | |
| const DataLayout & | DL |
Definition at line 28 of file PPCTargetTransformInfo.h.
|
inlineexplicit |
Definition at line 40 of file PPCTargetTransformInfo.h.
|
inline |
Definition at line 45 of file PPCTargetTransformInfo.h.
|
inline |
Definition at line 47 of file PPCTargetTransformInfo.h.
Definition at line 199 of file PPCTargetTransformInfo.cpp.
| unsigned PPCTTIImpl::getArithmeticInstrCost | ( | unsigned | Opcode, |
| Type * | Ty, | ||
| TTI::OperandValueKind | Opd1Info = TTI::OK_AnyValue, |
||
| TTI::OperandValueKind | Opd2Info = TTI::OK_AnyValue, |
||
| TTI::OperandValueProperties | Opd1PropInfo = TTI::OP_None, |
||
| TTI::OperandValueProperties | Opd2PropInfo = TTI::OP_None |
||
| ) |
Definition at line 249 of file PPCTargetTransformInfo.cpp.
References llvm::BasicTTIImplBase< PPCTTIImpl >::getArithmeticInstrCost(), and llvm::TargetLoweringBase::InstructionOpcodeToISD().
Definition at line 265 of file PPCTargetTransformInfo.cpp.
References llvm::BasicTTIImplBase< PPCTTIImpl >::getCastInstrCost(), and llvm::TargetLoweringBase::InstructionOpcodeToISD().
Definition at line 271 of file PPCTargetTransformInfo.cpp.
References llvm::BasicTTIImplBase< PPCTTIImpl >::getCmpSelInstrCost().
Definition at line 38 of file PPCTargetTransformInfo.cpp.
References DisablePPCConstHoist, llvm::APInt::getBitWidth(), llvm::TargetTransformInfoImplBase::getIntImmCost(), llvm::Type::getPrimitiveSizeInBits(), llvm::APInt::getSExtValue(), llvm::APInt::getZExtValue(), llvm::isInt< 16 >(), llvm::isInt< 32 >(), llvm::Type::isIntegerTy(), llvm::TargetTransformInfo::TCC_Basic, and llvm::TargetTransformInfo::TCC_Free.
Referenced by getIntImmCost().
Definition at line 101 of file PPCTargetTransformInfo.cpp.
References llvm::APIntOps::And(), llvm::Call, DisablePPCConstHoist, llvm::APInt::getBitWidth(), getIntImmCost(), llvm::TargetTransformInfoImplBase::getIntImmCost(), llvm::Type::getPrimitiveSizeInBits(), llvm::APInt::getSExtValue(), llvm::APInt::getZExtValue(), llvm::isInt< 16 >(), llvm::Type::isIntegerTy(), llvm::PPCSubtarget::isPPC64(), llvm::isShiftedMask_32(), llvm::isShiftedMask_64(), llvm::isUInt< 16 >(), llvm::SPII::Load, llvm::APIntOps::Or(), llvm::TargetOpcode::PHI, llvm::MipsISD::Ret, llvm::MCID::Select, llvm::SPII::Store, llvm::TargetTransformInfo::TCC_Basic, llvm::TargetTransformInfo::TCC_Free, and llvm::APIntOps::Xor().
| unsigned PPCTTIImpl::getIntImmCost | ( | Intrinsic::ID | IID, |
| unsigned | Idx, | ||
| const APInt & | Imm, | ||
| Type * | Ty | ||
| ) |
Definition at line 67 of file PPCTargetTransformInfo.cpp.
References DisablePPCConstHoist, llvm::APInt::getBitWidth(), getIntImmCost(), llvm::TargetTransformInfoImplBase::getIntImmCost(), llvm::Type::getPrimitiveSizeInBits(), llvm::APInt::getSExtValue(), llvm::isInt< 16 >(), llvm::Type::isIntegerTy(), and llvm::TargetTransformInfo::TCC_Free.
Definition at line 222 of file PPCTargetTransformInfo.cpp.
References llvm::PPC::DIR_440, llvm::PPC::DIR_A2, llvm::PPC::DIR_E500mc, llvm::PPC::DIR_E5500, llvm::PPC::DIR_PWR7, llvm::PPC::DIR_PWR8, and llvm::PPCSubtarget::getDarwinDirective().
| unsigned PPCTTIImpl::getMemoryOpCost | ( | unsigned | Opcode, |
| Type * | Src, | ||
| unsigned | Alignment, | ||
| unsigned | AddressSpace | ||
| ) |
Definition at line 316 of file PPCTargetTransformInfo.cpp.
References llvm::TargetTransformInfoImplBase::DL, ExtractElement(), llvm::BasicTTIImplBase< PPCTTIImpl >::getMemoryOpCost(), llvm::Type::getPrimitiveSizeInBits(), llvm::TargetLoweringBase::getTypeLegalizationCost(), getVectorInstrCost(), llvm::Type::getVectorNumElements(), llvm::PPCSubtarget::hasVSX(), llvm::Type::isVectorTy(), llvm::SPII::Load, llvm::AArch64CC::LT, llvm::SPII::Store, llvm::MVT::v2f64, and llvm::MVT::v2i64.
Definition at line 203 of file PPCTargetTransformInfo.cpp.
References llvm::PPCSubtarget::hasAltivec(), llvm::PPCSubtarget::hasQPX(), and llvm::PPCSubtarget::hasVSX().
| TargetTransformInfo::PopcntSupportKind PPCTTIImpl::getPopcntSupport | ( | unsigned | TyWidth | ) |
Definition at line 31 of file PPCTargetTransformInfo.cpp.
References llvm::PPCSubtarget::hasPOPCNTD(), llvm::isPowerOf2_32(), llvm::TargetTransformInfo::PSK_FastHardware, and llvm::TargetTransformInfo::PSK_Software.
Definition at line 209 of file PPCTargetTransformInfo.cpp.
References llvm::PPCSubtarget::hasAltivec(), llvm::PPCSubtarget::hasQPX(), and llvm::PPCSubtarget::isPPC64().
| unsigned PPCTTIImpl::getShuffleCost | ( | TTI::ShuffleKind | Kind, |
| Type * | Tp, | ||
| int | Index, | ||
| Type * | SubTp | ||
| ) |
Definition at line 260 of file PPCTargetTransformInfo.cpp.
References llvm::BasicTTIImplBase< PPCTTIImpl >::getShuffleCost().
| void PPCTTIImpl::getUnrollingPreferences | ( | Loop * | L, |
| TTI::UnrollingPreferences & | UP | ||
| ) |
Definition at line 184 of file PPCTargetTransformInfo.cpp.
References llvm::TargetTransformInfo::UnrollingPreferences::AllowExpensiveTripCount, llvm::PPC::DIR_A2, llvm::PPCSubtarget::getDarwinDirective(), llvm::BasicTTIImplBase< PPCTTIImpl >::getUnrollingPreferences(), llvm::TargetTransformInfo::UnrollingPreferences::Partial, and llvm::TargetTransformInfo::UnrollingPreferences::Runtime.
Definition at line 276 of file PPCTargetTransformInfo.cpp.
References llvm::ISD::EXTRACT_VECTOR_ELT, llvm::Type::getScalarType(), llvm::BasicTTIImplBase< PPCTTIImpl >::getVectorInstrCost(), llvm::PPCSubtarget::hasQPX(), llvm::PPCSubtarget::hasVSX(), llvm::ISD::INSERT_VECTOR_ELT, llvm::TargetLoweringBase::InstructionOpcodeToISD(), llvm::Type::isDoubleTy(), llvm::Type::isFloatingPointTy(), and llvm::Type::isVectorTy().
Referenced by getMemoryOpCost().
1.8.6