diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h b/contrib/llvm-project/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h index 41e358c159b4..1a33bd20d027 100644 --- a/contrib/llvm-project/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h +++ b/contrib/llvm-project/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h @@ -48,14 +48,17 @@ public:    TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const; +  void getUnrollingPreferences(Loop *L, ScalarEvolution &SE, +                               TTI::UnrollingPreferences &UP) const; +    /// @}    /// \name Vector TTI Implementations    /// @{    unsigned getNumberOfRegisters(unsigned ClassID) const; -  unsigned getRegisterBitWidth(bool Vector) const; -  unsigned getArithmeticInstrCost( +  TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const; +  InstructionCost getArithmeticInstrCost(        unsigned Opcode, Type *Ty,        TTI::TargetCostKind CostKind = TTI::TCK_SizeAndLatency,        TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, @@ -64,7 +67,8 @@ public:        TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None,        ArrayRef<const Value *> Args = ArrayRef<const Value *>(),        const Instruction *CxtI = nullptr); -  unsigned getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index); +  InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val, +                                     unsigned Index);    /// @}  | 
