- Aug 18, 2010
-
-
Daniel Dunbar authored
llvm-svn: 111307
-
- Aug 17, 2010
-
-
Jim Grosbach authored
llvm-svn: 111254
-
- Aug 16, 2010
-
-
Dan Gohman authored
implementations of equality comparison and hash computation. This can be used to optimize node lookup by avoiding creating lots of temporary ID values just for hashing and comparison purposes. llvm-svn: 111130
-
Dan Gohman authored
with FoldingSetTrait::Profile. llvm-svn: 111127
-
- Aug 12, 2010
-
-
Duncan Sands authored
target triple and straightens it out. This does less than gcc's script config.sub, for example it turns i386-mingw32 into i386--mingw32 not i386-pc-mingw32, but it does a decent job of turning funky triples into something that the rest of the Triple class can understand. The plan is to use this to canonicalize triple's when they are first provided by users, and have the rest of LLVM only deal with canonical triples. Once this is done the special case workarounds in the Triple constructor can be removed, making the class more regular and easier to use. The comments and unittests for the Triple class are already adjusted in this patch appropriately for this brave new world of increased uniformity. llvm-svn: 110909
-
Nick Lewycky authored
- remove ashr which never worked. - fix lshr and shl and add tests. - remove dead function "intersect1Wrapped". - add a new sub method to subtract ranges, with test. llvm-svn: 110861
-
- Aug 08, 2010
-
-
Eric Christopher authored
llvm-svn: 110527
-
- Aug 07, 2010
-
-
Benjamin Kramer authored
llvm-svn: 110518
-
Benjamin Kramer authored
llvm-svn: 110516
-
Owen Anderson authored
llvm-svn: 110505
-
Owen Anderson authored
llvm-svn: 110504
-
Owen Anderson authored
llvm-svn: 110493
-
- Aug 03, 2010
-
-
Chris Lattner authored
llvm-svn: 110114
-
- Jul 30, 2010
-
-
Daniel Dunbar authored
llvm-svn: 109872
-
- Jul 29, 2010
-
-
Daniel Dunbar authored
llvm-svn: 109752
-
Daniel Dunbar authored
llvm-svn: 109721
-
Daniel Dunbar authored
- This works, but won't handle crashes on stack overflow, or signals delivered to a thread other than the one that crashed. The latter is particular annoying on Darwin, because SIGABRT tends to go to the main thread. llvm-svn: 109717
-
- Jul 28, 2010
-
-
Douglas Gregor authored
llvm-svn: 109598
-
Daniel Dunbar authored
- Designed as a simple wrapper to allow clients to attempt to catch crashes (memory errors, assertion violations, etc.) and do some kind of recovery. - Currently doesn't actually attempt to catch crashes. llvm-svn: 109586
-
- Jul 15, 2010
-
-
Benjamin Kramer authored
llvm-svn: 108366
-
- Jul 07, 2010
-
-
Chris Lattner authored
llvm-svn: 107785
-
- Jun 30, 2010
-
-
Duncan Sands authored
replaced by a bigger array in SmallPtrSet (by overridding it), instead just use a pointer to the start of the storage, and have SmallPtrSet pass in the value to use. This has the disadvantage that SmallPtrSet becomes bigger by one pointer. It has the advantage that it no longer uses tricky C++ rules, and is clearly correct while I'm not sure the previous version was. This was inspired by g++-4.6 pointing out that SmallPtrSetImpl was writing off the end of SmallArray, which it was. Since SmallArray is replaced with a bigger array in SmallPtrSet, the write was still to valid memory. But it was writing off the end of the declared array type - sounds kind of dubious to me, like it sounded dubious to g++-4.6. Maybe g++-4.6 is wrong and this construct is perfectly valid and correctly compiled by all compilers, but I think it is better to avoid the whole can of worms by avoiding this construct. llvm-svn: 107285
-
- Jun 28, 2010
-
-
Eric Christopher authored
llvm-svn: 107042
-
Eric Christopher authored
Remove library check and regenerate configure. llvm-svn: 107028
-
- Jun 25, 2010
-
-
Benjamin Kramer authored
llvm-svn: 106856
-
Benjamin Kramer authored
llvm-svn: 106841
-
Benjamin Kramer authored
buffer in the same chunk of memory. 2 less mallocs for every uninitialized MemoryBuffer and 1 less malloc for every MemoryBuffer pointing to a memory range translate into 20% less mallocs on clang -cc1 -Eonly Cocoa_h.m. llvm-svn: 106839
-
- Jun 24, 2010
-
-
Dan Gohman authored
instead of a StringRef, avoiding the need to copy the string in the common case. llvm-svn: 106754
-
- Jun 22, 2010
-
-
Eric Christopher authored
llvm-svn: 106576
-
Dan Gohman authored
llvm-svn: 106538
-
- Jun 19, 2010
-
-
Benjamin Kramer authored
llvm-svn: 106390
-
- Jun 18, 2010
-
-
Dan Gohman authored
switch from this: if (TimePassesIsEnabled) { NamedRegionTimer T(Name, GroupName); do_something(); } else { do_something(); // duplicate the code, this time without a timer! } to this: { NamedRegionTimer T(Name, GroupName, TimePassesIsEnabled); do_something(); } llvm-svn: 106285
-
- Jun 17, 2010
-
-
Jason Molenda authored
DW_OP_breg[0..31] to Dwarf.h. Add "DW_" prefix to the llvm::dwarf::*String methods which did not already have them in Dwarf.cpp. llvm-svn: 106197
-
- Jun 15, 2010
-
-
Daniel Dunbar authored
no tolerance is set. llvm-svn: 106033
-
Daniel Dunbar authored
1..19 ok to 1..20 o k (yes, the odd space is necessary). llvm-svn: 106032
-
- Jun 08, 2010
-
-
Daniel Dunbar authored
llvm-svn: 105620
-
Daniel Dunbar authored
DeltaAlgorithm: Tweak split to split by first/second half instead of even/odd, since adjacent changes are more likely to be related. llvm-svn: 105613
-
Daniel Dunbar authored
ADT: Add DAGDeltaAlgorithm, which is a DAG minimization algorithm built on top of the standard 'delta debugging' algorithm. - This can give substantial speedups in the delta process for inputs we can construct dependency information for. llvm-svn: 105612
-
Benjamin Kramer authored
realloc implementation can try to expand the allocated memory block in-place, avoiding the copy. llvm-svn: 105605
-
- May 28, 2010
-
-
Dan Gohman authored
llvm-svn: 104959
-