mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
Switch ValueSymbolTable to use StringMap<Value*> instead of std::map<std::string, Value*>
as its main datastructure. There are many improvements yet to be made, but this speeds up opt --std-compile-opts on 447.dealII by 7.3%. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34193 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -39,9 +39,8 @@ class Constant : public User {
|
||||
void operator=(const Constant &); // Do not implement
|
||||
Constant(const Constant &); // Do not implement
|
||||
protected:
|
||||
Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
|
||||
const std::string& Name = "")
|
||||
: User(Ty, vty, Ops, NumOps, Name) {}
|
||||
Constant(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps)
|
||||
: User(Ty, vty, Ops, NumOps) {}
|
||||
|
||||
void destroyConstantImpl();
|
||||
public:
|
||||
|
Reference in New Issue
Block a user