LLVM: lib/Target/SystemZ/SystemZTargetTransformInfo.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "systemztti"
Functions
static bool isUsedAsMemCpySource (const Value *V, bool &OtherUse)
static void countNumMemAccesses (const Value *Ptr, unsigned &NumStores, unsigned &NumLoads, const Function *F)
static bool isFreeEltLoad (const Value *Op)
static unsigned getScalarSizeInBits (Type *Ty)
static unsigned getNumVectorRegs (Type *Ty)
static unsigned getElSizeLog2Diff (Type *Ty0, Type *Ty1)
static Type * getCmpOpsType (const Instruction *I, unsigned VF=1)
static unsigned getOperandsExtensionCost (const Instruction *I)
static bool isBswapIntrinsicCall (const Value *V)
InstructionCost getIntAddReductionCost (unsigned NumVec, unsigned ScalarBits)
InstructionCost getFastReductionCost (unsigned NumVec, unsigned NumElems, unsigned ScalarBits)
bool customCostReductions (unsigned Opcode)
static int getVectorIntrinsicInstrCost (Intrinsic::ID ID, Type *RetTy, const SmallVectorImpl< Type * > &ParamTys)

DEBUG_TYPE

#define DEBUG_TYPE "systemztti"

countNumMemAccesses()

customCostReductions()

getCmpOpsType()

getElSizeLog2Diff()

getFastReductionCost()

getIntAddReductionCost()

getNumVectorRegs()

Definition at line 535 of file SystemZTargetTransformInfo.cpp.

References assert(), llvm::cast(), and getScalarSizeInBits().

Referenced by llvm::SystemZTTIImpl::getArithmeticInstrCost(), llvm::SystemZTTIImpl::getArithmeticReductionCost(), llvm::SystemZTTIImpl::getBoolVecToIntConversionCost(), llvm::SystemZTTIImpl::getCastInstrCost(), llvm::SystemZTTIImpl::getCmpSelInstrCost(), llvm::SystemZTTIImpl::getInterleavedMemoryOpCost(), llvm::SystemZTTIImpl::getMemoryOpCost(), llvm::SystemZTTIImpl::getMinMaxReductionCost(), llvm::SystemZTTIImpl::getShuffleCost(), llvm::SystemZTTIImpl::getVectorBitmaskConversionCost(), getVectorIntrinsicInstrCost(), and llvm::SystemZTTIImpl::getVectorTruncCost().

getOperandsExtensionCost()

getScalarSizeInBits()

Definition at line 525 of file SystemZTargetTransformInfo.cpp.

References assert(), and Size.

Referenced by llvm::MachineIRBuilder::buildConstant(), llvm::MachineIRBuilder::buildVScale(), canTryToConstantAddTwoShiftAmounts(), llvm::computeMinimumValueSizes(), llvm::SystemZTTIImpl::getInterleavedMemoryOpCost(), getNumVectorRegs(), llvm::SystemZTTIImpl::getVectorInstrCost(), llvm::SystemZTTIImpl::isFoldableLoad(), simplifyGEPInst(), llvm::InstCombinerImpl::visitLShr(), llvm::InstCombinerImpl::visitSub(), llvm::InstCombinerImpl::visitSwitchInst(), and llvm::InstCombinerImpl::visitZExt().

getVectorIntrinsicInstrCost()

isBswapIntrinsicCall()

isFreeEltLoad()

isUsedAsMemCpySource()