Add C backend to llc in Visual Studio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2005-01-04 06:01:55 +00:00
parent b9befc5179
commit 3af72e79ba
4 changed files with 180 additions and 17 deletions

View File

@ -163,6 +163,31 @@
<File
RelativePath="..\..\lib\Analysis\ValueNumbering.cpp">
</File>
<Filter
Name="IPA"
Filter="">
<File
RelativePath="..\..\lib\Analysis\Ipa\Andersens.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\Ipa\CallGraph.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\Ipa\CallGraphSCCPass.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\Ipa\FindUnsafePointerTypes.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\Ipa\FindUsedTypes.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\Ipa\GlobalsModRef.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\Ipa\PrintSCC.cpp">
</File>
</Filter>
</Filter>
<Filter
Name="Header Files"
@ -183,24 +208,9 @@
<File
RelativePath="..\..\include\llvm\Analysis\ConstantsScanner.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DataStructure.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\Dominators.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraph.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraphTraits.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSNode.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSSupport.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\Expressions.h">
</File>
@ -255,6 +265,25 @@
<File
RelativePath="..\..\include\llvm\Analysis\Verifier.h">
</File>
<Filter
Name="DataStructure"
Filter="">
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DataStructure.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraph.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraphTraits.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSNode.h">
</File>
<File
RelativePath="..\..\include\llvm\Analysis\DataStructure\DSSupport.h">
</File>
</Filter>
</Filter>
</Files>
<Globals>

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="CBackend"
ProjectGUID="{057777CD-DED5-46DF-BF9A-6B76DE212549}"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="Debug"
IntermediateDirectory="Debug"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\include;.."
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
BrowseInformation="1"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)/CBackend.lib"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="Release"
IntermediateDirectory="Release"
ConfigurationType="4"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\include;.."
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;__STDC_LIMIT_MACROS"
RuntimeLibrary="2"
ForceConformanceInForLoopScope="TRUE"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="3"
DisableSpecificWarnings="4146,4800"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)/CBackend.lib"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
<File
RelativePath="..\..\lib\Target\CBackend\Writer.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
<File
RelativePath="..\..\lib\Target\CBackend\CTargetMachine.h">
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -36,7 +36,7 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj $(SolutionDir)\CBackend\$(IntDir)\Writer.obj"
OutputFile="$(OutDir)/llc.exe"
LinkIncremental="2"
GenerateDebugInformation="TRUE"
@ -87,7 +87,7 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj $(SolutionDir)\CBackend\$(IntDir)\Writer.obj"
OutputFile="$(OutDir)/llc.exe"
LinkIncremental="1"
GenerateDebugInformation="TRUE"

View File

@ -93,6 +93,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "llc", "llc\llc.vcproj", "{A
{28AA9146-3482-4F41-9CC6-407B1D258508} = {28AA9146-3482-4F41-9CC6-407B1D258508}
{F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61} = {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61}
{059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4} = {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}
{057777CD-DED5-46DF-BF9A-6B76DE212549} = {057777CD-DED5-46DF-BF9A-6B76DE212549}
{45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}
{0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
{144EEBF6-8C9B-4473-B715-2C821666AF6C} = {144EEBF6-8C9B-4473-B715-2C821666AF6C}
@ -157,6 +158,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Linker", "Linker\Linker.vcp
{0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CBackend", "CBackend\CBackend.vcproj", "{057777CD-DED5-46DF-BF9A-6B76DE212549}"
ProjectSection(ProjectDependencies) = postProject
{19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
@ -251,6 +257,10 @@ Global
{342CF48F-760A-4040-A9A1-7D75AA2471CE}.Debug.Build.0 = Debug|Win32
{342CF48F-760A-4040-A9A1-7D75AA2471CE}.Release.ActiveCfg = Release|Win32
{342CF48F-760A-4040-A9A1-7D75AA2471CE}.Release.Build.0 = Release|Win32
{057777CD-DED5-46DF-BF9A-6B76DE212549}.Debug.ActiveCfg = Debug|Win32
{057777CD-DED5-46DF-BF9A-6B76DE212549}.Debug.Build.0 = Debug|Win32
{057777CD-DED5-46DF-BF9A-6B76DE212549}.Release.ActiveCfg = Release|Win32
{057777CD-DED5-46DF-BF9A-6B76DE212549}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection