LLVM: lib/Analysis/IVUsers.cpp File Reference (original) (raw)
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "iv-users" |
| Functions | |
|---|---|
| INITIALIZE_PASS_BEGIN (IVUsersWrapperPass, "iv-users", "Induction Variable Users", false, true) INITIALIZE_PASS_END(IVUsersWrapperPass | |
| static bool | isInteresting (const SCEV *S, const Instruction *I, const Loop *L, ScalarEvolution *SE, LoopInfo *LI) |
| isInteresting - Test whether the given expression is "interesting" when used by the given expression, within the context of analyzing the given loop. | |
| static bool | IVUseShouldUsePostIncValue (Instruction *User, Value *Operand, const Loop *L, DominatorTree *DT) |
| IVUseShouldUsePostIncValue - We have discovered a "User" of an IV expression and now we need to decide whether the user should use the preinc or post-inc value. | |
| static const SCEVAddRecExpr * | findAddRecForLoop (const SCEV *S, const Loop *L) |
| Variables | |
|---|---|
| iv | users |
| iv Induction Variable | Users |
| iv Induction Variable | false |
◆ DEBUG_TYPE
#define DEBUG_TYPE "iv-users"
◆ findAddRecForLoop()
◆ INITIALIZE_PASS_BEGIN()
| INITIALIZE_PASS_BEGIN | ( | IVUsersWrapperPass | , |
|---|---|---|---|
| "iv-users" | , | ||
| "Induction Variable Users" | , | ||
| false | , | ||
| true | ) |
◆ isInteresting()
isInteresting - Test whether the given expression is "interesting" when used by the given expression, within the context of analyzing the given loop.
Definition at line 56 of file IVUsers.cpp.
References llvm::Add, llvm::dyn_cast(), llvm::LoopInfoBase< BlockT, LoopT >::getLoopFor(), llvm::ScalarEvolution::getSCEVAtScope(), I, and isInteresting().
Referenced by llvm::IVUsers::AddUsersIfInteresting(), llvm::ChangeReporter< IRUnitT >::handleIRAfterPass(), isInteresting(), llvm::PrintCrashIRInstrumentation::registerCallbacks(), llvm::ChangeReporter< IRUnitT >::saveIRBeforePass(), and shouldConvertOrWithNoCommonBitsToAdd().
◆ IVUseShouldUsePostIncValue()
◆ false
iv Induction Variable false
◆ Users
iv Induction Variable Users
Definition at line 48 of file IVUsers.cpp.
Referenced by collectUsersRecursively(), createOutlinedFunction(), llvm::DemotePHIToStack(), llvm::findDefsUsedOutsideOfLoop(), llvm::ScalarEvolution::forgetBlockAndLoopDispositions(), insertTrivialPHIs(), isAllocSiteRemovable(), isPossibleIndirectCallTarget(), isProfitableChain(), legalizeAndOptimizeInductions(), locateDestination(), slpvectorizer::BoUpSLP::reorderBottomToTop(), replaceWithConstant(), llvm::CoroAnnotationElidePass::run(), sink(), llvm::MachineRegisterInfo::updateDbgUsersToReg(), and llvm::InstCombinerImpl::visitAllocSite().