search for: basictansforminfoclass

Displaying 5 results from an estimated 5 matches for "basictansforminfoclass".

2013 Mar 22
4
[LLVMdev] proposed change to class BasicTTI
Just realized that BasicTransformInfoClass is an immutable pass. Not sure how to reconcile this with fact that there will be different answers needed depending on the subtarget. Seems like BasicTansformInfoClass should become a function pass that does not modify anything. On 03/22/2013 09:43 AM, Reed Kotler wrote: > Another way to do this would to be to have a reset virtual function > which is passed the Function, and the address of TLI so that it could be > modified. > > This seems somew...
2013 Mar 22
0
[LLVMdev] proposed change to class BasicTTI
...adav On Mar 22, 2013, at 11:30 AM, Reed Kotler <rkotler at mips.com> wrote: > Just realized that BasicTransformInfoClass is an immutable pass. > > Not sure how to reconcile this with fact that there will be different answers needed depending on the subtarget. > > Seems like BasicTansformInfoClass should become a function pass that does not modify anything. > > On 03/22/2013 09:43 AM, Reed Kotler wrote: >> Another way to do this would to be to have a reset virtual function >> which is passed the Function, and the address of TLI so that it could be >> modified. >&...
2013 Mar 22
0
[LLVMdev] proposed change to class BasicTTI
Another way to do this would to be to have a reset virtual function which is passed the Function, and the address of TLI so that it could be modified. This seems somewhat cleaner. The reset virtual function would be added to base class TargetLoweringBase. On 03/22/2013 09:22 AM, reed kotler wrote: > For being able to change subtargets within a compilation unit, among > other things, I
2013 Mar 22
2
[LLVMdev] proposed change to class BasicTTI
For being able to change subtargets within a compilation unit, among other things, I need to be able to change the target lowering class that is used by BasicTTI For example we have a mips16 and non mips16 version. On the original call that creates this class, I'd like to pass the address of the address of the TargetLoweringBase class. That way I can insert a function pass before this
2013 Mar 28
3
[LLVMdev] proposed change to class BasicTTI and dual mode mips16/32 working
...> <mailto:rkotler at mips.com>> wrote: > >> Just realized that BasicTransformInfoClass is an immutable pass. >> >> Not sure how to reconcile this with fact that there will be different >> answers needed depending on the subtarget. >> >> Seems like BasicTansformInfoClass should become a function pass that >> does not modify anything. >> >> On 03/22/2013 09:43 AM, Reed Kotler wrote: >>> Another way to do this would to be to have a reset virtual function >>> which is passed the Function, and the address of TLI so that it could be...