search for: removeoperand

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

2015 Jun 16
2
[LLVMdev] Replacing a Reg MachineOperand with a non-Reg MachineOperand?
I have a MachineOperand that could be something other than a Reg: mem, global address, imm, etc... I want to replace a reg MachineOperand with this non-reg MachineOperand. I've tried a few different things, but it doesn't seem like there is some simple functionality to do this? "RemoveOperand" and "addOperand" does not work. There doesn't seem to be a valid "ChangeTo..." function for this. What's the best way to do this without tearing down the instructions and using BuildMI? Thanks. -------------- next part -------------- An HTML attachment was scrub...
2004 Jul 01
1
[LLVMdev] MRegisterInfo::eliminateFrameIndex
...intended, so something else. Another question, is how do I really replace the instruction. The operator= is private and erase/insert might well invalidate the iterator. As it stands, I need to manually change all the operands and opcode of the instruction, which is not convenient. Also, why RemoveOperand and SetMachineOperand methods in MachineInstr are the only methods in that class which start with uppercase letter? - Volodya
2015 Jun 16
2
[LLVMdev] Replacing a Reg MachineOperand with a non-Reg MachineOperand?
...t; > global address, imm, etc... > > > > I want to replace a reg MachineOperand with this non-reg MachineOperand. > > > > I've tried a few different things, but it doesn't seem like there is some > > simple functionality to do this? > > > > "RemoveOperand" and "addOperand" does not work. > > There doesn't seem to be a valid "ChangeTo..." function for this. > > > > > > What type of operand do you want to change it to? If there is no > "ChangeTo..." function for the new type, I think t...
2008 Jan 27
0
[LLVMdev] BreakCriticalMachineEdge.h
Fernando, The code there should be more or less functional, though it's not currently used by anything. Eventually it should probably be moved to a method on MachineBasicBlock. The API breakage you're seeing is because some methods moved around. Feel free to fix it. :-) --Owen On Jan 26, 2008, at 6:31 PM, Fernando Magno Quintao Pereira wrote: > > Hi LLVMers, > >
2008 Jan 27
2
[LLVMdev] BreakCriticalMachineEdge.h
Hi LLVMers, what is the status of breaking critical edges in machine functions? I just compiled the top of the LLVM tree, and I found llvm/CodeGen/BreakCriticalMachineEdge.h. But this file seems not to be up-to-date with the other classes in the top of the tree. For instance, it calls isTerminatorInstr on llvm::TargetInstrInfo, but this method is no longer there. If I want to break
2015 Jun 16
2
[LLVMdev] Replacing a Reg MachineOperand with a non-Reg MachineOperand?
...replace a reg MachineOperand with this non-reg >>> MachineOperand. >>> > >>> > I've tried a few different things, but it doesn't seem like there is >>> some >>> > simple functionality to do this? >>> > >>> > "RemoveOperand" and "addOperand" does not work. >>> > There doesn't seem to be a valid "ChangeTo..." function for this. >>> > >>> > >>> >>> What type of operand do you want to change it to? If there is no >>> "Change...
2015 Jun 16
2
[LLVMdev] Replacing a Reg MachineOperand with a non-Reg MachineOperand?
...gt;>> MachineOperand. >>>>> > >>>>> > I've tried a few different things, but it doesn't seem like there is >>>>> some >>>>> > simple functionality to do this? >>>>> > >>>>> > "RemoveOperand" and "addOperand" does not work. >>>>> > There doesn't seem to be a valid "ChangeTo..." function for this. >>>>> > >>>>> > >>>>> >>>>> What type of operand do you want to change it to?...
2014 Feb 25
4
[LLVMdev] ScheduleDAGInstrs/R600 test potential issue with implicit defs
Hi Tom, Thanks a lot for your explanations, now it makes a lot more sense ;) I had a slightly closer look at the R600 packetizer, and the issue is that the third LSHL instruction has both an implicit use and *afterwards* an implicit def of T1_XYZW. The latter def causes the current ScheduleDAGInstrs implementation to ignore the implicit use, thus the ScheduleDAG only contains an