LLVM 20.0.0git
Public Attributes | List of all members
llvm::TargetTransformInfo::LSRCost Struct Reference

#include "llvm/Analysis/TargetTransformInfo.h"

Public Attributes

unsigned Insns
 TODO: Some of these could be merged.
 
unsigned NumRegs
 
unsigned AddRecCost
 
unsigned NumIVMuls
 
unsigned NumBaseAdds
 
unsigned ImmCost
 
unsigned SetupCost
 
unsigned ScaleCost
 

Detailed Description

Definition at line 516 of file TargetTransformInfo.h.

Member Data Documentation

◆ AddRecCost

unsigned llvm::TargetTransformInfo::LSRCost::AddRecCost

◆ ImmCost

unsigned llvm::TargetTransformInfo::LSRCost::ImmCost

◆ Insns

unsigned llvm::TargetTransformInfo::LSRCost::Insns

TODO: Some of these could be merged.

Also, a lexical ordering isn't always optimal.

Definition at line 519 of file TargetTransformInfo.h.

Referenced by llvm::AArch64TTIImpl::isLSRCostLess(), llvm::PPCTTIImpl::isLSRCostLess(), llvm::RISCVTTIImpl::isLSRCostLess(), llvm::SystemZTTIImpl::isLSRCostLess(), and llvm::X86TTIImpl::isLSRCostLess().

◆ NumBaseAdds

unsigned llvm::TargetTransformInfo::LSRCost::NumBaseAdds

◆ NumIVMuls

unsigned llvm::TargetTransformInfo::LSRCost::NumIVMuls

◆ NumRegs

unsigned llvm::TargetTransformInfo::LSRCost::NumRegs

◆ ScaleCost

unsigned llvm::TargetTransformInfo::LSRCost::ScaleCost

◆ SetupCost

unsigned llvm::TargetTransformInfo::LSRCost::SetupCost

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