summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [block-freq] Store MBFI as a field on SpillPlacement so we can access it to ↵Michael Gottesman2013-12-142-3/+5
| | | | | | get the entry frequency while processing data. llvm-svn: 197291
* [block-freq] Update MachineBlockPlacement and RegAllocGreedy to use the new ↵Michael Gottesman2013-12-142-9/+13
| | | | | | MachineBlockFrequencyInfo methods. llvm-svn: 197290
* [block-freq] Update BlockFrequencyInfo/MachineBlockFrequencyInfo to use the ↵Michael Gottesman2013-12-142-2/+2
| | | | | | new print methods. llvm-svn: 197289
* Print the address space of a MachineMemOperandMatt Arsenault2013-12-142-0/+6
| | | | llvm-svn: 197288
* [block-freq] Add the equivalent methods to MachineBlockFrequencyInfo and ↵Michael Gottesman2013-12-144-0/+48
| | | | | | BlockFrequencyInfo that were added to BlockFrequencyImpl in r197285 and r197284. llvm-svn: 197287
* [block-freq] Convert BlockFrequencyImpl to use the new printing ↵Michael Gottesman2013-12-141-8/+13
| | | | | | functionality from r197285. llvm-svn: 197286
* [block-freq] Add a print method on BlockFrequencyImpl for printing block ↵Michael Gottesman2013-12-131-0/+24
| | | | | | | | | | | | frequencies and a convenience method for the common case of getting/printing a basic block. BlockFrequencies can only be printed relative to their entry frequency. Thus since the entry frequency is no longer necessarily a static constant on the BlockFrequency class and is instead a potentially dynamic value taken from BlockFrequencyImpl, we must necessarily print it via a method on BlockFrequencyImpl. llvm-svn: 197285
* [block-freq] Begin move of BlockFrequency::EntryFreq -> ↵Michael Gottesman2013-12-131-2/+5
| | | | | | | | | | | | | BlockFrequencyImpl::EntryFreq. This is a property associated with a function, not with BlockFrequency data. Additionally it loosens the artifical requirement that the entry frequency arbitrarily be the same for every function. There is a series of patches forthcoming updating various code that uses the old way of getting a block frequency to the new location. llvm-svn: 197284
* Pointer sizes are stored in Bytes. Fix variables names to say so.Rafael Espindola2013-12-132-25/+25
| | | | | | Also update for the current naming style. llvm-svn: 197283
* Fixed a bug in getARMFixupKindMachOInfo() where three ARM fixup kindsKevin Enderby2013-12-132-1/+14
| | | | | | | | | | | were falling into the cases for 24-bit branch kinds which are not 24-bit branches. The routine is to return false for fixups are expected to always be resolvable at assembly time. Which these three fixups are as they have limited displacement and are for local references within a function. rdar://15586725 llvm-svn: 197282
* Prepare for using MS ABI by default for Win32: update CodeGenCXX testsHans Wennborg2013-12-1397-122/+128
| | | | llvm-svn: 197281
* Add a testcase and a FIXME for an accepts-invalid.Richard Smith2013-12-131-8/+19
| | | | llvm-svn: 197280
* Detabify and fix formatting.Richard Smith2013-12-131-67/+40
| | | | llvm-svn: 197279
* comment typo.Andrew Trick2013-12-131-1/+1
| | | | llvm-svn: 197278
* Remove APInt::extractBit since it is already implemented via operator[]. ↵Michael Gottesman2013-12-133-15/+4
| | | | | | Change tests for extractBit to test operator[]. llvm-svn: 197277
* Consolidate DataLayout string testing in one file.Rafael Espindola2013-12-134-22/+28
| | | | llvm-svn: 197276
* DebugInfo: Move type units into the debug_types section with appropriate ↵David Blaikie2013-12-1310-33/+98
| | | | | | | | | | | | | | | | | | | | | | | | comdat grouping and type unit headers This commit does not complete the type units feature - there are issues around fission support (skeletal type units, pubtypes/pubnames) and hashing of some types including those containing references to types in other type units. Originally committed as r197073 and reverted in r197079. Recommitted as r197197 to reproduce the failure and reverted as r197199 Turns out there was unstable ordering in the type unit dumping code. Fixed by using MapVector in DWARFContext to store the debug_types comdat sections. Recommitted as r197210 with a fix to dumping and reverted as r197211 because I was a bit gun shy and thought I saw a failure that turned out to be unrelated. So here we go - once more with feeling! \o/ llvm-svn: 197275
* Remove an unused parameter and include after r197273Alp Toker2013-12-134-7/+5
| | | | llvm-svn: 197274
* Eliminate BinaryTypeTraitExprAlp Toker2013-12-1327-288/+54
| | | | | | | | | | | | | | | | | There's nothing special about type traits accepting two arguments. This commit eliminates BinaryTypeTraitExpr and switches all related handling over to TypeTraitExpr. Also fixes a CodeGen failure with variadic type traits appearing in a non-constant expression. The BTT/TT prefix and evaluation code is retained as-is for now but will soon be further cleaned up. This is part of the ongoing work to unify type traits. llvm-svn: 197273
* [block-freq] Add the method APInt::nearestLogBase2().Michael Gottesman2013-12-132-4/+53
| | | | llvm-svn: 197272
* [block-freq] Add the APInt method extractBit.Michael Gottesman2013-12-133-0/+37
| | | | llvm-svn: 197271
* Delete dead code.Rafael Espindola2013-12-131-17/+0
| | | | llvm-svn: 197270
* Convert test to FileCheck.Rafael Espindola2013-12-131-6/+11
| | | | llvm-svn: 197269
* Every target sets DescriptionString. Assert that.Rafael Espindola2013-12-132-2/+2
| | | | llvm-svn: 197268
* Convert test to FileCheckRafael Espindola2013-12-131-1/+2
| | | | llvm-svn: 197267
* Correctly set the working directory when launching processes for both local ↵Greg Clayton2013-12-1381-99/+108
| | | | | | and remote targets. llvm-svn: 197266
* Remove #include "lldb/Core/Address.h" from SBQueueItem.h.Greg Clayton2013-12-131-1/+0
| | | | llvm-svn: 197265
* There can be no #includes of and internal headers in lldb::SB* classes, only ↵Greg Clayton2013-12-131-1/+0
| | | | | | "lldb/API/SB*" and "lldb/lldb*" headers. llvm-svn: 197264
* Objective-C. Remove obsolete option from test.Fariborz Jahanian2013-12-131-1/+1
| | | | | | // rdar://15641300 llvm-svn: 197263
* Revert "Convert liveness tracking to work on a sub-register level instead of ↵Andrew Trick2013-12-137-241/+234
| | | | | | | | | | just register units." This reverts commit r197253. This was a great change, but Juergen should be the commit author. llvm-svn: 197262
* Revert "Liveness Analysis Pass"Andrew Trick2013-12-1316-508/+52
| | | | | | | | | | | | | | This reverts commit r197254. This was an accidental merge of Juergen's patch. It will be checked in shortly, but wasn't meant to go in quite yet. Conflicts: include/llvm/CodeGen/StackMaps.h lib/CodeGen/StackMaps.cpp test/CodeGen/X86/stackmap-liveness.ll llvm-svn: 197260
* Use a: and s: instead of a0: and s0: in the DataLayout strings.Rafael Espindola2013-12-132-3/+3
| | | | | | They are equivalent and the size of 'a' and 's' is unused. llvm-svn: 197259
* Use a: and s: instead of a0: and s0: in the DataLayout strings.Rafael Espindola2013-12-133-17/+17
| | | | | | They are equivalent and the size of 'a' and 's' is unused. llvm-svn: 197256
* Grow the stackmap/patchpoint format to hold 64-bit IDs.Andrew Trick2013-12-1312-116/+134
| | | | llvm-svn: 197255
* Liveness Analysis PassAndrew Trick2013-12-1317-78/+514
| | | | llvm-svn: 197254
* Convert liveness tracking to work on a sub-register level instead of just ↵Andrew Trick2013-12-137-234/+241
| | | | | | register units. llvm-svn: 197253
* Tighten test regexes checking for __attribute__((thiscall)) on function types.Hans Wennborg2013-12-1316-43/+43
| | | | | | | | | | | The tests were perhaps made too relaxed in r197164 when we switched to the new MinGW ABI. This makes sure we check explicitly for an optional thiscall attribute and nothing else. We should still look into whether we should print these attributes at all in these cases. llvm-svn: 197252
* Objective-C. Do not issue warning when 'readonly'Fariborz Jahanian2013-12-137-51/+25
| | | | | | | | | | | | | | property declaration has a memory management attribute (retain, copy, etc.). Sich properties are usually overridden to become 'readwrite' via a class extension (which require the memory management attribute specified). In the absence of class extension override, memory management attribute is needed to produce correct Code Gen. for the property getter in any case and this warning becomes confusing to user. // rdar://15641300 llvm-svn: 197251
* [AArch64] Simplify the Neon Scalar3Same patterns for floating-point reciprocalChad Rosier2013-12-131-91/+65
| | | | | | | | | step, floating-point reciprocal square root step, floating-point absolute difference, and integer/floating-point compare instructions. Also, move the scalar general arithmetic operation patterns closer to similar code. No functional change intended. llvm-svn: 197250
* Assume defaults to produce smaller datalayout strings.Rafael Espindola2013-12-136-26/+10
| | | | llvm-svn: 197249
* Convert test to FileCheck and make it more strict.Rafael Espindola2013-12-131-1/+15
| | | | llvm-svn: 197248
* Centralized the launching of a process into Target::Launch()Greg Clayton2013-12-135-216/+177
| | | | | | | | | | | | | While investigating test suite failures when running the test suite remotely, I noticed we had 3 copies of code that launched a process: 1 - in "process launch" command 2 - SBTarget::Launch() with args 3 - SBTarget::Launch() with SBLaunchInfo "process launch" was launching through the platform if it was supported (this is needed for remote debugging) and the 2 and 3 were not. Now all code is in one place. llvm-svn: 197247
* [analyzer] Add -analyzer-config to scan-build.Jordan Rose2013-12-132-2/+22
| | | | | | | | | -analyzer-config options are now passed from scan-build through to ccc-analyzer and then to clang. Patch by Daniel Connelly! llvm-svn: 197246
* Fix raw lex crash and -frewrite-includes noeol-at-eof failureAlp Toker2013-12-133-6/+11
| | | | | | Raw lexers don't have a preprocessor so we need to null check. llvm-svn: 197245
* [msan] Fix strncat interceptor, add missing tests.Evgeniy Stepanov2013-12-132-3/+41
| | | | llvm-svn: 197244
* [OpenCL] Produce an error when the work group and vec type hint attributesJoey Gouly2013-12-134-0/+35
| | | | | | | | are used on non-kernel functions. Reviewed by Aaron over IRC! llvm-svn: 197243
* Add a clang side test for pr18235 too.Rafael Espindola2013-12-131-0/+3
| | | | llvm-svn: 197242
* Fix pr18235.Rafael Espindola2013-12-134-39/+29
| | | | | | | | | | The cpp backend is not a reasonable fallback for a missing target. It is a very special backend, so it is reasonable to use it only if explicitly requested. While at it, simplify the interface a bit. llvm-svn: 197241
* ARM MachO embedded: fix test without FileCheck lineTim Northover2013-12-131-3/+7
| | | | | | | | | Well, that's one way to pass a test, I suppose. Unfortunately actually doing the testing means I didn't pass all I thought (embedded v7a is not supported, apparently). I'll deal with that with the move to -none-macho rather than putting heinous hacks in right now. llvm-svn: 197240
* [SystemZ] Optimize X [!=]= Y in cases where X - Y or Y - X is also computedRichard Sandiford2013-12-132-0/+41
| | | | | | | In those cases it's better to compare the result of the subtraction against zero. llvm-svn: 197239
OpenPOWER on IntegriCloud