mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
7bf73bd378
Add a -verify-use-list-order pass, which shuffles use-list order, writes to bitcode, reads back, and verifies that the (shuffled) order matches. - The utility functions live in lib/IR/UseListOrder.cpp. - Moved (and renamed) the command-line option to enable writing use-lists, so that this pass can return early if the use-list orders aren't being serialized. It's not clear that this pass is the right direction long-term (perhaps a separate tool instead?), but short-term it's a great way to test the use-list order prototype. I've added an XFAIL-ed testcase that I'm hoping to get working pretty quickly. This is part of PR5680. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213945 91177308-0d34-0410-b5e6-96231b3b80d8
51 lines
843 B
CMake
51 lines
843 B
CMake
add_llvm_library(LLVMCore
|
|
AsmWriter.cpp
|
|
Attributes.cpp
|
|
AutoUpgrade.cpp
|
|
BasicBlock.cpp
|
|
Comdat.cpp
|
|
ConstantFold.cpp
|
|
ConstantRange.cpp
|
|
Constants.cpp
|
|
Core.cpp
|
|
DIBuilder.cpp
|
|
DataLayout.cpp
|
|
DebugInfo.cpp
|
|
DebugLoc.cpp
|
|
DiagnosticInfo.cpp
|
|
DiagnosticPrinter.cpp
|
|
Dominators.cpp
|
|
Function.cpp
|
|
GCOV.cpp
|
|
GVMaterializer.cpp
|
|
Globals.cpp
|
|
IRBuilder.cpp
|
|
IRPrintingPasses.cpp
|
|
InlineAsm.cpp
|
|
Instruction.cpp
|
|
Instructions.cpp
|
|
IntrinsicInst.cpp
|
|
LLVMContext.cpp
|
|
LLVMContextImpl.cpp
|
|
LeakDetector.cpp
|
|
LegacyPassManager.cpp
|
|
MDBuilder.cpp
|
|
Mangler.cpp
|
|
Metadata.cpp
|
|
Module.cpp
|
|
Pass.cpp
|
|
PassManager.cpp
|
|
PassRegistry.cpp
|
|
Type.cpp
|
|
TypeFinder.cpp
|
|
Use.cpp
|
|
UseListOrder.cpp
|
|
User.cpp
|
|
Value.cpp
|
|
ValueSymbolTable.cpp
|
|
ValueTypes.cpp
|
|
Verifier.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMCore intrinsics_gen)
|