LLVM  8.0.1
Public Attributes | List of all members
llvm::TargetTransformInfo::MemCmpExpansionOptions Struct Reference

If not nullptr, enable inline expansion of memcmp. More...

#include "llvm/Analysis/TargetTransformInfo.h"

Collaboration diagram for llvm::TargetTransformInfo::MemCmpExpansionOptions:
Collaboration graph
[legend]

Public Attributes

SmallVector< unsigned, 8 > LoadSizes
 
bool AllowOverlappingLoads = false
 

Detailed Description

If not nullptr, enable inline expansion of memcmp.

IsZeroCmp is true if this is the expansion of memcmp(p1, p2, s) == 0.

Definition at line 581 of file TargetTransformInfo.h.

Member Data Documentation

◆ AllowOverlappingLoads

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

Definition at line 587 of file TargetTransformInfo.h.

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

◆ LoadSizes

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

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