summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add AVX2 support for vselect of v32i8Nadav Rotem2011-11-093-0/+27
| | | | llvm-svn: 144187
* Simplify code. No functionality change.Benjamin Kramer2011-11-091-8/+2
| | | | llvm-svn: 144186
* Update test.Benjamin Kramer2011-11-091-1/+1
| | | | llvm-svn: 144185
* Take advantage of the zero byte in StringMap when emitting dwarf stringpool ↵Benjamin Kramer2011-11-091-2/+3
| | | | | | entries. llvm-svn: 144184
* Minor fixes in Makefiles for the OCaml bindings:Wojciech Matyjewicz2011-11-092-6/+8
| | | | | | | | | | | 1. Interface files (.mli) are installed before compiled interface files (.cmi) to preserve timestamp relation. 2. install-meta should use $(OcamlDir) instead of $(ObjDir). 3. Declared some targets as .PHONY. Patch by Christophe Raffalli. llvm-svn: 144183
* Enable execution dependency fix pass for YMM registers when AVX2 is enabled. ↵Craig Topper2011-11-093-4/+58
| | | | | | Add AVX2 logical operations to list of replaceable instructions. llvm-svn: 144179
* unittests/MultiJITTest.cpp: Tweak how to check symbol value for Win32 ↵NAKAMURA Takumi2011-11-091-2/+15
| | | | | | | | | --enable-shared. getPointerToNamedFunction might be indirect jump on Win32 --enable-shared. FF 25 <disp32>: jmp *(pointer to IAT) llvm-svn: 144178
* Try to fix an issue on some hosts where the 'lib' in the builtin includeChandler Carruth2011-11-091-1/+1
| | | | | | path is actually a multilib. llvm-svn: 144177
* Add instruction selection for AVX2 integer comparisons.Craig Topper2011-11-093-8/+101
| | | | llvm-svn: 144176
* Remove the QAddressIsExecutable packet I added last night.Jason Molenda2011-11-0912-57/+98
| | | | | | | | | | | | | | | Add a more general purpose qMemoryRegionInfo packet which can describe various attributes about a memory region. Currently it will return the start address, size, and permissions (read, write, executable) for the memory region. It may be possible to add additional attributes in the future such as whether the region is designated as stack memory or jitted code a la vmmap. I still haven't implemented the lldb side of the code to use this packet yet so there may be unexpected behavior - but the basic implementation looks about right. I'll hook it up to lldb soon and fix any problems that crop up. llvm-svn: 144175
* Add AVX2 instruction lowering for add, sub, and mul.Craig Topper2011-11-092-24/+157
| | | | llvm-svn: 144174
* Don't forget to check FlagNW when determining whether an AddRecExpr will wrapNick Lewycky2011-11-092-2/+38
| | | | | | or not. Patch by Brendon Cahoon! llvm-svn: 144173
* Remove extra ';'Devang Patel2011-11-091-2/+2
| | | | llvm-svn: 144172
* Fixing 80 col violations (& removing any trailing whitespace on files I was ↵David Blaikie2011-11-0933-1844/+1907
| | | | | | touching anyway) llvm-svn: 144171
* Fix 80 cols violations & remove trailing whitespace.David Blaikie2011-11-091-59/+69
| | | | llvm-svn: 144170
* Remove the pubnames section, no one consumes it.Eric Christopher2011-11-096-89/+3
| | | | llvm-svn: 144169
* Reflow one line I missed in previous cleanup commit. No functionality change.Nick Lewycky2011-11-091-2/+1
| | | | llvm-svn: 144168
* Minor cleanup, mostly reindenting. Remove one helper function that just calledNick Lewycky2011-11-092-22/+15
| | | | | | | the other helper functions, since we already differentiated the cases it was testing between. No functionality change. llvm-svn: 144167
* Enhance verifyLoop so that it can reliably verify that every block in a loop ↵Eli Friedman2011-11-091-3/+19
| | | | | | is reachable from the loop header. llvm-svn: 144166
* Fix an issue that Duncan discovered on a specific (no longer current)Chandler Carruth2011-11-0914-9/+39
| | | | | | | | | | | | version of Ubuntu. It has a very broken multiarch configuration, and so we need special logic to handle it correctly. Fixing and testing this uncovered a few other trivial issues with the logic that are fixed as well. I added tests to cover this as it is hard to notice if you install recent versions of the OS. llvm-svn: 144165
* Use isa<> instead of dyn_cast<> as suggested by Nick.John McCall2011-11-091-1/+1
| | | | | | Should've read the patch a bit closer, sorry. llvm-svn: 144164
* Add support for encoding immediates in icmp and fcmp. Hopefully, this willChad Rosier2011-11-092-12/+278
| | | | | | | remove a fair number of unnecessary materialized constants. rdar://10412592 llvm-svn: 144163
* Emit the copy and dipose helpers for ARC __strongJohn McCall2011-11-092-11/+76
| | | | | | | | | | | | | | | | | | | | block-typed __block variables using objc_retainBlock and objc_dispose. Previously we were using _Block_object_assign and _Block_object_destroy with BLOCK_BYREF_CALLER, which causes the runtime to completely ignore the retain and release. In most cases this doesn't cause catastrophe because the retain/release are balanced and because the block in the variable was copied upon assignment there. However, the stack copy of the variable will be released when it goes out of scope, which is a problem if that value was released due to an assignment to the heap copy. Similarly, a leak can occur if the variable is assigned after the copy to the heap. llvm-svn: 144162
* Workaround for compilers that don't implement C++ DR45, from Tom Honermann!Douglas Gregor2011-11-092-2/+14
| | | | llvm-svn: 144161
* Put ext_offsetof_extended_field_designator under the warning flagDouglas Gregor2011-11-092-3/+3
| | | | | | -Wextended-offsetof, from Jeff Walden! llvm-svn: 144160
* Don't crash when transforming an ill-formed pseudo-destructorDouglas Gregor2011-11-092-1/+10
| | | | | | expression. Fixes PR11339. llvm-svn: 144159
* Extract the blocks-related ARC tests into their own file.John McCall2011-11-092-428/+430
| | | | llvm-svn: 144158
* Introduce proper spacing after the Objective-C parameter qualifiersDouglas Gregor2011-11-092-12/+7
| | | | | | (bycopy, inout, etc.). Fixes <rdar://problem/10402900>. llvm-svn: 144157
* Constant expression evaluation: support for default arguments.Richard Smith2011-11-092-0/+32
| | | | llvm-svn: 144156
* Remove extra ';'Devang Patel2011-11-091-1/+1
| | | | llvm-svn: 144155
* Hide cpu name checking in ARMSubtarget.Evan Cheng2011-11-092-1/+2
| | | | llvm-svn: 144154
* [PCH] Fix reading from PCH of diagnostic pragmas.Argyrios Kyrtzidis2011-11-095-13/+26
| | | | | | | | | | | In certain cases ASTReader would call the normal DiagnosticsEngine API to initialize the state of diagnostic pragmas but DiagnosticsEngine would try to compare source locations leading to crash because the main FileID was not yet initialized. Yet another case of the ASTReader trying to use the normal APIs and inadvertently breaking invariants. Fix this by having the ASTReader set up the internal state directly. llvm-svn: 144153
* Add "I" (ICE) annotations onto a few more x86 intrinsics.Eli Friedman2011-11-091-6/+6
| | | | llvm-svn: 144152
* Collapse DomainValues across loop back-edges.Jakob Stoklund Olesen2011-11-092-8/+80
| | | | | | | | | | | | | | During the initial RPO traversal of the basic blocks, remember the ones that are incomplete because of back-edges from predecessors that haven't been visited yet. After the initial RPO, revisit all those loop headers so the incoming DomainValues on the back-edges can be properly collapsed. This will properly fix execution domains on software pipelined code, like the included test case. llvm-svn: 144151
* Don't crash on invalid objc code.Argyrios Kyrtzidis2011-11-092-0/+6
| | | | llvm-svn: 144150
* Link to the live DomainValue after merging.Jakob Stoklund Olesen2011-11-091-13/+50
| | | | | | | | | | | | | | | | When merging two uncollapsed DomainValues, place a link to the active DomainValue from the passive DomainValue. This allows old stale references to the passive DomainValue to be updated to point to the active DomainValue. The new resolve() function finds the active DomainValue and updates the pointer. This change makes old live-out lists more useful since they may contain uncollapsed DomainValues that have since been merged into other DomainValues. llvm-svn: 144149
* Object/COFF: Fix PE reading.Michael J. Spencer2011-11-081-23/+30
| | | | llvm-svn: 144148
* Track reference count independently from clear().Jakob Stoklund Olesen2011-11-081-4/+4
| | | | | | This allows clear() to be called on a DomainValue with references. llvm-svn: 144147
* [arcmt] Take into account that all properties are strong-by-default now and ↵Argyrios Kyrtzidis2011-11-083-50/+13
| | | | | | fix the test. llvm-svn: 144146
* Add a missing ')' in the comment.Johnny Chen2011-11-081-1/+1
| | | | llvm-svn: 144145
* Bind function "r-values" as l-values when emitting them asJohn McCall2011-11-083-2/+20
| | | | | | opaque values. Silly C type system. llvm-svn: 144144
* objc: Don't crash on missing @interface decl.Fariborz Jahanian2011-11-082-6/+14
| | | | | | // rdar://10415026 llvm-svn: 144143
* [analyzer] Testing: test with all the non-experimental checker packages.Anna Zaks2011-11-081-2/+6
| | | | llvm-svn: 144142
* [analyzer] Testing: support for regenerate reference outputAnna Zaks2011-11-081-12/+15
| | | | | | | Change the flow of the SATestAdd so that it could be used for regenerating the reference output without exiting with an error. llvm-svn: 144141
* Properly handle Mips MC relocations and lower cpload and cprestore macros to ↵Bruno Cardoso Lopes2011-11-084-45/+191
| | | | | | | | MCInsts. Patch by Jack Carter. llvm-svn: 144139
* Emit the compact unwind *if* we have a compact unwind encoding.Bill Wendling2011-11-081-1/+1
| | | | | | *headdesk* llvm-svn: 144138
* [arcmt] Now that readonly properties are strong-by-default, do not add ↵Argyrios Kyrtzidis2011-11-084-5/+7
| | | | | | redundant 'strong'. llvm-svn: 144136
* Call release() directly when cleaning up the remaining DomainValues.Jakob Stoklund Olesen2011-11-081-5/+3
| | | | | | There is no need to involve the LiveRegs array and kill() any longer. llvm-svn: 144133
* Rename all methods to follow style guide.Jakob Stoklund Olesen2011-11-081-42/+42
| | | | | | No functional change. llvm-svn: 144132
* Handle reference counts in one function: release().Jakob Stoklund Olesen2011-11-081-15/+18
| | | | | | | | | | This new function will decrement the reference count, and collapse a domain value when the last reference is gone. This simplifies DomainValue reference counting, and decouples it from the LiveRegs array. llvm-svn: 144131
OpenPOWER on IntegriCloud