mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
c0610874cc
returning an std::string by value, it fills in a SmallString/SmallVector passed in. This significantly reduces string thrashing in some cases. More specifically, this: - Adds an operator<< and a print method for APInt that allows you to directly send them to an ostream. - Reimplements APInt::toString to be much simpler and more efficient algorithmically in addition to not thrashing strings quite as much. This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the asmprinter. This also fixes a bug I introduced into the asmwriter in a previous patch w.r.t. alias printing. llvm-svn: 54873 |
||
---|---|---|
.. | ||
LLLexer.cpp | ||
LLLexer.h | ||
llvmAsmParser.cpp.cvs | ||
llvmAsmParser.h.cvs | ||
llvmAsmParser.y | ||
llvmAsmParser.y.cvs | ||
Makefile | ||
Parser.cpp | ||
ParserInternals.h |