LLVM 18.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

Detailed Description

Returns options for expansion of memcmp. IsZeroCmp is.

Definition at line 886 of file TargetTransformInfo.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 888 of file TargetTransformInfo.h.

References MaxNumLoads.

Member Data Documentation

◆ AllowOverlappingLoads

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

Definition at line 909 of file TargetTransformInfo.h.

◆ LoadSizes

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

Definition at line 894 of file TargetTransformInfo.h.

◆ MaxNumLoads

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

Definition at line 891 of file TargetTransformInfo.h.

Referenced by operator bool().

◆ NumLoadsPerBlock

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

Definition at line 904 of file TargetTransformInfo.h.

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