summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Mips] Support for MicroMips STO refactoring.Jack Carter2013-11-198-71/+28
| | | | | | | | | | | | | | | | No true functional changes. Change the "hack" name of emitMipsHackSTOCG to emitSymSTO. Remove demonstration code in AsmParser for emitMipsHackSTOCG and emitMipsHackELFFlags. The STO field is in an ELF symbol and is not an explicit directive. That said, we are missing the compliment call in AsmParser and that will need to be addressed soon. XFAIL dummy tests for emitMipsHackELFFlags and emitMipsHackELFFlags. These will built out with following patches. llvm-svn: 195067
* ObjectiveC 'objc_bridging'. Assorment of improvements Fariborz Jahanian2013-11-196-45/+17
| | | | | | per Doug/Jordan comments. // rdar://15454846. llvm-svn: 195066
* [weak vtables] Remove a bunch of weak vtablesJuergen Ributzka2013-11-19113-151/+505
| | | | | | | | | | | | This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. The memory leaks in this version have been fixed. Thanks Alexey for pointing them out. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy llvm-svn: 195064
* llvm-dwarfdump: support for emitting only the debug_types section using ↵David Blaikie2013-11-192-0/+5
| | | | | | -debug-dump llvm-svn: 195063
* Write temporary file names if debugging is enabled.Rui Ueyama2013-11-192-0/+8
| | | | llvm-svn: 195062
* ObjectiveC ARC. Adopt objc_bridge attributeFariborz Jahanian2013-11-195-62/+71
| | | | | | | on struct/union/class instead of typedef of such types. // rdar://15454846 llvm-svn: 195061
* DwarfDebug: Move trailing else to the same line as prior closing braceDavid Blaikie2013-11-181-4/+2
| | | | llvm-svn: 195060
* DwarfDebug: Remove some more redundant explicit constructions.David Blaikie2013-11-181-4/+3
| | | | llvm-svn: 195059
* [Mips] MipsTargetStreamer refactoring.Jack Carter2013-11-184-64/+92
| | | | | | No functionality changes. llvm-svn: 195057
* DebugInfo: Update caller based on DIType's MDNode* ctor becoming explicit in ↵David Blaikie2013-11-181-1/+2
| | | | | | r195055. llvm-svn: 195056
* DebugInfo: Simplify a few more explicit constructions, underconstrained ↵David Blaikie2013-11-184-29/+26
| | | | | | types, and make DIType(MDNode*) explicit like all the other DI* node ctors. llvm-svn: 195055
* Change the clang driver with the use of -no-integrated-as for darwin to useKevin Enderby2013-11-182-3/+8
| | | | | | | | | | | | | | | the -Q flag to the as(1) assembler driver. We will soon be switching the darwin as(1) assembler driver to call clang(1) and use the intergated assembler by default. To do this and still support clang(1)'s -no-integrated-as flag, when clang(1) runs the as(1) assembler driver and -no-integrated-as is used it needs to pass the -Q flag to as(1) so it uses its GNU based assembler, and not turn around and call clag(1)'s integrated assembler. rdar://15495921 llvm-svn: 195054
* Revert "COFF: Emit all MCSymbols rather than filtering out some of them"Reid Kleckner2013-11-185-12/+34
| | | | | | | | This reverts commit r190888, to fix PR17967. The original change wasn't the right way to get @feat.00 into the object file. The right fix is to make @feat.00 be a global symbol. llvm-svn: 195053
* Debug info: Let LowerDbgDeclare perfom the dbg.declare -> dbg.valueAdrian Prantl2013-11-182-1/+107
| | | | | | | | | | lowering only for load/stores to scalar allocas. The resulting values confuse the backend and don't add anything because we can describe array-allocas with a dbg.declare intrinsic just fine. rdar://problem/15464571 llvm-svn: 195052
* Simplify. No functionality change.Rui Ueyama2013-11-181-3/+1
| | | | llvm-svn: 195051
* The attached patch is a follow up from my previous one. The existingRafael Espindola2013-11-182-3/+14
| | | | | | | | | | logic was not handling typedefs as free functions. This was not causing problems with the existing tests, but does with the microsoft abi where they have to get a different calling convention. I will try to refactor this into a method on Declarator in a second. llvm-svn: 195050
* Docs: tweak code-block spacing.Ahmed Bougacha2013-11-181-0/+1
| | | | llvm-svn: 195049
* Remove period at end of "optimization level is unsupported" diagnosticHans Wennborg2013-11-183-3/+3
| | | | llvm-svn: 195048
* Make test/Driver/clang_f_opts.c not write to the test dirHans Wennborg2013-11-182-2/+2
| | | | | | | After r195009, the test would write a .o file to the test dir. Send that to /dev/null instead. Also fix the typo in test/Frontend/invalid-o-level.c. llvm-svn: 195047
* The 'optnone' attribute means don't inline anything into this functionPaul Robinson2013-11-186-10/+67
| | | | | | | | | | (except functions marked always_inline). Functions with 'optnone' must also have 'noinline' so they don't get inlined into any other function. Based on work by Andrea Di Biagio. llvm-svn: 195046
* G M suggestion: conditionally include files on _WIN32.Yaron Keren2013-11-181-0/+2
| | | | llvm-svn: 195045
* This patch implements snprintf_l function in a way similar to the other Yaron Keren2013-11-182-1/+11
| | | | | | | | | | | functions in src/support/win32/locale_win32.cpp and locale_win32.h, calling upon vsnprintf for which there is a MingW correct alternative. Note! __USE_MINGW_ANSI_STDIO is not modified in this patch. In order to use the __mingw version it must be defined before including the MingW headers. llvm-svn: 195044
* The code using the StmtPrinterHelper object failed to account for a null ↵Aaron Ballman2013-11-181-44/+39
| | | | | | object in many cases, which could have led to crashes were it ever to be null. Now passing the object by reference instead of by pointer because it is never null in practice. No functional changes intended. llvm-svn: 195043
* R600/SI: Fix moveToVALU when the first operand is VSrc.Matt Arsenault2013-11-183-13/+14
| | | | | | | Moving into a VSrc doesn't always work, since it could be replaced with an SGPR later. llvm-svn: 195042
* R600/SI: Fix multiple SGPR reads when using VCC.Matt Arsenault2013-11-182-3/+36
| | | | | | | No other SGPR operands are allowed, so if VCC is used, move the other to a VGPR. llvm-svn: 195041
* R600/SI: Implement add i64, but do not yet enable.Matt Arsenault2013-11-183-0/+74
| | | | | | | | Test doesn't actually check the output. I need to fix add i64 being matched for the addressing calculations. llvm-svn: 195040
* R600/SI: Specify SSrc operandsMatt Arsenault2013-11-181-2/+2
| | | | llvm-svn: 195039
* R600/SI: addc / adde i32 are legalMatt Arsenault2013-11-181-0/+2
| | | | llvm-svn: 195038
* R600/SI: Match addc to S_ADD_U32.Matt Arsenault2013-11-181-0/+7
| | | | | | The carry always goes to SCC. llvm-svn: 195037
* R600/SI: Match adde/sube to S_ADDC_U32/S_SUBB_U32Matt Arsenault2013-11-181-2/+4
| | | | llvm-svn: 195036
* R600/SI: Specify S_ADD/S_SUB set SCC and add is commutableMatt Arsenault2013-11-181-1/+13
| | | | llvm-svn: 195035
* R600/SI: Move patterns to match add / sub to scalar instructionsMatt Arsenault2013-11-186-30/+40
| | | | llvm-svn: 195034
* R600/SI: Fix extra defs of VCC / SCC.Matt Arsenault2013-11-181-4/+15
| | | | | | | When replacing scalar operations with vector, the wrong implicit output register was used. llvm-svn: 195033
* Use the default method CC in GetFullTypeForDeclarator.Rafael Espindola2013-11-182-130/+148
| | | | | | | | | | | | | Before this patch explicit template instatiations of member function templates were failing with the microsoft abi and 32 bits. This was happening because the expected and computed function types had different calling conventions. This patch fixes it by considering the default calling convention in GetFullTypeForDeclarator. This fixes pr17973. llvm-svn: 195032
* R600: Enable the IR structurizer by defaultTom Stellard2013-11-186-9/+8
| | | | llvm-svn: 195031
* R600: Fix a crash in the AMDILCFGStrucurizerTom Stellard2013-11-182-6/+69
| | | | | | | The ifPatternMatch() function was not correctly reporting the number of matches in some cases. llvm-svn: 195030
* R600: Add a SubtargetFeatture for disabling the ifcvt pass.Tom Stellard2013-11-184-1/+14
| | | | | | This is useful when writing test cases for the AMDIL structurizer. llvm-svn: 195029
* R600: Use lower-case for EnableIRStructurizer featureTom Stellard2013-11-181-1/+1
| | | | | | | llc converts all values passed to -mattr= to lowercase, so this enables us to toggle this feature when using llc. llvm-svn: 195028
* Remove clang man page reference to --analyze, and point people to the ↵Ted Kremenek2013-11-181-5/+2
| | | | | | analyzer website. llvm-svn: 195027
* R600/SI: Fix illegal VGPR->SGPR copy inside of loopTom Stellard2013-11-182-2/+32
| | | | llvm-svn: 195026
* R600/SI: Fix another case of illegal VGPR->SGPR copyTom Stellard2013-11-182-3/+28
| | | | llvm-svn: 195025
* Adding an assert to help catch possible buffer underruns.Aaron Ballman2013-11-181-0/+4
| | | | llvm-svn: 195024
* R600: Add aliases for Sea Islands GPUsTom Stellard2013-11-181-1/+1
| | | | llvm-svn: 195023
* Implement round builtinTom Stellard2013-11-182-0/+10
| | | | llvm-svn: 195022
* Implement builtins for cl_khr_global_int32_base_atomics extensionTom Stellard2013-11-1810-1/+55
| | | | llvm-svn: 195021
* Fix the build after r195016.Alexander Kornienko2013-11-181-2/+1
| | | | llvm-svn: 195020
* Checking for a return value with FormatMessage; if the call fails, there's ↵Aaron Ballman2013-11-181-4/+9
| | | | | | no guarantee that the buffer will be non-null. llvm-svn: 195019
* Fixing a possible memory leak from a failing realloc() call.Aaron Ballman2013-11-181-2/+7
| | | | llvm-svn: 195018
* Make helper function static.Benjamin Kramer2013-11-181-1/+1
| | | | llvm-svn: 195017
* Recover gracefully when deserializing invalid YAML input.Alexander Kornienko2013-11-183-61/+152
| | | | | | | | | Fixes http://llvm.org/PR16221, http://llvm.org/PR15927 Phabricator: http://llvm-reviews.chandlerc.com/D1236 Patch by Andrew Tulloch! llvm-svn: 195016
OpenPOWER on IntegriCloud