summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Give CaptureTracker::shouldExplore a base implementation. Most users want to doNick Lewycky2012-10-083-5/+3
| | | | | | the same thing. No functionality change. llvm-svn: 165435
* Don't crash on extra evil irreducible control flow.Jakob Stoklund Olesen2012-10-083-2/+85
| | | | | | | | | | | | | | When the CFG contains a loop with multiple entry blocks, the traces computed by MachineTraceMetrics don't always have the same nice properties. Loop back-edges are normally excluded from traces, but MachineLoopInfo doesn't recognize loops with multiple entry blocks, so those back-edges may be included. Avoid asserting when that happens by adding an isEarlierInSameTrace() function that accurately determines if a dominating block is part of the same trace AND is above the currrent block in the trace. llvm-svn: 165434
* Begin the transition to using the AttributesImpl object for the Attributes ivar.Bill Wendling2012-10-084-84/+228
| | | | | | | | | | | Start using the AttributesImpl object to hold the value of the attributes. All queries go through the interfaces now. This has one unfortunate consequence. I needed to move the AttributesImpl.h file into include/llvm. But this is only temporary! Otherwise, the changes needed to support this would be too large. llvm-svn: 165433
* Add names for the accelerator table sections so that they canEric Christopher2012-10-081-0/+12
| | | | | | be emitted if they're wanted on elf platforms. llvm-svn: 165432
* Update comment.Eric Christopher2012-10-081-1/+2
| | | | llvm-svn: 165431
* Use a special path to place the .o files in.Bill Wendling2012-10-083-3/+6
| | | | llvm-svn: 165428
* Fixup comment.Eric Christopher2012-10-081-1/+1
| | | | llvm-svn: 165427
* Fixup comments.Eric Christopher2012-10-081-2/+2
| | | | llvm-svn: 165426
* PR12716: PPC crashes on vector compareAdhemerval Zanella2012-10-084-6/+218
| | | | | | | | | | | | | | | | | | Vector compare using altivec 'vcmpxxx' instructions have as third argument a vector register instead of CR one, different from integer and float-point compares. This leads to a failure in code generation, where 'SelectSETCC' expects a DAG with a CR register and gets vector register instead. This patch changes the behavior by just returning a DAG with the vector compare instruction based on the type. The patch also adds a testcase for all vector types llvm defines. It also included a fix on signed 5-bits predicates printing, where signed values were not handled correctly as signed (char are unsigned by default for PowerPC). This generates 'vspltisw' (vector splat) instruction with SIM out of range. llvm-svn: 165419
* misched: remove the unused getSpecialAddressLatency hook.Andrew Trick2012-10-084-63/+7
| | | | llvm-svn: 165418
* misched: remove forceUnitLatencies. Defaults are handled by the default ↵Andrew Trick2012-10-083-40/+30
| | | | | | SchedModel llvm-svn: 165417
* misched: avoid scheduling an instruction twice.Andrew Trick2012-10-081-25/+29
| | | | llvm-svn: 165416
* PowerPC: Fix object creation with PPC::MTCRF8 instructionAdhemerval Zanella2012-10-081-1/+3
| | | | llvm-svn: 165411
* Add floating-point to and from integer conversionAdhemerval Zanella2012-10-083-0/+93
| | | | | | | This patch add altivec support for v4i32 to v4f32 and for v4f32 to v4i32 vector rounding conversion. llvm-svn: 165409
* Fix the ocaml binding breakage from TargetData -> DataLayout changes.Micah Villmow2012-10-081-19/+19
| | | | llvm-svn: 165406
* Move TargetData to DataLayout.Micah Villmow2012-10-081-1/+1
| | | | llvm-svn: 165404
* Move TargetData to DataLayout.Micah Villmow2012-10-0832-157/+157
| | | | llvm-svn: 165403
* Move TargetData to DataLayout.Micah Villmow2012-10-08229-1000/+947
| | | | llvm-svn: 165402
* Move TargetData to DataLayout.Micah Villmow2012-10-089-14/+14
| | | | llvm-svn: 165401
* Some regression tests which are testing the old jit and are exercising ↵James Molloy2012-10-084-1/+17
| | | | | | | | functionality which is both known to be broken and not expected to be fixed in the old jit. To remove these from the regression test output, I've marked them XFAIL (for lit tests) and ifdef'd them out (unit tests). These modifications remove the last long-standing regression test failures from the buildbots (though updating the triple to reflect new ubuntu configuration has temporarily caused some new failures). Tested on x86-64 and ARM Linux. Patch by David Tweed! llvm-svn: 165390
* Remove unused MachineInstr constructors that don't take a DebugLoc argument.Craig Topper2012-10-072-45/+1
| | | | llvm-svn: 165382
* Fix indentation. Remove 'else' after return. No functional change.Craig Topper2012-10-071-11/+8
| | | | llvm-svn: 165381
* Silence Sphinx warnings.Sean Silva2012-10-071-4/+4
| | | | | | | Found the fix on this page: http://permalink.gmane.org/gmane.comp.python.sphinx.devel/112 llvm-svn: 165380
* X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch for the ↵Benjamin Kramer2012-10-072-1/+459
| | | | | | | | | others. Otherwise it will try to use SSE patterns and fail horribly if sse is disabled. Fixes PR14035. llvm-svn: 165377
* Move more methods out-of-line. This is in preparation for changing the internalBill Wendling2012-10-072-26/+41
| | | | | | contents of the Attributes class over to an AttributesImpl. llvm-svn: 165373
* Sphinxify the GettinStarted documentation.Bill Wendling2012-10-073-1761/+1306
| | | | llvm-svn: 165372
* Sphinxify the ExtendingLLVM documentation.Bill Wendling2012-10-073-381/+309
| | | | llvm-svn: 165371
* Sphinxify the compiler writer info documentation.Bill Wendling2012-10-073-267/+123
| | | | llvm-svn: 165369
* Make sure always-inline functions get inlined. <rdar://problem/12423986>Bob Wilson2012-10-071-1/+3
| | | | | | | | | | | | | | | | Without this change, when the estimated cost for inlining a function with an "alwaysinline" attribute was lower than the inlining threshold, the getInlineCost function was returning that estimated cost rather than the special InlineCost::AlwaysInlineCost value. That is fine in the normal inlining case, but it can fail when the inliner considers the opportunity cost of inlining into an internal or linkonce-odr function. It may decide not to inline the always-inline function in that case. The fix here is just to make getInlineCost always return the special value for always-inline functions. I ran into this building clang with libc++. Tablegen failed to link because of an always-inline function that was not inlined. I have been unable to reduce the testcase down to a reasonable size. llvm-svn: 165367
* Document MapVector.Rafael Espindola2012-10-071-0/+19
| | | | llvm-svn: 165366
* Adding support for instructions mfc0, mfc2, mtc0, mtc2Jack Carter2012-10-063-0/+54
| | | | | | | move from and to coprocessors 0 and 2. Contributer: Vladimir Medic llvm-svn: 165351
* Minor changes based on post commit review:Jack Carter2012-10-061-29/+30
| | | | | Contributer: Vladimir Medic llvm-svn: 165350
* Minor changes based on post commit review:Jack Carter2012-10-051-13/+12
| | | | | Contributer: Vladimir Medic llvm-svn: 165346
* This patch splits apart PPCISelLowering::LowerFormalArguments_Darwin_Or_64SVR4Bill Schmidt2012-10-052-25/+309
| | | | | | | into separate versions for the Darwin and 64-bit SVR4 ABIs. This will facilitate doing more major surgery on the 64-bit SVR4 ABI in the near future. llvm-svn: 165336
* HowToSetUpLLVMStyleRTTI.rst: remove unneeded semicolons in code examples.Dmitri Gribenko2012-10-051-5/+5
| | | | llvm-svn: 165335
* GoldPlugin.rst: minor typesetting fixes.Dmitri Gribenko2012-10-051-3/+3
| | | | llvm-svn: 165334
* Remove unused but set variable flagged by GCC.Benjamin Kramer2012-10-051-4/+0
| | | | llvm-svn: 165331
* [ms-inline asm] Add a comment describing the MapAndConstraints.Chad Rosier2012-10-051-0/+2
| | | | llvm-svn: 165326
* [ms-inline asm] Add a few typedefs to simplify future changes.Chad Rosier2012-10-056-19/+24
| | | | llvm-svn: 165324
* Patch for integer multiply, signed/unsigned, long/long long.Reed Kotler2012-10-056-17/+163
| | | | llvm-svn: 165322
* Simplify code, don't or a bool with an uint64_t.Benjamin Kramer2012-10-051-2/+2
| | | | | | No functionality change. llvm-svn: 165321
* Remove empty file.Benjamin Kramer2012-10-051-0/+0
| | | | llvm-svn: 165320
* Remove extraneous semicolon.Chad Rosier2012-10-051-1/+1
| | | | llvm-svn: 165319
* Implement TargetData with the DataLayout class, this will allow LLVM ↵Micah Villmow2012-10-056-993/+16
| | | | | | projects to transition to DataLayout without loosing functionality. llvm-svn: 165318
* Add ELF program header.Hemant Kulkarni2012-10-051-0/+29
| | | | llvm-svn: 165316
* - Mark the BCC and BLR defs as isCodeGenOnly per error output fromWill Schmidt2012-10-051-5/+6
| | | | | | | | | llvm-tblgen -gen-asm-matcher. PPCInstrInfo.td | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) llvm-svn: 165315
* Add PowerPC64 definitions for ELF.hAdhemerval Zanella2012-10-051-0/+4
| | | | llvm-svn: 165314
* Enable llvm/test/ExecutionEngine/MCJIT also for cygwin.NAKAMURA Takumi2012-10-052-2/+2
| | | | llvm-svn: 165313
* lli: [MCJIT] Suppress "__main" for cygming in ↵NAKAMURA Takumi2012-10-051-0/+12
| | | | | | | | LLIMCJITMemoryManager::getPointerToNamedFunction(), like legacy JITMemoryManager's. CRT's __main (aka premain) invokes global ctors on cygming. See also PR3897. llvm-svn: 165312
* [CMake] Enhance add_llvm_external_project.NAKAMURA Takumi2012-10-051-3/+9
| | | | | | | | | | | | - Substitute hyphen to underscore, s/-/_/g, as the variable name. - Additional parameter can be specified as the name of directory. e.g.) add_llvm_external_project(clang-tools-extra extra) - LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=/path/to/llvm-srcroot/tools/clang/tools/extra, by default. - Build directory is in ${CMAKE_CURRENT_BINARY_DIR}/extra llvm-svn: 165311
OpenPOWER on IntegriCloud