mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Use ValueMap instead of DenseMap.
The ValueMapper used by various cloning utility maps MDNodes also. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106706 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,12 +15,12 @@
|
||||
#ifndef VALUEMAPPER_H
|
||||
#define VALUEMAPPER_H
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/ValueMap.h"
|
||||
|
||||
namespace llvm {
|
||||
class Value;
|
||||
class Instruction;
|
||||
typedef DenseMap<const Value *, Value *> ValueToValueMapTy;
|
||||
typedef ValueMap<const Value *, Value *> ValueToValueMapTy;
|
||||
|
||||
Value *MapValue(const Value *V, ValueToValueMapTy &VM);
|
||||
void RemapInstruction(Instruction *I, ValueToValueMapTy &VM);
|
||||
|
Reference in New Issue
Block a user