search for: optremark

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

Did you mean: optremarks
2020 Sep 30
2
[RFC] Framework for Finding and Using Similarity at the IR Level
...][IROutliner] Adding support for consolidating functions with different output arguments. > Merging Output Blocks: [IRSim][IROutliner] Merging output blocks for extracted functions with outputs > Cost Model: [IRSim][IROutliner] Adding a cost model, and debug option to turn the model off. > OptRemarks: [IRSim][IROutliner] Adding OptRemarks for the IROutliner. > Function Attribute Merging: [IRSim][IROutliner] Adding consistent function attribute merging > DebugInfo Handling: [IRSim][IROutliner] Adding DebugInfo handling for IR outlined functions. > Outlining from linkonceodr: [IRSim][IR...
2020 Sep 02
2
[RFC] Framework for Finding and Using Similarity at the IR Level
Indeed, an awesome project and an excellent report! Code size doesn't really get much attention, so the level of detail and the strong roadmap is refreshing. Hopefully, the project will provide execution times along with code-size > reductions. > I doubt it. Outlining will (almost?) always make for slower code due to a lot more calls being made. But that's ok for embedded targets,
2020 Sep 30
2
[RFC] Framework for Finding and Using Similarity at the IR Level
...t for consolidating functions with different output arguments. > >> Merging Output Blocks: [IRSim][IROutliner] Merging output blocks for extracted functions with outputs > >> Cost Model: [IRSim][IROutliner] Adding a cost model, and debug option to turn the model off. > >> OptRemarks: [IRSim][IROutliner] Adding OptRemarks for the IROutliner. > >> Function Attribute Merging: [IRSim][IROutliner] Adding consistent function attribute merging > >> DebugInfo Handling: [IRSim][IROutliner] Adding DebugInfo handling for IR outlined functions. > >> Outlining f...
2020 Jan 06
2
Question about opt-report strings
...urn OptimizationRemark(DEBUG_TYPE, diag::remark_gvn_load_elim, LI) << NV("Type", LI->getType()) << setExtraArgs() << NV("InfavorOfValue", AvailableValue); }); with a tablegen file somewhere containing this: def remark_gvn_load_elim: OptRemark< "LoadElim", // RemarkName (if this is needed for YAML output or whatever) "load of type %0 eliminated", // Base format string for the remark (%Type instead of %0 maybe?) "in favor of %1">; // Extra args format string for ver...
2020 Sep 01
2
[RFC] Framework for Finding and Using Similarity at the IR Level
...similarity at the IR level. It has an internal representation that can be accessed via an analysis, allowing for easy access by other transformation and analysis passes that want to leverage detected similarity within a program. It can also be easily serialized into a file format like JSON, or as OptRemarks. In the future, a more advanced notion of similarity could be used, and would it be relatively simple to swap a new detection algorithm into the similarity framework. At present, there have been two different applications developed on top of this framework. The first is a similarity visualizer t...