search for: dupnod

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

Did you mean: dupnode
2012 Dec 02
2
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
Hi, Joseph, I guess getLoad() will either search an existed SDValue *OR* create a new one for a non-existed one depending on real parameters. Since you use exactly the same attributes dupVal/dupNode have, no doubt getLoad() return the old one. I am not sure it's *volatile* that let you get a new result, you might want to try change some other parameters and check what it turns out. Regards. 2012/12/2 Joseph Pusdesris <joe at pusdesris.com> > > So I think I have made some pr...
2012 Dec 02
0
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
So I think I have made some progress. SDValue dupVal = consumer->getOperand(OpNo); LoadSDNode *dupNode = (LoadSDNode*) dupVal.getNode(); SDValue newLoad = CurDAG->getLoad(dupVal.getValueType(), dupVal.getDebugLoc(), dupVal.getOperand(0), dupVal.getOperand(1), dupNode->getPointerInfo(), dupNode->is...
2012 Dec 01
2
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
Hi, I am writing an llvm target and I need both loads for isel reasons, but I am struggling to find the right way. I have been trying to use DAG.getLoad() to make a copy, then just change the operand in the consumers, but I cannot seem to get all of the arguments needed for that function in order to make the copy. Any help would be great, thanks! -Joe -------------- next part -------------- An
2012 Dec 02
0
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
...Sat, Dec 1, 2012 at 10:57 PM, Triple Yang <triple.yang at gmail.com> wrote: > Hi, Joseph, I guess getLoad() will either search an existed SDValue > *OR* create a new one for a non-existed one depending on real > parameters. > > Since you use exactly the same attributes dupVal/dupNode have, no > doubt getLoad() return the old one. > > I am not sure it's *volatile* that let you get a new result, you might > want to try change some other parameters and check what it turns out. > > Regards. > > 2012/12/2 Joseph Pusdesris <joe at pusdesris.com> &gt...
2012 Dec 02
2
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
...M, Triple Yang <triple.yang at gmail.com> wrote: >> >> Hi, Joseph, I guess getLoad() will either search an existed SDValue >> *OR* create a new one for a non-existed one depending on real >> parameters. >> >> Since you use exactly the same attributes dupVal/dupNode have, no >> doubt getLoad() return the old one. >> >> I am not sure it's *volatile* that let you get a new result, you might >> want to try change some other parameters and check what it turns out. >> >> Regards. >> >> 2012/12/2 Joseph Pusdesris...
2012 Dec 02
2
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
...>> >> >> >> Hi, Joseph, I guess getLoad() will either search an existed SDValue >> >> *OR* create a new one for a non-existed one depending on real >> >> parameters. >> >> >> >> Since you use exactly the same attributes dupVal/dupNode have, no >> >> doubt getLoad() return the old one. >> >> >> >> I am not sure it's *volatile* that let you get a new result, you might >> >> want to try change some other parameters and check what it turns out. >> >> >> >>...
2012 Dec 02
0
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
...mail.com> > wrote: > >> > >> Hi, Joseph, I guess getLoad() will either search an existed SDValue > >> *OR* create a new one for a non-existed one depending on real > >> parameters. > >> > >> Since you use exactly the same attributes dupVal/dupNode have, no > >> doubt getLoad() return the old one. > >> > >> I am not sure it's *volatile* that let you get a new result, you might > >> want to try change some other parameters and check what it turns out. > >> > >> Regards. > >> &...
2012 Dec 02
0
[LLVMdev] Splitting a load with 2 consumers into 2 loads.
...gt;> >> Hi, Joseph, I guess getLoad() will either search an existed SDValue > >> >> *OR* create a new one for a non-existed one depending on real > >> >> parameters. > >> >> > >> >> Since you use exactly the same attributes dupVal/dupNode have, no > >> >> doubt getLoad() return the old one. > >> >> > >> >> I am not sure it's *volatile* that let you get a new result, you > might > >> >> want to try change some other parameters and check what it turns out. > >&g...