1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/lib/ExecutionEngine
Reid Kleckner 80428fb35f Avoid including FileSystem.h from MemoryBuffer.h
Lots of headers pass around MemoryBuffer objects, but very few open
them. Let those that do include FileSystem.h.

Saves ~250 includes of Chrono.h & FileSystem.h:

$ diff -u thedeps-before.txt thedeps-after.txt | grep '^[-+] ' | sort | uniq -c | sort -nr
    254 -    ../llvm/include/llvm/Support/FileSystem.h
    253 -    ../llvm/include/llvm/Support/Chrono.h
    237 -    ../llvm/include/llvm/Support/NativeFormatting.h
    237 -    ../llvm/include/llvm/Support/FormatProviders.h
    192 -    ../llvm/include/llvm/ADT/StringSwitch.h
    190 -    ../llvm/include/llvm/Support/FormatVariadicDetails.h
...

This requires duplicating the file_t typedef, which is unfortunate. I
sunk the choice of mapping mode down into the cpp file using variable
template specializations instead of class members in headers.
2020-02-29 12:30:23 -08:00
..
IntelJITEvents [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
Interpreter Make StringRef's std::string conversion operator explicit 2020-02-01 15:43:45 +01:00
JITLink [JITLink] Add a MachO x86-64 GOT and Stub bypass optimization. 2020-02-23 23:38:31 -08:00
MCJIT Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
OProfileJIT [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
Orc Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
OrcError [ORC] Add errors for missing and extraneous symbol definitions. 2020-02-22 11:49:14 -08:00
PerfJITEvents Make StringRef's std::string conversion operator explicit 2020-02-01 15:43:45 +01:00
RuntimeDyld [ExecutionEngine] Add JITSymbolFlags::fromSummary(GlobalValueSummary*) 2020-02-29 11:54:03 +00:00
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
ExecutionEngine.cpp [AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction 2020-02-13 17:06:24 -08:00
ExecutionEngineBindings.cpp [MCJIT] Migrate function attribute "no-frame-pointer-elim" to "frame-pointer" 2019-12-24 17:12:21 -08:00
GDBRegistrationListener.cpp
LLVMBuild.txt Break out OrcError and RPC 2019-10-29 17:31:28 -07:00
SectionMemoryManager.cpp
TargetSelect.cpp [ExecutionEngine] Re-enable FastISel for non-iOS arm targets. 2020-01-11 10:49:59 -08:00