summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* llvm-config: Drop 'backend' pseudo-component. We don't support/qualify the CBEDaniel Dunbar2011-11-091-2/+0
| | | | | | enough to have this be useful. llvm-svn: 144202
* llvm-config-2: Switch to using real library dependency table.Daniel Dunbar2011-11-091-10/+1
| | | | | | | | - Also, fix a refacto that left extra "all" component in list (this is now defined in the groups explicitly) - Reapply of r143879 now that Make should see needed deps. llvm-svn: 144201
* Fix typo.Eric Christopher2011-11-091-1/+1
| | | | llvm-svn: 144198
* build/Make: Fix some missing dependencies on the llvm-build generation step.Daniel Dunbar2011-11-091-1/+7
| | | | llvm-svn: 144197
* Add comments.Benjamin Kramer2011-11-091-1/+2
| | | | llvm-svn: 144194
* Speculatively revert commit 144124 (djg) in the hope that the 32 bitDuncan Sands2011-11-093-30/+10
| | | | | | | | | | | | | | dragonegg self-host buildbot will recover (it is complaining about object files differing between different build stages). Original commit message: Add a hack to the scheduler to disable pseudo-two-address dependencies in basic blocks containing calls. This works around a problem in which these artificial dependencies can get tied up in calling seqeunce scheduling in a way that makes the graph unschedulable with the current approach of using artificial physical register dependencies for calling sequences. This fixes PR11314. llvm-svn: 144188
* 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
* 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
* Add instruction selection for AVX2 integer comparisons.Craig Topper2011-11-093-8/+101
| | | | llvm-svn: 144176
* 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
* Remove the pubnames section, no one consumes it.Eric Christopher2011-11-096-89/+3
| | | | llvm-svn: 144169
* 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
* 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
* Hide cpu name checking in ARMSubtarget.Evan Cheng2011-11-092-1/+2
| | | | llvm-svn: 144154
* 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
* 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
* 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
* 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
* Also add the linkage name to the name accelerator tables if it existsEric Christopher2011-11-082-2/+19
| | | | | | and is different than the normal name. llvm-svn: 144130
* Add a hack to the scheduler to disable pseudo-two-address dependencies inDan Gohman2011-11-083-10/+30
| | | | | | | | | | basic blocks containing calls. This works around a problem in which these artificial dependencies can get tied up in calling seqeunce scheduling in a way that makes the graph unschedulable with the current approach of using artificial physical register dependencies for calling sequences. This fixes PR11314. llvm-svn: 144124
* Add workaround for Cortex-M3 errata 602117 by replacing ldrd x, y, [x] with ↵Evan Cheng2011-11-082-14/+21
| | | | | | ldm or ldr pairs. llvm-svn: 144123
* ARMFastISel doesn't support thumb1. Rename isThumb to isThumb2 to reflect this.Chad Rosier2011-11-081-39/+39
| | | | | | No functional change intended. llvm-svn: 144122
* Fix code to match comment. Fixes PR11340, a regression from r143209.Eli Friedman2011-11-082-1/+11
| | | | llvm-svn: 144121
* Clear old DomainValue after merging.Jakob Stoklund Olesen2011-11-081-1/+6
| | | | | | | | | | | | The old value may still be referenced by some live-out list, and we don't wan't to collapse those instructions twice. This fixes the "Can only swizzle VMOVD" assertion in some armv7 SPEC builds. <rdar://problem/10413292> llvm-svn: 144117
* MC/COFF: Correctly emit the size of an empty string table.Michael J. Spencer2011-11-081-0/+1
| | | | llvm-svn: 144111
* LICM pass now understands invariant load metadata. Nothing generates this ↵Pete Cooper2011-11-082-0/+41
| | | | | | yet so it will currently never get used in real tests llvm-svn: 144107
* Add the base ObjC method name to the names lookup table as well.Eric Christopher2011-11-081-0/+6
| | | | llvm-svn: 144105
* Adding test for machine-licm operating on invariant load instructionsPete Cooper2011-11-081-0/+29
| | | | llvm-svn: 144104
* Lower mem-ops to unaligned i32/i16 load/stores on ARM where supported.Lang Hames2011-11-083-6/+26
| | | | | | | | Add support for trimming constants to GetDemandedBits. This fixes some funky constant generation that occurs when stores are expanded for targets that don't support unaligned stores natively. llvm-svn: 144102
* Added invariant field to the DAG.getLoad method and changed all calls.Pete Cooper2011-11-0826-202/+253
| | | | | | When this field is true it means that the load is from constant (runt-time or compile-time) and so can be hoisted from loops or moved around other memory accesses llvm-svn: 144100
* A few more places where we can avoid multiple size queries.Eric Christopher2011-11-081-7/+7
| | | | llvm-svn: 144099
* Don't evaluate Data.size() on every iteration.Eric Christopher2011-11-081-1/+1
| | | | llvm-svn: 144095
* This patch handles unaligned loads and stores in Mips JIT. Mips backendBruno Cardoso Lopes2011-11-082-6/+148
| | | | | | | | | | | | implements unaligned loads and stores with assembler macro-instructions ulw, usw, ulh, ulhu, ush, and this patch emits corresponding instructions instead of these macros. Since each unaligned load/store is expanded into two corresponding loads/stores where offset for second load/store is modified by +3 (for words) or +1 (for halfwords). Patch by Petar Jovanovic and Sasa Stankovic. llvm-svn: 144081
* PathProfiling.c: Get rid of using "inline". We may expect compiler shall ↵NAKAMURA Takumi2011-11-081-7/+2
| | | | | | optimize out "static" scope w/o "inline". llvm-svn: 144080
* Fix the printing of constants. Patch by Stepan Dyatkovskiy!John McCall2011-11-082-1/+5
| | | | llvm-svn: 144079
* Add Eero to the list of external projects.Bill Wendling2011-11-081-0/+16
| | | | llvm-svn: 144076
* PPCInstrInfo.cpp: Fix one "unused" warning.NAKAMURA Takumi2011-11-081-0/+1
| | | | llvm-svn: 144071
* runtime/libprofile/PathProfiling.c: Use __inline__ to appease clang ↵NAKAMURA Takumi2011-11-081-3/+3
| | | | | | | -std=gnu89 -pedantic. FIXME: Should configure detect one? llvm-svn: 144070
OpenPOWER on IntegriCloud