LLVM 20.0.0git
Macros | Functions
SystemZTargetTransformInfo.cpp File Reference
#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/DerivedTypes.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MathExtras.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "systemztti"
 

Functions

static bool isUsedAsMemCpySource (const Value *V, bool &OtherUse)
 
static unsigned getScalarSizeInBits (Type *Ty)
 
static unsigned getNumVectorRegs (Type *Ty)
 
static unsigned getElSizeLog2Diff (Type *Ty0, Type *Ty1)
 
static TypegetCmpOpsType (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, const SmallVectorImpl< Type * > &ParamTys)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "systemztti"

Definition at line 29 of file SystemZTargetTransformInfo.cpp.

Function Documentation

◆ getCmpOpsType()

static Type * getCmpOpsType ( const Instruction I,
unsigned  VF = 1 
)
static

◆ getElSizeLog2Diff()

static unsigned getElSizeLog2Diff ( Type Ty0,
Type Ty1 
)
static

◆ getNumVectorRegs()

static unsigned getNumVectorRegs ( Type Ty)
static

◆ getOperandsExtensionCost()

static unsigned getOperandsExtensionCost ( const Instruction I)
static

Definition at line 952 of file SystemZTargetTransformInfo.cpp.

References I.

Referenced by llvm::SystemZTTIImpl::getCmpSelInstrCost().

◆ getScalarSizeInBits()

static unsigned getScalarSizeInBits ( Type Ty)
static

◆ getVectorIntrinsicInstrCost()

static int getVectorIntrinsicInstrCost ( Intrinsic::ID  ID,
Type RetTy,
const SmallVectorImpl< Type * > &  ParamTys 
)
static

◆ isBswapIntrinsicCall()

static bool isBswapIntrinsicCall ( const Value V)
static

Definition at line 1149 of file SystemZTargetTransformInfo.cpp.

References F, and I.

Referenced by llvm::SystemZTTIImpl::getMemoryOpCost().

◆ isUsedAsMemCpySource()

static bool isUsedAsMemCpySource ( const Value V,
bool OtherUse 
)
static