summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-29 04:43:10 +0000
committerChris Lattner <sabre@nondot.org>2005-10-29 04:43:10 +0000
commit29b04e10215e8e071e89b373c5a12fdd836a7fe5 (patch)
tree401124385131f9a22dee953d6a75d17fd00b40b2 /llvm
parent752717d4ec381cd9d248d497d81e80c6b4439cef (diff)
downloadbcm5719-llvm-29b04e10215e8e071e89b373c5a12fdd836a7fe5.tar.gz
bcm5719-llvm-29b04e10215e8e071e89b373c5a12fdd836a7fe5.zip
remove a dead header
llvm-svn: 24084
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/Expressions.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/llvm/include/llvm/Analysis/Expressions.h b/llvm/include/llvm/Analysis/Expressions.h
deleted file mode 100644
index b04d787929e..00000000000
--- a/llvm/include/llvm/Analysis/Expressions.h
+++ /dev/null
@@ -1,63 +0,0 @@
-//===- llvm/Analysis/Expressions.h - Expression Analysis Utils --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines a package of expression analysis utilties:
-//
-// ClassifyExpr: Analyze an expression to determine the complexity of the
-// expression, and which other variables it depends on.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_ANALYSIS_EXPRESSIONS_H
-#define LLVM_ANALYSIS_EXPRESSIONS_H
-
-namespace llvm {
-
-class Type;
-class Value;
-class ConstantInt;
-
-struct ExprType;
-
-/// ClassifyExpr - Analyze an expression to determine the complexity of the
-/// expression, and which other values it depends on.
-///
-ExprType ClassifyExpr(Value *Expr);
-
-/// ExprType Class - Represent an expression of the form CONST*VAR+CONST
-/// or simpler. The expression form that yields the least information about the
-/// expression is just the Linear form with no offset.
-///
-struct ExprType {
- enum ExpressionType {
- Constant, // Expr is a simple constant, Offset is value
- Linear, // Expr is linear expr, Value is Var+Offset
- ScaledLinear, // Expr is scaled linear exp, Value is Scale*Var+Offset
- } ExprTy;
-
- const ConstantInt *Offset; // Offset of expr, or null if 0
- Value *Var; // Var referenced, if Linear or above (null if 0)
- const ConstantInt *Scale; // Scale of var if ScaledLinear expr (null if 1)
-
- inline ExprType(const ConstantInt *CPV = 0) {
- Offset = CPV; Var = 0; Scale = 0;
- ExprTy = Constant;
- }
- ExprType(Value *Val); // Create a linear or constant expression
- ExprType(const ConstantInt *scale, Value *var, const ConstantInt *offset);
-
- /// If this expression has an intrinsic type, return it. If it is zero,
- /// return the specified type.
- ///
- const Type *getExprType(const Type *Default) const;
-};
-
-} // End llvm namespace
-
-#endif
OpenPOWER on IntegriCloud