LLVM  6.0.0svn
Public Attributes | List of all members
llvm::TargetTransformInfo::LSRCost Struct Reference

#include "llvm/Analysis/TargetTransformInfo.h"

Collaboration diagram for llvm::TargetTransformInfo::LSRCost:
Collaboration graph

Public Attributes

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

Detailed Description

Definition at line 334 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 337 of file TargetTransformInfo.h.

Referenced by DeleteTriviallyDeadInstructions(), 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: