LLVM 22.0.0git
NaryReassociate.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "nary-reassociate"

Functions

 INITIALIZE_PASS_BEGIN (NaryReassociateLegacyPass, "nary-reassociate", "Nary reassociation", false, false) INITIALIZE_PASS_END(NaryReassociateLegacyPass
static bool isGEPFoldable (GetElementPtrInst *GEP, const TargetTransformInfo *TTI)
template<typename MaxMinT>
static SCEVTypes convertToSCEVype (MaxMinT &MM)

Variables

nary reassociate
nary Nary reassociation
nary Nary false

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "nary-reassociate"

Definition at line 117 of file NaryReassociate.cpp.

Function Documentation

◆ convertToSCEVype()

template<typename MaxMinT>
SCEVTypes convertToSCEVype ( MaxMinT & MM)
static

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( NaryReassociateLegacyPass ,
"nary-reassociate" ,
"Nary reassociation" ,
false ,
false  )

◆ isGEPFoldable()

bool isGEPFoldable ( GetElementPtrInst * GEP,
const TargetTransformInfo * TTI )
static

Definition at line 328 of file NaryReassociate.cpp.

References GEP, and llvm::TargetTransformInfo::TCC_Free.

Variable Documentation

◆ false

nary Nary false

Definition at line 163 of file NaryReassociate.cpp.

◆ reassociate

nary reassociate

Definition at line 162 of file NaryReassociate.cpp.

◆ reassociation

nary Nary reassociation

Definition at line 163 of file NaryReassociate.cpp.