Displaying 3 results from an estimated 3 matches for "pdef".
Did you mean:
def
2015 Jun 10
3
[LLVMdev] The use iterator not working...
Hi,
I'm having a problem with the use iterator. Each "use" that I see, when
using the use_iterator, is the same as the "def". Meaning, in the code
below the pDef is always equal to pUse pointer for every instruction in all
basic blocks (except terminators).
for (auto i = inst_begin(f), ie = inst_end(f); i != ie; ++i)
Instruction* pDef = &(*i);
errs() << "Def: " << *pDef << "\...
2015 Jun 10
4
[LLVMdev] The use iterator not working...
...com>
wrote:
>
>
> On 6/9/15 8:02 PM, Zack Waters wrote:
>
>> Hi,
>>
>> I'm having a problem with the use iterator. Each "use" that I see, when
>> using the use_iterator, is the same as the "def". Meaning, in the code
>> below the pDef is always equal to pUse pointer for every instruction in
>> all basic blocks (except terminators).
>>
>> for (auto i = inst_begin(f), ie = inst_end(f); i != ie; ++i)
>> Instruction* pDef = &(*i);
>> errs() << &qu...
2015 Jun 10
2
[LLVMdev] The use iterator not working...
...ers wrote:
> >>>
> >>> Hi,
> >>>
> >>> I'm having a problem with the use iterator. Each "use" that I see, when
> >>> using the use_iterator, is the same as the "def". Meaning, in the code
> >>> below the pDef is always equal to pUse pointer for every instruction in
> >>> all basic blocks (except terminators).
> >>>
> >>> for (auto i = inst_begin(f), ie = inst_end(f); i != ie;
> ++i)
> >>> Instruction* pDef = &(*i);
>...