forked from OSchip/llvm-project
632ebc4ab4
This untangles the MCContext and the MCObjectFileInfo. There is a circular dependency between MCContext and MCObjectFileInfo. Currently this dependency also exists during construction: You can't contruct a MOFI without a MCContext without constructing the MCContext with a dummy version of that MOFI first. This removes this dependency during construction. In a perfect world, MCObjectFileInfo wouldn't depend on MCContext at all, but only be stored in the MCContext, like other MC information. This is future work. This also shifts/adds more information to the MCContext making it more available to the different targets. Namely: - TargetTriple - ObjectFileType - SubtargetInfo Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D101462 |
||
---|---|---|
.. | ||
AArch64 | ||
Mips | ||
PowerPC | ||
X86 | ||
Analysis.cpp | ||
Analysis.h | ||
Assembler.cpp | ||
Assembler.h | ||
BenchmarkCode.h | ||
BenchmarkResult.cpp | ||
BenchmarkResult.h | ||
BenchmarkRunner.cpp | ||
BenchmarkRunner.h | ||
CMakeLists.txt | ||
Clustering.cpp | ||
Clustering.h | ||
CodeTemplate.cpp | ||
CodeTemplate.h | ||
Error.cpp | ||
Error.h | ||
LatencyBenchmarkRunner.cpp | ||
LatencyBenchmarkRunner.h | ||
LlvmState.cpp | ||
LlvmState.h | ||
MCInstrDescView.cpp | ||
MCInstrDescView.h | ||
ParallelSnippetGenerator.cpp | ||
ParallelSnippetGenerator.h | ||
PerfHelper.cpp | ||
PerfHelper.h | ||
RegisterAliasing.cpp | ||
RegisterAliasing.h | ||
RegisterValue.cpp | ||
RegisterValue.h | ||
SchedClassResolution.cpp | ||
SchedClassResolution.h | ||
SerialSnippetGenerator.cpp | ||
SerialSnippetGenerator.h | ||
SnippetFile.cpp | ||
SnippetFile.h | ||
SnippetGenerator.cpp | ||
SnippetGenerator.h | ||
SnippetRepetitor.cpp | ||
SnippetRepetitor.h | ||
Target.cpp | ||
Target.h | ||
TargetSelect.h | ||
UopsBenchmarkRunner.cpp | ||
UopsBenchmarkRunner.h |