Displaying 1 result from an estimated 1 matches for "scheudling".
Did you mean:
scheduling
2005 Sep 27
1
[LLVMdev] How does the memory of MachineInstr objects are managed?
A question about how the memory of object in LLVM are managed.
I dived in some source files but still don't have any idea how the
memory of MachineInstr object are managed. It doesn't look like
reference counting.
I'm writing an instruction scheudling code, the new order of
MachineInstr* in a MachineBasicBlock is stored in a "schedule". All
MachineInstr* in MachineBasicBlock are first removed, and
MachineInstr* are inserted back MachineBasicBlock in the scheduled
order.
The question is: isn't the memory of MachineInstr* "rel...