32#ifndef TTA_TCE_TARGET_TRANSFORM_INFO_HH 
   33#define TTA_TCE_TARGET_TRANSFORM_INFO_HH 
   35#include <llvm/Analysis/TargetTransformInfo.h> 
   36#include <llvm/CodeGen/BasicTTIImpl.h> 
   44        typedef BasicTTIImplBase<TCEStubTTIImpl> 
BaseT;
 
   45        typedef TargetTransformInfo 
TTI;
 
   50        const TargetLowering *
TLI;
 
   52        const TargetLowering *
getTLI()
 const {
 
 
   59            : 
BaseT(
TM, F.getParent()->getDataLayout()),
 
   60              TM(
TM), 
ST(
TM->getSubtargetImpl()) {}
 
 
   66                  , 
const Instruction* = 
nullptr 
 
const TargetLowering * getTargetLowering() const
 
const TargetLowering * getTLI() const
 
unsigned getNumberOfRegisters(bool vector)
 
const TCEStubSubTarget * getST() const
 
const TargetLowering * TLI
 
unsigned getRegisterBitWidth(bool vector) const
 
unsigned getMaxInterleaveFactor(unsigned VF)
 
unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, const Instruction *=nullptr)
 
const TCEStubSubTarget * ST
 
TCEStubTTIImpl(const TCEStubTargetMachine *TM, const Function &F)
 
const TCEStubTargetMachine * TM
 
BasicTTIImplBase< TCEStubTTIImpl > BaseT