20 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETTRANSFORMINFO_H 21 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETTRANSFORMINFO_H 43 TLI(ST->getTargetLowering()) {}
60 unsigned Opcode,
Type *Ty,
This class represents lattice values for constants.
unsigned getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index)
WebAssemblyTTIImpl(const WebAssemblyTargetMachine *TM, const Function &F)
Base class which can be used to help build a TTI implementation.
TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const
This file declares the WebAssembly-specific subclass of TargetMachine.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
unsigned getNumberOfRegisters(bool Vector)
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 getRegisterBitWidth(bool Vector) const
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 *>())
static const Function * getParent(const Value *V)
constexpr char Args[]
Key for Kernel::Metadata::mArgs.