17 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXTARGETTRANSFORMINFO_H
18 #define LLVM_LIB_TARGET_NVPTX_NVPTXTARGETTRANSFORMINFO_H
42 TLI(ST->getTargetLowering()) {}
53 unsigned Opcode,
Type *Ty,
NVPTXTTIImpl(const NVPTXTargetMachine *TM, const Function &F)
Base class which can be used to help build a TTI implementation.
int 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 * >())
void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
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...
unsigned getInliningThresholdMultiplier()
Represents a single loop in the control flow graph.
LLVM Value Representation.
static const Function * getParent(const Value *V)
This file describes how to lower LLVM code to machine code.