Go to the documentation of this file.
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 =
unsigned getRegisterBitWidth(bool vector) const
unsigned getMaxInterleaveFactor(unsigned VF)
unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, const Instruction *=nullptr)
static unsigned findWidestOperand(const TTAMachine::Machine &machine, bool vector)
static unsigned numberOfRegisters(const TTAMachine::Machine &machine, unsigned width)
#define IGNORE_COMPILER_WARNING(X)
const TTAMachine::Machine * ttaMach_
const TCEStubTargetMachine * TM
unsigned getNumberOfRegisters(bool vector)