Displaying 5 results from an estimated 5 matches for "scopdetectionwrapperpass".
2018 Jan 28
4
Polly Dependency Analysis in MyPass
Hello,
I need to analyze dependencies in my llvm ir by using polly. i created a
new pass called mypass 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)
{
2018 Jan 29
1
Polly Dependency Analysis in MyPass
...sis<AAResultsWrapperPass>().getAAResults();
auto &SE = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
Result2.reset(new ScopDetection(F, DT, SE, LI, RI, AA));
auto &SD2 = getAnalysis<polly::ScopDetectionWrapperPass>().getSD();
auto &SE2 = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
auto &LI2 = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
auto &AA2 = getAnalysis<AAResultsWrapperPass>().getAAResults();
auto const &DL2 = F.getParent()->getDataLayout();...
2018 Jan 29
0
Polly Dependency Analysis in MyPass
How do you compile the code? Within the Polly subdirectory using CMake?
How do you run your pass. Using "opt -mypass inputfile.ll"?
Michael
2018-01-28 9:30 GMT-06:00 hameeza ahmed via llvm-dev <llvm-dev at lists.llvm.org>:
> Hello,
>
> I need to analyze dependencies in my llvm ir by using polly. i created a new
> pass called mypass there i added polly dependency
2018 Jan 28
0
Polly Dependency Analysis in MyPass
...s<AAResultsWrapperPass>().getAAResults();
auto &SE = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
Result2.reset(new ScopDetection(F, DT, SE, LI, RI, AA));
auto &SD2 = getAnalysis<polly::ScopDetectionWrapperPass>().getSD();
auto &SE2 = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
auto &LI2 = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
auto &AA2 = getAnalysis<AAResultsWrapperPass>().getAAResults();
auto const &DL2 = F.getParent()->getDataLayout(...
2018 Jan 28
1
Polly Dependency Analysis in MyPass
...getAAResults();
> auto &SE = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
> auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
> Result2.reset(new ScopDetection(F, DT, SE, LI, RI, AA));
>
>
>
> auto &SD2 = getAnalysis<polly::ScopDetectionWrapperPass>().getSD();
>
>
>
> auto &SE2 = getAnalysis<ScalarEvolutionWrapperPass>().getSE();
> auto &LI2 = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
> auto &AA2 = getAnalysis<AAResultsWrapperPass>().getAAResults();
> auto const &DL2 =...