search for: dummyfam

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

Did you mean: dummyba
2017 Dec 15
2
RFC: Exposing TargetTransformInfo factories from TargetMachine
...to make architecture specific code generation decisions from the XLA LLVM IR emitter[0]. However, we don't have a great way to do this today -- TargetTransformInfo is wrapped in a TargetIRAnalysis and getting the TargetTransformInfo out of it requires something like: FunctionAnalysisManager DummyFAM; TTI = TIRA.run(F, DummyFAM); return *TTI; which isn't ideal. Given that all in-tree backends have a factory function to directly construct a TargetTransformInfo implementation anyway, what do you think about exposing said factory function from the TargetMachine subclasses directly? Some...