Polly 20.0.0git
|
#include <ScopInfo.h>
Public Types | |
using | RegionToScopMapTy = MapVector< Region *, std::unique_ptr< Scop > > |
using | reverse_iterator = RegionToScopMapTy::reverse_iterator |
using | const_reverse_iterator = RegionToScopMapTy::const_reverse_iterator |
using | iterator = RegionToScopMapTy::iterator |
using | const_iterator = RegionToScopMapTy::const_iterator |
Public Member Functions | |
ScopInfo (const DataLayout &DL, ScopDetection &SD, ScalarEvolution &SE, LoopInfo &LI, AAResults &AA, DominatorTree &DT, AssumptionCache &AC, OptimizationRemarkEmitter &ORE) | |
Scop * | getScop (Region *R) const |
Get the Scop object for the given Region. | |
void | recompute () |
Recompute the Scop-Information for a function. | |
bool | invalidate (Function &F, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &Inv) |
Handle invalidation explicitly. | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
bool | empty () const |
Private Attributes | |
RegionToScopMapTy | RegionToScopMap |
A map of Region to its Scop object containing Polly IR of static control part. | |
const DataLayout & | DL |
ScopDetection & | SD |
ScalarEvolution & | SE |
LoopInfo & | LI |
AAResults & | AA |
DominatorTree & | DT |
AssumptionCache & | AC |
OptimizationRemarkEmitter & | ORE |
Definition at line 2710 of file ScopInfo.h.
using polly::ScopInfo::const_iterator = RegionToScopMapTy::const_iterator |
Definition at line 2716 of file ScopInfo.h.
using polly::ScopInfo::const_reverse_iterator = RegionToScopMapTy::const_reverse_iterator |
Definition at line 2714 of file ScopInfo.h.
using polly::ScopInfo::iterator = RegionToScopMapTy::iterator |
Definition at line 2715 of file ScopInfo.h.
using polly::ScopInfo::RegionToScopMapTy = MapVector<Region *, std::unique_ptr<Scop> > |
Definition at line 2712 of file ScopInfo.h.
using polly::ScopInfo::reverse_iterator = RegionToScopMapTy::reverse_iterator |
Definition at line 2713 of file ScopInfo.h.
polly::ScopInfo::ScopInfo | ( | const DataLayout & | DL, |
ScopDetection & | SD, | ||
ScalarEvolution & | SE, | ||
LoopInfo & | LI, | ||
AAResults & | AA, | ||
DominatorTree & | DT, | ||
AssumptionCache & | AC, | ||
OptimizationRemarkEmitter & | ORE | ||
) |
|
inline |
Definition at line 2758 of file ScopInfo.h.
References RegionToScopMap.
|
inline |
Definition at line 2760 of file ScopInfo.h.
References RegionToScopMap.
|
inline |
Definition at line 2766 of file ScopInfo.h.
References RegionToScopMap.
|
inline |
Definition at line 2759 of file ScopInfo.h.
References RegionToScopMap.
|
inline |
Definition at line 2761 of file ScopInfo.h.
References RegionToScopMap.
|
inline |
Get the Scop object for the given Region.
Definition at line 2742 of file ScopInfo.h.
References RegionToScopMap.
bool ScopInfo::invalidate | ( | Function & | F, |
const PreservedAnalyses & | PA, | ||
FunctionAnalysisManager::Invalidator & | Inv | ||
) |
Handle invalidation explicitly.
Definition at line 2734 of file ScopInfo.cpp.
|
inline |
Definition at line 2762 of file ScopInfo.h.
References RegionToScopMap.
|
inline |
Definition at line 2764 of file ScopInfo.h.
References RegionToScopMap.
void ScopInfo::recompute | ( | ) |
Recompute the Scop-Information for a function.
This invalidates any iterators.
Create polyhedral description of scops for all the valid regions of a function.
Definition at line 2710 of file ScopInfo.cpp.
References AA, AC, assert, polly::ScopDetection::countBeneficialLoops(), DL, DT, polly::ScopBuilder::getScop(), polly::ScopDetection::isMaxRegionInScop(), LI, ORE, RegionToScopMap, SD, SE, and updateLoopCountStatistic().
|
inline |
Definition at line 2763 of file ScopInfo.h.
References RegionToScopMap.
|
inline |
Definition at line 2765 of file ScopInfo.h.
References RegionToScopMap.
|
private |
Definition at line 2726 of file ScopInfo.h.
Referenced by recompute().
|
private |
Definition at line 2728 of file ScopInfo.h.
Referenced by recompute().
|
private |
Definition at line 2722 of file ScopInfo.h.
Referenced by recompute().
|
private |
Definition at line 2727 of file ScopInfo.h.
Referenced by recompute().
|
private |
Definition at line 2725 of file ScopInfo.h.
Referenced by recompute().
|
private |
Definition at line 2729 of file ScopInfo.h.
Referenced by recompute().
|
private |
A map of Region to its Scop object containing Polly IR of static control part.
Definition at line 2721 of file ScopInfo.h.
Referenced by begin(), empty(), end(), getScop(), rbegin(), recompute(), and rend().
|
private |
Definition at line 2723 of file ScopInfo.h.
Referenced by recompute().
|
private |
Definition at line 2724 of file ScopInfo.h.
Referenced by recompute().