[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h SelectionDAGNodes.h

Chris Lattner lattner at cs.uiuc.edu
Mon May 9 13:21:45 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAG.h updated: 1.23 -> 1.24
SelectionDAGNodes.h updated: 1.36 -> 1.37
---
Log message:

Add READPORT, WRITEPORT, READIO, WRITEIO nodes, wrap long lines


---
Diffs of the changes:  (+14 -6)

 SelectionDAG.h      |    6 ++++--
 SelectionDAGNodes.h |   14 ++++++++++----
 2 files changed, 14 insertions(+), 6 deletions(-)


Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.23 llvm/include/llvm/CodeGen/SelectionDAG.h:1.24
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.23	Tue May  3 12:19:29 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h	Mon May  9 15:21:27 2005
@@ -179,12 +179,14 @@
   SDOperand getNode(unsigned Opcode, MVT::ValueType VT, SDOperand N1,
                     SDOperand N2, SDOperand N3, MVT::ValueType EVT);
   SDOperand getNode(unsigned Opcode, MVT::ValueType VT, SDOperand N1,
-                    SDOperand N2, SDOperand N3, SDOperand N4, MVT::ValueType EVT);
+                    SDOperand N2, SDOperand N3, SDOperand N4,
+                    MVT::ValueType EVT);
 
   /// getLoad - Loads are not normal binary operators: their result type is not
   /// determined by their operands, and they produce a value AND a token chain.
   ///
-  SDOperand getLoad(MVT::ValueType VT, SDOperand Chain, SDOperand Ptr, SDOperand SV);
+  SDOperand getLoad(MVT::ValueType VT, SDOperand Chain, SDOperand Ptr,
+                    SDOperand SV);
 
   // getSrcValue - construct a node to track a Value* through the backend
   SDOperand getSrcValue(const Value* I, int offset = 0);


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.36 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.37
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.36	Tue May  3 12:19:29 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Mon May  9 15:21:27 2005
@@ -252,13 +252,19 @@
     ADJCALLSTACKDOWN,  // Beginning of a call sequence
     ADJCALLSTACKUP,    // End of a call sequence
 
+    // SRCVALUE - This corresponds to a Value*, and is used to associate memory
+    // locations with their value.  This allows one use alias analysis
+    // information in the backend.
+    SRCVALUE,
+
     // PCMARKER - This corresponds to the pcmarker intrinsic.
     PCMARKER,
 
-    // SRCVALUE - This corresponds to a Value*, and is used to carry associate
-    // memory operations with their corrosponding load.  This lets one use the
-    // pointer analysis information in the backend
-    SRCVALUE,
+    // READPORT, WRITEPORT, READIO, WRITEIO - These correspond to the LLVM
+    // intrinsics of the same name.  The first operand is a token chain, the
+    // other operands match the intrinsic.  These produce a token chain in
+    // addition to a value (if any).
+    READPORT, WRITEPORT, READIO, WRITEIO,
 
     // BUILTIN_OP_END - This must be the last enum value in this list.
     BUILTIN_OP_END,






More information about the llvm-commits mailing list