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

Returns options for expansion of memcmp. IsZeroCmp is. More...

#include "llvm/Analysis/TargetTransformInfo.h"

Public Member Functions

 operator bool () const
 

Public Attributes

unsigned MaxNumLoads = 0
 
SmallVector< unsigned, 8 > LoadSizes
 
unsigned NumLoadsPerBlock = 1
 
bool AllowOverlappingLoads = false
 
SmallVector< unsigned, 4 > AllowedTailExpansions
 

Detailed Description

Returns options for expansion of memcmp. IsZeroCmp is.

Definition at line 951 of file TargetTransformInfo.h.

Member Function Documentation

◆ operator bool()

llvm::TargetTransformInfo::MemCmpExpansionOptions::operator bool ( ) const
inline

Definition at line 953 of file TargetTransformInfo.h.

References MaxNumLoads.

Member Data Documentation

◆ AllowedTailExpansions

SmallVector<unsigned, 4> llvm::TargetTransformInfo::MemCmpExpansionOptions::AllowedTailExpansions

Definition at line 985 of file TargetTransformInfo.h.

◆ AllowOverlappingLoads

bool llvm::TargetTransformInfo::MemCmpExpansionOptions::AllowOverlappingLoads = false

Definition at line 974 of file TargetTransformInfo.h.

◆ LoadSizes

SmallVector<unsigned, 8> llvm::TargetTransformInfo::MemCmpExpansionOptions::LoadSizes

Definition at line 959 of file TargetTransformInfo.h.

◆ MaxNumLoads

unsigned llvm::TargetTransformInfo::MemCmpExpansionOptions::MaxNumLoads = 0

Definition at line 956 of file TargetTransformInfo.h.

Referenced by operator bool().

◆ NumLoadsPerBlock

unsigned llvm::TargetTransformInfo::MemCmpExpansionOptions::NumLoadsPerBlock = 1

Definition at line 969 of file TargetTransformInfo.h.


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