17 #ifndef LLVM_LIB_TARGET_LANAI_LANAITARGETTRANSFORMINFO_H
18 #define LLVM_LIB_TARGET_LANAI_LANAITARGETTRANSFORMINFO_H
42 TLI(ST->getTargetLowering()) {}
53 unsigned Opcode,
Type *Ty,
64 Opd1PropInfo, Opd2PropInfo);
75 Opd1PropInfo, Opd2PropInfo);
82 #endif // LLVM_LIB_TARGET_LANAI_LANAITARGETTRANSFORMINFO_H
Base class which can be used to help build a TTI implementation.
int InstructionOpcodeToISD(unsigned Opcode) const
Get the ISD node that corresponds to the Instruction class opcode.
bool shouldBuildLookupTables() const
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
The instances of the Type class are immutable: once they are created, they are never changed...
This file provides a helper that implements much of the TTI interface in terms of the target-independ...
unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, TTI::OperandValueKind Opd1Info=TTI::OK_AnyValue, TTI::OperandValueKind Opd2Info=TTI::OK_AnyValue, TTI::OperandValueProperties Opd1PropInfo=TTI::OP_None, TTI::OperandValueProperties Opd2PropInfo=TTI::OP_None, ArrayRef< const Value * > Args=ArrayRef< const Value * >())
unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, TTI::OperandValueKind Opd1Info=TTI::OK_AnyValue, TTI::OperandValueKind Opd2Info=TTI::OK_AnyValue, TTI::OperandValueProperties Opd1PropInfo=TTI::OP_None, TTI::OperandValueProperties Opd2PropInfo=TTI::OP_None, ArrayRef< const Value * > Args=ArrayRef< const Value * >())
LanaiTTIImpl(const LanaiTargetMachine *TM, const Function &F)
static const Function * getParent(const Value *V)
TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth)
This file describes how to lower LLVM code to machine code.