LLVM 19.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 914 of file TargetTransformInfo.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 916 of file TargetTransformInfo.h.

References MaxNumLoads.

Member Data Documentation

◆ AllowedTailExpansions

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

Definition at line 948 of file TargetTransformInfo.h.

◆ AllowOverlappingLoads

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

Definition at line 937 of file TargetTransformInfo.h.

◆ LoadSizes

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

Definition at line 922 of file TargetTransformInfo.h.

◆ MaxNumLoads

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

Definition at line 919 of file TargetTransformInfo.h.

Referenced by operator bool().

◆ NumLoadsPerBlock

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

Definition at line 932 of file TargetTransformInfo.h.

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