- Apr 30, 2014
-
-
Ed Maste authored
llvm-svn: 207566
-
Reed Kotler authored
Reviewers: dsanders Reviewed by: dsanders Differential Revision: http://reviews.llvm.org/D3430 llvm-svn: 207565
-
Ed Maste authored
llvm-svn: 207564
-
Alexey Samsonov authored
DIE doesn't need to store a pointer to its parent: we can traverse the DIE tree only with functions getFirstChild() and getSibling(). Parents must be known only when we construct the tree. Rewrite setDIERelations() procedure in a more straightforward way, and get rid of lots of now unused DIEMinimal methods. No functionality change. llvm-svn: 207563
-
Jordan Rose authored
The constructor that comes right before a variable declaration in the CFG might not be the initialization of that variable. Previously, we just checked that the variable's initializer expression was different from the construction expression, but forgot to see whether the variable had an initializer expression at all. Thanks for the prompting, David. llvm-svn: 207562
-
Jordan Rose authored
While we don't model pointer-to-member operators yet (neither .* nor ->*), CallAndMessageChecker still checks to make sure the 'this' object is not null or undefined first. However, it also expects that the object should always have a valid MemRegion, something that's generally important elsewhere in the analyzer as well. Ensure this is true ahead of time, just like we do for member access. PR19531 llvm-svn: 207561
-
Duncan P. N. Exon Smith authored
r207552, r207553 and r207554 all had bad test names. llvm-svn: 207560
-
Duncan P. N. Exon Smith authored
llvm-svn: 207559
-
Daniel Sanders authored
Summary: The InstSE class already initializes Predicates to [HasStdEnc]. No functional change (confirmed by diffing tablegen-erated files before and after) Differential Revision: http://reviews.llvm.org/D3548 llvm-svn: 207558
-
Ed Maste authored
llvm.org/pr19605 llvm-svn: 207557
-
Todd Fiala authored
This now builds lldb-gdbserver on all Linux and FreeBSD architectures rather than being locked to x86_64 architectures only. Please note lldb-gdbserver is not yet functional, this just enables the non-x86_64 Linux/FreeBSD build using the configure/make build system. --This line, and those below, will be ignored-- M tools/Makefile llvm-svn: 207556
-
Duncan P. N. Exon Smith authored
The code is now shared... no need for a note. llvm-svn: 207555
-
Duncan P. N. Exon Smith authored
llvm-svn: 207554
-
Duncan P. N. Exon Smith authored
llvm-svn: 207553
-
Duncan P. N. Exon Smith authored
Move a detailed test of `BranchProbability::scale()` from `BlockFrequencyTest` over to `BranchProbabilityTest`. llvm-svn: 207552
-
Daniel Sanders authored
Summary: The InstSE class already initializes Predicates to [HasStdEnc]. No functional change (confirmed by diffing tablegen-erated files before and after) Differential Revision: http://reviews.llvm.org/D3547 llvm-svn: 207551
-
Duncan P. N. Exon Smith authored
Change `BlockFrequency` to defer to `BranchProbability::scale()` and `BranchProbability::scaleByInverse()`. This removes `BlockFrequency::scale()` from its API (and drops the ability to see the remainder), but the only user was the unit tests. If some code in the future needs an API that exposes the remainder, we can add something to `BranchProbability`, but I find that unlikely. llvm-svn: 207550
-
Ben Langmuir authored
Fixed by moving ProcessWarningOptions from Frontend into Basic. All of the dependencies for ProcessWarningOptions were already in Basic, so this was a small change. llvm-svn: 207549
-
Daniel Sanders authored
Summary: The MipsPat class already initializes Predicates to [HasStdEnc]. No functional change (confirmed by diffing tablegen-erated files before and after) Differential Revision: http://reviews.llvm.org/D3546 llvm-svn: 207548
-
Duncan P. N. Exon Smith authored
`BlockMass` can now defer to `BranchProbability::scale()`. llvm-svn: 207547
-
Duncan P. N. Exon Smith authored
Since `BlockMass` is an implementation detail and there are no current users of this, delete `BlockMass::operator*=(BlockMass)`. I might need this when I try to strip out `UnsignedFloat`, but I can pull it back in at that point. llvm-svn: 207546
-
Duncan P. N. Exon Smith authored
llvm-svn: 207545
-
Duncan P. N. Exon Smith authored
Add API to `BranchProbability` for scaling big integers. Next job is to rip the logic out of `BlockMass` and `BlockFrequency`. llvm-svn: 207544
-
Dan Liew authored
CMake. llvm-svn: 207543
-
Fariborz Jahanian authored
// rdar://16737117 llvm-svn: 207542
-
Duncan P. N. Exon Smith authored
llvm-svn: 207541
-
Duncan P. N. Exon Smith authored
llvm-svn: 207540
-
- Apr 29, 2014
-
-
David Blaikie authored
These were called from distinct places and had significant distinct behavior. No need to make that a dynamic check inside the function rather than just having two functions (refactoring some common code into a helper function to be called from the two separate functions). llvm-svn: 207539
-
Daniel Jasper authored
Before: repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {aaaaaaaaaaaaaaaa: AAAAAAAAAA, bbbbbbb: BBBB, bbbb: BBB}]; After: repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {aaaaaaaaaaaaaaaa: AAAAAAAAAA, bbbbbbb: BBBB, bbbb: BBB}]; llvm-svn: 207538 -
NAKAMURA Takumi authored
llvm-svn: 207537
-
NAKAMURA Takumi authored
llvm-svn: 207536
-
NAKAMURA Takumi authored
LinkModulesTest.cpp: Use test-specific Ctx instead of getGlobalContext(). The global context might not be free'd. [vg_leak] llvm-svn: 207535
-
Alexander Kornienko authored
Make the tests for removal of 'explicit' more diverse. llvm-svn: 207534
-
Daniel Jasper authored
llvm-svn: 207533
-
Alexander Kornienko authored
Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3544 llvm-svn: 207532
-
Alexander Kornienko authored
Summary: The Google C++ Style Guide doesn't require copy constructors to be declared explicit, but some people do this by mistake. Make this check detect and fix such cases. Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3541 llvm-svn: 207531
-
Tilmann Scheller authored
Since the ARM64 backend doesn't implement support for the old JIT those tests are failing when the regression tests are run on an AArch64 host. llvm-svn: 207530
-
Daniel Sanders authored
Differential Revision: http://reviews.llvm.org/D3536 llvm-svn: 207529
-
Diego Novillo authored
Summary: This calls emitOptimizationRemark from the loop unroller and vectorizer at the point where they make a positive transformation. For the vectorizer, it reports vectorization and interleave factors. For the loop unroller, it reports all the different supported types of unrolling. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3456 llvm-svn: 207528
-
Daniel Jasper authored
Before: void f() { return; } After: void f() { return; } llvm-svn: 207527
-