13#ifndef LLVM_IR_VALUESYMBOLTABLE_H
14#define LLVM_IR_VALUESYMBOLTABLE_H
78 if (MaxNameSize > -1 &&
Name.size() > (
unsigned)MaxNameSize)
79 Name =
Name.substr(0, std::max(1u, (
unsigned)MaxNameSize));
122 void reinsertValue(
Value *V);
This file defines the StringMap class.
This class represents an incoming formal argument to a Function.
LLVM Basic Block Representation.
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
StringMapConstIterator< Value * > const_iterator
StringMapIterator< Value * > iterator
ValueTy lookup(StringRef Key) const
lookup - Return the entry for the specified key, or a default constructed value if no such entry exis...
StringRef - Represent a constant reference to a string, i.e.
This class provides a symbol table of name/value pairs.
ValueSymbolTable(int MaxNameSize=-1)
void dump() const
This function can be used from the debugger to display the content of the symbol table while debuggin...
const_iterator begin() const
Get a const_iterator that from the beginning of the symbol table.
Value * lookup(StringRef Name) const
This method finds the value with the given Name in the the symbol table.
const_iterator end() const
Get a const_iterator to the end of the symbol table.
iterator end()
Get an iterator to the end of the symbol table.
unsigned size() const
The number of name/type pairs is returned.
iterator begin()
Get an iterator that from the beginning of the symbol table.
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.
Option to add extra bits to the ilist_iterator.
Option to add a pointer to this list's owner in every node.