17 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXTARGETTRANSFORMINFO_H
18 #define LLVM_LIB_TARGET_NVPTX_NVPTXTARGETTRANSFORMINFO_H
42 TLI(ST->getTargetLowering()) {}
57 unsigned Opcode,
Type *Ty,
65 TTI::UnrollingPreferences &UP);
NVPTXTTIImpl(const NVPTXTargetMachine *TM, const Function &F)
The main scalar evolution driver.
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 * >())
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
bool hasBranchDivergence()
unsigned getFlatAddressSpace() const
The instances of the Type class are immutable: once they are created, they are never changed...
constexpr char Args[]
Key for Kernel::Metadata::mArgs.
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.
void getUnrollingPreferences(Loop *L, ScalarEvolution &SE, TTI::UnrollingPreferences &UP)
LLVM Value Representation.
static const Function * getParent(const Value *V)
This file describes how to lower LLVM code to machine code.