summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix function template partial ordering rules for static vs. non-staticEli Friedman2012-09-193-9/+36
| | | | | | functions. llvm-svn: 164263
* ccc-analyzer: pass -stdlib=libc++ through to the analyzer.Benjamin Kramer2012-09-191-0/+1
| | | | | | Otherwise clang can't analyze code that relies on features provided by libc++. llvm-svn: 164262
* Add in new data types that are used by AMDIL/ANL among others.Micah Villmow2012-09-195-64/+155
| | | | llvm-svn: 164261
* Grammar.Eric Christopher2012-09-191-1/+1
| | | | llvm-svn: 164260
* A patch that allows for mach-o architectures to be specified as ↵Greg Clayton2012-09-193-100/+115
| | | | | | "<number>-<number>" where the first number is the cpu type and the second is the cpu subtype. Also added code to allow use of mach-o architectures that aren't in our tables so that symbolication and static file introspection (crashlogs) can work with them. llvm-svn: 164258
* Don't get everything when resolving the symbol context of the ObjC Class ↵Greg Clayton2012-09-191-2/+1
| | | | | | symbol, just the module + symbol. llvm-svn: 164257
* Soften the pattern-can-never-match error in TableGen into a warning. This ↵Owen Anderson2012-09-191-2/+5
| | | | | | pattern can be very useful in cases where you want to define a multiclass that covers both commutative and non-commutative operators (say, add and sub). llvm-svn: 164256
* Fix to the project file, to prevent it from usingSean Callanan2012-09-191-3/+3
| | | | | | an out-of-date compiler in certain cases. llvm-svn: 164255
* Update and expand comment.Eric Christopher2012-09-191-2/+4
| | | | llvm-svn: 164254
* Handle a captured this for the debug information as well.Eric Christopher2012-09-192-0/+25
| | | | llvm-svn: 164253
* Fix awkward comment.Eric Christopher2012-09-191-1/+1
| | | | llvm-svn: 164252
* Implement a correct copy constructor for Record. Now that we're using the ↵Owen Anderson2012-09-191-0/+8
| | | | | | | | ID number as a key in maps (for determinism), it is imperative that ID numbers be globally unique, even when we copy construct a Record. This fixes some obscure failure cases involving registers defined inside multiclasses or foreach constructs that would not receive a unique ID, and would end up being omitted from the AsmMatcher tables. llvm-svn: 164251
* Resolve conflicts involving dead vector lanes for -new-coalescer.Jakob Stoklund Olesen2012-09-192-9/+182
| | | | | | | | | | | | | | | | | | | | | A common coalescing conflict in vector code is lane insertion: %dst = FOO %src = BAR %dst:ssub0 = COPY %src The live range of %src interferes with the ssub0 lane of %dst, but that lane is never read after %src would have clobbered it. That makes it safe to merge the live ranges and eliminate the COPY: %dst = FOO %dst:ssub0 = BAR This patch teaches the new coalescer to resolve conflicts where dead vector lanes would be clobbered, at least as long as the clobbered vector lanes don't escape the basic block. llvm-svn: 164250
* This patch adds memory support functions which will later be used to ↵Andrew Kaylor2012-09-196-90/+747
| | | | | | implement section-specific protection handling in MCJIT. llvm-svn: 164249
* Add support for macro parameters/arguments delimited by spaces,Preston Gurd2012-09-196-33/+188
| | | | | | | | | | to improve compatibility with GNU as. Based on a patch by PaX Team. Fixed assertion failures on non-Darwin and added additional test cases. llvm-svn: 164248
* Add support for accessing an MDNode's operands via the C binding. Patch byDuncan Sands2012-09-192-0/+34
| | | | | | Anthony Bryant. llvm-svn: 164247
* Support default parameters/arguments for assembler macros.Preston Gurd2012-09-192-9/+41
| | | | | | | | This patch is based on the one by PaX Team. Patch by Andy Zhang! llvm-svn: 164246
* Enhance unmatched '.endr' directive error message in assembler.Preston Gurd2012-09-192-2/+2
| | | | | | | | The directive can be matched with directives other than '.rept' Patch by Andy Zhang! llvm-svn: 164245
* Thread-safety analysis: Fix warning when EXCLUSIVE_LOCKS_REQUIREDDeLesley Hutchins2012-09-192-0/+48
| | | | | | is placed on a function that has no path to the exit block. llvm-svn: 164244
* Unify the logic in SelectAtomicLoadAdd and SelectAtomicLoadArithMichael Liao2012-09-192-177/+142
| | | | | | | | | | | - Merge the processing of LOAD_ADD with other atomic load-arith operations - Separate the logic getting target constant for atomic-load-op and add an optimization for atomic-load-add on i16 with negative value - Optimize a minor case for atomic-fetch-add i16 with negative operand. Test case is revised. llvm-svn: 164243
* Thread-safety analysis: fix ICE when EXCLUSIVE_LOCKS_REQUIRED orDeLesley Hutchins2012-09-193-5/+46
| | | | | | | LOCKS_EXCLUDED is used on a method with a name that is is not a simple identifier. llvm-svn: 164242
* Overloaded __pad_and_output on ostreambuf_iterator and in this overload call ↵Howard Hinnant2012-09-192-0/+54
| | | | | | sputn instead of dereferencing the iterator which calls sputc. This is intended to be purely a performance optimization, especially for clients who may have overloaded the virtual function xsputn. llvm-svn: 164241
* Fix ABI dependent tests by providing an explicit target triple.David Blaikie2012-09-192-4/+4
| | | | | | Patch by Joey Gouly. llvm-svn: 164239
* Renaming functions to match coding style guidelinesMichael Ilseman2012-09-191-4/+4
| | | | llvm-svn: 164238
* Really XFAIL test/CodeGen/PowerPC/structsinregs.ll.Jordan Rose2012-09-191-1/+1
| | | | | | | XFAIL needs a trailing colon. Hopefully this will get the buildbots happy again while Bill works on getting it passing. llvm-svn: 164237
* Doxygen-ify commentsMichael Ilseman2012-09-191-8/+16
| | | | llvm-svn: 164235
* Fix test better way.Fariborz Jahanian2012-09-191-5/+5
| | | | llvm-svn: 164234
* XFAIL test/CodeGen/PowerPC/structsinregs.llBill Schmidt2012-09-191-0/+6
| | | | llvm-svn: 164233
* Put the * and & next to the variable, rather than the type.Michael Ilseman2012-09-191-73/+73
| | | | llvm-svn: 164232
* Document the interface for integer expansion, using doxygen-style commentsMichael Ilseman2012-09-191-0/+8
| | | | llvm-svn: 164231
* Forward declarationsMichael Ilseman2012-09-191-0/+4
| | | | llvm-svn: 164230
* GCC doesn't understand that OrigAliasResult having a value is correlated withDuncan Sands2012-09-191-1/+1
| | | | | | | ArePhisAssumedNoAlias, and warns that OrigAliasResult may be used uninitialized. Pacify GCC. llvm-svn: 164229
* Small structs for PPC64 SVR4 must be passed right-justified in registers.Bill Schmidt2012-09-193-61/+347
| | | | | | | | | | | | | | | lib/Target/PowerPC/PPCISelLowering.{h,cpp} Rename LowerFormalArguments_Darwin to LowerFormalArguments_Darwin_Or_64SVR4. Rename LowerFormalArguments_SVR4 to LowerFormalArguments_32SVR4. Receive small structs right-justified in LowerFormalArguments_Darwin_Or_64SVR4. Rename LowerCall_Darwin to LowerCall_Darwin_Or_64SVR4. Rename LowerCall_SVR4 to LowerCall_32SVR4. Pass small structs right-justified in LowerCall_Darwin_Or_64SVR4. test/CodeGen/PowerPC/structsinregs.ll New test. llvm-svn: 164228
* Fix some type-related swig bugs on FreeBSD on x86_64 (and maybe other OS/arch).Filipe Cabecinhas2012-09-191-1/+1
| | | | llvm-svn: 164227
* Added link to HowToSetupToolingForLLVM.html. Added missing #include to the ↵Alexander Kornienko2012-09-191-0/+3
| | | | | | example. llvm-svn: 164226
* SimplifyCFG: Don't generate invalid code for switch used to initializeHans Wennborg2012-09-192-9/+42
| | | | | | | | | | | | | two variables where the first variable is returned and the second ignored. I don't think this occurs in practice (other passes should have cleaned up the unused phi node), but it should still be handled correctly. Also make the logic for determining if we should return early less sketchy. llvm-svn: 164225
* [ASan] Include ASan into CMake build only on Linux, Mac and WindowsAlexey Samsonov2012-09-191-3/+7
| | | | llvm-svn: 164224
* Add some typedefs for clarity.Rafael Espindola2012-09-191-6/+5
| | | | llvm-svn: 164223
* Fix minor typo in IntervalPartition.hWill Dietz2012-09-191-2/+2
| | | | llvm-svn: 164222
* Make MapVector a bit more expensive but harder to misuse. We now onlyRafael Espindola2012-09-191-87/+14
| | | | | | | | | provide insertion order iteration, instead of the old option of DenseMap order iteration over keys and insertion order iteration over values. This is implemented by keeping two copies of each key. llvm-svn: 164221
* ASTWriter: Tighten up assertions when emitting a declaration name.Benjamin Kramer2012-09-191-7/+9
| | | | | | | | clang has recently started to warn about the enum compares: lib/Serialization/ASTWriter.cpp:2760:31: warning: comparison of literal 256 with expression of type 'clang::DeclarationName::NameKind' is always true [-Wtautological-constant-out-of-range-compare] llvm-svn: 164220
* InlineCost: Make TotalAllocaSizeRecursiveCaller unsigned to avoid ↵Benjamin Kramer2012-09-191-1/+1
| | | | | | | | sign-compare warnings. It's a size, not a cost. llvm-svn: 164219
* Update clang for API change.Benjamin Kramer2012-09-191-1/+3
| | | | llvm-svn: 164218
* [TSan] Add tsan to cmake build of compiler-rt only on LinuxAlexey Samsonov2012-09-191-1/+4
| | | | llvm-svn: 164217
* IntegerDivision: Style cleanups, avoid warning about mixing || and && ↵Benjamin Kramer2012-09-191-7/+5
| | | | | | without parens. llvm-svn: 164216
* Remove unused and broken CloneFunction wrapper.Benjamin Kramer2012-09-191-7/+0
| | | | | | It converted the CodeInfo argument to bool implicitly. llvm-svn: 164215
* [ASan] make asan_symbolize script work if there is no llvm-symbolizer availableAlexey Samsonov2012-09-191-0/+4
| | | | llvm-svn: 164214
* Move load_to_switch.ll to test/CodeGen/SPARC/Hans Wennborg2012-09-191-1/+1
| | | | | | | Because the test invokes llc -march=sparc, it needs to be in a directory which is only run when the sparc target is built. llvm-svn: 164211
* rename testNadav Rotem2012-09-191-0/+0
| | | | llvm-svn: 164210
* [ASan] fix offline python symbolizer script to use llvm-symbolizer if possibleAlexey Samsonov2012-09-191-48/+137
| | | | llvm-svn: 164209
OpenPOWER on IntegriCloud