|
LLVM
5.0.0
|
#include "Target/SystemZ/SystemZTargetTransformInfo.h"
Additional Inherited Members | |
Protected Types inherited from llvm::TargetTransformInfoImplBase | |
| typedef TargetTransformInfo | TTI |
Protected Member Functions inherited from llvm::BasicTTIImplBase< SystemZTTIImpl > | |
| BasicTTIImplBase (const TargetMachine *TM, const DataLayout &DL) | |
Protected Member Functions inherited from llvm::TargetTransformInfoImplCRTPBase< SystemZTTIImpl > | |
| TargetTransformInfoImplCRTPBase (const DataLayout &DL) | |
Protected Member Functions inherited from llvm::TargetTransformInfoImplBase | |
| TargetTransformInfoImplBase (const DataLayout &DL) | |
| unsigned | minRequiredElementSize (const Value *Val, bool &isSigned) |
| bool | isStridedAccess (const SCEV *Ptr) |
| const SCEVConstant * | getConstantStrideStep (ScalarEvolution *SE, const SCEV *Ptr) |
| bool | isConstantStridedAccessLessThan (ScalarEvolution *SE, const SCEV *Ptr, int64_t MergeDistance) |
Protected Attributes inherited from llvm::TargetTransformInfoImplBase | |
| const DataLayout & | DL |
Definition at line 19 of file SystemZTargetTransformInfo.h.
|
inlineexplicit |
Definition at line 33 of file SystemZTargetTransformInfo.h.
|
inline |
Definition at line 65 of file SystemZTargetTransformInfo.h.
| int SystemZTTIImpl::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, |
||
| ArrayRef< const Value * > | Args = ArrayRef<const Value *>() |
||
| ) |
Definition at line 313 of file SystemZTargetTransformInfo.cpp.
References assert(), C, llvm::dyn_cast(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getArithmeticInstrCost(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getNumberOfParts(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getScalarizationOverhead(), llvm::Type::getScalarSizeInBits(), llvm::Type::getScalarType(), llvm::ConstantInt::getValue(), llvm::Type::getVectorNumElements(), llvm::SystemZSubtarget::hasVector(), llvm::SystemZSubtarget::hasVectorEnhancements1(), llvm::APInt::isPowerOf2(), llvm::Type::isVectorTy(), and llvm::ArrayRef< T >::size().
|
inline |
Definition at line 59 of file SystemZTargetTransformInfo.h.
| int SystemZTTIImpl::getCastInstrCost | ( | unsigned | Opcode, |
| Type * | Dst, | ||
| Type * | Src, | ||
| const Instruction * | I = nullptr |
||
| ) |
Definition at line 587 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getCastInstrCost(), getCmpOpsType(), getElSizeLog2Diff(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getNumberOfParts(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getScalarizationOverhead(), llvm::Type::getScalarSizeInBits(), llvm::Type::getScalarType(), getVectorBitmaskConversionCost(), llvm::Type::getVectorNumElements(), getVectorTruncCost(), llvm::SystemZSubtarget::hasVector(), llvm::Type::isFloatingPointTy(), llvm::Type::isIntegerTy(), llvm::Type::isVectorTy(), and llvm::max().
| int SystemZTTIImpl::getCmpSelInstrCost | ( | unsigned | Opcode, |
| Type * | ValTy, | ||
| Type * | CondTy, | ||
| const Instruction * | I = nullptr |
||
| ) |
Definition at line 711 of file SystemZTargetTransformInfo.cpp.
References assert(), getCmpOpsType(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getCmpSelInstrCost(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getNumberOfParts(), llvm::Type::getScalarSizeInBits(), llvm::Type::getScalarType(), getVectorBitmaskConversionCost(), llvm::Type::getVectorNumElements(), llvm::SystemZSubtarget::hasVector(), llvm::Type::isFloatingPointTy(), llvm::Type::isFloatTy(), llvm::Type::isIntegerTy(), llvm::Type::isVectorTy(), and llvm::MCID::Select.
| int SystemZTTIImpl::getInterleavedMemoryOpCost | ( | unsigned | Opcode, |
| Type * | VecTy, | ||
| unsigned | Factor, | ||
| ArrayRef< unsigned > | Indices, | ||
| unsigned | Alignment, | ||
| unsigned | AddressSpace | ||
| ) |
Definition at line 860 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::Type::getPrimitiveSizeInBits(), llvm::Type::getVectorNumElements(), llvm::Type::isPtrOrPtrVectorTy(), llvm::SPII::Load, and llvm::ArrayRef< T >::size().
Definition at line 34 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::APInt::getBitWidth(), llvm::Type::getPrimitiveSizeInBits(), llvm::APInt::getSExtValue(), llvm::APInt::getZExtValue(), llvm::isInt< 32 >(), llvm::Type::isIntegerTy(), llvm::isUInt< 32 >(), llvm::TargetTransformInfo::TCC_Basic, and llvm::TargetTransformInfo::TCC_Free.
Referenced by getIntImmCost().
Definition at line 66 of file SystemZTargetTransformInfo.cpp.
References llvm::MCID::Add, assert(), llvm::MCID::Call, llvm::WebAssembly::End, llvm::APInt::getBitWidth(), llvm::SystemZSubtarget::getInstrInfo(), getIntImmCost(), llvm::Type::getPrimitiveSizeInBits(), llvm::APInt::getSExtValue(), llvm::APInt::getZExtValue(), llvm::isInt< 16 >(), llvm::isInt< 32 >(), llvm::Type::isIntegerTy(), llvm::SystemZInstrInfo::isRxSBGMask(), llvm::isUInt< 32 >(), llvm::SPII::Load, llvm::MipsISD::Ret, llvm::MCID::Select, llvm::SPII::Store, llvm::TargetTransformInfo::TCC_Basic, llvm::TargetTransformInfo::TCC_Free, and TII.
| int SystemZTTIImpl::getIntImmCost | ( | Intrinsic::ID | IID, |
| unsigned | Idx, | ||
| const APInt & | Imm, | ||
| Type * | Ty | ||
| ) |
Definition at line 184 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::APInt::getBitWidth(), getIntImmCost(), llvm::Type::getPrimitiveSizeInBits(), llvm::APInt::getSExtValue(), llvm::APInt::getZExtValue(), llvm::isInt< 32 >(), llvm::Type::isIntegerTy(), llvm::isUInt< 32 >(), and llvm::TargetTransformInfo::TCC_Free.
| int SystemZTTIImpl::getMemoryOpCost | ( | unsigned | Opcode, |
| Type * | Src, | ||
| unsigned | Alignment, | ||
| unsigned | AddressSpace, | ||
| const Instruction * | I = nullptr |
||
| ) |
Definition at line 801 of file SystemZTargetTransformInfo.cpp.
References llvm::MCID::Add, assert(), llvm::tgtok::Bits, llvm::BasicTTIImplBase< SystemZTTIImpl >::getNumberOfParts(), llvm::User::getNumOperands(), llvm::Instruction::getOpcode(), llvm::User::getOperand(), llvm::Type::getScalarSizeInBits(), llvm::Value::hasOneUse(), I, llvm::Type::isVectorTy(), llvm::Type::isVoidTy(), llvm::SPII::Load, and llvm::Value::user_begin().
Referenced by getUnrollingPreferences().
|
inline |
Definition at line 61 of file SystemZTargetTransformInfo.h.
Definition at line 295 of file SystemZTargetTransformInfo.cpp.
References llvm::SystemZSubtarget::hasVector().
| TargetTransformInfo::PopcntSupportKind SystemZTTIImpl::getPopcntSupport | ( | unsigned | TyWidth | ) |
Definition at line 234 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::SystemZSubtarget::hasPopulationCount(), llvm::isPowerOf2_32(), llvm::TargetTransformInfo::PSK_FastHardware, and llvm::TargetTransformInfo::PSK_Software.
|
inline |
Definition at line 60 of file SystemZTargetTransformInfo.h.
Definition at line 305 of file SystemZTargetTransformInfo.cpp.
References llvm::SystemZSubtarget::hasVector().
| int SystemZTTIImpl::getShuffleCost | ( | TTI::ShuffleKind | Kind, |
| Type * | Tp, | ||
| int | Index, | ||
| Type * | SubTp | ||
| ) |
Definition at line 449 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getNumberOfParts(), llvm::Type::getScalarType(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getShuffleCost(), llvm::SystemZSubtarget::hasVector(), llvm::Type::isFP128Ty(), llvm::Type::isVectorTy(), llvm::TargetTransformInfo::SK_Broadcast, and llvm::TargetTransformInfo::SK_ExtractSubvector.
| void SystemZTTIImpl::getUnrollingPreferences | ( | Loop * | L, |
| ScalarEvolution & | SE, | ||
| TTI::UnrollingPreferences & | UP | ||
| ) |
Definition at line 241 of file SystemZTargetTransformInfo.cpp.
References llvm::TargetTransformInfo::UnrollingPreferences::AllowExpensiveTripCount, llvm::LoopBase< N, M >::blocks(), llvm::TargetTransformInfo::UnrollingPreferences::DefaultUnrollRuntimeCount, F, llvm::TargetTransformInfo::UnrollingPreferences::Force, llvm::TargetTransformInfo::UnrollingPreferences::FullUnrollMaxCount, llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::getCalledFunction(), getMemoryOpCost(), I, llvm::TargetTransformInfoImplBase::isLoweredToCall(), llvm::TargetTransformInfo::UnrollingPreferences::MaxCount, llvm::TargetTransformInfo::UnrollingPreferences::Partial, llvm::TargetTransformInfo::UnrollingPreferences::PartialThreshold, llvm::TargetTransformInfo::UnrollingPreferences::Runtime, and llvm::SPII::Store.
Definition at line 539 of file SystemZTargetTransformInfo.cpp.
References assert(), getElSizeLog2Diff(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getNumberOfParts(), llvm::Type::getScalarSizeInBits(), getVectorTruncCost(), and llvm::Type::isVectorTy().
Referenced by getCastInstrCost(), and getCmpSelInstrCost().
Definition at line 782 of file SystemZTargetTransformInfo.cpp.
References llvm::Type::getScalarSizeInBits(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getVectorInstrCost(), and llvm::Type::isIntOrIntVectorTy().
Definition at line 499 of file SystemZTargetTransformInfo.cpp.
References assert(), getElSizeLog2Diff(), llvm::BasicTTIImplBase< SystemZTTIImpl >::getNumberOfParts(), llvm::Type::getPrimitiveSizeInBits(), llvm::Type::getScalarSizeInBits(), llvm::Type::getVectorNumElements(), llvm::Type::isVectorTy(), and P.
Referenced by getCastInstrCost(), and getVectorBitmaskConversionCost().
|
inline |
Definition at line 63 of file SystemZTargetTransformInfo.h.
|
inline |
Definition at line 64 of file SystemZTargetTransformInfo.h.
1.8.6