|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 68269 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | - The code is silly, I'm just amusing myself. Rewrite to be efficient
   if you like. :)
Also, if you wish to debate the proper names of the triple components
I'm all ears.
llvm-svn: 68252 | 
| | 
| 
| 
| 
| 
| 
| | is appropriate. This helps visually differentiate host-oriented
calculations from target-oriented calculations.
llvm-svn: 68227 | 
| | 
| 
| 
| 
| 
| | * Simplified if statement
llvm-svn: 68163 | 
| | 
| 
| 
| | llvm-svn: 67892 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | same as a normal i80 {low64, high16} rather
than its own {high64, low16}.  A depressing number
of places know about this; I think I got them all.
Bitcode readers and writers convert back to the old
form to avoid breaking compatibility.
llvm-svn: 67562 | 
| | 
| 
| 
| 
| 
| | explicitly flush it.
llvm-svn: 67526 | 
| | 
| 
| 
| | llvm-svn: 67302 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | - Use for exceptional buffer conditions in raw_ostream:write to shave
   off a cycle or two.
 - Please rename if you have a better one.
llvm-svn: 67103 | 
| | 
| 
| 
| 
| 
| 
| 
| | under a single branch.
Also, add a FIXME for formatted output.
llvm-svn: 67069 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | a single character requires only one branch to follow slow path.
 - Never use a buffer when writing on an unbuffered stream.
 - Move default buffer size to header.
llvm-svn: 67066 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | write as arguments.
 - Add raw_ostream::GetNumBytesInBuffer.
 - Privatize buffer pointers.
 - Get rid of slow and unnecessary code for writing out large strings.
llvm-svn: 67060 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - Flush a known non-empty buffers; enforces the interface to
   flush_impl and kills off HandleFlush (which I saw no reason to be
   an inline method, Chris?).
 - Clarify invariant that flush_impl is only called with OutBufCur >
   OutBufStart.
 - This also cleary collects all places where we have to deal with the
   buffer possibly not existing.
 - A few more comments and fixing the unbuffered behavior remain in
   this commit sequence.
llvm-svn: 67057 | 
| | 
| 
| 
| 
| 
| | it is easy.
llvm-svn: 67054 | 
| | 
| 
| 
| 
| 
| | single characters writes outside of the fast path in raw_ostream.h
llvm-svn: 67053 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | large for the testsuite) took over six minutes to compile on my Mac.
The patched LLVM-GCC compiles that testcase in three seconds (GCC
takes less than one second).  This hash function is more complex
(about 35 instructions on x86) than what Chris wanted, but I expect it
will be well-behaved with arbitrary inputs.
Thank you to everyone who responded to my previous request for advice.
llvm-svn: 66962 | 
| | 
| 
| 
| | llvm-svn: 66850 | 
| | 
| 
| 
| 
| 
| | to the stack.  This shrinks all llvm tools by 9k, and improves reentrancy.
llvm-svn: 66847 | 
| | 
| 
| 
| | llvm-svn: 66845 | 
| | 
| 
| 
| 
| 
| 
| | - Add unbuffered flag to raw_ostream, forwarded by raw_fd_ostream and
   used by raw_stderr_ostream.
llvm-svn: 66545 | 
| | 
| 
| 
| | llvm-svn: 66279 | 
| | 
| 
| 
| | llvm-svn: 66264 | 
| | 
| 
| 
| | llvm-svn: 66160 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | feels a kinship to machine stacks that grow down.  Now we get
stuff like this:
Stack dump:
0.	Program arguments: clang clang_crash_Iw2Osj.mi 
1.	/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: parsing function body '_mm_cvtpi16_ps'
2.	/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: in compound statement ('{}')
Abort
llvm-svn: 66145 | 
| | 
| 
| 
| | llvm-svn: 66144 | 
| | 
| 
| 
| 
| 
| | that get printed when a program crashes.  This is the first step of many.
llvm-svn: 66076 | 
| | 
| 
| 
| 
| 
| 
| 
| | of any Objective-C classes. It would be very helpful to debugger if the compiler encodes runtime version number in DWARF.
Add support for two additional DWARF attributes to encode Objective-C runtime version number.
llvm-svn: 64834 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | Cleanup some warning.
Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync.
Only tested with VS2008. hope it does not break anything. feel free to revert.
llvm-svn: 64554 | 
| | 
| 
| 
| 
| 
| | exceptions.
llvm-svn: 64448 | 
| | 
| 
| 
| | llvm-svn: 64444 | 
| | 
| 
| 
| 
| 
| | two AddString methods to use it.
llvm-svn: 64005 | 
| | 
| 
| 
| 
| 
| 
| | option to make the -fno- form on the option.  We also document the new
form in the CommandLine documentation.
llvm-svn: 63559 | 
| | 
| 
| 
| 
| 
| | is necessary for eventual gcc commmand line compatibility.
llvm-svn: 63384 | 
| | 
| 
| 
| | llvm-svn: 63171 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | causing assertion failures in getSExtValue().
Fix it by making highWordBits actually contain what its name says,
and add some more unit-tests for APInt.
This fixes PR3419.
llvm-svn: 63107 | 
| | 
| 
| 
| | llvm-svn: 63044 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | DW_AT_APPLE_flags.
DW_AT_APPLE_optimized flag is set when a compile_unit is optimized. The debugger takes advantage of this information some way.
DW_AT_APPLE_flags encodes command line options when certain env. variable is set. This is used by build engineers to track various gcc command lines used by by  a project, irrespective of whether the project used makefile, Xcode or something else.
llvm-gcc patch is next.
llvm-svn: 62888 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | ASCII IR; loading and storing these can change the
bits of NaNs on some hosts.  Remove or add warnings
at a few other places using host floating point;
this is a bad thing to do in general.
llvm-svn: 62712 | 
| | 
| 
| 
| 
| 
| | compatibility with cygwin.  Patch by Jay Foad!
llvm-svn: 62695 | 
| | 
| 
| 
| | llvm-svn: 62688 | 
| | 
| 
| 
| 
| 
| 
| 
| | Besides APFloat, this involved removing code
from two places that thought they knew the
result of frem(0., x) but were wrong.
llvm-svn: 62645 | 
| | 
| 
| 
| 
| 
| 
| 
| | fully implemented yet and not used.  This is
mainly to clarify that APFloat::mod implements
C fmod, not remainder.
llvm-svn: 62593 | 
| | 
| 
| 
| 
| 
| | Patrick Boettcher!
llvm-svn: 62592 | 
| | 
| 
| 
| | llvm-svn: 62528 | 
| | 
| 
| 
| | llvm-svn: 62512 | 
| | 
| 
| 
| 
| 
| 
| | Makes possible to specify options that take multiple arguments (a-la
-sectalign on Darwin). See documentation for details.
llvm-svn: 62372 | 
| | 
| 
| 
| | llvm-svn: 61991 | 
| | 
| 
| 
| | llvm-svn: 61378 | 
| | 
| 
| 
| | llvm-svn: 60770 | 
| | 
| 
| 
| | llvm-svn: 60679 |