search for: registerpassparser

Displaying 8 results from an estimated 8 matches for "registerpassparser".

2006 Aug 20
2
[LLVMdev] Adding register allocator to LLVM
...Passes.cpp file: //===---------------------------------------------------------------------===// /// /// RegAlloc command line options. /// //===---------------------------------------------------------------------===// namespace { cl::opt<RegisterRegAlloc::FunctionPassCtor, false, RegisterPassParser<RegisterRegAlloc> > RegAlloc("regalloc", cl::init(&createChordalRegisterAllocator), cl::desc("Register allocator to use: (default = chordal)")); } All the best, Fernando > Hi! > > I've did what Jim Laskey wrote but llc didn...
2006 Aug 22
0
[LLVMdev] Adding register allocator to LLVM
...--------------------------------------------------------===// > /// > /// RegAlloc command line options. > /// > > //===---------------------------------------------------------------------===// > namespace { > cl::opt<RegisterRegAlloc::FunctionPassCtor, false, > RegisterPassParser<RegisterRegAlloc> > > RegAlloc("regalloc", > cl::init(&createChordalRegisterAllocator), > cl::desc("Register allocator to use: (default = chordal)")); > } > > All the best, > > Fernando > > > Hi! > > > &g...
2006 Aug 20
0
[LLVMdev] Adding register allocator to LLVM
Hi! I've did what Jim Laskey wrote but llc didn't reckognize my regalloc option. So I moved my allocator implementation into seperate folder within CodeGen and wrote separate makefile for it (like in "Writing an LLVM pass" tutorial). But when I run "make" from LLVMOBJDIR it doesn't enter the RegAlloc directory and when linking llc an error like
2018 Feb 25
0
segfault calling SDL_Init with FFI/ MCJIT
...the LLVM code.  Does LLVM have hooks for when libraries are loaded? #0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:173 #1  0x00007fffeff1a667 in llvm::cl::generic_parser_base::findOption(char const*) () from /home/src/leaf/sdl/dist/libLLVM-3.8.so #2  0x00007ffff02f291f in llvm::RegisterPassParser<llvm::MachineSchedRegistry>::NotifyAdd(char const*, void* (*)(), char const*) () from /home/src/leaf/sdl/dist/libLLVM-3.8.so #3  0x00007fffe3ab4754 in llvm::MachinePassRegistry::Add(llvm::MachinePassRegistryNode*) () from /usr/lib/x86_64-linux-gnu/libLLVM-5.0.so.1 #4  0x00007fffe36fe616 in ??...
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
On Thu, 3 Aug 2006, Jim Laskey wrote: > To force the load/linking of your register allocator into the llc/lli tools, > add your create function's global declaration to "Passes.h" and add a > "pseudo" call line to "llvm/Codegen/LinkAllCodegenComponents.h" . Another note: with this new functionality you should be able to dynamically load register
2007 Aug 10
2
[LLVMdev] Choosing Alias Analysis
...opt< llvm::RegisterCoalescer::Ctor, false, SomeParserToBeDefined > Coalescer("coalescer", cl::init(/* Default analysis group constructor */), cl::desc("Pick a coalescer: (default = fill this in)")); I can't use RegisterPassParser because it expects a function pass constructor and the RegisterCoalescer interface is not a function pass. The question I have is how to get this to interact properly with analysis groups. The existing coalescer has this: // Need to register with PassManager so getAnalysis works RegisterPass...
2007 Aug 10
0
[LLVMdev] Choosing Alias Analysis
On Aug 10, 2007, at 10:15 AM, David Greene wrote: > However, what happens when alias analysis information gets > invalidated? > Is Andersen's still "available" in the sense analysis groups use it? > > If not, it seems it would be tough to make sure Andersen's is always > used everywhere that AliasAnalysis is asked for because there are > passes > llvm
2007 Aug 10
3
[LLVMdev] Choosing Alias Analysis
On Thursday 09 August 2007 19:21, Chris Lattner wrote: > Interesting question, I don't have an answer to this. To make things more > complicated, you can have multiple instances of an analysis group and may > want different things at different times: > > -basicaa -licm -something_that_invalidates_aa -andersaa -licm -whatever Some questions about that: How does this