search for: regallocregistry

Displaying 15 results from an estimated 15 matches for "regallocregistry".

2007 Jul 13
0
[LLVMdev] [PATCH] Re: Pluggable Register Coalescers
...=============================== --- llvm/lib/CodeGen/RegAllocBigBlock.cpp (revision 58818) +++ llvm/lib/CodeGen/RegAllocBigBlock.cpp (working copy) @@ -36,6 +36,7 @@ #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/LiveVariables.h" #include "llvm/CodeGen/RegAllocRegistry.h" +#include "llvm/CodeGen/RegisterAllocator.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Support/CommandLine.h" @@ -79,7 +80,8 @@ /// - break ties when picking regs? (probably not worth it i...
2007 Jul 11
3
[LLVMdev] Pluggable Register Coalescers
On Jul 11, 2007, at 11:39 AM, David Greene wrote: > On Wednesday 11 July 2007 12:41, Tanya M. Lattner wrote: > >> I think the coalescer should be flexible enough to be run >> independent of >> the register allocator. For example, you may want to expose the >> copies >> induced by transforming out of SSA to the scheduler. If the >> scheduler is
2008 Dec 20
0
[LLVMdev] A faster instruction selector?
...> FWIW, the default mode for LLVM Makefiles is non-optimized. > Yes, I am running the optimised version >> Finally, it must be possible to select the register allocator for the >> JIT using the API, but I am unable to find out how to do this, any >> ideas? > > See RegAllocRegistry.h and RegisterRegAlloc::setDefault. Thanks > > Dan > Seasons Greetings, Mark.
2012 Dec 27
0
[LLVMdev] About the MachinePassRegistry
Hi all, The "Creating new registries" part on the "Writing An LLVM Pass" page seems unclear. I copied "llvm/CodeGen/RegAllocRegistry.h" to my project directory, modify the class name and the FunctionPassCtor type, and add code in the document to my "machinepass.cpp" file. But the llc -help doesn't show anything about the registry. Which part is responsible for making the part ofcl::opt code? Can anyone sh...
2016 Feb 26
0
Help Required llc runtime error for simple MachineFunctionPass
...quot; #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineLoopInfo.h" #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/RegAllocRegistry.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" #define DEBUG_TYPE "gcra" #include "llvm/Support/Debug.h" #include "llvm/Support/Compiler.h" #include "llvm/ADT/Statistic.h" #include "llvm/CodeGe...
2006 Aug 03
0
[LLVMdev] Adding register allocator to LLVM
...nly link in the register allocators and instruction schedulers that are actually needed in a particular circumstance. I guess I will have to write this up, but generally it works like this. In your register allocator .cpp file add the following include; #include ""llvm/CodeGen/RegAllocRegistry.h"" In your register allocator .cpp file define a create function in the form; FunctionPass *createMyRegisterAllocator() { return new MyRegisterAllocator(); } and the "installing" static constructor declaration, in the form; static RegisterRegAlloc myRegAlloc...
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
Hi! I'm developing a register allocator and need it to be available as an option for llc tool. I used to edit /lib/CodeGen/Passes.cpp for this aim but after yesterday's update these options are defined somewhere else and I can't find the place. Thanks for your help. Tony. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Dec 17
1
[LLVMdev] A faster instruction selector?[MESSAGE NOT SCANNED]
Hi Nicolas and Dan, Thanks for your replies. I've been playing around with various setting, as you suggested. > What version of LLVM are you using here? I'm using 2.4 My original time ratios of reg-alloc to instruction selection (1:12) referred to the local register allocator and the standard instruction selector (all passes), not a sensible comparison, I realise. > I did
2016 Oct 12
3
Dragon egg not recognizing Target ARM machine
...CS && \ ^ In file included from /gaia/class/student/seerangv/LLVM_DIR/install/include/llvm /CodeGen/MachinePassRegistry.h:21:0, from /gaia/class/student/seerangv/LLVM_DIR/install/include/llvm /CodeGen/RegAllocRegistry.h:18, from /gaia/class/student/seerangv/DRAGONEGG_DIR/src/Backend.cpp :35: /gaia/class/student/seerangv/LLVM_DIR/install/include/llvm/CodeGen/Passes.h:216: 3: warning: unused parameter ‘C’ [-Wunused-...
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...Passes.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/PostRAHazardRecognizer.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ProcessImplicitDefs.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/PseudoSourceValue.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RegAllocRegistry.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RegisterCoalescer.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RegisterScavenging.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RuntimeLibcalls.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ScheduleDAG.h...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams <space.ship.traveller at gmail.com> wrote: > Hi, > > I might just be doing something stupid, but when I do > > $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. > $ sudo make install > > I don't get the expected headers in >        /usr/local/llvm-2.8/include/llvm > > It is
2012 Nov 09
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...ses.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/RegAllocRegistry.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Compiler.h"#include "llvm/ADT/Statistic.h"#include <stack>#include <queue>#include <iostream&gt...
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
Hi, I might just be doing something stupid, but when I do $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. $ sudo make install I don't get the expected headers in /usr/local/llvm-2.8/include/llvm It is simply an empty directory. What am I doing wrong? This is on Mac OS X, CMake 2.8+ Kind regards, Samuel
2007 Apr 30
1
[LLVMdev] llvm-gcc build broken
...er/llvm-gcc/gcc/llvm-backend.cpp:36:45: error: llvm/Bytecode/WriteBytecodePass.h: No such file or directory /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:37:34: error: llvm/Bytecode/Reader.h: No such file or directory /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:38:43: error: llvm/CodeGen/RegAllocRegistry.h: No such file or directory /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:39:44: error: llvm/CodeGen/SchedulerRegistry.h: No such file or directory /projects/compiler/llvm-gcc/gcc/llvm-backend.cpp:40:38: error: llvm/CodeGen/ScheduleDAG.h: No such file or directory /projects/compiler/llvm-gcc/...
2012 Nov 08
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
Hi Susan, In x86-64 the REX prefix must be used to access an extended register (r8-r15 and their aliases), but cannot be used when accessing the high byte of the ABCD regs (AH, BH, CH, DH). In your test case you have hardcoded %vreg1 to R8B, and %vreg15 to AH, and the test case contains a copy between these registers. The copy simultaneously must have a REX prefix, and cannot have a REX prefix,