search for: al_access

Displaying 7 results from an estimated 7 matches for "al_access".

2018 Jan 28
4
Polly Dependency Analysis in MyPass
...(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 &AU) const { AU.addRequiredTransitive<polly::ScopInfoWrapperPass>(); AU.setPreservesAll(); } }; } char mypass::ID = 0; static RegisterPass<mypass> X("mypass", "mypass World Pass", false, false);...
2018 Jan 28
0
Polly Dependency Analysis in MyPass
...E2, 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? please help..... On Sun, Jan 28, 2018 at 8:30 PM, hameeza ahmed <hahmed2305 at gmail.com> wrote: > Hello, > > I need to analyze dependencies in my llvm ir by using polly. i created a > new pass called mypass there i added polly dep...
2018 Jan 28
1
Polly Dependency Analysis in MyPass
...::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? please help..... > > On Sun, Jan 28, 2018 at 8:30 PM, hameeza ahmed <hahmed2305 at gmail.com> > wrote: > >> Hello, >> >> I need to analyze dependencies in my llvm...
2018 Jan 29
0
Polly Dependency Analysis in MyPass
...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 &AU) const > { > > AU.addRequiredTransitive<polly::ScopInfoWrapperPass>(); > AU.setPreservesAll(); > } > }; > } > char mypass::ID = 0; > static RegisterPass<mypass> X("mypass...
2018 Jan 29
1
Polly Dependency Analysis in MyPass
...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 getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequiredTransitive<polly::ScopInfoWrapperPass>(); AU.addRequired<LoopInfoWrapperPass>(); AU.addRequired<RegionInfoPass>(); AU.addRequired<DominatorTreeWrapper...
2016 Aug 03
3
Extracting the names of the variables that creates loop-carried dependencies
Hi, I would like to know if it is possible to extract the source level names of variables that create loop-carried dependencies. For example, for the following code: for (int i = 0; i < A_ROW; i++) { for (int j = 1; j < B_COL; j++) { a_matrix[i][j] = a_matrix[i][j - 1]; } } I get the following AST: #pragma omp parallel for
2016 Aug 05
0
Extracting the names of the variables that creates loop-carried dependencies
...mputationally using ISL >> operations by subtracting the identity map (dependences within one >> iteration) from the dependence map is see whether it is empty. >> >> Dependence can also tell which array/element triggers the dependence >> using Dependences::AL_Reference/AL_Access level setting. >> >> For all the statements in a loop, iterate over all dependence, see >> whether one dimension is the loop is interested in, compare the >> prefixes up to that dimension (to know whether the outermost loops are >> within the iteration) and finally aga...