- Dec 06, 2012
-
-
Andrew Trick authored
Evan nominated me for this a while back, and no one has offered to save me from it. llvm-svn: 169447
-
Richard Smith authored
llvm-svn: 169446
-
Andrew Trick authored
llvm-svn: 169443
-
- Dec 05, 2012
-
-
Richard Smith authored
RUN: a RUN: b || true as "a && (b || true)" in Tcl mode, and as "(a && b) || true" in sh mode. Everyone seems to (quite reasonably) write tests assuming the Tcl behavior, so use that in sh mode too. llvm-svn: 169441
-
Akira Hatanaka authored
MF_READ and MF_WRITE are set. llvm-svn: 169439
-
Michael J. Spencer authored
Quick build fix for c++03 clang. This needs a proper solution. Note that these offsets are guaranteed to be correct by Endian.h. llvm-svn: 169438
-
Eli Bendersky authored
This is more consistent with other vectors in this code. In addition, I ran some tests compiling a large program and >96% of fragments have 4 or less fixups, so SmallVector<4> is a good optimization. llvm-svn: 169433
-
Jyotsna Verma authored
using multiclass. llvm-svn: 169432
-
Bill Wendling authored
llvm-svn: 169428
-
Andrew Trick authored
llvm-svn: 169427
-
Andrew Trick authored
Now that live register units are tracked individually, the code can be simplified. llvm-svn: 169426
-
Andrew Trick authored
This is much simpler to reason about, more efficient, and fixes some corner cases involving implicit super-register defs. Fixed rdar://12797931. llvm-svn: 169425
-
Nadav Rotem authored
llvm-svn: 169423
-
David Sehr authored
The encoding of NOP in ARMAsmBackend.cpp is missing a trailing zero, which causes the emission of a coprocessor instruction rather than "mov r0, r0" as indicated in the comment. The test also checks for the wrong encoding. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121203/157919.html llvm-svn: 169420
-
Eli Bendersky authored
llvm-svn: 169419
-
Justin Holewinski authored
Patch by Eric Holk llvm-svn: 169418
-
Michael J. Spencer authored
The new command line option -unwind-info dumps the Win64 EH unwind data to the console. This is a nice feature if you need to debug generated EH data (e.g. from LLVM). Includes a test case. Initial patch by João Matos, extensions and rework by Kai Nacke. llvm-svn: 169415
-
Michael J. Spencer authored
Change member types of RuntimeFunction and UnwindInfo from uint64_t to uint32_t: These members represent addresses. According to MSDN, they are image relative, that is, they are 32-bit offsets from the starting address of the image that contains the function table entry. See MSDN for more information: RUNTIME_FUNCTION: http://msdn.microsoft.com/en-us/library/ft9x1kdx.aspx UNWIND_INFO: http://msdn.microsoft.com/en-us/library/ddssxxy8.aspx Make Win64.h platform-neutral: The standard types unit8_t, uint16_t and uint32_t are replaced with their counterparts from Endian.h. Accessor functions are introduced to replace bit fields. Patch by João Matos and Kai Nacke. llvm-svn: 169414
-
David Sehr authored
llvm-svn: 169410
-
Jyotsna Verma authored
addressing mode and immediate stored value. llvm-svn: 169408
-
Eli Bendersky authored
good for enacpsulation anyway. llvm-svn: 169407
-
Bob Wilson authored
For OS X builds, we generate one version of config.h but then build for multiple architectures. This means that the LLVM_HOSTTRIPLE setting may have the wrong architecture. Adjust it dynamically to match the current architecture. <rdar://problem/12715470> llvm-svn: 169405
-
Matthew Curtis authored
llvm-svn: 169404
-
Andrew Trick authored
llvm-svn: 169401
-
Benjamin Kramer authored
Also use the portable (ugly) format string macros, for MSVC compatibility. llvm-svn: 169396
-
Jakob Stoklund Olesen authored
A MachineInstr can only ever be constructed by CreateMachineInstr() and CloneMachineInstr(), and those factories don't use the removed constructors. llvm-svn: 169395
-
Kevin Enderby authored
This is for the lldb team so most of but not all of the values are to be printed as hex with this option. Some small values like the scale in an X86 address were requested to printed in decimal without the leading 0x. There may be some tweaks need to places that may still be in decimal that they want in hex. Specially for arm. I made my best guess. Any tweaks from here should be simple. I also did the best I know now with help from the C++ gurus creating the cleanest formatImm() utility function and containing the changes. But if someone has a better idea to make something cleaner I'm all ears and game for changing the implementation. rdar://8109283 llvm-svn: 169393
-
Pedro Artigas authored
- Added calls to doInitialization/doFinalization to immutable passes - fixed ordering of calls to doFinalization to be the reverse of the pass run order due to potential dependencies - fixed machine module info to operate in the doInitialization/doFinalization model, also fixes some FIXMEs reviewed by Evan Cheng <evan.cheng@apple.com> llvm-svn: 169391
-
Evgeniy Stepanov authored
llvm-svn: 169383
-
Evgeniy Stepanov authored
This mirrors the change in ASan & TSan done in r168864. llvm-svn: 169378
-
Evgeniy Stepanov authored
LinkOnceODRLinkage globals may be removed in GlobalOpt if not used in the current module. llvm-svn: 169377
-
Elena Demikhovsky authored
Generate VPBLENDD for AVX2 and VPBLENDW for v16i16 type on AVX2. llvm-svn: 169366
-
Andrew Trick authored
At build-time register pressure was always computed in terms of register units. But the compile-time API was expressed in terms of register classes because it was intended for virtual registers (and physical register units weren't yet used anywhere in codegen). Now that the codegen uses physreg units consistently, prepare for tracking register pressure also in terms of live units, not live registers. llvm-svn: 169360
-
Andrew Trick authored
llvm-svn: 169359
-
Andrew Trick authored
llvm-svn: 169358
-
Sean Silva authored
llvm-svn: 169352
-
Shuxin Yang authored
llvm-svn: 169345
-
Michael J. Spencer authored
llvm-svn: 169344
-
Sean Silva authored
Sorry for the massive commit, but I just wanted to knock this one down and it is really straightforward. There are still a couple trivial (i.e. not related to the content) things left to fix: - Use of raw HTML links where :doc:`...` and :ref:`...` could be used instead. If you are a newbie and want to help fix this it would make for some good bite-sized patches; more experienced developers should be focusing on adding new content (to this tutorial or elsewhere, but please _do not_ waste your time on formatting when there is such dire need for documentation (see docs/SphinxQuickstartTemplate.rst to get started writing)). - Highlighting of the kaleidoscope code blocks (currently left as bare `::`). I will be working on writing a custom Pygments highlighter for this, mostly as training for maintaining the `llvm` code-block's lexer in-tree. I want to do this because I am extremely unhappy with how it just "gives up" on the slightest deviation from the expected syntax and leaves the whole code-block un-highlighted. More generally I am looking at writing some Sphinx extensions and keeping them in-tree as well, to support common use cases that currently have no good solution (like "monospace text inside a link"). llvm-svn: 169343
-
Evan Cheng authored
x ^ -1. Patch by David Majnemer. rdar://12755626 llvm-svn: 169339
-