enum TargetTransformInfo::TargetCostKind

Description

The kind of cost model. There are several different cost models that can be customized by the target. The normalization of each cost model may be target specific.

Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:214

Enumerators

NameValueComment
TCK_RecipThroughput0Reciprocal throughput.
TCK_Latency1The latency of instruction.
TCK_CodeSize2Instruction code size.
TCK_SizeAndLatency3The weighted sum of size and latency.