search for: nottibase

Displaying 1 result from an estimated 1 matches for "nottibase".

2013 Jan 30
2
[LLVMdev] InstMetrics would look a lot like NoTTI
...r is bad. There should be a less subtle/confusing way. I like the implementation currently in NoTTI and want to avoid scattering code. There are two easy possibilities: 1) I could create a NoTTI pass wrapper so that NoTTI can be used as a utility in addition to part of the analysis group: struct NoTTIBase : TargetTransformInfo { ... all the TTI hooks ... }; struct NoTTI : ImmutablePass, NoTTIBase { ... pass interface ... }; Create a new Analysis/InstMetrics.(h|cpp) to expose only the queries that No-TTI passes are allowed to use. Instatiate a NoTTI instance on-the-fly 2) I could move the Targe...