hash_map

Hello,

I want to use some code written for program dependence graph iteration, but this code uses hash_map (#include “llvm/ADT/hash_map”) which i think remove from llvm, does anyone know how can i use hsah_map or simply replace that?

Thanks
|

Hi Hamed,

I want to use some code written for program dependence graph iteration, but this
code uses hash_map (#include "llvm/ADT/hash_map") which i think remove from
llvm, does anyone know how can i use hsah_map or simply replace that?

you can always grab a copy of hash_map from an older version of LLVM I suppose.

Ciao,

Duncan.

I think we consider it replaced by DenseMap (#include “llvm/ADT/DenseMap.h”).

John.