LLVM 17.0.0git
|
Flags controlling how much is checked when sinking or hoisting instructions. More...
#include "llvm/Transforms/Utils/LoopUtils.h"
Public Member Functions | |
SinkAndHoistLICMFlags (unsigned LicmMssaOptCap, unsigned LicmMssaNoAccForPromotionCap, bool IsSink, Loop &L, MemorySSA &MSSA) | |
SinkAndHoistLICMFlags (bool IsSink, Loop &L, MemorySSA &MSSA) | |
void | setIsSink (bool B) |
bool | getIsSink () |
bool | tooManyMemoryAccesses () |
bool | tooManyClobberingCalls () |
void | incrementClobberingCalls () |
Protected Attributes | |
bool | NoOfMemAccTooLarge = false |
unsigned | LicmMssaOptCounter = 0 |
unsigned | LicmMssaOptCap |
unsigned | LicmMssaNoAccForPromotionCap |
bool | IsSink |
Flags controlling how much is checked when sinking or hoisting instructions.
The number of memory access in the loop (and whether there are too many) is determined in the constructors when using MemorySSA.
Definition at line 113 of file LoopUtils.h.
llvm::SinkAndHoistLICMFlags::SinkAndHoistLICMFlags | ( | unsigned | LicmMssaOptCap, |
unsigned | LicmMssaNoAccForPromotionCap, | ||
bool | IsSink, | ||
Loop & | L, | ||
MemorySSA & | MSSA | ||
) |
Definition at line 375 of file LICM.cpp.
References llvm::MemorySSA::getBlockAccesses(), LicmMssaNoAccForPromotionCap, and NoOfMemAccTooLarge.
|
inline |
Definition at line 123 of file LoopUtils.h.
References IsSink.
|
inline |
Definition at line 126 of file LoopUtils.h.
References LicmMssaOptCounter.
|
inline |
Definition at line 122 of file LoopUtils.h.
|
inline |
Definition at line 125 of file LoopUtils.h.
References LicmMssaOptCap, and LicmMssaOptCounter.
|
inline |
Definition at line 124 of file LoopUtils.h.
References NoOfMemAccTooLarge.
|
protected |
Definition at line 133 of file LoopUtils.h.
Referenced by getIsSink(), and setIsSink().
|
protected |
Definition at line 132 of file LoopUtils.h.
Referenced by SinkAndHoistLICMFlags().
|
protected |
Definition at line 131 of file LoopUtils.h.
Referenced by tooManyClobberingCalls().
|
protected |
Definition at line 130 of file LoopUtils.h.
Referenced by incrementClobberingCalls(), and tooManyClobberingCalls().
|
protected |
Definition at line 129 of file LoopUtils.h.
Referenced by SinkAndHoistLICMFlags(), and tooManyMemoryAccesses().