mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 07:17:32 +00:00
* Rename get.*Operator to create seeing that it would have to be qualified
with the classname anyways. * Add an isPHINode() method to Instruction * Add getUniqueName() to SymbolTable class * Add an insert method to ValueHolder git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -58,6 +58,12 @@ public:
|
||||
void remove(Value *N);
|
||||
Value *type_remove(const type_iterator &It);
|
||||
|
||||
// getUniqueName - Given a base name, return a string that is either equal to
|
||||
// it (or derived from it) that does not already occur in the symbol table for
|
||||
// the specified type.
|
||||
//
|
||||
string getUniqueName(const Type *Ty, const string &BaseName);
|
||||
|
||||
inline unsigned type_size(const Type *TypeID) const {
|
||||
return find(TypeID)->second.size();
|
||||
}
|
||||
|
Reference in New Issue
Block a user