Use generic pointer hashes instead of custom ones.
[oota-llvm.git] / include / llvm / Analysis / LiveVar / LiveVarMap.h
1 /* Title:   LiveVarMap.h   -*- C++ -*-
2    Author:  Ruchira Sasanka
3    Date:    Jun 30, 01
4    Purpose: This file contains the class for a map between the BasicBlock class
5             and the BBLiveVar class, which is a wrapper class of BasicBlock
6             used for the live variable analysis. The reverse mapping can
7             be found in the BBLiveVar class (It has a pointer to the 
8             corresponding BasicBlock)
9 */
10
11 #ifndef LIVE_VAR_MAP_H
12 #define LIVE_VAR_MAP_H
13
14 #include "Support/HashExtras.h"
15
16 class MachineInstr;
17 class BasicBlock;
18 class BBLiveVar;
19 class LiveVarSet;
20
21 typedef std::hash_map<const BasicBlock *, BBLiveVar *> BBToBBLiveVarMapType;
22 typedef std::hash_map<const MachineInstr *, const LiveVarSet *> MInstToLiveVarSetMapType;
23
24 #endif