| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 46510
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
| |
of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space.
llvm-svn: 45082
|
|
|
|
|
|
| |
bitcasts of them.
llvm-svn: 36537
|
|
|
|
|
|
| |
will follow.
llvm-svn: 36435
|
|
|
|
|
|
|
|
|
| |
object is always constant. As such, evaluate it at compile time instead of storing
it as an ivar in SymbolTableListTraits. This shrinks every SymbolTableListTraits
ilist by a word, shrinking BasicBlock from 44->40 bytes, Function from 96->88 bytes,
and Module from 60->52 bytes.
llvm-svn: 36189
|
|
|
|
|
|
|
|
| |
of two. This shrinkifies Function by 8 bytes (104->96) and Module by 8
bytes (68->60). On a testcase of mine, this reduces the memory used to
read a module header from 565680b to 561024, a little over 4K.
llvm-svn: 36188
|
|
|
|
|
|
| |
Simplify construction of FunctionType to use default arguments.
llvm-svn: 35810
|
|
|
|
|
|
|
|
| |
Adjust to changes in Module interface:
getMainFunction() -> getFunction("main")
getNamedFunction(X) -> getFunction(X)
llvm-svn: 33922
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces the SymbolTable class with ValueSymbolTable which does
not support types planes. This means that all symbol names in LLVM must now
be unique. The patch addresses the necessary changes to deal with this and
removes code no longer needed as a result. This completes the bulk of the
changes for this PR. Some cleanup patches will follow.
llvm-svn: 33918
|
|
|
|
|
|
|
| |
Make the Module's dependent library use a std::vector instead of SetVector
adjust #includes in .cpp files because SetVector.h is no longer included.
llvm-svn: 33855
|
|
|
|
|
|
| |
confusion with external linkage types.
llvm-svn: 33663
|
|
|
|
|
|
|
| |
Remove the setEndianess and setPointerSize methods. These are now
handled via the setDataLayout method.
llvm-svn: 33527
|
|
|
|
|
|
| |
to resolve PR1088, and to help PR411.
llvm-svn: 32988
|
|
|
|
|
|
|
|
|
| |
Take an incremental step towards type plane elimination. This change
separates types from values in the symbol tables by finally making use
of the TypeSymbolTable class. This yields more natural interfaces for
dealing with types and unclutters the SymbolTable class.
llvm-svn: 32956
|
|
|
|
|
|
| |
Change signed integer type names to unsigned equivalents.
llvm-svn: 32780
|
|
|
|
| |
llvm-svn: 32320
|
|
|
|
|
|
| |
change the module in any way and we should enforce that.
llvm-svn: 28588
|
|
|
|
| |
llvm-svn: 28380
|
|
|
|
|
|
| |
This is part of the on-going work on PR 761.
llvm-svn: 28379
|
|
|
|
| |
llvm-svn: 26618
|
|
|
|
| |
llvm-svn: 25610
|
|
|
|
| |
llvm-svn: 25570
|
|
|
|
|
|
|
|
| |
internal linkage.
Patch provided by Evan Jones, thanks!
llvm-svn: 24604
|
|
|
|
| |
llvm-svn: 21427
|
|
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
|
|
|
| |
llvm-svn: 19930
|
|
|
|
| |
llvm-svn: 19923
|
|
|
|
|
|
|
| |
error. We'll strategize on this when we have multiple front ends to deal
with. For now llvm-ld just runs a standard set of transforms.
llvm-svn: 16333
|
|
|
|
| |
llvm-svn: 16321
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
|
|
| |
Ensure the list of libraries is cleared.
llvm-svn: 15212
|
|
|
|
|
|
| |
- Module doesn't need to manage ConstantPointerRefs any more.
llvm-svn: 14931
|
|
|
|
|
|
| |
Patch found and provided by Vladimir Merzliakov. Thanks Vladimir!
llvm-svn: 14732
|
|
|
|
| |
llvm-svn: 14617
|
|
|
|
| |
llvm-svn: 13751
|
|
|
|
| |
llvm-svn: 13096
|
|
|
|
|
|
|
| |
This is one small step towards the complete obliteration of
ConstantPointerRef's entirely!! Woot!
llvm-svn: 12216
|
|
|
|
| |
llvm-svn: 10671
|
|
|
|
|
|
|
| |
* Add new Module::getTypeByName method
* Group methods in Module.cpp better
llvm-svn: 10668
|
|
|
|
| |
llvm-svn: 10131
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
| |
llvm-svn: 9719
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9071
|
|
|
|
| |
llvm-svn: 9023
|
|
|
|
| |
llvm-svn: 8238
|
|
|
|
| |
llvm-svn: 8119
|
|
|
|
|
|
|
|
| |
than
one function of the same name
llvm-svn: 7274
|
|
|
|
| |
llvm-svn: 6234
|