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

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 25 14:56:48 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.120 -> 1.121
---
Log message:

Add a predicate


---
Diffs of the changes:  (+7 -0)

 SelectionDAGNodes.h |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.120 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.121
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.120	Thu Mar 23 19:03:55 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Sat Mar 25 16:56:35 2006
@@ -453,6 +453,13 @@
     BUILTIN_OP_END
   };
 
+  /// Node predicates
+
+  /// isBuildVectorAllOnesInteger - Return true if the specified node is a
+  /// BUILD_VECTOR where all of the elements are ~0 or undef.
+  bool isBuildVectorAllOnesInteger(const SDNode *N);
+  
+  
   //===--------------------------------------------------------------------===//
   /// ISD::CondCode enum - These are ordered carefully to make the bitfields
   /// below work out, when considering SETFALSE (something that never exists






More information about the llvm-commits mailing list