summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* When building llvmCore, pass the SDKROOT and -arch setting to configure.Bob Wilson2012-04-031-0/+10
| | | | | | | | So far all of configure tests have been run against the default SDK and architecture, regardless of what is actually being built. We've gotten lucky until now. <rdar://problem/11112479> llvm-svn: 153972
* Remove a reference to the C backend.Bob Wilson2012-04-031-1/+1
| | | | llvm-svn: 153971
* Remove more redundant lookups. Add a new "all_lookups_iterator" which providesNick Lewycky2012-04-037-26/+116
| | | | | | | | a view over the contents of a DeclContext without exposing the implementation details of the StoredDeclsMap. Use this in LookupVisibleDecls to find the visible declarations. Fixes PR12339! llvm-svn: 153970
* Added a platform agnostic symbolication python module that can be used by ↵Greg Clayton2012-04-032-359/+611
| | | | | | any targets. Then modified the darwin "crashlog.py" to use this agnostic info and the new functionality and classes. llvm-svn: 153969
* constexpr support for <utility>. Patch contributed by Jonathan Sauer.Howard Hinnant2012-04-032-2/+7
| | | | llvm-svn: 153968
* Don't treat synthesized ivars as being in the base class for the purpose ofNick Lewycky2012-04-032-6/+6
| | | | | | looking up visible decls. llvm-svn: 153967
* Fix an issue in SimplifySetCC() specific to vector comparisons.Chad Rosier2012-04-031-2/+10
| | | | | | | | | | | When folding X == X we need to check getBooleanContents() to determine if the result is a vector of ones or a vector of negative ones. I tried creating a test case, but the problem seems to only be exposed on a much older version of clang (around r144500). rdar://10923049 llvm-svn: 153966
* Set soname for FreeBSD as well.Anton Korobeynikov2012-04-031-2/+2
| | | | | | Patch by Bernard Cafarelli! llvm-svn: 153965
* Remove trailing whitespace.Michael J. Spencer2012-04-0321-456/+454
| | | | llvm-svn: 153964
* Steal LLVM.h from Clang. This brings in very commonly used LLVM ADT/SupportMichael J. Spencer2012-04-0323-206/+289
| | | | | | types into the lld namespace. llvm-svn: 153963
* Replace the workaround from r153445 with a proper fix.Kaelyn Uhrain2012-04-034-22/+10
| | | | | | | | | | | | | Infinite recursion was happening when DiagnoseInvalidRedeclaration called ActOnFunctionDeclarator to check if a typo correction works when the correction was just to the nested-name-specifier because the wrong DeclContext was being passed in. Unlike a number of functions surrounding typo correction, the DeclContext passed in for a function is the context of the function name after applying any nested name specifiers, not the lexical DeclContext where the function+nested-name-specifier appears. llvm-svn: 153962
* Fix thinko check for number of operands to be the one that actuallyEric Christopher2012-04-032-1/+48
| | | | | | | | | might have more than 19 operands. Add a testcase to make sure I never screw that up again. Part of rdar://11026482 llvm-svn: 153961
* modern objective-c translator: rewriter linkage spec.Fariborz Jahanian2012-04-032-0/+45
| | | | | | // rdar://11169733 llvm-svn: 153960
* Correct handling of _Pragma macro inside a macro argument.Argyrios Kyrtzidis2012-04-035-5/+104
| | | | | | | | | | | | | | | | If we are pre-expanding a macro argument don't actually "activate" the pragma at that point, activate the pragma whenever we encounter it again in the token stream. This ensures that we will activate it in the correct location or that we will ignore it if it never enters the token stream, e.g: \#define EMPTY(x) \#define INACTIVE(x) EMPTY(x) INACTIVE(_Pragma("clang diagnostic ignored \"-Wconversion\"")) This also fixes the crash in rdar://11168596. llvm-svn: 153959
* Matrix simplification in PBQP may push infinite costs onto register options.Lang Hames2012-04-031-0/+6
| | | | | | | | The colorability heuristic should count these as denied registers. No test case - this exposed a bug on an out-of-tree target. llvm-svn: 153958
* ARMDisassembler: drop bogus dependency on ARMCodeGenDylan Noblesmith2012-04-032-3/+2
| | | | | | | And indirectly, a dependency on most of the core LLVM optimization libraries. llvm-svn: 153957
* Object: drop bogus VMCore dependencyDylan Noblesmith2012-04-031-1/+1
| | | | llvm-svn: 153956
* Updated documentation contributed by Christopher Jefferson.Howard Hinnant2012-04-031-1/+3
| | | | llvm-svn: 153955
* CodeGen: Remove unused declarationTobias Grosser2012-04-031-2/+0
| | | | llvm-svn: 153954
* CodeGen: Recreate old ivs with the original typeTobias Grosser2012-04-033-9/+37
| | | | | | | | | | | | | | | To avoid overflows we still use a larger type (i64) while calculating the value of the old ivs. However, we truncate the result to the type of the old iv when providing it to the new code. A corresponding test case is added to the polly test suite. Also, a failing test case is fixed. This fixes PR12311. Contributed by: Tsingray Liu <tsingrayliu@gmail.com> llvm-svn: 153952
* The speedup doesn't appear to have been from this, but was an anomaly of my ↵Bill Wendling2012-04-031-1/+0
| | | | | | testing machine. llvm-svn: 153951
* Reserve space for the eventual filling of the vector. This gives a small ↵Bill Wendling2012-04-031-4/+3
| | | | | | speedup. llvm-svn: 153949
* www: Fix typo, replace "LD_LBIRARY_PATH" by "LD_LIBRARY_PATH" in get_started.Hongbin Zheng2012-04-031-1/+1
| | | | llvm-svn: 153948
* Initialize ivars in the correct order.Bill Wendling2012-04-031-3/+3
| | | | llvm-svn: 153947
* Possibly too soon for this commit.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153946
* Revert accidental checkin.Bill Wendling2012-04-031-7/+0
| | | | llvm-svn: 153945
* Possibly too soon for this change.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153944
* Use the path to the header file. Use an integer instead of NULL. And get rid ↵Bill Wendling2012-04-031-3/+2
| | | | | | of a superfluous 'default' label. llvm-svn: 153943
* The option is 'NoInlineDefine.'Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153942
* Use integers instead of NULL.Bill Wendling2012-04-032-4/+4
| | | | llvm-svn: 153941
* Spell 'DW_TAG_APPLE_property' with the correct capitalization.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153940
* Add an additional testcase which checks ops with multiple users.Nadav Rotem2012-04-031-0/+12
| | | | llvm-svn: 153939
* Make PPCCompilationCallbackC function to be static, so there will be no need ↵Anton Korobeynikov2012-04-031-3/+5
| | | | | | | | to issue call via PLT when LLVM is built as shared library. This mimics the X86 backend towards the approach. llvm-svn: 153938
* Tidy up spacing in some tablegen outputs.Craig Topper2012-04-032-11/+9
| | | | llvm-svn: 153937
* www: Append path instead overwrite path when exporting the path of pocc.Hongbin Zheng2012-04-031-1/+1
| | | | llvm-svn: 153936
* Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo.Craig Topper2012-04-039-41/+832
| | | | llvm-svn: 153935
* www: Fix typo in the setting LD_LBIRARY_PATH command, as pointed out byHongbin Zheng2012-04-031-1/+1
| | | | | | Dmitry N. Mikushin. llvm-svn: 153934
* Rework ProgramPoint to bit-mangle the 'Kind' into both Data pointers and the ↵Ted Kremenek2012-04-031-36/+31
| | | | | | LocationContext. After switching to PointerIntPair, it didn't look like a safe assumption to use the lower 3 bits of the LocationContext* field. Thanks to Jordy Rose and Benjamin Kramer for their feedback. llvm-svn: 153933
* Use the correct class/struct keyword so that they match the declarations.Bill Wendling2012-04-032-2/+9
| | | | llvm-svn: 153932
* Initialize ivars in the order they are defined in the class.Bill Wendling2012-04-031-3/+3
| | | | llvm-svn: 153931
* Return 0 for the size_t return type.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153930
* Use 0 instead of NULL for the integral value.Bill Wendling2012-04-031-12/+12
| | | | llvm-svn: 153929
* Reformatting. No functionality change.Bill Wendling2012-04-031-18/+19
| | | | llvm-svn: 153928
* As Eric pointed out, even a Debug build should be equal. Leave the flag that ↵Bill Wendling2012-04-031-10/+8
| | | | | | can turn off comparisons though. llvm-svn: 153927
* Revert r153924. Delete test/MC/Disassembler/Mips and ↵Akira Hatanaka2012-04-0312-0/+0
| | | | | | lib/Target/Mips/Disassembler. llvm-svn: 153926
* Revert r153924. There were buildbot failures.Akira Hatanaka2012-04-0321-2967/+104
| | | | llvm-svn: 153925
* MIPS disassembler support.Akira Hatanaka2012-04-0321-104/+2967
| | | | | | Patch by Vladimir Medic. llvm-svn: 153924
* [analyzer] Record the basic blocks covered by the analyzes run.Anna Zaks2012-04-0311-40/+174
| | | | | | | | Store this info inside the function summary generated for all analyzed functions. This is useful for coverage stats and can be helpful for analyzer state space search strategies. llvm-svn: 153923
* Cleanup set_union usage. The same thing but a bit cleaner now.Andrew Trick2012-04-031-1/+1
| | | | llvm-svn: 153922
* Add more constraint registers for mips.Eric Christopher2012-04-032-0/+47
| | | | | | Patch by Jack Carter. Testcase cleanup by me. llvm-svn: 153921
OpenPOWER on IntegriCloud