- Apr 20, 2013
-
-
Tim Northover authored
I think it's almost impossible to fold atomic fences profitably under LLVM/C++11 semantics. As a result, this is now unused and just cluttering up the target interface. llvm-svn: 179940
-
Tim Northover authored
llvm-svn: 179939
-
Rafael Espindola authored
This is part of a future patch to use yamlio that incorrectly ended up in a cleanup patch. Thanks to Benjamin Kramer for reporting it. llvm-svn: 179938
-
Benjamin Kramer authored
llvm-svn: 179937
-
Benjamin Kramer authored
llvm-svn: 179936
-
Benjamin Kramer authored
Avoids a couple of copies and allows more flexibility in the clients. llvm-svn: 179935
-
Simon Atanasyan authored
Sourcery CodeBench and modern FSF Mips toolchains require a bit more complicated algorithm to calculate headers, libraries and sysroot paths than implemented by Clang driver now. The main problem is that all these paths depend on a set of command line arguments additionally to a target triple value. For example, let $TC is a toolchain installation directory. If we compile big-endian 32-bit mips code, crtbegin.o is in the $TC/lib/gcc/mips-linux-gnu/4.7.2 folder and the toolchain's linker requires --sysroot=$TC/mips-linux-gnu/libc argument. If we compile little-endian 32-bit soft-float mips code, crtbegin.o is in the $TC/lib/gcc/mips-linux-gnu/4.7.2/soft-float/el folder and the toolchain's linker requires --sysroot=$TC/mips-linux-gnu/libc/soft-float/el argument. 1. Calculate MultiarchSuffix using all necessary command line options and use this MultiarchSuffix to detect crtbegin.o location in the GCCInstallationDetector::ScanLibDirForGCCTriple() routine. 2. If a user does not provide --sysroot argument to the driver explicitly, calculate new sysroot value based on command line options. Then use this calculated sysroot path: a. To populate a file search paths list in the Linux::Linux() constructor. b. To find Mips toolchain specific include headers directories in the Linux::AddClangSystemIncludeArgs() routine. c. To provide -–sysroot argument for a linker. Note: - The FSF's tree slightly differs (folder names) and is not supported yet. - New addExternCSystemIncludeIfExits() routine is a temporary solution. I plan to move path existence check to the addExternCSystemInclude() routine by a separate commit. The patch reviewed by Rafael Espindola. http://llvm-reviews.chandlerc.com/D644 llvm-svn: 179934
-
Nadav Rotem authored
SLPVectorizer: Reduce the compile time by eliminating the search for some of the more expensive patterns. After this change will only check basic arithmetic trees that start at cmpinstr. llvm-svn: 179933
-
Nadav Rotem authored
llvm-svn: 179932
-
Nadav Rotem authored
llvm-svn: 179931
-
Nadav Rotem authored
llvm-svn: 179930
-
Nadav Rotem authored
llvm-svn: 179929
-
Nadav Rotem authored
llvm-svn: 179928
-
Nadav Rotem authored
llvm-svn: 179927
-
Hal Finkel authored
The getSwappedPredicate function can be used in other places (such as in improvements to the PPCCTRLoops pass). Instead of trapping it as a static function in PPCInstrInfo, move it into PPCPredicates with other predicate-related things. No functionality change intended. llvm-svn: 179926
-
Stephen Lin authored
Add CodeGen support for functions that always return arguments via a new parameter attribute 'returned', which is taken advantage of in target-independent tail call opportunity detection and in ARM call lowering (when placed on an integral first parameter). llvm-svn: 179925
-
Stephen Lin authored
Allow tail call opportunity detection through nested and/or multiple iterations of extractelement/insertelement indirection llvm-svn: 179924
-
Rafael Espindola authored
llvm-svn: 179923
-
Rafael Espindola authored
llvm-svn: 179922
-
Rafael Espindola authored
llvm-svn: 179921
-
Rafael Espindola authored
* using namespace llvm. * whitespace. * early return. llvm-svn: 179920
-
Sean Callanan authored
and persistent variables so that they are not treated as remaining in the target process (i.e., having live data) when the process does not allow persistent allocations (e.g., when there is no process or in the case of kernel core files). llvm-svn: 179919
-
Sean Callanan authored
llvm-svn: 179918
-
Rafael Espindola authored
Instead, use MappingNormalization to directly parse COFF::header. Also change the naming convention of the helper classes to be a bit shorter. llvm-svn: 179917
-
Anna Zaks authored
Introduce a new helper function, which computes the first symbolic region in the base region chain. The corresponding symbol has been used for assuming that a pointer is null. Now, it will also be used for checking if it is null. This ensures that we are tracking a null pointer correctly in the BugReporter. llvm-svn: 179916
-
Anna Zaks authored
llvm-svn: 179915
-
Anna Zaks authored
llvm-svn: 179914
-
Stephen Lin authored
llvm-svn: 179913
-
rdar://problem/13697881Greg Clayton authored
Fixed the GDB remote with the python OS plug-in to not show core threads when they aren't desired and also to have the threads "to the right thing" when continuing. llvm-svn: 179912
-
Greg Clayton authored
llvm-svn: 179911
-
Greg Clayton authored
llvm-svn: 179910
-
Greg Clayton authored
llvm-svn: 179909
-
Eli Bendersky authored
llvm-svn: 179908
-
Argyrios Kyrtzidis authored
rdar://13647445 llvm-svn: 179907
-
Akira Hatanaka authored
llvm-svn: 179906
-
Benjamin Kramer authored
The logic that actually compares the types considers pointers and integers the same if they are of the same size. This created a strange mismatch between hash and reality and made the test case for this fail on some platforms (yay, test cases). llvm-svn: 179905
-
Jason Molenda authored
realpathing the executable binary if we fail to find a binary and if it starts with a ~ character, based on feedback from Greg Clayton. llvm-svn: 179904
-
Bill Wendling authored
llvm-svn: 179903
-
Eli Bendersky authored
trying to move as much FastISel logic as possible out of the main path in SelectionDAGISel - intermixing them just adds confusion. llvm-svn: 179902
-
Michael Liao authored
llvm-svn: 179901
-