1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

llvm/lib: [CMake] Add explicit dependency to intrinsics_gen.

llvm-svn: 159112
This commit is contained in:
NAKAMURA Takumi 2012-06-24 13:32:01 +00:00
parent 409cab2a0a
commit 4599dee67a
24 changed files with 47 additions and 0 deletions

View File

@ -59,4 +59,6 @@ add_llvm_library(LLVMAnalysis
ValueTracking.cpp
)
add_dependencies(LLVMAnalysis intrinsics_gen)
add_subdirectory(IPA)

View File

@ -5,3 +5,5 @@ add_llvm_library(LLVMipa
GlobalsModRef.cpp
IPA.cpp
)
add_dependencies(LLVMipa intrinsics_gen)

View File

@ -2,3 +2,5 @@ add_llvm_library(LLVMBitReader
BitReader.cpp
BitcodeReader.cpp
)
add_dependencies(LLVMBitReader intrinsics_gen)

View File

@ -104,5 +104,7 @@ add_llvm_library(LLVMCodeGen
VirtRegMap.cpp
)
add_dependencies(LLVMCodeGen intrinsics_gen)
add_subdirectory(SelectionDAG)
add_subdirectory(AsmPrinter)

View File

@ -23,3 +23,5 @@ add_llvm_library(LLVMSelectionDAG
TargetLowering.cpp
TargetSelectionDAGInfo.cpp
)
add_dependencies(LLVMSelectionDAG intrinsics_gen)

View File

@ -15,3 +15,5 @@ add_llvm_library(LLVMInterpreter
if( LLVM_ENABLE_FFI )
target_link_libraries( LLVMInterpreter ${FFI_LIBRARY_PATH} )
endif()
add_dependencies(LLVMInterpreter intrinsics_gen)

View File

@ -49,6 +49,8 @@ add_llvm_target(ARMCodeGen
Thumb2SizeReduction.cpp
)
add_dependencies(LLVMARMCodeGen intrinsics_gen)
# workaround for hanging compilation on MSVC9, 10
if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
set_property(

View File

@ -24,5 +24,7 @@ add_llvm_target(CellSPUCodeGen
SPUNopFiller.cpp
)
add_dependencies(LLVMCellSPUCodeGen intrinsics_gen)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)

View File

@ -32,6 +32,8 @@ add_llvm_target(HexagonCodeGen
HexagonNewValueJump.cpp
)
add_dependencies(LLVMHexagonCodeGen intrinsics_gen)
add_subdirectory(TargetInfo)
add_subdirectory(InstPrinter)
add_subdirectory(MCTargetDesc)

View File

@ -30,6 +30,8 @@ add_llvm_target(MBlazeCodeGen
MBlazeELFWriterInfo.cpp
)
add_dependencies(LLVMMBlazeCodeGen intrinsics_gen)
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
add_subdirectory(InstPrinter)

View File

@ -23,6 +23,8 @@ add_llvm_target(MSP430CodeGen
MSP430MCInstLower.cpp
)
add_dependencies(LLVMMSP430CodeGen intrinsics_gen)
add_subdirectory(InstPrinter)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)

View File

@ -32,6 +32,8 @@ add_llvm_target(MipsCodeGen
MipsSelectionDAGInfo.cpp
)
add_dependencies(LLVMMipsCodeGen intrinsics_gen)
add_subdirectory(InstPrinter)
add_subdirectory(Disassembler)
add_subdirectory(TargetInfo)

View File

@ -27,6 +27,7 @@ set(NVPTXCodeGen_sources
add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
add_dependencies(LLVMNVPTXCodeGen intrinsics_gen)
add_subdirectory(TargetInfo)
add_subdirectory(InstPrinter)

View File

@ -29,6 +29,8 @@ add_llvm_target(PowerPCCodeGen
PPCSelectionDAGInfo.cpp
)
add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
add_subdirectory(InstPrinter)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)

View File

@ -23,5 +23,7 @@ add_llvm_target(SparcCodeGen
SparcSelectionDAGInfo.cpp
)
add_dependencies(LLVMSparcCodeGen intrinsics_gen)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)

View File

@ -52,6 +52,8 @@ endif()
add_llvm_target(X86CodeGen ${sources})
add_dependencies(LLVMX86CodeGen intrinsics_gen)
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
add_subdirectory(InstPrinter)

View File

@ -22,5 +22,7 @@ add_llvm_target(XCoreCodeGen
XCoreSelectionDAGInfo.cpp
)
add_dependencies(LLVMXCoreCodeGen intrinsics_gen)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)

View File

@ -20,3 +20,5 @@ add_llvm_library(LLVMipo
StripDeadPrototypes.cpp
StripSymbols.cpp
)
add_dependencies(LLVMipo intrinsics_gen)

View File

@ -13,3 +13,5 @@ add_llvm_library(LLVMInstCombine
InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp
)
add_dependencies(LLVMInstCombine intrinsics_gen)

View File

@ -9,3 +9,5 @@ add_llvm_library(LLVMInstrumentation
ProfilingUtils.cpp
ThreadSanitizer.cpp
)
add_dependencies(LLVMInstrumentation intrinsics_gen)

View File

@ -33,3 +33,5 @@ add_llvm_library(LLVMScalarOpts
Sink.cpp
TailRecursionElimination.cpp
)
add_dependencies(LLVMScalarOpts intrinsics_gen)

View File

@ -29,3 +29,5 @@ add_llvm_library(LLVMTransformUtils
Utils.cpp
ValueMapper.cpp
)
add_dependencies(LLVMTransformUtils intrinsics_gen)

View File

@ -2,3 +2,5 @@ add_llvm_library(LLVMVectorize
BBVectorize.cpp
Vectorize.cpp
)
add_dependencies(LLVMVectorize intrinsics_gen)

View File

@ -45,3 +45,5 @@ set_property(
PROPERTY COMPILE_FLAGS "/Og-"
)
endif()
add_dependencies(LLVMCore intrinsics_gen)