LLVM 20.0.0git
|
Public Member Functions | |
ClobberWalkerBase (MemorySSA *M, DominatorTree *D) | |
MemoryAccess * | getClobberingMemoryAccessBase (MemoryAccess *, const MemoryLocation &, BatchAAResults &, unsigned &) |
Walk the use-def chains starting at StartingAccess and find the MemoryAccess that actually clobbers Loc. | |
MemoryAccess * | getClobberingMemoryAccessBase (MemoryAccess *, BatchAAResults &, unsigned &, bool, bool UseInvariantGroup=true) |
Definition at line 988 of file MemorySSA.cpp.
|
inline |
Definition at line 993 of file MemorySSA.cpp.
MemoryAccess * MemorySSA::ClobberWalkerBase::getClobberingMemoryAccessBase | ( | MemoryAccess * | MA, |
BatchAAResults & | BAA, | ||
unsigned & | UpwardWalkLimit, | ||
bool | SkipSelf, | ||
bool | UseInvariantGroup = true |
||
) |
Definition at line 2529 of file MemorySSA.cpp.
References assert(), llvm::dbgs(), llvm::MemorySSA::getDomTree(), getInvariantGroupClobberingInstruction(), llvm::MemorySSA::getLiveOnEntryDef(), llvm::MemorySSA::getMemoryAccess(), I, llvm::MemorySSA::isLiveOnEntryDef(), isUseTriviallyOptimizableToLiveOnEntry(), and LLVM_DEBUG.
MemoryAccess * MemorySSA::ClobberWalkerBase::getClobberingMemoryAccessBase | ( | MemoryAccess * | StartingAccess, |
const MemoryLocation & | Loc, | ||
BatchAAResults & | BAA, | ||
unsigned & | UpwardWalkLimit | ||
) |
Walk the use-def chains starting at StartingAccess
and find the MemoryAccess that actually clobbers Loc.
Definition at line 2451 of file MemorySSA.cpp.
References assert(), llvm::dbgs(), I, llvm::MemorySSA::isLiveOnEntryDef(), LLVM_DEBUG, and llvm::MemoryLocation::Ptr.