35#include "tce_config.h"
47#include <llvm/Analysis/TargetTransformInfo.h>
48#include <llvm/Support/Debug.h>
49#include <llvm/CodeGen/CostTable.h>
50#include <llvm/CodeGen/TargetLowering.h>
51#include <llvm/CodeGen/TargetRegisterInfo.h>
55#define DEBUG_TYPE "tcestubtti"
65 unsigned widestOperand =
#define IGNORE_COMPILER_WARNING(X)
static unsigned numberOfRegisters(const TTAMachine::Machine &machine, unsigned width)
static unsigned findWidestOperand(const TTAMachine::Machine &machine, bool vector)
const TTAMachine::Machine * ttaMach_
unsigned getNumberOfRegisters(bool vector)
unsigned getRegisterBitWidth(bool vector) const
unsigned getMaxInterleaveFactor(unsigned VF)
unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, const Instruction *=nullptr)
const TCEStubTargetMachine * TM