Displaying 6 results from an estimated 6 matches for "dependenceinfowrapperpass".
2016 Jun 20
2
[GSoC 2016] Polly as an Analysis pass - Midterm report
...from Polly in LLVM.
Initial plan as mentioned in the proposal:
For the first month:-
1.
Decouple ScopInfo pass from Polly’s pass chain and provide capability to
create SCoP(Static Control Parts) objects from arbitrary SESE regions.
2.
Implement new passes ScopInfoWrapperPass and DependenceInfoWrapperPass
as Function Passes.
3.
Provide an interface to Polly’s dependence analysis which can be
directly queried from LLVM transformation passes such as Loop Vectorizer.
For the next phase:-
1.
Cache the dependences computed by Polly for a given SCoP and provide
methods to invalida...
2018 Jan 28
4
Polly Dependency Analysis in MyPass
...s there i added polly dependency analysis pass but
when i execute this pass in gdb i get no data.
Why is that so?
My code is follows;
namespace {
struct mypass : public FunctionPass {
static char ID;
mypass() : FunctionPass(ID) {
}
virtual bool runOnFunction(Function &F)
{
polly::DependenceInfoWrapperPass dp;
auto &SI = *getAnalysis<polly::ScopInfoWrapperPass>().getSI();
for (auto &It : SI) {
assert(It.second && "Invalid SCoP object!");
dp.recomputeDependences(It.second.get(),
polly::Dependences::AL_Access); }
virtual void getAnalysisUsage(AnalysisUsage &a...
2018 Jan 28
0
Polly Dependency Analysis in MyPass
...);
auto const &DL2 = F.getParent()->getDataLayout();
auto &DT2 = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
auto &AC2 = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
Result.reset(new ScopInfo{DL2, SD2, SE2, LI2, AA2, DT2, AC2});
polly::DependenceInfoWrapperPass dp;
auto &SI = *getAnalysis<polly::ScopInfoWrapperPass>().getSI();
for (auto &It : SI) {
assert(It.second && "Invalid SCoP object!");
dp.recomputeDependences(It.second.get(), polly::Dependences::AL_Access);
}
return false;
}
what to do? pl...
2018 Jan 28
1
Polly Dependency Analysis in MyPass
...Parent()->getDataLayout();
> auto &DT2 = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
> auto &AC2 = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
>
> Result.reset(new ScopInfo{DL2, SD2, SE2, LI2, AA2, DT2, AC2});
>
>
> polly::DependenceInfoWrapperPass dp;
>
> auto &SI = *getAnalysis<polly::ScopInfoWrapperPass>().getSI();
>
> for (auto &It : SI) {
> assert(It.second && "Invalid SCoP object!");
> dp.recomputeDependences(It.second.get(),
> polly::Dependences::AL_Access);
>
>
>...
2018 Jan 29
0
Polly Dependency Analysis in MyPass
...pt mypass
-debug" may give you some information.
> My code is follows;
>
>
>
> namespace {
> struct mypass : public FunctionPass {
> static char ID;
>
> mypass() : FunctionPass(ID) {
> }
> virtual bool runOnFunction(Function &F)
> {
> polly::DependenceInfoWrapperPass dp;
>
> auto &SI = *getAnalysis<polly::ScopInfoWrapperPass>().getSI();
>
> for (auto &It : SI) {
> assert(It.second && "Invalid SCoP object!");
> dp.recomputeDependences(It.second.get(), polly::Dependences::AL_Access);
> }
> virtual...
2018 Jan 29
1
Polly Dependency Analysis in MyPass
...();
auto const &DL2 = F.getParent()->getDataLayout();
auto &DT2 = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
auto &AC2 = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
Result.reset(new ScopInfo{DL2, SD2, SE2, LI2, AA2, DT2, AC2});
polly::DependenceInfoWrapperPass dp;
auto &SI = *getAnalysis<polly::ScopInfoWrapperPass>().getSI();
for (auto &It : SI) {
assert(It.second && "Invalid SCoP object!");
dp.recomputeDependences(It.second.get(), polly::Dependences::AL_Access);
}
return false;
}
virtual void...