LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
CostKindCosts Struct Reference

Public Member Functions

std::optional< unsignedoperator[] (TargetTransformInfo::TargetCostKind Kind) const
 

Public Attributes

unsigned RecipThroughputCost = ~0U
 
unsigned LatencyCost = ~0U
 
unsigned CodeSizeCost = ~0U
 
unsigned SizeAndLatencyCost = ~0U
 

Detailed Description

Definition at line 73 of file X86TargetTransformInfo.cpp.

Member Function Documentation

◆ operator[]()

std::optional< unsigned > CostKindCosts::operator[] ( TargetTransformInfo::TargetCostKind  Kind) const
inline

Member Data Documentation

◆ CodeSizeCost

unsigned CostKindCosts::CodeSizeCost = ~0U

Definition at line 76 of file X86TargetTransformInfo.cpp.

Referenced by operator[]().

◆ LatencyCost

unsigned CostKindCosts::LatencyCost = ~0U

Definition at line 75 of file X86TargetTransformInfo.cpp.

Referenced by operator[]().

◆ RecipThroughputCost

unsigned CostKindCosts::RecipThroughputCost = ~0U

Definition at line 74 of file X86TargetTransformInfo.cpp.

Referenced by operator[]().

◆ SizeAndLatencyCost

unsigned CostKindCosts::SizeAndLatencyCost = ~0U

Definition at line 77 of file X86TargetTransformInfo.cpp.

Referenced by operator[]().


The documentation for this struct was generated from the following file: