- May 28, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 157566
-
Dmitry Vyukov authored
llvm-svn: 157565
-
Bill Wendling authored
replicating the code for every place it's needed, we instead generate a function that does that for us. This function is local to the executable, so there shouldn't be any writing violations. llvm-svn: 157564
-
Filipe Cabecinhas authored
llvm-svn: 157562
-
Charles Davis authored
llvm-svn: 157561
-
Bill Wendling authored
llvm-svn: 157560
-
Bill Wendling authored
llvm-svn: 157559
-
Chris Lattner authored
llvm-svn: 157557
-
Chris Lattner authored
llvm-svn: 157556
-
Chris Lattner authored
llvm-svn: 157555
-
Chris Lattner authored
llvm-svn: 157554
-
David Blaikie authored
This comes up in the begin/end calls of a range-for (see the included test case). Other suggestions are welcome, though this seems to do the trick without regressing anything. llvm-svn: 157553
-
Charles Davis authored
as zeroes. Now the digits are properly non-zero. llvm-svn: 157552
-
-
Benjamin Kramer authored
llvm-svn: 157550
-
Benjamin Kramer authored
The DenseMap reallocates after 64 insertions so this only happened in large test cases under very specific circumstances. llvm-svn: 157549
-
Benjamin Kramer authored
llvm-svn: 157548
-
Lang Hames authored
bitwidth and signedness. Also rename the variable to reflect its purpose. No test case - discovered during random code exploration. llvm-svn: 157547
-
Benjamin Kramer authored
llvm-svn: 157546
-
Chris Lattner authored
making it stronger and more sane. Delete the code from tblgen that produced the old code. Besides being a path forward in intrinsic sanity, this also eliminates a bunch of machine generated code that was compiled into Function.o llvm-svn: 157545
-
Chris Lattner authored
the old verifier just checked that something "was a pointer", but not that the pointee was correct. llvm-svn: 157544
-
Chris Lattner authored
remove two (useless) tests that use incorrect intrinsic prototypes, detected by the new intrinsic verifier. llvm-svn: 157543
-
Chris Lattner authored
llvm-svn: 157542
-
Peter Collingbourne authored
definition in the map before calling itself to retrieve the DIE for the declaration. Without this change, if this causes getOrCreateSubprogramDIE to be recursively called on the definition, it will create multiple DIEs for that definition. Fixes PR12831. llvm-svn: 157541
-
Chris Lattner authored
llvm-svn: 157540
-
Benjamin Kramer authored
The only missing part is insert(), which uses a pair of parameters and I haven't figured out how to convert it to rvalue references. It's now possible to use a DenseMap with std::unique_ptr values :) llvm-svn: 157539
-
Benjamin Kramer authored
llvm-svn: 157538
-
Fariborz Jahanian authored
to the declaration in this patch. // rdar://10893232 llvm-svn: 157537
-
Chris Lattner authored
it is (at the cost of 45 bytes of extra table space) so that the verifier can start using it. llvm-svn: 157536
-
Benjamin Kramer authored
These tend to be copied around a lot, moving it instead saves a ton of memory accesses. llvm-svn: 157535
-
- May 27, 2012
-
-
Benjamin Kramer authored
Retain + Release on a ref counted pointer is cheap, but not free (it adds a function call in this case). llvm-svn: 157534
-
Dmitri Gribenko authored
llvm-svn: 157533
-
Benjamin Kramer authored
While there make it a SmallPtrSet. llvm-svn: 157532
-
Benjamin Kramer authored
llvm-svn: 157531
-
NAKAMURA Takumi authored
llvm-svn: 157530
-
NAKAMURA Takumi authored
Path::GetTemporaryDirectory(): Add an assertion if TempDirectory is alive, to check when someone would remove the tempdir. llvm-svn: 157529
-
NAKAMURA Takumi authored
clang/lib/Rewrite/Rewriter.cpp: Don't try to rename opened files on Win32. Win32 doesn't allow rename/removing opened files. llvm-svn: 157528
-
Benjamin Kramer authored
llvm-svn: 157527
-
Benjamin Kramer authored
This is obviosly right but I don't see how to do this with proper vector iterators without building a horrible mess of workarounds. llvm-svn: 157526
-
Benjamin Kramer authored
vector.begin()-1 is invalid too. llvm-svn: 157525
-