Unbreak VC++ build.
authorJeff Cohen <jeffc@jolt-lang.org>
Sun, 5 Nov 2006 19:31:28 +0000 (19:31 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sun, 5 Nov 2006 19:31:28 +0000 (19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31464 91177308-0d34-0410-b5e6-96231b3b80d8

37 files changed:
include/llvm/ADT/FoldingSet.h
include/llvm/Analysis/Dominators.h
include/llvm/Analysis/LoopInfo.h
include/llvm/Bytecode/Archive.h
include/llvm/CodeGen/MachineConstantPool.h
include/llvm/CodeGen/SelectionDAG.h
include/llvm/Support/Compressor.h
include/llvm/System/Path.h
include/llvm/Transforms/Utils/FunctionUtils.h
include/llvm/Transforms/Utils/PromoteMemToReg.h
lib/CodeGen/BranchFolding.cpp
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/System/Win32/Path.inc
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86RegisterInfo.h
lib/Transforms/Scalar/PredicateSimplifier.cpp
lib/Transforms/Utils/CloneFunction.cpp
tools/bugpoint/ExecutionDriver.cpp
tools/llvm-ld/llvm-ld.cpp
utils/TableGen/AsmWriterEmitter.cpp
utils/TableGen/CodeGenInstruction.h
utils/TableGen/FileLexer.l
utils/TableGen/InstrInfoEmitter.h
win32/Analysis/Analysis.vcproj
win32/CodeGen/CodeGen.vcproj
win32/Support/Support.vcproj
win32/System/System.vcproj
win32/Target/Target.vcproj
win32/Transforms/Transforms.vcproj
win32/VMCore/VMCore.vcproj
win32/analyze/analyze.vcproj
win32/bugpoint/bugpoint.vcproj
win32/config.h
win32/llvm.sln
win32/opt/opt.vcproj
win32/x86/x86.vcproj

index 1a9407108f0d494b35ceb34844da1f770fde8bd0..e99cf6fb3de5915af63ca6be7c46a1ac6ca245ce 100644 (file)
@@ -16,7 +16,9 @@
 #ifndef LLVM_ADT_FOLDINGSET_H
 #define LLVM_ADT_FOLDINGSET_H
 
+#include "llvm/Support/DataTypes.h"
 #include "llvm/ADT/SmallVector.h"
+#include <string>
 
 namespace llvm {
 
index 7cf825638de9fa14491b4841b2f70ea4f343b6e0..939300f8aca1598ec1970940fde619a31631b02d 100644 (file)
@@ -304,9 +304,9 @@ protected:
   Node *RootNode;
 public:
   class Node {
-    friend struct DominatorTree;
+    friend class DominatorTree;
     friend struct PostDominatorTree;
-    friend struct DominatorTreeBase;
+    friend class DominatorTreeBase;
     BasicBlock *TheBB;
     Node *IDom;
     std::vector<Node*> Children;
index b2bdde07d5cd75bda49f0714f2f2a5470aae31da..2f3fc47b977518b6d91f783ea4fabced9ebfcd33 100644 (file)
@@ -35,7 +35,7 @@
 
 namespace llvm {
 
-struct ETForest;
+class ETForest;
 class LoopInfo;
 class PHINode;
 class Instruction;
index 72942423cc2141b8126c0f1ec24b53d1ca0a2654..59d825a7224125ffca1cb93590aa3a5fed1ba010 100644 (file)
@@ -95,7 +95,7 @@ class ArchiveMember {
 
     /// @returns the size of the archive member in bytes.
     /// @brief Get the size of the archive member.
-    unsigned getSize() const             { return info.getSize(); }
+    uint64_t getSize() const             { return info.getSize(); }
 
     /// This method returns the total size of the archive member as it
     /// appears on disk. This includes the file content, the header, the
index 17ddcf18237443946986b3e21a65e8c14a7666a1..f45c8a7a8d3b49ac414a4d481037a7ff6aa4325e 100644 (file)
@@ -61,7 +61,8 @@ inline std::ostream &operator<<(std::ostream &OS,
 /// It contains a pointer to the value and an offset from the start of
 /// the constant pool.
 /// @brief An entry in a MachineConstantPool
-struct MachineConstantPoolEntry {
+class MachineConstantPoolEntry {
+public:
   /// The constant itself.
   union {
     Constant *ConstVal;
index b64b9c2143be4cfaeae1a2af4b6f389dae5a8194..2448a65ee6a8093128485ac5bd5ca9d2eb0fcb0e 100644 (file)
@@ -322,9 +322,9 @@ public:
 
   /// getStore - Helper function to build ISD::STORE nodes.
   ///
-  SDOperand getStore(SDOperand Chain, SDOperand Value, SDOperand Ptr,
+  SDOperand getStore(SDOperand Chain, SDOperand Val, SDOperand Ptr,
                      const Value *SV, int SVOffset, bool isVolatile=false);
-  SDOperand getTruncStore(SDOperand Chain, SDOperand Value, SDOperand Ptr,
+  SDOperand getTruncStore(SDOperand Chain, SDOperand Val, SDOperand Ptr,
                           const Value *SV, int SVOffset, MVT::ValueType TVT,
                           bool isVolatile=false);
   SDOperand getIndexedStore(SDOperand OrigStoe, SDOperand Base,
index 5e51721e669c56ebf8316e6458a84d26216e5928..52fb5d5b51b645be7768e3c04a17eeea424c4e07 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "llvm/Support/DataTypes.h"
 #include <iosfwd>
+#include <string>
 
 namespace llvm {
 
index 77a5cc54e3b1df0fc0f1636c01c15776a610eaf5..f6b2be0fdf9081e7664287cda526c8f1387d28f6 100644 (file)
@@ -47,7 +47,7 @@ namespace sys {
                    group(999), isDir(false) { }
     
     TimeValue getTimestamp() const { return modTime; }
-    size_t getSize() const { return fileSize; }
+    uint64_t getSize() const { return fileSize; }
     uint32_t getMode() const { return mode; }
     uint32_t getUser() const { return user; }
     uint32_t getGroup() const { return group; }
index d8610bba95f4598a3a44d753f2590912f98a552a..d6e486be99ba84cbd903bd707d7ddc0eb1cfc261 100644 (file)
@@ -18,7 +18,7 @@
 
 namespace llvm {
   class BasicBlock;
-  struct DominatorSet;
+  class DominatorSet;
   class Function;
   class Loop;
 
index 8d886f548775ae5911ba0ffd817de577d3419be9..44b11d7203ef5084b6d083f0bdb9437c54dfa615 100644 (file)
@@ -20,8 +20,8 @@
 namespace llvm {
 
 class AllocaInst;
-struct DominatorTree;
-struct DominanceFrontier;
+class DominatorTree;
+class DominanceFrontier;
 class TargetData;
 class AliasSetTracker;
 
index 97587d50122c64c88cf89942de87f42cff39bb59..fea03a5f407556b5e690a51e8d0dc075aee5e52a 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
+#include <algorithm>
 using namespace llvm;
 
 static Statistic<> NumDeadBlocks("branchfold", "Number of dead blocks removed");
index 5f1b5826e06b3a3bd7b2a2727fa9ebd97728e26f..03abac24503e3c405561f8390234ec220128d4a9 100644 (file)
@@ -383,7 +383,7 @@ namespace {
     bool isAlias(SDOperand Ptr1, int64_t Size1,
                  const Value *SrcValue1, int SrcValueOffset1,
                  SDOperand Ptr2, int64_t Size2,
-                 const Value *SrcValue2, int SrcValueOffset1);
+                 const Value *SrcValue2, int SrcValueOffset2);
                  
     /// FindAliasInfo - Extracts the relevant alias information from the memory
     /// node.  Returns true if the operand was a load.
index 6e69728ad3385c0c778dda2c7f17b59b9b029d1e..ef9e3f5a1b0f59622464abb74313d07d59bd67be 100644 (file)
@@ -1657,16 +1657,16 @@ SDOperand SelectionDAG::getVecLoad(unsigned Count, MVT::ValueType EVT,
   return getNode(ISD::VLOAD, getVTList(MVT::Vector, MVT::Other), Ops, 5);
 }
 
-SDOperand SelectionDAG::getStore(SDOperand Chain, SDOperand Value,
+SDOperand SelectionDAG::getStore(SDOperand Chain, SDOperand Val,
                                  SDOperand Ptr, const Value *SV, int SVOffset,
                                  bool isVolatile) {
-  MVT::ValueType VT = Value.getValueType();
+  MVT::ValueType VT = Val.getValueType();
 
   // FIXME: Alignment == 1 for now.
   unsigned Alignment = 1;
   SDVTList VTs = getVTList(MVT::Other);
   SDOperand Undef = getNode(ISD::UNDEF, Ptr.getValueType());
-  SDOperand Ops[] = { Chain, Value, Ptr, Undef };
+  SDOperand Ops[] = { Chain, Val, Ptr, Undef };
   FoldingSetNodeID ID;
   AddNodeIDNode(ID, ISD::STORE, VTs, Ops, 4);
   ID.AddInteger(ISD::UNINDEXED);
@@ -1679,7 +1679,7 @@ SDOperand SelectionDAG::getStore(SDOperand Chain, SDOperand Value,
   void *IP = 0;
   if (SDNode *E = CSEMap.FindNodeOrInsertPos(ID, IP))
     return SDOperand(E, 0);
-  SDNode *N = new StoreSDNode(Chain, Value, Ptr, Undef, ISD::UNINDEXED, false,
+  SDNode *N = new StoreSDNode(Chain, Val, Ptr, Undef, ISD::UNINDEXED, false,
                               VT, SV, SVOffset, Alignment, isVolatile);
   N->setValueTypes(VTs);
   CSEMap.InsertNode(N, IP);
@@ -1687,11 +1687,11 @@ SDOperand SelectionDAG::getStore(SDOperand Chain, SDOperand Value,
   return SDOperand(N, 0);
 }
 
-SDOperand SelectionDAG::getTruncStore(SDOperand Chain, SDOperand Value,
+SDOperand SelectionDAG::getTruncStore(SDOperand Chain, SDOperand Val,
                                       SDOperand Ptr, const Value *SV,
                                       int SVOffset, MVT::ValueType SVT,
                                       bool isVolatile) {
-  MVT::ValueType VT = Value.getValueType();
+  MVT::ValueType VT = Val.getValueType();
   bool isTrunc = VT != SVT;
 
   assert(VT > SVT && "Not a truncation?");
@@ -1702,7 +1702,7 @@ SDOperand SelectionDAG::getTruncStore(SDOperand Chain, SDOperand Value,
   unsigned Alignment = 1;
   SDVTList VTs = getVTList(MVT::Other);
   SDOperand Undef = getNode(ISD::UNDEF, Ptr.getValueType());
-  SDOperand Ops[] = { Chain, Value, Ptr, Undef };
+  SDOperand Ops[] = { Chain, Val, Ptr, Undef };
   FoldingSetNodeID ID;
   AddNodeIDNode(ID, ISD::STORE, VTs, Ops, 4);
   ID.AddInteger(ISD::UNINDEXED);
@@ -1715,7 +1715,7 @@ SDOperand SelectionDAG::getTruncStore(SDOperand Chain, SDOperand Value,
   void *IP = 0;
   if (SDNode *E = CSEMap.FindNodeOrInsertPos(ID, IP))
     return SDOperand(E, 0);
-  SDNode *N = new StoreSDNode(Chain, Value, Ptr, Undef, ISD::UNINDEXED, isTrunc,
+  SDNode *N = new StoreSDNode(Chain, Val, Ptr, Undef, ISD::UNINDEXED, isTrunc,
                               SVT, SV, SVOffset, Alignment, isVolatile);
   N->setValueTypes(VTs);
   CSEMap.InsertNode(N, IP);
index 048bf602975ffed01b5e1511285fc03c09cc575e..1eee2bb3c1f795390dca1acc518e39267a531a9e 100644 (file)
@@ -124,7 +124,12 @@ Path::GetTemporaryDirectory(std::string* ErrMsg) {
 
   // Append a subdirectory passed on our process id so multiple LLVMs don't
   // step on each other's toes.
+#ifdef __MINGW32__
+  // Mingw's Win32 header files are broken.
   sprintf(pathname, "LLVM_%u", unsigned(GetCurrentProcessId()));
+#else
+  sprintf(pathname, "LLVM_%u", GetCurrentProcessId());
+#endif
   result.appendComponent(pathname);
 
   // If there's a directory left over from a previous LLVM execution that
index 343176d6925aa2b2c4d2e3eaa97eef9553d192f7..3957b941c7437f5332266f8a2823c8c9bf6977d0 100644 (file)
@@ -663,7 +663,7 @@ bool X86DAGToDAGISel::MatchAddress(SDOperand N, X86ISelAddressMode &AM,
             AM.IndexReg = ShVal.Val->getOperand(0);
             ConstantSDNode *AddVal =
               cast<ConstantSDNode>(ShVal.Val->getOperand(1));
-            uint64_t Disp = AM.Disp + AddVal->getValue() << Val;
+            uint64_t Disp = AM.Disp + (AddVal->getValue() << Val);
             if (isInt32(Disp))
               AM.Disp = Disp;
             else
index fdab3ee7a0a7779b35852bd5b87c48bf67585bcd..df43b86d2aec5bb101c0c9a4ee8ebbec57dfb8b7 100644 (file)
@@ -22,9 +22,11 @@ namespace llvm {
   class TargetInstrInfo;
   class X86TargetMachine;
 
-struct X86RegisterInfo : public X86GenRegisterInfo {
+class X86RegisterInfo : public X86GenRegisterInfo {
+public:
   X86TargetMachine &TM;
   const TargetInstrInfo &TII;
+
 private:
   /// Is64Bit - Is the target 64-bits.
   bool Is64Bit;
index ca2762cac713be21c78c7af28c7ca72ab7d02063..47f6d3d9820b3aa1b5f87a97f13b736501eb75de 100644 (file)
@@ -428,7 +428,7 @@ namespace {
           // "setlt/gt int %a, %b" NE false then %a NE %b
 
           if (ConstantBool *CB = dyn_cast<ConstantBool>(V1)) {
-            if (CB->getValue() ^ Opcode==NE)
+            if (CB->getValue() ^ (Opcode==NE))
               addNotEqual(BO->getOperand(0), BO->getOperand(1));
          }
           break;
@@ -437,7 +437,7 @@ namespace {
           // "setle/ge int %a, %b" EQ false then %a NE %b
           // "setle/ge int %a, %b" NE true  then %a NE %b
           if (ConstantBool *CB = dyn_cast<ConstantBool>(V1)) {
-            if (CB->getValue() ^ Opcode==EQ)
+            if (CB->getValue() ^ (Opcode==EQ))
               addNotEqual(BO->getOperand(0), BO->getOperand(1));
          }
           break;
@@ -486,7 +486,7 @@ namespace {
           if (ConstantBool *CB = dyn_cast<ConstantBool>(V1)) {
             if (ConstantBool *A = dyn_cast<ConstantBool>(LHS)) {
               addEqual(RHS, ConstantBool::get(A->getValue() ^ CB->getValue()
-                                              ^ Opcode==NE));
+                                              ^ (Opcode==NE)));
             }
           }
           else if (ConstantIntegral *CI = dyn_cast<ConstantIntegral>(V1)) {
index 30a7add79ba6f3e92e629c6d0496d3438f368fc1..3aa7397ef94ed0021bbf6d5fdb800b6fc974a2d0 100644 (file)
@@ -313,9 +313,9 @@ void llvm::CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
   assert(NameSuffix && "NameSuffix cannot be null!");
   
 #ifndef NDEBUG
-  for (Function::const_arg_iterator I = OldFunc->arg_begin(), 
-       E = OldFunc->arg_end(); I != E; ++I)
-    assert(ValueMap.count(I) && "No mapping from source argument specified!");
+  for (Function::const_arg_iterator II = OldFunc->arg_begin(), 
+       E = OldFunc->arg_end(); II != E; ++II)
+    assert(ValueMap.count(II) && "No mapping from source argument specified!");
 #endif
   
   PruningFunctionCloner PFC(NewFunc, OldFunc, ValueMap, Returns, 
index f71d7bace61568bbe14a8ab2ff2340d8b1e527b0..dedf91eb035b09497512250637072843d19bab64 100644 (file)
@@ -320,7 +320,7 @@ std::string BugDriver::compileSharedObject(const std::string &BytecodeFile) {
 bool BugDriver::createReferenceFile(Module *M, const std::string &Filename) {
   try {
     compileProgram(Program);
-  } catch (ToolExecutionError &TEE) {
+  } catch (ToolExecutionError &) {
     return false;
   }
   try {
index ab7109fb855433ee829f63713a84bbfaa6b75452..a7f15a9c3fcd1952dae007762d1806a03c6948ae 100644 (file)
@@ -499,7 +499,7 @@ int main(int argc, char **argv, char **envp) {
           // Get the program arguments
           sys::Path tmp_output("opt_result");
           std::string ErrMsg;
-          if (tmp_output.createTemporaryFileOnDisk(&ErrMsg)) {
+          if (tmp_output.createTemporaryFileOnDisk(true)) {
             return PrintAndReturn(ErrMsg);
           }
           const char* args[4];
index b403c84a0482eeb0ac2b8e2fbefef54c7b5f25a9..6466b5fecd92ba98b6c400b9bbed5770331e6770 100644 (file)
@@ -69,7 +69,8 @@ namespace {
 }
 
 namespace llvm {
-  struct AsmWriterInst {
+  class AsmWriterInst {
+  public:
     std::vector<AsmWriterOperand> Operands;
     const CodeGenInstruction *CGI;
 
index c5b4c3cf7299a3cac39c3a6ad4a3a1f5e7a0104c..e1c4c7d6d310762cf604fb722681f490ac6a9669 100644 (file)
@@ -23,7 +23,8 @@ namespace llvm {
   class Record;
   class DagInit;
 
-  struct CodeGenInstruction {
+  class CodeGenInstruction {
+  public:
     Record *TheDef;            // The actual record defining this instruction.
     std::string Name;          // Contents of the 'Name' field.
     std::string Namespace;     // The namespace the instruction is in.
index c1a7ec06adcd88d3f2ad21fe931ca173477cff37..653e9d10fbf0dc5163bb4d5a1bf789dd875cbf9a 100644 (file)
@@ -27,6 +27,7 @@
 %x comment
 
 %{
+#include "llvm/Config/config.h"
 #include "Record.h"
 typedef std::pair<llvm::Record*, std::vector<llvm::Init*>*> SubClassRefTy;
 #include "FileParser.h"
index b10c0e170fe3a68b363a388d8b1aa586effde22c..8d27305c0f558713d35bb504dcc6063f8498c569 100644 (file)
@@ -24,7 +24,7 @@ namespace llvm {
 class StringInit;
 class IntInit;
 class ListInit;
-struct CodeGenInstruction;
+class CodeGenInstruction;
 
 class InstrInfoEmitter : public TableGenBackend {
   RecordKeeper &Records;
index 77476cb97adf678a072651d2882e7719c6a16e4b..70af36b23388b56509eb32a39a8a1e9290173fc8 100644 (file)
                                <File
                                        RelativePath="..\..\lib\Analysis\DataStructure\BottomUpClosure.cpp">
                                </File>
+                               <File
+                                       RelativePath="..\..\lib\Analysis\DataStructure\CallTargets.cpp">
+                               </File>
                                <File
                                        RelativePath="..\..\lib\Analysis\DataStructure\CompleteBottomUp.cpp">
                                </File>
                        <Filter
                                Name="DataStructure"
                                Filter="">
+                               <File
+                                       RelativePath="..\..\include\llvm\Analysis\DataStructure\CallTargets.h">
+                               </File>
                                <File
                                        RelativePath="..\..\include\llvm\Analysis\DataStructure\DataStructure.h">
                                </File>
index 5d71d4c8cc3ac01c4b56b1f035eb5c9e5f62ae59..f67c16177cf04db0379212253221b32fe583f2d0 100644 (file)
                        <File
                                RelativePath="..\..\lib\CodeGen\LiveVariables.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\CodeGen\LLVMTargetMachine.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\CodeGen\MachineBasicBlock.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\CodeGen\MachineInstr.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\CodeGen\MachinePassRegistry.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\CodeGen\Passes.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\CodeGen\UnreachableBlockElim.cpp">
                        </File>
-                       <File
-                               RelativePath="..\..\lib\CodeGen\ValueTypes.cpp">
-                       </File>
                        <File
                                RelativePath="..\..\lib\CodeGen\VirtRegMap.cpp">
                        </File>
                                <File
                                        RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGList.cpp">
                                </File>
+                               <File
+                                       RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGRRList.cpp">
+                               </File>
                                <File
                                        RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGSimple.cpp">
                                </File>
                                <File
                                        RelativePath="..\..\lib\CodeGen\SelectionDAG\SelectionDAGPrinter.cpp">
                                </File>
+                               <File
+                                       RelativePath="..\..\lib\CodeGen\SelectionDAG\TargetLowering.cpp">
+                               </File>
                        </Filter>
                </Filter>
                <Filter
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\IntrinsicLowering.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\CodeGen\LinkAllCodegenComponents.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\LiveInterval.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\MachineLocation.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\CodeGen\MachinePassRegistry.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\MachineRelocation.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\CodeGen\MachOWriter.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\Passes.h">
                        </File>
                        <File
                                RelativePath="..\..\lib\CodeGen\PhysRegTracker.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\CodeGen\RegAllocRegistry.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\SchedGraphCommon.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\ScheduleDAG.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\CodeGen\SchedulerRegistry.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\SelectionDAG.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\SSARegMap.h">
                        </File>
-                       <File
-                               RelativePath="..\..\include\llvm\CodeGen\ValueSet.h">
-                       </File>
                        <File
                                RelativePath="..\..\include\llvm\CodeGen\ValueTypes.h">
                        </File>
index e0b38c6c5949e475c08c81c4e222e29d390709b6..0da1c3f781cca5a71cc337cbed0fdd223b05cbe0 100644 (file)
                        Name="Source Files"
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+                       <File
+                               RelativePath="..\..\lib\Support\Allocator.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Support\Annotation.cpp">
                        </File>
                                                AdditionalIncludeDirectories=""/>
                                </FileConfiguration>
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Support\CStringMap.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Support\Debug.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\Support\FileUtilities.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Support\FoldingSet.cpp">
+                       </File>
+                       <File
+                               RelativePath="..\..\lib\Support\GraphWriter.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Support\IsInf.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\Support\IsNAN.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Support\ManagedStatic.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Support\PluginLoader.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\Support\Timer.cpp">
                        </File>
-                       <File
-                               RelativePath="..\..\lib\Support\ToolRunner.cpp">
-                       </File>
                        <Filter
                                Name="bzip2"
                                Filter="">
                        <File
                                RelativePath="..\..\include\llvm\Support\AIXDataTypesFix.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\Support\Allocator.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\Annotation.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\CommandLine.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\Support\Compiler.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\Compressor.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\MallocAllocator.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\Support\ManagedStatic.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\Mangler.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\Timer.h">
                        </File>
-                       <File
-                               RelativePath="..\..\include\llvm\Support\ToolRunner.h">
-                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\type_traits.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Adt\BitSetVector.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\ADT\CStringMap.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Adt\DenseMap.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Adt\EquivalenceClasses.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\ADT\FoldingSet.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Adt\GraphTraits.h">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Adt\SetVector.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\ADT\SmallString.h">
+                       </File>
+                       <File
+                               RelativePath="..\..\include\llvm\ADT\SmallVector.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Adt\Statistic.h">
                        </File>
index 61ed4e7021df2a17f3b6ac3bde9f3c4366c5da01..1286da3059a206cece0c3bc4b25376abf51d619b 100644 (file)
                        Name="Source Files"
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+                       <File
+                               RelativePath="..\..\lib\System\Alarm.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\System\DynamicLibrary.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\System\IncludeFile.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\System\MappedFile.cpp">
                        </File>
                        Name="Header Files"
                        Filter="h;hpp;hxx;hm;inl;inc;xsd"
                        UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+                       <File
+                               RelativePath="..\..\include\llvm\System\Alarm.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\System\DynamicLibrary.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\System\IncludeFile.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\System\MappedFile.h">
                        </File>
index 35788cc7563f13e7482c685a038e27f452fb04c5..36d5ec92eb51408a3b0574632f195189849accc9 100644 (file)
                        <File
                                RelativePath="..\..\lib\Target\SubtargetFeature.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Target\TargetAsmInfo.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Target\TargetData.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\Target\TargetInstrInfo.cpp">
                        </File>
-                       <File
-                               RelativePath="..\..\lib\Target\TargetLowering.cpp">
-                       </File>
                        <File
                                RelativePath="..\..\lib\Target\TargetMachine.cpp">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Target\SubtargetFeature.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\Target\TargetAsmInfo.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Target\TargetData.h">
                        </File>
index 09787138b6fc9911f77c6695b5bfe8c51f48f3ab..c2449e9c1e9c3df391a1d13beb26d09d75f035c2 100644 (file)
                                <File
                                        RelativePath="..\..\lib\Transforms\Scalar\LoopUnswitch.cpp">
                                </File>
-                               <File
-                                       RelativePath="..\..\lib\Transforms\Scalar\LowerAllocations.cpp">
-                               </File>
                                <File
                                        RelativePath="..\..\lib\Transforms\Scalar\LowerGC.cpp">
                                </File>
-                               <File
-                                       RelativePath="..\..\lib\Transforms\Scalar\LowerInvoke.cpp">
-                               </File>
                                <File
                                        RelativePath="..\..\lib\Transforms\Scalar\LowerPacked.cpp">
                                </File>
                                <File
-                                       RelativePath="..\..\lib\Transforms\Scalar\LowerSelect.cpp">
-                               </File>
-                               <File
-                                       RelativePath="..\..\lib\Transforms\Scalar\LowerSwitch.cpp">
-                               </File>
-                               <File
-                                       RelativePath="..\..\lib\Transforms\Scalar\Mem2Reg.cpp">
+                                       RelativePath="..\..\lib\Transforms\Scalar\PredicateSimplifier.cpp">
                                </File>
                                <File
                                        RelativePath="..\..\lib\Transforms\Scalar\Reassociate.cpp">
                                <File
                                        RelativePath="..\..\lib\Transforms\Utils\InlineFunction.cpp">
                                </File>
+                               <File
+                                       RelativePath="..\..\lib\Transforms\Utils\LCSSA.cpp">
+                               </File>
                                <File
                                        RelativePath="..\..\lib\Transforms\Utils\Local.cpp">
                                </File>
                                <File
                                        RelativePath="..\..\lib\Transforms\Utils\LoopSimplify.cpp">
                                </File>
+                               <File
+                                       RelativePath="..\..\lib\Transforms\Utils\LowerAllocations.cpp">
+                               </File>
+                               <File
+                                       RelativePath="..\..\lib\Transforms\Utils\LowerInvoke.cpp">
+                               </File>
+                               <File
+                                       RelativePath="..\..\lib\Transforms\Utils\LowerSelect.cpp">
+                               </File>
+                               <File
+                                       RelativePath="..\..\lib\Transforms\Utils\LowerSwitch.cpp">
+                               </File>
+                               <File
+                                       RelativePath="..\..\lib\Transforms\Utils\Mem2Reg.cpp">
+                               </File>
                                <File
                                        RelativePath="..\..\lib\Transforms\Utils\PromoteMemoryToRegister.cpp">
                                </File>
                        <File
                                RelativePath="..\..\include\llvm\Transforms\IPO.h">
                        </File>
-                       <File
-                               RelativePath="..\..\include\llvm\Transforms\LinkAllPasses.h">
-                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Transforms\Utils\Local.h">
                        </File>
index a0ca5986619b74e7744ae9679d5c040064b7fd43..78039b888bee8edd66029b0e8fb8e242d1b2537e 100644 (file)
                        <File
                                RelativePath="..\..\lib\VMCore\ValueSymbolTable.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\VMCore\ValueTypes.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\VMCore\Verifier.cpp">
                        </File>
index 94180fbd3aa03c14f5314a7763d73beafc61e89d..6382eeb8c3e731f0250a314d2025fec53fa7cfee 100644 (file)
                        Name="Source Files"
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
-                       <File
-                               RelativePath="..\..\tools\analyze\AnalysisWrappers.cpp">
-                       </File>
-                       <File
-                               RelativePath="..\..\tools\analyze\analyze.cpp">
-                       </File>
-                       <File
-                               RelativePath="..\..\tools\analyze\GraphPrinters.cpp">
-                       </File>
                </Filter>
                <Filter
                        Name="Header Files"
index 55392cb2841cc00aa0fa9ba3d647a24b2e97f5c7..ab340e8403c4c6852e9e2ea892d296684b97388f 100644 (file)
                        <File
                                RelativePath="..\..\tools\bugpoint\ExtractFunction.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\tools\bugpoint\FindBugs.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\tools\bugpoint\Miscompilation.cpp">
                        </File>
                        <File
                                RelativePath="..\..\tools\bugpoint\TestPasses.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\tools\bugpoint\ToolRunner.cpp">
+                       </File>
                </Filter>
                <Filter
                        Name="Header Files"
                        <File
                                RelativePath="..\..\tools\bugpoint\ListReducer.h">
                        </File>
+                       <File
+                               RelativePath="..\..\tools\bugpoint\ToolRunner.h">
+                       </File>
                </Filter>
        </Files>
        <Globals>
index 05ee9901afa9ddf44b618ca95716ff13ba6a952e..5783636c8820178c7d2feb366865aa3a11ef4e76 100644 (file)
@@ -20,3 +20,5 @@
 #define LTDL_SHLIB_EXT ".dll" 
 #define LTDL_SYSSEARCHPATH "" 
 #define LLVM_ON_WIN32 1 
+
+#define strtoll strtol
index 3ef216e0f46a8ee27767ecfcbf3138df011930f5..07e65bf4a072f510ce1317de206acb9ec6a43a0f 100644 (file)
@@ -220,19 +220,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "llvm-prof", "llvm-prof\llvm
                {0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
        EndProjectSection
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "analyze", "analyze\analyze.vcproj", "{DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}"
-       ProjectSection(ProjectDependencies) = postProject
-               {0622E827-8464-489D-8B1C-B0B496F35C08} = {0622E827-8464-489D-8B1C-B0B496F35C08}
-               {28AA9146-3482-4F41-9CC6-407B1D258508} = {28AA9146-3482-4F41-9CC6-407B1D258508}
-               {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
-               {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61} = {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61}
-               {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4} = {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}
-               {C59374C1-9FC0-4147-B836-327DFDC52D99} = {C59374C1-9FC0-4147-B836-327DFDC52D99}
-               {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}
-               {0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
-               {3DC216F5-1DDD-478A-84F8-C124E5C31982} = {3DC216F5-1DDD-478A-84F8-C124E5C31982}
-       EndProjectSection
-EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bugpoint", "bugpoint\bugpoint.vcproj", "{57249192-8E29-4D85-8B7A-FEFF1760B1DA}"
        ProjectSection(ProjectDependencies) = postProject
                {0622E827-8464-489D-8B1C-B0B496F35C08} = {0622E827-8464-489D-8B1C-B0B496F35C08}
@@ -252,6 +239,8 @@ Global
                Debug = Debug
                Release = Release
        EndGlobalSection
+       GlobalSection(ProjectDependencies) = postSolution
+       EndGlobalSection
        GlobalSection(ProjectConfiguration) = postSolution
                {28AA9146-3482-4F41-9CC6-407B1D258508}.Debug.ActiveCfg = Debug|Win32
                {28AA9146-3482-4F41-9CC6-407B1D258508}.Debug.Build.0 = Debug|Win32
@@ -365,10 +354,6 @@ Global
                {ACBE81D9-64B1-4133-823A-807A4E60B454}.Debug.Build.0 = Debug|Win32
                {ACBE81D9-64B1-4133-823A-807A4E60B454}.Release.ActiveCfg = Release|Win32
                {ACBE81D9-64B1-4133-823A-807A4E60B454}.Release.Build.0 = Release|Win32
-               {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Debug.ActiveCfg = Debug|Win32
-               {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Debug.Build.0 = Debug|Win32
-               {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Release.ActiveCfg = Release|Win32
-               {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Release.Build.0 = Release|Win32
                {57249192-8E29-4D85-8B7A-FEFF1760B1DA}.Debug.ActiveCfg = Debug|Win32
                {57249192-8E29-4D85-8B7A-FEFF1760B1DA}.Debug.Build.0 = Debug|Win32
                {57249192-8E29-4D85-8B7A-FEFF1760B1DA}.Release.ActiveCfg = Release|Win32
index 9dd6c48efdf83a318c4f68b353324d82dc65bc94..44df0ed0ab56a8b4c62cdaf400c0166f0e38b5fd 100644 (file)
                        Name="Source Files"
                        Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+                       <File
+                               RelativePath="..\..\tools\opt\AnalysisWrappers.cpp">
+                       </File>
+                       <File
+                               RelativePath="..\..\tools\opt\GraphPrinters.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\tools\opt\opt.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\tools\opt\PrintSCC.cpp">
+                       </File>
                </Filter>
                <Filter
                        Name="Header Files"
index f58b568205d1976e33bf19d4395b63750bc2cae8..088d785c9475dd44600f52246715beb69485e8e1 100644 (file)
                                        <Tool
                                                Name="VCCustomBuildTool"
                                                Description="Performing TableGen Step"
-                                               CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
-..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
-..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
-..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
-..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
-..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
-..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
-..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
-..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
+                                               CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
+..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
+..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
+..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
+..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
+..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
+..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
+..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
+..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
 "
                                                AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)X86InstrFPStack.td;$(InputDir)X86InstrMMX.td;$(InputDir)X86InstrSSE.td;$(InputDir)..\Target.td;$(InputDir)..\TargetSchedule.td;$(InputDir)..\TargetScheduleDAG.td;$(ProjectDir)..\$(IntDir)\TableGen.exe"
                                                Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/>
                                        <Tool
                                                Name="VCCustomBuildTool"
                                                Description="Performing TableGen Step"
-                                               CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
-..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
-..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
-..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
-..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
-..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
-..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
-..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
-..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
+                                               CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
+..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
+..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
+..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
+..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
+..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
+..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
+..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
+..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
 "
                                                AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)X86InstrFPStack.td;$(InputDir)X86InstrMMX.td;$(InputDir)X86InstrSSE.td;$(InputDir)..\Target.td;$(InputDir)..\TargetSchedule.td;$(InputDir)..\TargetScheduleDAG.td;$(ProjectDir)..\$(IntDir)\TableGen.exe"
                                                Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86InstrInfo.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Target\X86\X86InstrX86-64.td">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86IntelAsmPrinter.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86Subtarget.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Target\X86\X86TargetAsmInfo.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86TargetMachine.cpp">
                        </File>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86JITInfo.h">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Target\X86\X86MachineFunctionInfo.h">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86RegisterInfo.h">
                        </File>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86Subtarget.h">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Target\X86\X86TargetAsmInfo.h">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Target\X86\X86TargetMachine.h">
                        </File>