Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | private: | ||||
/// | /// | ||||
/// In order to find the base pointer one needs to perform non-trivial | /// In order to find the base pointer one needs to perform non-trivial | ||||
/// traversal of the corresponding SCEV expression, so it's good to have the | /// traversal of the corresponding SCEV expression, so it's good to have the | ||||
/// results saved. | /// results saved. | ||||
DenseMap<Value *, SimplifiedAddress> SimplifiedAddresses; | DenseMap<Value *, SimplifiedAddress> SimplifiedAddresses; | ||||
/// SCEV expression corresponding to number of currently simulated | /// SCEV expression corresponding to number of currently simulated | ||||
/// iteration. | /// iteration. | ||||
const SCEV *IterationNumber; | const SCEVConstant *IterationNumber; | ||||
/// While we walk the loop instructions, we build up and maintain a mapping | /// While we walk the loop instructions, we build up and maintain a mapping | ||||
/// of simplified values specific to this iteration. The idea is to propagate | /// of simplified values specific to this iteration. The idea is to propagate | ||||
/// any special information we have about loads that can be replaced with | /// any special information we have about loads that can be replaced with | ||||
/// constants after complete unrolling, and account for likely simplifications | /// constants after complete unrolling, and account for likely simplifications | ||||
/// post-unrolling. | /// post-unrolling. | ||||
DenseMap<Value *, Value *> &SimplifiedValues; | DenseMap<Value *, Value *> &SimplifiedValues; | ||||
Show All 14 Lines |