Deleted Added
full compact
CodeGenDAGPatterns.h (193323) CodeGenDAGPatterns.h (195340)
1//===- CodeGenDAGPatterns.h - Read DAG patterns from .td file ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 222 unchanged lines hidden (view full) ---

231 /// getIntrinsicInfo - If this node corresponds to an intrinsic, return the
232 /// CodeGenIntrinsic information for it, otherwise return a null pointer.
233 const CodeGenIntrinsic *getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const;
234
235 /// isCommutativeIntrinsic - Return true if the node is an intrinsic which is
236 /// marked isCommutative.
237 bool isCommutativeIntrinsic(const CodeGenDAGPatterns &CDP) const;
238
1//===- CodeGenDAGPatterns.h - Read DAG patterns from .td file ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 222 unchanged lines hidden (view full) ---

231 /// getIntrinsicInfo - If this node corresponds to an intrinsic, return the
232 /// CodeGenIntrinsic information for it, otherwise return a null pointer.
233 const CodeGenIntrinsic *getIntrinsicInfo(const CodeGenDAGPatterns &CDP) const;
234
235 /// isCommutativeIntrinsic - Return true if the node is an intrinsic which is
236 /// marked isCommutative.
237 bool isCommutativeIntrinsic(const CodeGenDAGPatterns &CDP) const;
238
239 void print(std::ostream &OS) const;
239 void print(raw_ostream &OS) const;
240 void dump() const;
241
242public: // Higher level manipulation routines.
243
244 /// clone - Return a new copy of this tree.
245 ///
246 TreePatternNode *clone() const;
247

--- 117 unchanged lines hidden (view full) ---

365 /// patterns as possible. Return true if all types are inferred, false
366 /// otherwise. Throw an exception if a type contradiction is found.
367 bool InferAllTypes();
368
369 /// error - Throw an exception, prefixing it with information about this
370 /// pattern.
371 void error(const std::string &Msg) const;
372
240 void dump() const;
241
242public: // Higher level manipulation routines.
243
244 /// clone - Return a new copy of this tree.
245 ///
246 TreePatternNode *clone() const;
247

--- 117 unchanged lines hidden (view full) ---

365 /// patterns as possible. Return true if all types are inferred, false
366 /// otherwise. Throw an exception if a type contradiction is found.
367 bool InferAllTypes();
368
369 /// error - Throw an exception, prefixing it with information about this
370 /// pattern.
371 void error(const std::string &Msg) const;
372
373 void print(std::ostream &OS) const;
373 void print(raw_ostream &OS) const;
374 void dump() const;
375
376private:
377 TreePatternNode *ParseTreePattern(DagInit *DI);
378};
379
380/// DAGDefaultOperand - One of these is created for each PredicateOperand
381/// or OptionalDefOperand that has a set ExecuteAlways / DefaultOps field.

--- 216 unchanged lines hidden ---
374 void dump() const;
375
376private:
377 TreePatternNode *ParseTreePattern(DagInit *DI);
378};
379
380/// DAGDefaultOperand - One of these is created for each PredicateOperand
381/// or OptionalDefOperand that has a set ExecuteAlways / DefaultOps field.

--- 216 unchanged lines hidden ---