| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
CodeGenMapTable.cpp.
llvm-svn: 175185
|
|
|
|
|
|
|
| |
Fixed bug in tablegen conversion when source pseudo instruction has
a different number of arguments than the destination instruction.
llvm-svn: 175066
|
|
|
|
|
|
| |
function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.
llvm-svn: 175006
|
|
|
|
|
|
|
| |
Fixed decode of existing 3dNow prefetchw instruction
Intel is scheduled to add a compatible prefetchw (same encoding) to future CPUs
llvm-svn: 174920
|
|
|
|
| |
llvm-svn: 174864
|
|
|
|
| |
llvm-svn: 174667
|
|
|
|
|
|
| |
flag is in use. This flag is supposed to affect horizontal whitespaces only.
llvm-svn: 174541
|
|
|
|
|
|
|
|
|
|
| |
For example, ARM has several instructions with a literal '#0' immediate in the syntax
that's not represented as an actual operand. The asm matcher is expected a token
operand, but the parser will have created an immediate operand. This is currently
handled by dedicated per-instruction C++ munging of the ParsedAsmOperand list, but
will be better handled by this hook.
llvm-svn: 174487
|
|
|
|
|
|
|
|
|
|
| |
If an Apple llvmCore build is done without assertions, and a client uses
the llvmCore headers with assertions enabled, or vice versa, then things will
break because some of the structure sizes in the API are different. Use the
unifdef tool to make the headers unconditionally match the way the llvmCore
libraries were built.
llvm-svn: 174460
|
|
|
|
| |
llvm-svn: 174397
|
|
|
|
| |
llvm-svn: 174390
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and enables the instruction printer to print aliased
instructions.
Due to usage of RegisterOperands a change in common
code (utils/TableGen/AsmWriterEmitter.cpp) is required
to get the correct register value if it is a RegisterOperand.
Contributer: Vladimir Medic
llvm-svn: 174358
|
|
|
|
|
|
|
|
| |
Drive by fix. I noticed some missing logic that might bite future
users. This shouldn't affect the final output on currently modeled
targets.
llvm-svn: 174142
|
|
|
|
| |
llvm-svn: 174102
|
|
|
|
| |
llvm-svn: 174101
|
|
|
|
|
|
| |
- Also, change the exit code to match 'sh'.
llvm-svn: 174089
|
|
|
|
|
|
| |
- Testing finds bugs, who knew.
llvm-svn: 174087
|
|
|
|
| |
llvm-svn: 174072
|
|
|
|
| |
llvm-svn: 174071
|
|
|
|
|
|
| |
- Also, kill the pointless LitFormats module.
llvm-svn: 174070
|
|
|
|
| |
llvm-svn: 174068
|
|
|
|
|
|
| |
boundaries
llvm-svn: 174067
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for AArch64 (ARM's 64-bit architecture) to
LLVM in the "experimental" category. Currently, it won't be built
unless requested explicitly.
This initial commit should have support for:
+ Assembly of all scalar (i.e. non-NEON, non-Crypto) instructions
(except the late addition CRC instructions).
+ CodeGen features required for C++03 and C99.
+ Compilation for the "small" memory model: code+static data <
4GB.
+ Absolute and position-independent code.
+ GNU-style (i.e. "__thread") TLS.
+ Debugging information.
The principal omission, currently, is performance tuning.
This patch excludes the NEON support also reviewed due to an outbreak of
batshit insanity in our legal department. That will be committed soon bringing
the changes to precisely what has been approved.
Further reviews would be gratefully received.
llvm-svn: 174054
|
|
|
|
|
|
| |
- Also, add a test for it.
llvm-svn: 174019
|
|
|
|
| |
llvm-svn: 174018
|
|
|
|
| |
llvm-svn: 174017
|
|
|
|
| |
llvm-svn: 174014
|
|
|
|
| |
llvm-svn: 174002
|
|
|
|
| |
llvm-svn: 174001
|
|
|
|
| |
llvm-svn: 174000
|
|
|
|
| |
llvm-svn: 173999
|
|
|
|
| |
llvm-svn: 173907
|
|
|
|
| |
llvm-svn: 173857
|
|
|
|
|
|
|
|
| |
By default, stop the universe build if a key component fails. This
avoids useless builds when we know a package is broken anyway.
Provide a --keep-going option to override this behavior.
llvm-svn: 173723
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for unittests.
For example,
cur) unittests/ADT/Release/ADTTests
new) unittests/ADT/ADTTests
RUNTIME_BUILD_MODE can be substituted to CMAKE_CFG_INTDIR.
With Make and Ninja, the tree is not built with multiple configurations.
Then, including the build type in target directory doesn't make sense.
See also "How can I build multiple modes without switching?"
http://www.cmake.org/Wiki/CMake_FAQ
CMAKE_CFG_INTDIR is set to "."
With multiple-configuration-aware build system, like Visual Studio, each unittest is built on appropriate directory, for example,
unittests/ADT/Release/ADTTests.exe
CMAKE_CFG_INTDIR is set to build system's variable, like "$(Configuration)" or "$(OutDir)".
Thus, "--param build_config" is also deprecated.
llvm-svn: 173616
|
|
|
|
|
|
|
| |
In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the
internals of the AttributeSet to outside users, which isn't goodness.
llvm-svn: 173606
|
|
|
|
|
|
| |
clang datatypes. Patch thanks to Nico Rieck!
llvm-svn: 173532
|
|
|
|
| |
llvm-svn: 173468
|
|
|
|
| |
llvm-svn: 173421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SSPStrong applies a heuristic to insert stack protectors in these situations:
* A Protector is required for functions which contain an array, regardless of
type or length.
* A Protector is required for functions which contain a structure/union which
contains an array, regardless of type or length. Note, there is no limit to
the depth of nesting.
* A protector is required when the address of a local variable (i.e., stack
based variable) is exposed. (E.g., such as through a local whose address is
taken as part of the RHS of an assignment or a local whose address is taken as
part of a function argument.)
This patch implements the SSPString attribute to be equivalent to
SSPRequired. This will change in a subsequent patch.
llvm-svn: 173230
|
|
|
|
| |
llvm-svn: 172981
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This allows unit tests for components that use Support/Debug.h to print
debug information from test runs by specifying -debug when running the
test.
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D301
llvm-svn: 172801
|
|
|
|
| |
llvm-svn: 172794
|
|
|
|
|
|
| |
branch).
llvm-svn: 172740
|
|
|
|
|
|
|
| |
Use --enable-werror during configure time rather than
--with-extra-options. This is cleaner and easier to read.
llvm-svn: 172581
|
|
|
|
|
|
|
|
|
|
| |
// FIXME: Constraints are hard coded to 'm', but we need an 'r'
// constraint for addressof. This needs to be cleaned up!
Test cases are already in place. Specifically,
clang/test/CodeGen/ms-inline-asm.c t15(), t16(), and t24().
llvm-svn: 172569
|
|
|
|
|
|
|
|
| |
I give up trying to get all of the settings into COMMON_MAKEFLAGS, so just
do the easy thing and repeat the ones with interesting quoting issues
in each make command.
llvm-svn: 172296
|
|
|
|
| |
llvm-svn: 172159
|
|
|
|
|
|
|
|
|
|
| |
This change is basically just copying changes that we've used for Apple's
clang builds to the script used for building llvmCore. Besides cleaning it
up to use xcrun to locate the proper versions of tools, especially for cross
compiling, it fixes the build to work with newer versions of clang that
honor SDKROOT settings in the environment.
llvm-svn: 172138
|
|
|
|
|
|
|
|
|
|
| |
def foo : bar;
~~~
This allows us to produce more precise diagnostics about a certain
superclass, and even provide fixits.
llvm-svn: 172085
|