Displaying 15 results from an estimated 15 matches similar to: "[LLVMdev] NEWBIE: deleting Instructions"
2004 Aug 06
3
libshout1-based mp3 streaming to icecast2
According to what I've read on this mailing list, it should be possible
to stream MP3 data to icecast2 using ices-0.2.3, which I assume also
should be the case for any other streaming client based on libshout1. So I
decided to test this out to see if we really could dispense with
icecast1 altogether on the server I help administer. My results were not
promising, to say the least.
I wiped out
2003 Nov 13
4
[LLVMdev] llvm 1.0, g++, SuSE 9, internal compiler error
> > - gcc bug
> > - problem with SuSE distribution
>
> One of these two. In theory GCC should never crash (even if the LLVM
> sources had problems), and since SuSE made modifications to the compiler
> before they shipped it, they implicitly took responsibility for the end
> result.
I agree.
> You can try sending a bug report to SuSE.
hm, sending bug report is
2003 Dec 15
1
[LLVMdev] Assertion failed in Pass.cpp
Hi all,
I am trying to write a pass for the llc tool. I register this pass
with the RegisterLLC template. However, when I try to run llc and load
up the pass, I get a failed assertion:
$ /storage/anshuman/llvmCVS/llvm/tools/Debug/llc -load=./libTest.so
--help
...
...
llc: Pass.cpp:327: void
llvm::RegisterPassBase::unregisterPass(llvm::PassInfo*): Assertion `I
!= PassInfoMap->end()
2015 Feb 24
2
[LLVMdev] Removing contention in PassRegistry accesses to speed up compiles
Hi,
We use LLVM libraries to compile C++ code and noticed slow downs when
multiple threads of a process were compiling at once. *perf *indicated that
most of the CPU time was spent in a spin lock, which was being
locked/unlocked from llvm::PassRegistry::getPassInfo().
We read the relevant LLVM code and found out that PassRegistry is a
ManagedStatic and is shared among all threads in case of a
2004 Aug 09
2
[LLVMdev] How to get LoopInfo within Pass subclass?
On Aug 5, 2004, at 8:11 PM, Chris Lattner wrote:
>
> Sure, you can do that. Just use F->getParent() to get to the Module.
D'oh. OK, so I can do what I need with a hack for now.
>> Also, out of curiosity, why the stateless restriction - is it because
>> passes may someday be run in parallel?
>
> Yup, exactly. That and we want to be able to make multiple instances
2004 Aug 06
0
libshout1-based mp3 streaming to icecast2
The short answer, as Geoff says, is to use ices 0.x from CVS with libshout 2.
The good news is CVS ices 0 has a number of bug fixes.
libshout2 may be found at anoncvs@cvs.xiph.org:/usr/local/cvsroot libshout
ices is at anoncvs@cvs.xiph.org:/cvs/ice ices
Note the different paths above!
Now, a little more detail:
On Sunday, 16 March 2003 at 02:41, jeremy@squat.net wrote:
> ices0 -b 24 -h
2004 Aug 09
0
[LLVMdev] How to get LoopInfo within Pass subclass?
On Mon, 9 Aug 2004, Michael McCracken wrote:
> On Aug 5, 2004, at 8:11 PM, Chris Lattner wrote:
> > Sure, you can do that. Just use F->getParent() to get to the Module.
>
> D'oh. OK, so I can do what I need with a hack for now.
Ok.
> > We have no problem with people asking questions. :) The PassManager
> > is actually do for a rewrite. The current
2009 May 23
0
[LLVMdev] why RegisterPass<TargetData> initialize itself twice in my system
HI, Developers:
I linked libLTO.so in $LLVMROOT/Debug/lib
however, my program crashes in assertion at 149line [Pass.cpp]
void RegisterPass(const PassInfo &PI) {
bool Inserted =
PassInfoMap.insert(std::make_pair(PI.getTypeInfo(),&PI)).second;
assert(Inserted && "Pass registered multiple times!");
}
i confirm that there is only one static variable
2004 Aug 06
0
[LLVMdev] How to get LoopInfo within Pass subclass?
On Thu, 5 Aug 2004, Michael McCracken wrote:
> > You're right that FunctionPass's are not supposed to have state
> > (something that many people overlook :) ), however, for now, nothing
> > will break if it does have state, and this is really the only way
> > around this.
>
> I'm not sure if I can do this. The pass I'm writing is writing info
>
2004 Aug 10
1
[LLVMdev] How to get LoopInfo within Pass subclass?
On Aug 9, 2004, at 1:46 PM, Chris Lattner wrote:
>> Well, I took a look at it a bit over the weekend. I am probably not
>> the
>> right person to do the complete rewrite, for instance reworking the
>> Pass class hierarchy doesn't sound like something I'd want to do. Just
>> getting to this point has been a bit of an education in real C++.
>
> Ok, fair
2004 Aug 06
2
[LLVMdev] How to get LoopInfo within Pass subclass?
On Aug 5, 2004, at 5:30 PM, Chris Lattner wrote:
> On Thu, 5 Aug 2004, Michael McCracken wrote:
>
>> Hi, I have a hopefully quick question. I'm writing a Pass that needs
>> to
>> see a whole module at a time and keep some state, so I subclassed
>> Pass.
>> However, I want to be able to see the Loops in each Function. Roughly,
>
> ok.
>
>>
2007 Sep 14
0
[LLVMdev] RegisterAnalysisGroup
On Friday 14 September 2007 16:04, David Greene wrote:
> On Friday 14 September 2007 15:51, Chris Lattner wrote:
> > When basicaa registers itself as part of the analysis group, it uses:
> >
> > RegisterPass<BasicAliasAnalysis>
> > X("basicaa", "Basic Alias Analysis (default AA impl)");
> >
> > // Declare that we implement
2007 Sep 14
2
[LLVMdev] RegisterAnalysisGroup
On Friday 14 September 2007 15:51, Chris Lattner wrote:
> When basicaa registers itself as part of the analysis group, it uses:
>
> RegisterPass<BasicAliasAnalysis>
> X("basicaa", "Basic Alias Analysis (default AA impl)");
>
> // Declare that we implement the AliasAnalysis interface
> RegisterAnalysisGroup<AliasAnalysis, true> Y(X);
2008 May 30
0
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
Greetings,
I seem to be butting up against what may be a Vista-related issue for mingw-based compilation. I did some googling earlier today and found these steps: http://blogs.tedneward.com/2008/02/24/Building+LLVM+On+Windows+Using+MinGW32.aspx, which I followed. But try as I did, I couldn't seem to get past the "tools" section of the compilation. It seemed to always have
2007 Sep 15
1
[LLVMdev] RegisterAnalysisGroup
On Sep 14, 2007, at 2:46 PM, David Greene wrote:
> On Friday 14 September 2007 16:04, David Greene wrote:
>> On Friday 14 September 2007 15:51, Chris Lattner wrote:
>>> When basicaa registers itself as part of the analysis group, it
>>> uses:
>>>
>>> RegisterPass<BasicAliasAnalysis>
>>> X("basicaa", "Basic Alias