17 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXTARGETTRANSFORMINFO_H
18 #define LLVM_LIB_TARGET_NVPTX_NVPTXTARGETTRANSFORMINFO_H
42 TLI(ST->getTargetLowering()) {}
48 :
BaseT(std::move(static_cast<
BaseT &>(Arg))), ST(std::move(Arg.ST)),
49 TLI(std::move(Arg.TLI)) {}
56 unsigned Opcode,
Type *Ty,
NVPTXTTIImpl(const NVPTXTargetMachine *TM, const Function &F)
Base class which can be used to help build a TTI implementation.
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)
void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP)
bool hasBranchDivergence()
The instances of the Type class are immutable: once they are created, they are never changed...
bool isSourceOfDivergence(const Value *V)
This file provides a helper that implements much of the TTI interface in terms of the target-independ...
NVPTXTTIImpl(NVPTXTTIImpl &&Arg)
NVPTXTTIImpl(const NVPTXTTIImpl &Arg)
LLVM Value Representation.
static const Function * getParent(const Value *V)
This file describes how to lower LLVM code to machine code.