2008-10-22 02:51:53 +00:00
|
|
|
add_llvm_library(LLVMCore
|
2008-09-22 01:08:49 +00:00
|
|
|
AsmWriter.cpp
|
2008-09-24 01:58:12 +00:00
|
|
|
Attributes.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
AutoUpgrade.cpp
|
|
|
|
BasicBlock.cpp
|
|
|
|
ConstantFold.cpp
|
|
|
|
Constants.cpp
|
|
|
|
Core.cpp
|
2013-12-17 17:47:22 +00:00
|
|
|
DiagnosticInfo.cpp
|
|
|
|
DiagnosticPrinter.cpp
|
2013-11-09 12:26:54 +00:00
|
|
|
DIBuilder.cpp
|
2012-10-04 22:08:14 +00:00
|
|
|
DataLayout.cpp
|
2012-06-28 00:18:12 +00:00
|
|
|
DebugInfo.cpp
|
2011-10-04 18:22:24 +00:00
|
|
|
DebugLoc.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Dominators.cpp
|
|
|
|
Function.cpp
|
2011-10-04 18:22:24 +00:00
|
|
|
GCOV.cpp
|
2010-01-27 20:44:12 +00:00
|
|
|
GVMaterializer.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Globals.cpp
|
2010-01-27 20:44:12 +00:00
|
|
|
IRBuilder.cpp
|
2014-01-09 02:39:45 +00:00
|
|
|
IRPrintingPasses.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
InlineAsm.cpp
|
|
|
|
Instruction.cpp
|
|
|
|
Instructions.cpp
|
|
|
|
IntrinsicInst.cpp
|
2009-06-30 00:48:55 +00:00
|
|
|
LLVMContext.cpp
|
2010-03-21 21:17:34 +00:00
|
|
|
LLVMContextImpl.cpp
|
2009-07-15 21:08:16 +00:00
|
|
|
LeakDetector.cpp
|
2013-11-09 12:26:54 +00:00
|
|
|
LegacyPassManager.cpp
|
2014-01-07 21:19:40 +00:00
|
|
|
Mangler.cpp
|
2009-07-28 21:49:47 +00:00
|
|
|
Metadata.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Module.cpp
|
|
|
|
Pass.cpp
|
2013-11-13 01:12:08 +00:00
|
|
|
PassManager.cpp
|
2010-07-20 18:39:06 +00:00
|
|
|
PassRegistry.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Type.cpp
|
2012-08-03 00:30:35 +00:00
|
|
|
TypeFinder.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Use.cpp
|
2011-01-16 08:10:57 +00:00
|
|
|
User.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Value.cpp
|
|
|
|
ValueSymbolTable.cpp
|
|
|
|
ValueTypes.cpp
|
|
|
|
Verifier.cpp
|
|
|
|
)
|
2012-06-24 03:48:29 +00:00
|
|
|
|
|
|
|
# Workaround: It takes over 20 minutes to compile with msvc10.
|
|
|
|
# FIXME: Suppressing optimizations to core libraries would not be good thing.
|
2012-08-30 16:22:26 +00:00
|
|
|
if( MSVC_VERSION LESS 1700 )
|
2012-06-24 03:48:29 +00:00
|
|
|
set_property(
|
|
|
|
SOURCE Function.cpp
|
|
|
|
PROPERTY COMPILE_FLAGS "/Og-"
|
|
|
|
)
|
|
|
|
endif()
|
2012-06-24 13:32:01 +00:00
|
|
|
|
|
|
|
add_dependencies(LLVMCore intrinsics_gen)
|