Displaying 8 results from an estimated 8 matches for "setregmaskoperand".
2016 May 28
0
Updating RegMask inline
...ss.
>>
>> 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
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llv...
2016 May 28
3
Updating RegMask inline
...egMask 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 MachineInstr but keep the code local in your pass for now (you can add a static helper function in the .cpp...
2016 May 27
3
Updating RegMask inline
On Sat, May 28, 2016 at 12:21 AM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> > On May 27, 2016, at 11:49 AM, vivek pandya <vivekvpandya at gmail.com>
> wrote:
> >
> > 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
>
2016 May 28
0
Updating RegMask inline
...ethod "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 MachineInstr but keep the code local in your pass for now (you
> can add a static...
2016 May 28
1
Updating RegMask inline
...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 the semantic if there is no regmask?
--
Mehdi
> -Vivek
>
>
>> -Vivek
>>> --
>>...
2016 May 28
2
Updating RegMask inline
...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 MachineInstr but keep the code local in your pass for now (you can add a static helper functio...
2016 May 28
1
Updating RegMask inline
...; 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 MachineInstr but keep the code local in your pass for now (you can add a static he...
2016 May 28
0
Updating RegMask inline
..." 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 MachineInstr but keep the code local in your pass for now (y...