Commit graph

7 commits

Author SHA1 Message Date
Johan Engelen
1da088330d
Add basic clang-like support for XRay, through -fxray-instrument and -fxray-instruction-threshold=. (#2465)
Currently only fully working on Linux.
See https://llvm.org/docs/XRay.html
2018-01-23 22:06:05 +01:00
Johan Engelen
8e0e688f5b
Explicitly pass triple to option initialization routine. [NFC] (#2533)
This removes the dependency on the global parameter / makes the dependency much more explicit.
2018-01-22 21:45:51 +01:00
Johan Engelen
e8e28b33b2 PGO: Add IR-based PGO. 2018-01-16 00:02:49 +01:00
Johan Engelen
3ec79179b4 PGO: refactor such that there can be IR-based and frontend-based PGO. 2018-01-15 23:59:14 +01:00
Johan Engelen
f2d9ff3424
Add DMD-style function trace profiling. (#2477) 2018-01-14 22:22:59 +01:00
Johan Engelen
f86e33f1d0
Remove LDC_WITH_PGO. (#2476)
It's no longer needed, all our builds have it set to true.
2017-12-29 23:54:32 +01:00
Johan Engelen
7e7de7a69e
Move instrumentation options into their own .h/.cpp files. (#2472) 2017-12-28 11:44:51 +01:00