summaryrefslogtreecommitdiffstats
path: root/llvm/utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug 15246 -- out-of-bound error in the TableGen backend, ↵Jyotsna Verma2013-02-141-5/+4
| | | | | | CodeGenMapTable.cpp. llvm-svn: 175185
* PR14992 - Tablegen incorrectly converts ARM tLDMIA_UPD pseudo to tLDMIADavid Peixotto2013-02-131-0/+1
| | | | | | | Fixed bug in tablegen conversion when source pseudo instruction has a different number of arguments than the destination instruction. llvm-svn: 175066
* Add static cast to unsigned char whenever a character classification ↵Guy Benyei2013-02-121-1/+1
| | | | | | function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. llvm-svn: 175006
* Added 0x0D to 2-byte opcode extension table for prefetch* variantsKay Tiong Khoo2013-02-121-0/+1
| | | | | | | Fixed decode of existing 3dNow prefetchw instruction Intel is scheduled to add a compatible prefetchw (same encoding) to future CPUs llvm-svn: 174920
* [tsan/msan] adding thread_safety and uninitialized_checks attributesKostya Serebryany2013-02-112-0/+3
| | | | llvm-svn: 174864
* [lit] Add a display function for lit.Test.TestResult.Daniel Dunbar2013-02-071-0/+4
| | | | llvm-svn: 174667
* Canonicalize line endings to Linux style also when the --strict-whitespace ↵Guy Benyei2013-02-061-10/+14
| | | | | | flag is in use. This flag is supposed to affect horizontal whitespaces only. llvm-svn: 174541
* Allow targets to add custom asm operand matching logic.Jim Grosbach2013-02-061-0/+9
| | | | | | | | | | 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
* Preprocess Apple llvmCore headers to reflect NDEBUG setting. <rdar://12568983>Bob Wilson2013-02-051-0/+10
| | | | | | | | | | 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
* Set the deployment target for Apple llvmCore builds. <rdar://problem/12712431>Bob Wilson2013-02-051-0/+13
| | | | llvm-svn: 174397
* Fix commentsEli Bendersky2013-02-051-1/+1
| | | | llvm-svn: 174390
* This patch that sets the EmitAlias flag in td files Jack Carter2013-02-051-1/+4
| | | | | | | | | | | | | 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
* MachineModel: Inconsequential TableGen SubtargetEmitter fix.Andrew Trick2013-02-011-1/+15
| | | | | | | | 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
* [lit] Add a test for internal shell execution behaviors.Daniel Dunbar2013-01-3110-0/+125
| | | | llvm-svn: 174102
* [lit] Change to raise InternalShellError for all command execution issues.Daniel Dunbar2013-01-311-4/+5
| | | | llvm-svn: 174101
* [lit] Fix bug where InternalShellError messages were discarded.Daniel Dunbar2013-01-311-3/+2
| | | | | | - Also, change the exit code to match 'sh'. llvm-svn: 174089
* [lit] Fix a shell parsing bug with ';' not separated by whitespace.Daniel Dunbar2013-01-311-4/+9
| | | | | | - Testing finds bugs, who knew. llvm-svn: 174087
* [lit] Add a test for the various ShTest format features.Daniel Dunbar2013-01-3116-0/+72
| | | | llvm-svn: 174072
* [lit] TestRunner: Eliminate failDueToStderr argument, which is now unused.Daniel Dunbar2013-01-311-9/+3
| | | | llvm-svn: 174071
* [lit] Delete the now-unused SyntaxCheckTest format.Daniel Dunbar2013-01-313-13/+1
| | | | | | - Also, kill the pointless LitFormats module. llvm-svn: 174070
* Clarify intent.Jakob Stoklund Olesen2013-01-311-0/+6
| | | | llvm-svn: 174068
* [MC] bundle alignment: prevent padding instructions from crossing bundle ↵Derek Schuff2013-01-311-7/+12
| | | | | | boundaries llvm-svn: 174067
* Add AArch64 as an experimental target.Tim Northover2013-01-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [lit] Move unittest adaptor code into discovery module.Daniel Dunbar2013-01-316-23/+50
| | | | | | - Also, add a test for it. llvm-svn: 174019
* [lit] Run the ShUtil tests as part of the test suite.Daniel Dunbar2013-01-312-0/+4
| | | | llvm-svn: 174018
* [lit] Set parallel mode for coverage tests.Daniel Dunbar2013-01-311-1/+1
| | | | llvm-svn: 174017
* [lit] Move discovery code into its own module.Daniel Dunbar2013-01-313-233/+227
| | | | llvm-svn: 174014
* [lit] Add a MANIFEST file and a script for sanity checking the source dist.Daniel Dunbar2013-01-312-0/+51
| | | | llvm-svn: 174002
* [lit] Add a basic discovery test.Daniel Dunbar2013-01-319-0/+41
| | | | llvm-svn: 174001
* [lit] Add a script for checking test coverage.Daniel Dunbar2013-01-313-0/+63
| | | | llvm-svn: 174000
* [lit] Add a test suite for lit itself.Daniel Dunbar2013-01-312-0/+41
| | | | llvm-svn: 173999
* [lit] Make GoogleTest test runner correctly discover tests in the source rootAlexey Samsonov2013-01-301-15/+23
| | | | llvm-svn: 173907
* [lit] Add some TODO notes to myself.Daniel Dunbar2013-01-301-0/+17
| | | | llvm-svn: 173857
* Avoid Unnecessary BuildsDavid Greene2013-01-281-33/+73
| | | | | | | | 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
* [CMake][Lit][unittests] Deprecate CMAKE_BUILD_TYPE in each build directory ↵NAKAMURA Takumi2013-01-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Use the AttributeSet instead of AttributeWithIndex.Bill Wendling2013-01-271-7/+6
| | | | | | | 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
* A port of the Visual Studio 2012 debugger visualizers for common LLVM and ↵Aaron Ballman2013-01-251-0/+181
| | | | | | clang datatypes. Patch thanks to Nico Rieck! llvm-svn: 173532
* Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>Bob Wilson2013-01-251-0/+3
| | | | llvm-svn: 173468
* lit/ShUtil.py: Deprecate '!' in shell expression. It is not sh-compatible.NAKAMURA Takumi2013-01-251-8/+1
| | | | llvm-svn: 173421
* Add the IR attribute 'sspstrong'.Bill Wendling2013-01-232-4/+5
| | | | | | | | | | | | | | | | | | | | | 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/utils/valgrind/x86_64-pc-linux-gnu.supp: Add /usr/bin/cmp.NAKAMURA Takumi2013-01-201-0/+6
| | | | llvm-svn: 172981
* Add basic command line parsing to TestMain.Manuel Klimek2013-01-181-0/+2
| | | | | | | | | | | | | 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
* Remove support for Tcl test format since nobody uses itDmitri Gribenko2013-01-1821-664/+11
| | | | llvm-svn: 172794
* [utils] Update find-rev utility to take a branch argument (name of the git-svnDaniel Dunbar2013-01-171-4/+4
| | | | | | branch). llvm-svn: 172740
* Use --enable-werrorDavid Greene2013-01-161-3/+3
| | | | | | | Use --enable-werror during configure time rather than --with-extra-options. This is cleaner and easier to read. llvm-svn: 172581
* [ms-inline asm] Address the FIXME in AsmParser.cpp.Chad Rosier2013-01-151-4/+8
| | | | | | | | | | // 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
* Fix quoting problems from my previous change. <rdar://problem/13001651>Bob Wilson2013-01-121-5/+15
| | | | | | | | 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
* Support for half intrinsics. Pushes MMX into slower encoding path.Michael Ilseman2013-01-111-18/+20
| | | | llvm-svn: 172159
* Update Apple's build script for llvmCore. <rdar://problem/12914321>Bob Wilson2013-01-101-63/+65
| | | | | | | | | | 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
* TableGen: Keep track of superclass reference ranges.Jordan Rose2013-01-101-2/+4
| | | | | | | | | | def foo : bar; ~~~ This allows us to produce more precise diagnostics about a certain superclass, and even provide fixits. llvm-svn: 172085
OpenPOWER on IntegriCloud