LLVM: llvm::SinkAndHoistLICMFlags Class Reference (original) (raw)

Flags controlling how much is checked when sinking or hoisting instructions. More...

#include "[llvm/Transforms/Utils/LoopUtils.h](LoopUtils%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI SinkAndHoistLICMFlags (unsigned LicmMssaOptCap, unsigned LicmMssaNoAccForPromotionCap, bool IsSink, Loop &L, MemorySSA &MSSA)
LLVM_ABI 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 124 of file LoopUtils.h.

SinkAndHoistLICMFlags() [2/2]

llvm::SinkAndHoistLICMFlags::SinkAndHoistLICMFlags ( bool IsSink,
Loop & L,
MemorySSA & MSSA )

getIsSink()

bool llvm::SinkAndHoistLICMFlags::getIsSink ( ) inline

incrementClobberingCalls()

void llvm::SinkAndHoistLICMFlags::incrementClobberingCalls ( ) inline

setIsSink()

void llvm::SinkAndHoistLICMFlags::setIsSink ( bool B) inline

tooManyClobberingCalls()

bool llvm::SinkAndHoistLICMFlags::tooManyClobberingCalls ( ) inline

tooManyMemoryAccesses()

bool llvm::SinkAndHoistLICMFlags::tooManyMemoryAccesses ( ) inline

IsSink

bool llvm::SinkAndHoistLICMFlags::IsSink protected

LicmMssaNoAccForPromotionCap

unsigned llvm::SinkAndHoistLICMFlags::LicmMssaNoAccForPromotionCap protected

LicmMssaOptCap

unsigned llvm::SinkAndHoistLICMFlags::LicmMssaOptCap protected

LicmMssaOptCounter

unsigned llvm::SinkAndHoistLICMFlags::LicmMssaOptCounter = 0 protected

NoOfMemAccTooLarge

bool llvm::SinkAndHoistLICMFlags::NoOfMemAccTooLarge = false protected

The documentation for this class was generated from the following files: