- Apr 29, 2014
-
-
David Blaikie authored
llvm-svn: 207447
-
Justin Bogner authored
llvm-svn: 207446
-
Rafael Espindola authored
When evaluating an assembly expression for a relocation, we want to stop at MCSymbols that are in the symbol table, even if they are variables. This is needed since the semantics may require that the relocation use them. That is not the case when computing the value of a symbol in the symbol table. There are no relocations in this case and we have to keep going until we hit a section or find out that the expression doesn't have an assembly time value. llvm-svn: 207445
-
Eric Christopher authored
llvm-svn: 207444
-
Alexey Samsonov authored
llvm-svn: 207443
-
David Blaikie authored
Now that the subtle constructScopeDIE has been refactored into two functions - one returning memory to take ownership of, one returning a pointer to already owning memory - push unique_ptr through more APIs. I think this completes most of the unique_ptr ownership of DIEs. llvm-svn: 207442
-
David Blaikie authored
While refactoring out constructScopeDIE into two functions I realized we were emitting DW_AT_object_pointer in the inlined subroutine when we didn't need to (GCC doesn't, and the abstract subprogram definition has the information already). So here's the refactoring and the bug fix. This is one step of refactoring to remove some subtle memory ownership semantics. It turns out the original constructScopeDIE returned ownership in its return value in some cases and not in others. The split into two functions now separates those two semantics - further cleanup (unique_ptr, etc) will follow. llvm-svn: 207441
-
Duncan P. N. Exon Smith authored
llvm-svn: 207440
-
Duncan P. N. Exon Smith authored
llvm-svn: 207439
-
Duncan P. N. Exon Smith authored
This reverts commit r207287, reapplying r207286. I'm hoping that declaring an explicit struct and instantiating `addBlockEdges()` directly works around the GCC crash from r207286. This is a lot more boilerplate, though. llvm-svn: 207438
-
Simon Atanasyan authored
llvm-svn: 207437
-
Simon Atanasyan authored
llvm-svn: 207436
-
Simon Atanasyan authored
llvm-svn: 207435
-
Simon Atanasyan authored
member functions. llvm-svn: 207434
-
Chad Rosier authored
behavior of the loop vectorizer, which is enabled at -O2, -O3, -O4, -Ofast and -Os. PR19568 llvm-svn: 207433
-
Quentin Colombet authored
llvm-svn: 207432
-
Reid Kleckner authored
lld-test.deps doesn't exist in a non-standalone build. llvm-svn: 207431
-
Juergen Ributzka authored
This commit provides the necessary C/C++ APIs and infastructure to enable fine- grain progress report and safe suspension points after each pass in the pass manager. Clients can provide a callback function to the pass manager to call after each pass. This can be used in a variety of ways (progress report, dumping of IR between passes, safe suspension of threads, etc). The run listener list is maintained in the LLVMContext, which allows a multi- threaded client to be only informed for it's own thread. This of course assumes that the client created a LLVMContext for each thread. This fixes <rdar://problem/16728690> llvm-svn: 207430
-
Joerg Sonnenberger authored
llvm-svn: 207429
-
Peter Collingbourne authored
Differential Revision: http://reviews.llvm.org/D3523 llvm-svn: 207428
-
Nico Weber authored
llvm-svn: 207427
-
Hans Wennborg authored
llvm-svn: 207426
-
Rafael Espindola authored
No functionality change. This removes the last use of AliasedSymbol in ELFObjectWriter.cpp. llvm-svn: 207424
-
Chad Rosier authored
llvm-svn: 207423
-
- Apr 28, 2014
-
-
Aaron Ballman authored
llvm-svn: 207422
-
Rafael Espindola authored
No functionality change. llvm-svn: 207421
-
Tim Northover authored
It's bad enough that I have to look up 5 different levels of TableGen class definitions to work out what bits go where in a simple NEON instruction anyway, without having to keep track of umpteen unused parameters. llvm-svn: 207420
-
Rafael Espindola authored
The symbol table itself has no relocations, so it is not possible to represent things like a = undefined + 1 With the patch we just omit these variables. That matches the behaviour of the gnu assembler. llvm-svn: 207419
-
Rafael Espindola authored
This will allow us to extend this test to show that other symbols don't show up in the symbol table. llvm-svn: 207418
-
Kostya Serebryany authored
llvm-svn: 207417
-
Aaron Ballman authored
llvm-svn: 207416
-
Kostya Serebryany authored
[asan] split detect_odr_violation into two: =2 detects all ODR violations, =1 detects only those where the variable sizes are different. BTW, the detector seems to be working well and finding nice bugs. Early adopters are welcome. llvm-svn: 207415
-
Rafael Espindola authored
llvm-svn: 207414
-
Patrik Hagglund authored
X86_MAX_OPERANDS is changed to unsigned. Also, add range-based for loops for affected loops. This in turn needed an ArrayRef instead of a pointer-to-array in InternalInstruction. llvm-svn: 207413
-
Tim Northover authored
Someone couldn't bear to have a completely orthogonal set of floating-point registers, so we've got some instructions that only accept v0-v15 (coming in ARMv9, V128_prime: you're allowed v2, v3, v5, v7, ...). Anyway, we were permitting even the out of range registers during assembly (CodeGen handled it correctly). This adds a diagnostic. llvm-svn: 207412
-
Chandler Carruth authored
just handles the pre-DFS case. Also add some test cases for this case to make sure it works. llvm-svn: 207411
-
Chandler Carruth authored
contract (and be much more useful). It now provides exactly the post-order traversal a caller might need to perform on newly formed SCCs. llvm-svn: 207410
-
Chandler Carruth authored
mapping from a basic block to an incoming value, either for removal or just lookup, is linear in the number of predecessors, and we were doing this for every entry in the 'Preds' list which is in many cases almost all of them! Unfortunately, the fixes are quite ugly. PHI nodes just don't make this operation easy. The efficient way to fix this is to have a clever 'remove_if' operation on PHI nodes that lets us do a single pass over all the incoming values of the original PHI node, extracting the ones we care about. Then we could quickly construct the new phi node from this list. This would remove the remaining underlying quadratic movement of unrelated incoming values and the need for silly backwards looping to "minimize" how often we hit the quadratic case. This is the last obvious fix for PR19499. It shaves another 20% off the compile time for me, and while UpdatePHINodes remains in the profile, most of the time is now stemming from the well known inefficiencies of LVI and jump threading. llvm-svn: 207409
-
Viktor Kutuzov authored
llvm-svn: 207408
-
Benjamin Kramer authored
llvm-svn: 207407
-