[llvm-commits] [llvm] r56389 - in /llvm/trunk: include/llvm/CodeGen/MachineBasicBlock.h include/llvm/CodeGen/MachineFunction.h include/llvm/CodeGen/SelectionDAG.h include/llvm/CodeGen/SelectionDAGNodes.h win32/CodeGen/CodeGen.vcproj win32/Transforms/Transforms.vcproj
Cedric Venet
cedric.venet at laposte.net
Sat Sep 20 11:02:18 PDT 2008
Author: venet
Date: Sat Sep 20 13:02:18 2008
New Revision: 56389
URL: http://llvm.org/viewvc/llvm-project?rev=56389&view=rev
Log:
Update VS projects.
Change some class to struct for coherency.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
llvm/trunk/include/llvm/CodeGen/MachineFunction.h
llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/trunk/win32/CodeGen/CodeGen.vcproj
llvm/trunk/win32/Transforms/Transforms.vcproj
Modified: llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h?rev=56389&r1=56388&r2=56389&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h Sat Sep 20 13:02:18 2008
@@ -24,7 +24,8 @@
class MachineFunction;
template <>
-class ilist_traits<MachineInstr> : public ilist_default_traits<MachineInstr> {
+struct ilist_traits<MachineInstr> : public ilist_default_traits<MachineInstr> {
+private:
mutable MachineInstr Sentinel;
// this is only set by the MachineBasicBlock owning the LiveList
@@ -70,7 +71,7 @@
bool IsLandingPad;
// Intrusive list support
- friend class ilist_sentinel_traits<MachineBasicBlock>;
+ friend struct ilist_sentinel_traits<MachineBasicBlock>;
MachineBasicBlock() {}
explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb);
Modified: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunction.h?rev=56389&r1=56388&r2=56389&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Sat Sep 20 13:02:18 2008
@@ -34,7 +34,7 @@
class MachineJumpTableInfo;
template <>
-class ilist_traits<MachineBasicBlock>
+struct ilist_traits<MachineBasicBlock>
: public ilist_default_traits<MachineBasicBlock> {
mutable MachineBasicBlock Sentinel;
public:
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAG.h?rev=56389&r1=56388&r2=56389&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Sat Sep 20 13:02:18 2008
@@ -36,7 +36,8 @@
class MachineConstantPoolValue;
class FunctionLoweringInfo;
-template<> class ilist_traits<SDNode> : public ilist_default_traits<SDNode> {
+template<> struct ilist_traits<SDNode> : public ilist_default_traits<SDNode> {
+private:
mutable SDNode Sentinel;
public:
ilist_traits() : Sentinel(ISD::DELETED_NODE, SDVTList()) {}
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=56389&r1=56388&r2=56389&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Sat Sep 20 13:02:18 2008
@@ -43,7 +43,7 @@
class CompileUnitDesc;
template <typename T> struct DenseMapInfo;
template <typename T> struct simplify_type;
-template <typename T> class ilist_traits;
+template <typename T> struct ilist_traits;
/// SDVTList - This represents a list of ValueType's that has been intern'd by
/// a SelectionDAG. Instances of this simple value class are returned by
@@ -1315,7 +1315,7 @@
protected:
friend class SelectionDAG;
- friend class ilist_traits<SDNode>;
+ friend struct ilist_traits<SDNode>;
/// getValueTypeList - Return a pointer to the specified value type.
///
Modified: llvm/trunk/win32/CodeGen/CodeGen.vcproj
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/win32/CodeGen/CodeGen.vcproj?rev=56389&r1=56388&r2=56389&view=diff
==============================================================================
--- llvm/trunk/win32/CodeGen/CodeGen.vcproj (original)
+++ llvm/trunk/win32/CodeGen/CodeGen.vcproj Sat Sep 20 13:02:18 2008
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8,00"
+ Version="8.00"
Name="CodeGen"
ProjectGUID="{08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}"
Keyword="Win32Proj"
@@ -309,6 +309,10 @@
>
</File>
<File
+ RelativePath="..\..\lib\CodeGen\DeadMachineInstructionElim.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\lib\CodeGen\ELFWriter.cpp"
>
</File>
@@ -540,6 +544,10 @@
>
</File>
<File
+ RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGFast.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGList.cpp"
>
</File>
Modified: llvm/trunk/win32/Transforms/Transforms.vcproj
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/win32/Transforms/Transforms.vcproj?rev=56389&r1=56388&r2=56389&view=diff
==============================================================================
--- llvm/trunk/win32/Transforms/Transforms.vcproj (original)
+++ llvm/trunk/win32/Transforms/Transforms.vcproj Sat Sep 20 13:02:18 2008
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8,00"
+ Version="8.00"
Name="Transforms"
ProjectGUID="{C59374C1-9FC0-4147-B836-327DFDC52D99}"
Keyword="Win32Proj"
@@ -336,6 +336,10 @@
Name="IPO"
>
<File
+ RelativePath="..\..\lib\Transforms\IPO\AddReadAttrs.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\lib\Transforms\Ipo\ArgumentPromotion.cpp"
>
</File>
More information about the llvm-commits
mailing list