search for: physreg44

Displaying 4 results from an estimated 4 matches for "physreg44".

2018 Apr 13
2
How to create and insert a call MachineInstr?
...am working on a project which needs to create and insert a MachineInstr which calls a function. But I don't know how to build it. The function has been declared in IR. I have used BuildMI to build a MachineInstr. But it seems that a call MachineInstr only has one parameter which is a register(%physreg44<imp-use>?). Therefore how can I set the callee function and the arguments of the function? Thanks a lot, Will -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180413/e088cb06/attachment.html>
2018 Apr 13
0
How to create and insert a call MachineInstr?
Hi Will, On 13 April 2018 at 09:50, Will Lester via llvm-dev <llvm-dev at lists.llvm.org> wrote: > I have used BuildMI to build a MachineInstr. But it seems that a call > MachineInstr only has one parameter which is a > register(%physreg44<imp-use>?). This depends on the target, but calls normally have a few operands: + The callee (a register or a global address or something). + A regmask indicating which registers the call preserves. + A list of imp-uses and imp-defs for the registers used to pass and return parameters...
2018 Apr 13
2
How to create and insert a call MachineInstr?
...at gmail.com>: > Hi Will, > > On 13 April 2018 at 09:50, Will Lester via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > I have used BuildMI to build a MachineInstr. But it seems that a call > > MachineInstr only has one parameter which is a > > register(%physreg44<imp-use>?). > > This depends on the target, but calls normally have a few operands: > > + The callee (a register or a global address or something). > + A regmask indicating which registers the call preserves. > + A list of imp-uses and imp-defs for the registers used t...
2018 Apr 17
0
How to create and insert a call MachineInstr?
...Hi Will, >> >> On 13 April 2018 at 09:50, Will Lester via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >> > I have used BuildMI to build a MachineInstr. But it seems that a call >> > MachineInstr only has one parameter which is a >> > register(%physreg44<imp-use>?). >> >> This depends on the target, but calls normally have a few operands: >> >> + The callee (a register or a global address or something). >> + A regmask indicating which registers the call preserves. >> + A list of imp-uses and imp-defs...