Displaying 9 results from an estimated 9 matches for "analysisimpl".
Did you mean:
analysisimpls
2010 May 18
2
[LLVMdev] Possible memory leak in LLVM 2.5
...on a game engine. Haven't updated to 2.7 yet, but I do intend to.
When checking for memory leaks I found that each time I was calling EE->runFunction after creating a stub function to execute an event, all the pass information was being repeatedly added to PMDataManager.
I have changed addAnalysisImplsPair to the following, which seems to have no side effects with what I am doing. Prior to that, AnalysisImpls contained thousands of entries and each time the vector gets realloced to accommodate more entries we lose a bigger chunk of memory.
void addAnalysisImplsPair(const PassInfo *PI, Pass *...
2010 May 18
0
[LLVMdev] Possible memory leak in LLVM 2.5
...t, but I do intend to.
>
>
>
> When checking for memory leaks I found that each time I was calling
> EE->runFunction after creating a stub function to execute an event, all the
> pass information was being repeatedly added to PMDataManager.
>
>
>
> I have changed addAnalysisImplsPair to the following, which seems to have no
> side effects with what I am doing. Prior to that, AnalysisImpls contained
> thousands of entries and each time the vector gets realloced to accommodate
> more entries we lose a bigger chunk of memory.
>
>
>
> void addAnalysisIm...
2010 May 18
1
[LLVMdev] Possible memory leak in LLVM 2.5
...t, but I do intend to.
>
>
>
> When checking for memory leaks I found that each time I was calling
> EE->runFunction after creating a stub function to execute an event, all the
> pass information was being repeatedly added to PMDataManager.
>
>
>
> I have changed addAnalysisImplsPair to the following, which seems to have no
> side effects with what I am doing. Prior to that, AnalysisImpls contained
> thousands of entries and each time the vector gets realloced to accommodate
> more entries we lose a bigger chunk of memory.
>
>
>
> void addAnalysisIm...
2004 Apr 24
0
[LLVMdev] cs326 mp help
...lt; loop1.bc >
loop1.aftermypass.bc
The assertion:
======================================
opt:
/usr/dcs/csil-linux/projects/cs326/kiyancla/llvm/include/llvm/Pass.h:182:
AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*)
const [with AnalysisType = llvm::LoopInfo]: Assertion `i !=
AnalysisImpls.size() && "getAnalysis*() called on an analysis
that we not " "'required' by pass!"' failed.
Aborted (core dumped)
finally, the cpp file: (sorry about the extraneous includes)
==================================
#include "llvm/Transforms/Scalar.h"...
2002 Nov 03
2
[LLVMdev] getAnalysis()
...DDataStructures>();
}
Then I try to use it as follows:
bool MyPass::doInitialization(Module &M) {
TDDataStructures &dsgraph = getAnalysis<TDDataStructures>();
return false;
}
When I run my pass via opt, I get the following assertion error:
Assertion failed: i != AnalysisImpls.size() && "getAnalysis*() called on
an analysis that we not " "'required' by pass!", file
../../include/llvm/Pass.h, line 170
Any idea what I am doing wrong? Thanks,
Scott Mikula
2006 May 31
0
[LLVMdev] Adding an object to llc (analysis pass)
On Wed, 31 May 2006, Silken Tiger wrote:
>> that requires a BasicBlockPass, it will fail the same was as when a
>> ModulePass requires a FunctionPass.
> void MParSchedule::getAnalysisUsage(AnalysisUsage &AU) const {
> AU.setPreservesAll();
> }
>
> MParSchedule requires nothing and changes nothing. So hopefully the above code
> represents this fact?
Right
2006 Jun 01
2
[LLVMdev] Adding an object to llc (analysis pass)
...orted
Poking around i tried to inherit the MParSchedule Pass from ImmutablePass then
i get an different error:
llc: /work0/tstone/llvm-1.7/include/llvm/Pass.h:185: AnalysisType&
llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with AnalysisType =
llvm::FindUsedTypes]: Assertion `i != AnalysisImpls.size() && "getAnalysis*()
called on an analysis that was not " "'required' by pass!"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x1f)[0x8807aaf]
/lib/tls/libc.so.6(abort+0x1d2)[0xb7d98fa2]
/lib/tls/libc.so.6(__assert_fail+0x10f)[0xb7d912df]
llc(l...
2006 May 31
2
[LLVMdev] Adding an object to llc (analysis pass)
Hi
Am Dienstag, 30. Mai 2006 19:21 schrieb Chris Lattner:
> On Tue, 30 May 2006, Silken Tiger wrote:
> > Everthing now compiles fine, but when running llc with invoking my own
> > backend derived from the cbackend i get the following error:
> > namespace llvm {
> > class MParSchedule : public BasicBlockPass {
> > public:
> >
> >
2011 Mar 15
10
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
This series of patches address several issues causing memory usage to grow
indefinetely on a long lived process.
These are not convenional leaks -- memory would have been freed when the LLVM
context or/and JIT engine is destroyed -- but for as long as they aren't the
memory is usage effectively ubounded.
The issues were found using valgrind with '--show-reachable=yes' option:
1.