LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::TargetTransformInfo::ReductionFlags Struct Reference

Flags describing the kind of vector reduction. More...

#include "llvm/Analysis/TargetTransformInfo.h"

Public Member Functions

 ReductionFlags ()=default
 

Public Attributes

bool IsMaxOp
 If the op a min/max kind, true if it's a max operation.
 
bool IsSigned = false
 Whether the operation is a signed int reduction.
 
bool NoNaN
 If op is an fp min/max, whether NaNs may be present.
 

Detailed Description

Flags describing the kind of vector reduction.

Definition at line 1661 of file TargetTransformInfo.h.

Constructor & Destructor Documentation

◆ ReductionFlags()

llvm::TargetTransformInfo::ReductionFlags::ReductionFlags ( )
default

Member Data Documentation

◆ IsMaxOp

bool llvm::TargetTransformInfo::ReductionFlags::IsMaxOp
Initial value:
=
false

If the op a min/max kind, true if it's a max operation.

Definition at line 1663 of file TargetTransformInfo.h.

◆ IsSigned

bool llvm::TargetTransformInfo::ReductionFlags::IsSigned = false

Whether the operation is a signed int reduction.

Definition at line 1665 of file TargetTransformInfo.h.

◆ NoNaN

bool llvm::TargetTransformInfo::ReductionFlags::NoNaN
Initial value:
=
false

If op is an fp min/max, whether NaNs may be present.

Definition at line 1666 of file TargetTransformInfo.h.


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