Displaying 2 results from an estimated 2 matches for "didwork".
2007 Jul 13
0
[LLVMdev] [PATCH] Re: Pluggable Register Coalescers
...ass SimpleRegisterCoalescing : public MachineFunctionPass,
+ public RegisterCoalescer {
MachineFunction* mf_;
const TargetMachine* tm_;
const MRegisterInfo* mri_;
@@ -45,10 +50,35 @@
/// with other intervals.
BitVector JoinedLIs;
+ /// didWork - Tell whether we have run on this function already.
+ /// This allows the coalescer to either run independently or from
+ /// within a register allocator.
+ typedef std::map<const MachineFunction *, bool> WorkMap;
+ WorkMap didWork;
+ void doWork(MachineFunction &mf);
+...
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