- Oct 18, 2010
-
-
Daniel Dunbar authored
routine is off the stack. Otherwise we show up rather confusingly in the stack trace. llvm-svn: 116755
-
- Oct 17, 2010
-
-
Oscar Fuentes authored
llvm-svn: 116682
-
- Oct 14, 2010
-
-
Francois Pichet authored
Always use binary mode for output stream. This is important to prevent unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32. llvm-svn: 116509
-
Chris Lattner authored
llvm-svn: 116462
-
Chris Lattner authored
logic to use the new APInt methods. Among other things this implements rdar://8501501 - llvm.smul.with.overflow.i32 should constant fold which comes from "clang -ftrapv", originally brought to my attention from PR8221. llvm-svn: 116457
-
Chris Lattner authored
llvm-svn: 116455
-
Chris Lattner authored
return an overflow flag. llvm-svn: 116452
-
- Oct 08, 2010
-
-
John Thompson authored
llvm-svn: 116003
-
- Oct 07, 2010
-
-
Dan Gohman authored
llvm-svn: 115973
-
- Oct 05, 2010
-
-
Dan Gohman authored
Graphviz program, print something with a newline, to avoid leaving the line unfinished. llvm-svn: 115620
-
- Sep 30, 2010
-
-
Benjamin Kramer authored
reduces the amount of malloc calls and may reduce memory overhead. Some numbers: ASTContext stats, clang -cc1 -disable-free -fsyntax-only Cocoa_h.m without dynamic growth | with dynamic growth Number of memory regions: 3158 | Number of memory regions: 432 Bytes used: 12333185 | Bytes used: 12333185 Bytes allocated: 12935168 | Bytes allocated: 12800000 Bytes wasted: 601983 (includes alignment, etc) | Bytes wasted: 466815 (includes alignment, etc) ASTContext stats, clang -cc1 -disable-free -fsyntax-only on clang's ASTReader.cpp without dynamic growth | with dynamic growth Number of memory regions: 10987 | Number of memory regions: 551 Bytes used: 42910356 | Bytes used: 42910356 Bytes allocated: 45002752 | Bytes allocated: 44711936 Bytes wasted: 2092396 (includes alignment, etc) | Bytes wasted: 1801580 (includes alignment, etc) llvm-svn: 115151
-
- Sep 29, 2010
-
-
Oscar Fuentes authored
llvm-svn: 114999
-
- Sep 28, 2010
-
-
Nick Lewycky authored
also fixes PR8250. llvm-svn: 114972
-
- Sep 27, 2010
-
-
Benjamin Kramer authored
llvm-svn: 114847
-
Dan Gohman authored
llvm-svn: 114839
-
Dan Gohman authored
llvm-svn: 114832
-
- Sep 16, 2010
-
-
Duncan Sands authored
Cameron Esfahani, tweaked to use array_lengthof. llvm-svn: 114073
-
Duncan Sands authored
with attribute warn_unused_result" here - suppress the warning harder. llvm-svn: 114072
-
- Sep 07, 2010
-
-
Nick Lewycky authored
llvm-svn: 113235
-
Nick Lewycky authored
teach LazyValueInfo to use them. llvm-svn: 113196
-
Nick Lewycky authored
Fix zeroExtend and signExtend to support empty sets, and to return the smallest possible result set which contains the extension of each element in their inputs. For example zext i8 [100, 10) to i16 is now [0, 256), not i16 [100, 10) which contains 63446 members. llvm-svn: 113187
-
- Sep 03, 2010
-
-
Dan Gohman authored
I wasn't able to convince myself that all GetMainExecutable implementations always return absolute paths; this prevents unexpected behavior in case they ever don't. llvm-svn: 112888
-
- Sep 02, 2010
-
-
John McCall authored
capacity and remove the workaround in SmallVector<T,0>. There are some theoretical benefits to a N->2N+1 growth policy anyway. llvm-svn: 112870
-
NAKAMURA Takumi authored
bugpoint uses it. llvm-svn: 112803
-
- Sep 01, 2010
-
-
Dan Gohman authored
of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706
-
- Aug 30, 2010
-
-
Duncan Sands authored
Triple class constructor. Only valid triples should now be used inside LLVM - front-ends are now responsable for rejecting or correcting invalid target triples. The Triple::normalize method can be used to straighten out funky triples provided by users. Give this a whirl through the buildbots to see if I caught all places where triples enter LLVM. llvm-svn: 112470
-
- Aug 26, 2010
-
-
Benjamin Kramer authored
llvm-svn: 112189
-
Benjamin Kramer authored
Do unsigned char comparisons in StringRef::compare_lower to be more consistent with compare in corner cases. llvm-svn: 112185
-
- Aug 25, 2010
-
-
Dan Gohman authored
llvm-svn: 111993
-
- Aug 23, 2010
-
-
Benjamin Kramer authored
- Cache used characters in a bitset to reduce memory overhead to just 32 bytes. - On my core2 this code is faster except when the checked string was very short (smaller than the list of delimiters). llvm-svn: 111817
-
- Aug 20, 2010
-
-
Benjamin Kramer authored
llvm-svn: 111669
-
Dan Gohman authored
llvm-svn: 111661
-
Dan Gohman authored
pending output errors are detected. llvm-svn: 111643
-
Dan Gohman authored
outside of outs() and errs() themselves, and they don't really need custom classes. llvm-svn: 111642
-
Dan Gohman authored
class which is using it. llvm-svn: 111639
-
Dan Gohman authored
functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encounters an error. llvm-svn: 111595
-
- Aug 19, 2010
-
-
Dale Johannesen authored
llvm-svn: 111534
-
Dan Gohman authored
constructed with an output filename of "-". In particular, allow the file descriptor to be closed, and close the file descriptor in the destructor if it hasn't been explicitly closed already, to ensure that any write errors are detected. llvm-svn: 111436
-
Dan Gohman authored
llvm-svn: 111432
-
- Aug 18, 2010
-
-
Dan Gohman authored
llvm-svn: 111339
-