summaryrefslogtreecommitdiff
path: root/compiler/dex/mir_graph.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2014-09-29 18:24:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-09-29 18:24:23 +0000
commit1ee1458dab818d5c44b7eba712918a5071df5d5b (patch)
tree29f1f37db1957baebe386ffbe745134769188de4 /compiler/dex/mir_graph.h
parentc70535b4f9f1ff3e3da451734bb7d9601012ccc1 (diff)
parent584cc791cd0e352fb54ad54e72ba002a35dc758f (diff)
Merge "Reduce scope of MIR analysis attributes."
Diffstat (limited to 'compiler/dex/mir_graph.h')
-rw-r--r--compiler/dex/mir_graph.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/compiler/dex/mir_graph.h b/compiler/dex/mir_graph.h
index ea2ca390bf..012b435705 100644
--- a/compiler/dex/mir_graph.h
+++ b/compiler/dex/mir_graph.h
@@ -36,40 +36,6 @@ namespace art {
class GlobalValueNumbering;
-enum InstructionAnalysisAttributePos {
- kUninterestingOp = 0,
- kArithmeticOp,
- kFPOp,
- kSingleOp,
- kDoubleOp,
- kIntOp,
- kLongOp,
- kBranchOp,
- kInvokeOp,
- kArrayOp,
- kHeavyweightOp,
- kSimpleConstOp,
- kMoveOp,
- kSwitch
-};
-
-#define AN_NONE (1 << kUninterestingOp)
-#define AN_MATH (1 << kArithmeticOp)
-#define AN_FP (1 << kFPOp)
-#define AN_LONG (1 << kLongOp)
-#define AN_INT (1 << kIntOp)
-#define AN_SINGLE (1 << kSingleOp)
-#define AN_DOUBLE (1 << kDoubleOp)
-#define AN_FLOATMATH (1 << kFPOp)
-#define AN_BRANCH (1 << kBranchOp)
-#define AN_INVOKE (1 << kInvokeOp)
-#define AN_ARRAYOP (1 << kArrayOp)
-#define AN_HEAVYWEIGHT (1 << kHeavyweightOp)
-#define AN_SIMPLECONST (1 << kSimpleConstOp)
-#define AN_MOVE (1 << kMoveOp)
-#define AN_SWITCH (1 << kSwitch)
-#define AN_COMPUTATIONAL (AN_MATH | AN_ARRAYOP | AN_MOVE | AN_SIMPLECONST)
-
enum DataFlowAttributePos {
kUA = 0,
kUB,
@@ -1192,7 +1158,6 @@ class MIRGraph {
ArenaSafeMap<unsigned int, unsigned int> block_id_map_; // Block collapse lookup cache.
static const char* extended_mir_op_names_[kMirOpLast - kMirOpFirst];
- static const uint32_t analysis_attributes_[kMirOpLast];
void HandleSSADef(int* defs, int dalvik_reg, int reg_index);
bool InferTypeAndSize(BasicBlock* bb, MIR* mir, bool changed);