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