LLVM
8.0.1
|
#include "SystemZTargetTransformInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/CodeGen/CostTable.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/Debug.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "systemztti" |
Functions | |
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) |
static int | getVectorIntrinsicInstrCost (Intrinsic::ID ID, Type *RetTy) |
#define DEBUG_TYPE "systemztti" |
Definition at line 26 of file SystemZTargetTransformInfo.cpp.
|
static |
Definition at line 607 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::VectorType::get(), llvm::SystemZTTIImpl::getBoolVecToIntConversionCost(), llvm::User::getOperand(), llvm::Type::getScalarType(), and llvm::Type::isVectorTy().
Referenced by llvm::SystemZTTIImpl::getBoolVecToIntConversionCost(), llvm::SystemZTTIImpl::getCastInstrCost(), and llvm::SystemZTTIImpl::getCmpSelInstrCost().
Definition at line 531 of file SystemZTargetTransformInfo.cpp.
References llvm::Type::getScalarSizeInBits(), llvm::SystemZTTIImpl::getVectorTruncCost(), and llvm::Log2_32().
Referenced by llvm::SystemZTTIImpl::getCastInstrCost(), llvm::SystemZTTIImpl::getVectorBitmaskConversionCost(), and llvm::SystemZTTIImpl::getVectorTruncCost().
Definition at line 343 of file SystemZTargetTransformInfo.cpp.
References assert(), getScalarSizeInBits(), llvm::Type::getVectorNumElements(), and llvm::Type::isVectorTy().
Referenced by llvm::SystemZTTIImpl::getArithmeticInstrCost(), llvm::SystemZTTIImpl::getBoolVecToIntConversionCost(), llvm::SystemZTTIImpl::getCastInstrCost(), llvm::SystemZTTIImpl::getCmpSelInstrCost(), llvm::SystemZTTIImpl::getInterleavedMemoryOpCost(), llvm::SystemZTTIImpl::getMemoryOpCost(), llvm::SystemZTTIImpl::getShuffleCost(), llvm::SystemZTTIImpl::getVectorBitmaskConversionCost(), getVectorIntrinsicInstrCost(), and llvm::SystemZTTIImpl::getVectorTruncCost().
|
static |
Definition at line 777 of file SystemZTargetTransformInfo.cpp.
References llvm::User::operands().
Referenced by llvm::SystemZTTIImpl::getCmpSelInstrCost().
Definition at line 333 of file SystemZTargetTransformInfo.cpp.
References assert(), llvm::Type::getScalarSizeInBits(), llvm::Type::isPtrOrPtrVectorTy(), and Size.
Referenced by llvm::computeMinimumValueSizes(), ComputeNumSignBitsImpl(), llvm::SystemZTTIImpl::getInterleavedMemoryOpCost(), getNarrowIntrinsic(), getNumVectorRegs(), llvm::SystemZTTIImpl::getVectorInstrCost(), llvm::SystemZTTIImpl::isFoldableLoad(), llvm::LegalizerHelper::narrowScalar(), SimplifyGEPInst(), llvm::InstCombiner::visitLShr(), and llvm::InstCombiner::visitZExt().
|
static |
Definition at line 1101 of file SystemZTargetTransformInfo.cpp.
References llvm::Intrinsic::bswap, getNumVectorRegs(), and llvm::Type::isVectorTy().
Referenced by llvm::SystemZTTIImpl::getIntrinsicInstrCost().
Definition at line 967 of file SystemZTargetTransformInfo.cpp.
References llvm::Intrinsic::bswap, F(), and I.
Referenced by llvm::SystemZTTIImpl::getMemoryOpCost().