19 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETTRANSFORMINFO_H 20 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETTRANSFORMINFO_H 42 TLI(ST->getTargetLowering()) {}
59 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)
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 *>(), const Instruction *CxtI=nullptr)
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)...
The instances of the Type class are immutable: once they are created, they are never changed...
unsigned getNumberOfRegisters(unsigned ClassID) const
This file provides a helper that implements much of the TTI interface in terms of the target-independ...
unsigned getRegisterBitWidth(bool Vector) const
static const Function * getParent(const Value *V)
constexpr char Args[]
Key for Kernel::Metadata::mArgs.