search for: isregmask

Displaying 10 results from an estimated 10 matches for "isregmask".

Did you mean: ik_regmask
2016 May 28
2
Updating RegMask inline
static void setXXX(MachineInstr &MI, ...) { for (MachineOperand &MO : MI.operands()) { if (MO.isRegMask()) MO.setRegMask(...); } } > On May 27, 2016, at 7:02 PM, vivek pandya via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > On Sat, May 28, 2016 at 7:29 AM, Matthias Braun <matze at braunis.de <mailto:matze at braunis.de>> wrote: > >> On May 27...
2016 May 28
3
Updating RegMask inline
...gMask at fixed position in Operands array in MI? Also provide some more details on updating cached RegMask in various other class. > > Add a method "setOperandMask()" in class MachineOperand, and then when you find a call you just walk all the operands till you find one which "isRegMask()" at which point you can update it. > > Ok. > > Is it ok to add "setRegMaskOperand()" in class MI and looping through operands to find RegMask is also included in method ? > -Vivek I expect your code to be the only user of such a function so I would not add it to...
2016 May 28
0
Updating RegMask inline
...provide some more details on >>> updating cached RegMask in various other class. >>> >>> Add a method "setOperandMask()" in class MachineOperand, and then when >>> you find a call you just walk all the operands till you find one which >>> "isRegMask()" at which point you can update it. >>> >>> Ok. >> > > Is it ok to add "setRegMaskOperand()" in class MI and looping through > operands to find RegMask is also included in method ? > -Vivek > > > I expect your code to be the only user of...
2016 May 28
1
Updating RegMask inline
...nds array in MI? Also provide some more details on updating cached RegMask in various other class. >>>>> >>>>> Add a method "setOperandMask()" in class MachineOperand, and then when you find a call you just walk all the operands till you find one which "isRegMask()" at which point you can update it. >>>> >>>> Ok. >>> >>> Is it ok to add "setRegMaskOperand()" in class MI and looping through operands to find RegMask is also included in method ? >>> -Vivek >> >> I expect your code...
2016 May 28
0
Updating RegMask inline
On Sat, May 28, 2016 at 7:33 AM, Matthias Braun <matze at braunis.de> wrote: > static void setXXX(MachineInstr &MI, ...) { > for (MachineOperand &MO : MI.operands()) { > if (MO.isRegMask()) > MO.setRegMask(...); > } > } > > Ok this is what Mehdi Amini suggested. I will do that, but just to note this will add method to MO so this change is not completely contained in IPRA files. Vivek > On May 27, 2016, at 7:02 PM, vivek pandya via llvm-dev < > llvm-dev at l...
2016 May 27
3
Updating RegMask inline
...position in Operands array in MI? Also provide some more details on > updating cached RegMask in various other class. > > Add a method "setOperandMask()" in class MachineOperand, and then when you > find a call you just walk all the operands till you find one which > "isRegMask()" at which point you can update it. > > Ok. -Vivek > -- > Mehdi > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160528/60d892f4/attachment.html>
2016 May 28
0
Updating RegMask inline
...s array in MI? Also provide some more details on >> updating cached RegMask in various other class. >> >> Add a method "setOperandMask()" in class MachineOperand, and then when >> you find a call you just walk all the operands till you find one which >> "isRegMask()" at which point you can update it. >> >> Ok. > Is it ok to add "setRegMaskOperand()" in class MI and looping through operands to find RegMask is also included in method ? -Vivek > -Vivek > >> -- >> Mehdi >> >> >> > ---------...
2016 May 27
0
Updating RegMask inline
...to have RegMask at fixed position in Operands array in MI? Also provide some more details on updating cached RegMask in various other class. Add a method "setOperandMask()" in class MachineOperand, and then when you find a call you just walk all the operands till you find one which "isRegMask()" at which point you can update it. -- Mehdi
2016 May 27
2
Updating RegMask inline
Hello Mentors, I have completed writing simple register mask calculator pass, an immutable pass that stores RegMasks and provides API to query them, and a target specific pass for X86 target which currently iterates through all MI in given MF and if a call instruction is found then it quires for RegMask to Immutable pass and prints which registers are clobbered and preserved as per actual
2016 May 28
1
Updating RegMask inline
...osition in Operands array in MI? Also provide some more details on updating cached RegMask in various other class. >>> >>> Add a method "setOperandMask()" in class MachineOperand, and then when you find a call you just walk all the operands till you find one which "isRegMask()" at which point you can update it. >> >> Ok. > > Is it ok to add "setRegMaskOperand()" in class MI and looping through operands to find RegMask is also included in method ? With this behavior I'd expect the method to be named updateRegMask... Also, what is...