LLVM  14.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"

Collaboration diagram for llvm::TargetTransformInfo::MemCmpExpansionOptions:
Collaboration graph

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 765 of file TargetTransformInfo.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 767 of file TargetTransformInfo.h.

References MaxNumLoads.

Member Data Documentation

◆ AllowOverlappingLoads

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

Definition at line 788 of file TargetTransformInfo.h.

◆ LoadSizes

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

Definition at line 773 of file TargetTransformInfo.h.

◆ MaxNumLoads

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

Definition at line 770 of file TargetTransformInfo.h.

Referenced by operator bool().

◆ NumLoadsPerBlock

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

Definition at line 783 of file TargetTransformInfo.h.

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