search for: wcetinfo

Displaying 2 results from an estimated 2 matches for "wcetinfo".

Did you mean: setinfo
2014 Aug 29
2
[LLVMdev] The problem of densemap and loop
...ems in ls. BUT when I tried to read it in a ModulePass, I can't get the correct result. " for (Module::iterator FI = M.begin(), E = M.end(); FI != E; ) { F = FI++; if (!F->hasName() && !F->isDeclaration()){} else{ LoopInfo *LI = &getAnalysis<LoopInfo>(*F); WCETInfo *WI = &getAnalysis<WCETInfo>(); //WI is the ImmutablePass which contains the dense map for(LoopInfo::iterator i=LI->begin(); i!=LI->end(); ++i) { Loop *L = *i; int lb=0; lb=WI->outls(L); // the method: return ls.find(L)->second; } } } " Thank you Sincerely...
2014 Aug 28
2
[LLVMdev] The problem of densemap and loop
Hello, everyone, I created a dense map like this: DenseMap<Loop *, int> ls; And I have a module which contains 3 functions: function F and it has a loop which is " Loop at depth 1 containing: %1<header><exiting>,%3,%5<latch> " function G and it has two loops which are " Loop at depth 1 containing: %8<header><exiting>,%10,%14<latch>