Displaying 3 results from an estimated 3 matches for "llvm_codegen_register_allocator_h".
2007 Jul 13
0
[LLVMdev] [PATCH] Re: Pluggable Register Coalescers
...------------------------------------------------------------------===//
+//
+// This file contains the abstract interface for register allocators,
+// allowing them to provide information to coalescers.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CODEGEN_REGISTER_ALLOCATOR_H
+#define LLVM_CODEGEN_REGISTER_ALLOCATOR_H
+
+#include <llvm/CodeGen/LiveInterval.h>
+
+namespace llvm
+{
+ class MachineInstruction;
+
+ class RegisterAllocator {
+ public:
+ /// Return whether this copy should be considered for coalescing.
+ virtual bool coalesceThisCopy(const Mac...
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
2007 Jul 16
4
[LLVMdev] [PATCH] Re: Pluggable Register Coalescers
...-----------------------------------------------------------
-===//
+//
+// This file contains the abstract interface for register allocators,
+// allowing them to provide information to coalescers.
+//
+//
===---------------------------------------------------------------------
-===//
+
+#ifndef LLVM_CODEGEN_REGISTER_ALLOCATOR_H
+#define LLVM_CODEGEN_REGISTER_ALLOCATOR_H
+
+#include <llvm/CodeGen/LiveInterval.h>
+
+namespace llvm
+{
+ class MachineInstruction;
+
+ class RegisterAllocator {
+ public:
+ /// Return whether this copy should be considered for coalescing.
+ virtual bool coalesceThisCopy(const Mach...