Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | public: | ||||
TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const; | TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const; | ||||
/// @} | /// @} | ||||
/// \name Vector TTI Implementations | /// \name Vector TTI Implementations | ||||
/// @{ | /// @{ | ||||
unsigned getNumberOfRegisters(bool Vector); | unsigned getNumberOfRegisters(unsigned ClassID) const; | ||||
unsigned getRegisterBitWidth(bool Vector) const; | unsigned getRegisterBitWidth(bool Vector) const; | ||||
unsigned getArithmeticInstrCost( | unsigned getArithmeticInstrCost( | ||||
unsigned Opcode, Type *Ty, | unsigned Opcode, Type *Ty, | ||||
TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, | TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, | ||||
TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, | TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, | ||||
TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, | TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, | ||||
TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None, | TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None, | ||||
ArrayRef<const Value *> Args = ArrayRef<const Value *>()); | ArrayRef<const Value *> Args = ArrayRef<const Value *>()); | ||||
unsigned getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index); | unsigned getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index); | ||||
/// @} | /// @} | ||||
}; | }; | ||||
} // end namespace llvm | } // end namespace llvm | ||||
#endif | #endif |