summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark asm matcher conversion table as const.Craig Topper2012-09-181-5/+5
| | | | llvm-svn: 164088
* Fix some funky indentation.Evan Cheng2012-09-181-18/+17
| | | | llvm-svn: 164087
* Fix typo in comment. No functional change.Craig Topper2012-09-181-1/+1
| | | | llvm-svn: 164086
* If a comma operator is followed by a token which unambiguously indicates theRichard Smith2012-09-187-1/+81
| | | | | | | | start of a statement or the end of a compound-statement, diagnose the comma as a typo for a semicolon. Patch by Ahmed Bougacha! Additional test cases and minor refactoring by me. llvm-svn: 164085
* PGO: preserve branch-weight metadata when simplifying Switch to a sub, an icmpManman Ren2012-09-182-2/+85
| | | | | | and a conditional branch; also when removing dead cases from a switch. llvm-svn: 164084
* Per discussion on cfe-dev, remove -Wunique-enums entirely. ThereTed Kremenek2012-09-184-360/+0
| | | | | | | | is no compelling argument that this is a generally useful warning, and imposes a strong stylistic argument on code beyond what it was intended to find warnings in. llvm-svn: 164083
* Making ClangExpression hold on to a WP to the Process instead of a SP. This ↵Enrico Granata2012-09-184-19/+35
| | | | | | fix should enable us to have per-process maps of ClangExpressions without fear of keeping the process alive forever llvm-svn: 164082
* Remove a spurious control character coming from trying to save files in ↵Jim Ingham2012-09-181-1/+1
| | | | | | Xcode with emacs' ^x^s. llvm-svn: 164081
* objective-C: don't warn about class extension property's Fariborz Jahanian2012-09-172-9/+7
| | | | | | | missing 'assign' attribute as it is determined by its overridden property in primary class. // rdar://12214070 llvm-svn: 164080
* objective-C: add Doug's test for my last patch.Fariborz Jahanian2012-09-171-1/+7
| | | | llvm-svn: 164079
* Backout the wrong subtarget emitter fixAndrew Trick2012-09-171-1/+1
| | | | llvm-svn: 164078
* objective-C: improve on warnings about misplacement of methodFariborz Jahanian2012-09-174-35/+34
| | | | | | argument names. // rdar://12263549 llvm-svn: 164077
* PGO: preserve branch-weight metadata when simplifying SwitchManman Ren2012-09-172-1/+51
| | | | | | | Hanlde the case when we split the default edge if the default target has "icmp" and unconditinal branch. llvm-svn: 164076
* Fix release build after revertingAndrew Trick2012-09-171-2/+1
| | | | llvm-svn: 164075
* Merge into undefined lanes under -new-coalescer.Jakob Stoklund Olesen2012-09-174-3/+189
| | | | | | | | | | | | | | | | | Add LIS::pruneValue() and extendToIndices(). These two functions are used by the register coalescer when merging two live ranges requires more than a trivial value mapping as supported by LiveInterval::join(). The pruneValue() function can remove the part of a value number that is going to conflict in join(). Afterwards, extendToIndices can restore the live range, using any new dominating value numbers and updating the SSA form. Use this complex value mapping to support merging a register into a vector lane that has a conflicting value, but the clobbered lane is undef. llvm-svn: 164074
* Stop adding <imp-def> operands when expanding REG_SEQUENCE.Jakob Stoklund Olesen2012-09-171-4/+0
| | | | | | | | | | These extra operands are not needed by register allocators using VirtRegRewriter, and RAFast don't need them any longer. By omitting the <imp-def> operands, it becomes possible for the new register coalescer to track which lanes are valid and which are undef. llvm-svn: 164073
* Revert r164061-r164067. Most of the new subtarget emitter.Andrew Trick2012-09-1713-356/+64
| | | | | | | I have to work out the Target/CodeGen header dependencies before putting this back. llvm-svn: 164072
* Remove redundant semicolons to fix -pedantic-errors build break with older ↵Richard Smith2012-09-171-4/+4
| | | | | | Clangs. llvm-svn: 164071
* llvm/Target/TargetSubtargetInfo.h: Fix case in #include, ↵NAKAMURA Takumi2012-09-171-1/+1
| | | | | | s#llvm/Codegen/#llvm/CodeGen#. llvm-svn: 164070
* PGO: preserve branch-weight metadata when simplifying SwitchOnSelect.Manman Ren2012-09-172-6/+54
| | | | llvm-svn: 164068
* Don't use NULL as a fake keywordAndrew Trick2012-09-171-1/+1
| | | | llvm-svn: 164067
* InitMCProcessorAndrew Trick2012-09-173-18/+20
| | | | llvm-svn: 164066
* TargetSchedModel API. Implement latency lookup, disabled.Andrew Trick2012-09-177-22/+178
| | | | llvm-svn: 164065
* comment typoAndrew Trick2012-09-171-1/+1
| | | | llvm-svn: 164064
* TableGen subtarget emitter. Use getSchedClassIdx.Andrew Trick2012-09-172-11/+1
| | | | llvm-svn: 164063
* TableGen subtarget emitter. Generate resolveSchedClass generated hook for ↵Andrew Trick2012-09-172-0/+93
| | | | | | resolving instruction variants. llvm-svn: 164062
* TableGen subtarget emitter. Initialize MCSubtargetInfo with the new machine ↵Andrew Trick2012-09-176-14/+65
| | | | | | model. llvm-svn: 164061
* TableGen subtarget emitter. Format and emit data tables for the new machine ↵Andrew Trick2012-09-171-6/+117
| | | | | | model. llvm-svn: 164060
* TableGen subtarget emitter. Generate data tables for the new machine model.Andrew Trick2012-09-171-2/+291
| | | | | | | | | | | | Map the CodeGenSchedule object model onto data tables. The structure of the data tables is defined in MC, so for convenience we include MCSchedule.h. The alternative is maintaining a redundant copy of the table structure definitions. Mapping the object model onto data tables is sufficiently complicated that it should not be interleaved with emitting source code. This avoids major problem with the backend for itinerary generation. llvm-svn: 164059
* TableGen subtarget emitter. Emit processor resources for the new machine model.Andrew Trick2012-09-171-10/+63
| | | | llvm-svn: 164058
* TableGen subtarget parser: Add getProcResourcesIdx().Andrew Trick2012-09-171-0/+10
| | | | llvm-svn: 164057
* Add some cases to x86 OptimizeCompare to handle DEC and INC, too.Jan Wen Voung2012-09-172-5/+40
| | | | | | While we are setting the earlier def to true, also make it live. llvm-svn: 164056
* Added an example of an empty case label to avoid confusion.Alexander Kornienko2012-09-171-1/+2
| | | | llvm-svn: 164055
* PGO: preserve branch-weight metadata when simplifying two branches with a commonManman Ren2012-09-172-1/+49
| | | | | | destination in SimplifyCondBranchToCondBranch. llvm-svn: 164054
* objective-C: peroform property attribute consistencyFariborz Jahanian2012-09-173-8/+24
| | | | | | | checking on property declared in class extension. // rdar://12214070 llvm-svn: 164053
* Remove debugging code.Bill Wendling2012-09-171-5/+1
| | | | llvm-svn: 164052
* Make sure there is enough room for RA. getStackSize needs to be cleaned up butAkira Hatanaka2012-09-171-0/+4
| | | | | | | | we will do that when we implement the full save/restore. Patch by Reed Kotler. llvm-svn: 164051
* Make the Class Descriptors able to fetch the class name for unrealized classesEnrico Granata2012-09-172-1/+35
| | | | llvm-svn: 164050
* Re-applied Enrico's patch that I so rudelySean Callanan2012-09-172-440/+425
| | | | | | stomped on. llvm-svn: 164049
* Stop validating the vtable_ptr since it's not actually guaranteed to be correctEnrico Granata2012-09-171-11/+0
| | | | llvm-svn: 164048
* objective-C: issue warning when there is no whitespaceFariborz Jahanian2012-09-174-3/+54
| | | | | | | between objc method parameter name and colon. // rdar://12263549 llvm-svn: 164047
* [analyzer] Teach the analyzer about implicit initialization of staticsAnna Zaks2012-09-176-19/+48
| | | | | | | | | | | in ObjCMethods. Extend FunctionTextRegion to represent ObjC methods as well as functions. Note, it is not clear what type ObjCMethod region should return. Since the type of the FunctionText region is not currently used, defer solving this issue. llvm-svn: 164046
* Increase the static sizes of some SmallSets. finalizeBundle() is very ↵Michael Ilseman2012-09-171-4/+4
| | | | | | frequently called for some backends, and growing into an std::set is overkill for these numbers. llvm-svn: 164044
* whitespaceMichael Ilseman2012-09-171-1/+1
| | | | llvm-svn: 164043
* Fix PR13859Michael Liao2012-09-172-6/+35
| | | | | | | - Preserve the original NOutVT during casting from vector to integer by extracting vector elements. llvm-svn: 164042
* TableGen: Add initializer.Jim Grosbach2012-09-171-1/+1
| | | | | | | Keep GCC's warnings happy. It can't reason out that the state machine won't ever hit the potentially uninitialized use in OPC_FilterValue. llvm-svn: 164041
* s/__llvm_gcov_flush/__gcov_flush/gBill Wendling2012-09-171-4/+4
| | | | llvm-svn: 164040
* -Warc-retain-cycles: look through [^{...} copy] and Block_copy(^{...})Jordan Rose2012-09-172-0/+49
| | | | | | | | | | | | | Retain cycles happen in the case where a block is persisted past its life on the stack, and the way that occurs is by copying the block. We should thus look through any explicit copies we see. Note that Block_copy is actually a type-safe wrapper for _Block_copy, which does all the real work. <rdar://problem/12219663> llvm-svn: 164039
* LLVM_ATTRIBUTE_USED forces emission of a function. To silence unused ↵Benjamin Kramer2012-09-171-2/+2
| | | | | | function warnings use LLVM_ATTRIBUTE_UNUSED. llvm-svn: 164036
* NewSROA: Provide a full set of operator< for ByteRanges.Benjamin Kramer2012-09-171-2/+7
| | | | | | MSVC8 won't compile lower_bound if one is missing. llvm-svn: 164035
OpenPOWER on IntegriCloud