LLVM  9.0.0svn
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
[legend]

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

Member Function Documentation

◆ operator bool()

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

Definition at line 660 of file TargetTransformInfo.h.

Member Data Documentation

◆ AllowOverlappingLoads

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

Definition at line 681 of file TargetTransformInfo.h.

Referenced by llvm::X86TTIImpl::enableMemCmpExpansion().

◆ LoadSizes

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

◆ MaxNumLoads

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

◆ NumLoadsPerBlock

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

Definition at line 676 of file TargetTransformInfo.h.

Referenced by llvm::X86TTIImpl::enableMemCmpExpansion().


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