search for: registeranalysi

Displaying 5 results from an estimated 5 matches for "registeranalysi".

Did you mean: registeranalysis
2005 Sep 05
2
[LLVMdev] Pass is not automatically registered
I am not sure if my problem is similar to: http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-December/000715.html It seems that the constructor of the static global pass object isn't called: lib/CodeGen/DependenceAnalyzer.cpp: static RegisterAnalysis<DependenceAnalyzer> X("depana", "Dependence Analysis"); I traced into struct RegisterAnalysis ctor, but my pass doesn't appear. I put it in an anonymous namespace, it doesn't work too. The class definitions: class DependenceAnalyzer : public MachineFunctionPas...
2006 Aug 27
0
[LLVMdev] Pass API change
For those working from LLVM CVS: I simplified the pass interface, eliminating the need for the RegisterOpt vs RegistierAnalysis distinction. If you're working on an out-of-tree pass, you should just use 'RegisterPass' instead of RegisterOpt or RegisterAnalysis. I've updated the "Writing an LLVM Pass" doc to reflect current best practice. -Chris -- http://nondot.org/sabre/ http://llvm.org/
2006 May 30
0
[LLVMdev] Adding an object to llc
On Tue, 2006-05-30 at 14:48 +0200, Silken Tiger wrote: > Hi > > Thanks for all your feedback. I just found the reason for the compile failure > for my analysis pass: I had to add my object to the namespace llvm instead of > anonymous. This took me some time since i was looking for an linking > failure... but as errors go i should have looked at the error message a >
2006 May 30
2
[LLVMdev] Adding an object to llc
Hi Thanks for all your feedback. I just found the reason for the compile failure for my analysis pass: I had to add my object to the namespace llvm instead of anonymous. This took me some time since i was looking for an linking failure... but as errors go i should have looked at the error message a little closer. So for all those trying to add an analysis path: * add the object name to the
2006 May 30
3
[LLVMdev] Adding an object to llc (analysis pass)
...*>* lookupBasicBlock(BasicBlock *); private: bool in_ValueList(Value *val); list<const Value*> ValueList; list<Instruction*> InstructionList; }; }; It gets Registered in the cpp file via: RegisterAnalysis<MParSchedule> X("MParSchedule","Maximal Parallel Schedule"); This pass has been tested as optimization pass with opt, and everything worked in this configuration. Thanks ST