summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* FileCheckize inline asm FP stack testsJakob Stoklund Olesen2010-07-104-19/+89
| | | | llvm-svn: 108046
* Insert IMPLICIT_DEF instructions at the current insert position, notDan Gohman2010-07-101-1/+1
| | | | | | at the end of the block. llvm-svn: 108045
* Lay the ground work for resoving PR7047. This doesn't actually fix it becauseChandler Carruth2010-07-102-3/+66
| | | | | | | | | | default arguments to template parameters don't have a DeclContext when instantiated, and so we can't detect that we're in an instantiation context as opposed to the definition context. However, it fixes the more commonly-occuring cases in TMP code that use devolve to this type of tautology after substitution. llvm-svn: 108044
* Add parentheses yet again to satisfy GCC's warnings.Chandler Carruth2010-07-101-3/+3
| | | | llvm-svn: 108043
* Add PCH support for the remaining C++ exprs.Argyrios Kyrtzidis2010-07-105-20/+104
| | | | llvm-svn: 108042
* Add an explicit triple to make this test behave consistently.Dan Gohman2010-07-101-1/+1
| | | | llvm-svn: 108041
* Fix this XTARGET so that this does doesn't XPASS on non-darwin hosts.Dan Gohman2010-07-101-1/+1
| | | | llvm-svn: 108040
* Reapply bottom-up fast-isel, with several fixes for x86-32:Dan Gohman2010-07-1026-392/+776
| | | | | | | | | - Check getBytesToPopOnReturn(). - Eschew ST0 and ST1 for return values. - Fix the PIC base register initialization so that it doesn't ever fail to end up the top of the entry block. llvm-svn: 108039
* An x86 function returns a floating point value in st(0), and we must make sureJakob Stoklund Olesen2010-07-101-18/+26
| | | | | | | | | it is popped, even if it is ununsed. A CopyFromReg node is too weak to represent the required sideeffect, so insert an FpGET_ST0 instruction directly instead. This will matter when CopyFromReg gets lowered to a generic COPY instruction. llvm-svn: 108037
* Add an "Avoid Frames matching this regular expression" to ThreadPlanStepInRange.Jim Ingham2010-07-103-4/+70
| | | | | | | This relies on ThreadPlanStepOut working correctly, which it doesn't currently for Inlined functions, so this feature is only partially useful until we take care of Stepping Out of inlined functions. Added an option to "thread step-in" to set the avoid regular expression. This is mostly for testing, once the Setting code is redone, we'll move this to a general setting. llvm-svn: 108036
* Properly set the PlanKind for the ThreadPlanStepRange derived classes.Jim Ingham2010-07-101-1/+1
| | | | llvm-svn: 108035
* Fix CMake buildPeter Collingbourne2010-07-091-0/+2
| | | | llvm-svn: 108031
* A few more misc warning fixes.Eli Friedman2010-07-093-4/+4
| | | | llvm-svn: 108030
* Misc warning fixes.Eli Friedman2010-07-094-8/+8
| | | | llvm-svn: 108029
* Hack for dealing with commas until we support multiple alternative ↵John Thompson2010-07-091-0/+4
| | | | | | constraints, per pr7338. llvm-svn: 108028
* Comment out test targets; they don't work on Linux because test/Makefile usesEli Friedman2010-07-091-6/+6
| | | | | | a bunch of BSD-isms. llvm-svn: 108027
* BlockDeclRefExpr of a dependent type mustFariborz Jahanian2010-07-092-14/+17
| | | | | | be a dependent expression when its is built. llvm-svn: 108026
* Make current Makefiles work on Linux (at least, they work for me). PleaseEli Friedman2010-07-092-43/+26
| | | | | | tell me if this breaks anything. llvm-svn: 108025
* Remove unnecessary directory (accidentally committed with r108009).Eli Friedman2010-07-091-19/+0
| | | | llvm-svn: 108024
* Update DBG_VALUE to refer appropriate stack slot in case of a spill.Devang Patel2010-07-091-2/+19
| | | | llvm-svn: 108023
* Declare YMM subregisters in the right way! Thanks JakobBruno Cardoso Lopes2010-07-091-2/+1
| | | | llvm-svn: 108022
* Add AVX 256-bit packed MOVNT variantsBruno Cardoso Lopes2010-07-093-0/+47
| | | | llvm-svn: 108021
* Remember the *_TC opcodes for load/storeJakob Stoklund Olesen2010-07-091-0/+4
| | | | llvm-svn: 108020
* Instantiation of byref variable inFariborz Jahanian2010-07-093-1/+28
| | | | | | block literal expression. llvm-svn: 108019
* Slightly improve the diagnostic when using a qualified function typedef to ↵Sebastian Redl2010-07-093-9/+10
| | | | | | declare nonmember or static member functions. llvm-svn: 108018
* Add AVX 256-bit unpack and interleaveBruno Cardoso Lopes2010-07-093-0/+81
| | | | llvm-svn: 108017
* Reorganize how ClassTemplate[Partial]SpecializationDecls are read/written to ↵Argyrios Kyrtzidis2010-07-092-37/+38
| | | | | | | | avoid the possibility of adding an unitialized one into the folding set. llvm-svn: 108016
* isMemberSpecialization -> setMemberSpecialization.Argyrios Kyrtzidis2010-07-091-1/+1
| | | | llvm-svn: 108015
* When given the -chained-pch option and a previous PCH file, have the ↵Sebastian Redl2010-07-094-14/+23
| | | | | | PCHWriter emit a CHAINED_METADATA record instead of METADATA, and write a link to the previous file there. llvm-svn: 108014
* Fix small bug in isMoveInstr -> COPY translationJakob Stoklund Olesen2010-07-091-3/+4
| | | | llvm-svn: 108013
* Automatically fold COPY instructions into stack load/store.Jakob Stoklund Olesen2010-07-094-14/+80
| | | | llvm-svn: 108012
* Fix a few testsJakob Stoklund Olesen2010-07-092-61/+61
| | | | llvm-svn: 108011
* Remat uncoalescable COPY instrsJakob Stoklund Olesen2010-07-091-0/+11
| | | | llvm-svn: 108010
* Merged Eli Friedman's linux build changes where he added Makefile files thatGreg Clayton2010-07-09151-1887/+1439
| | | | | | | enabled LLVM make style building and made this compile LLDB on Mac OS X. We can now iterate on this to make the build work on both linux and macosx. llvm-svn: 108009
* In the presence of variable sized objects, allocate an emergency spill slot.Jim Grosbach2010-07-092-5/+12
| | | | | | rdar://8131327 llvm-svn: 108008
* Fix a crashing but trying to print a TemplateTemplateParmDeclCraig Silverstein2010-07-091-1/+5
| | | | | | | | | | | | | | | for code like this: template<template<typename T> class U> class V {}; The problem is that the DeclPrinter assumed all TemplateDecls have a getTemplatedClass(), but template template params don't (so we got a NULL dereference). The solution is to detect if we're a template template param, and construct the template class name ('class U') specially in this case. OKed by dgregor and chandlerc llvm-svn: 108007
* Ignore -Wno-main, per PR7269.Eli Friedman2010-07-091-0/+1
| | | | llvm-svn: 108006
* Clarify what mysterious check means.Bill Wendling2010-07-091-0/+3
| | | | llvm-svn: 108005
* Rip out the floating point return type handling from the atomic builtin. It'sChandler Carruth2010-07-091-2/+1
| | | | | | | wrong, and we don't handle floating point value type arguments yet anyways. Will add correct logic for both when I finish the patch. llvm-svn: 108004
* Add a target triple.Dan Gohman2010-07-091-1/+1
| | | | llvm-svn: 108003
* Fix PR7600, and correctly convert the result of an atomic builtin to theChandler Carruth2010-07-093-30/+63
| | | | | | | | | expected value type. This is necessary as the builtin is internally represented as only operating on integral types. Also, add a FIXME to add support for floating point value types. llvm-svn: 108002
* Fix MachineLICM to actually visit inner loops.Dan Gohman2010-07-092-3/+100
| | | | llvm-svn: 108001
* Instantiation of block literal expressions. wip.Fariborz Jahanian2010-07-094-9/+103
| | | | llvm-svn: 108000
* Document my otherwise-inexplicable changeDouglas Gregor2010-07-091-0/+15
| | | | llvm-svn: 107998
* Start the support for AVX instructions with 256-bit %ymm registers. A couple ofBruno Cardoso Lopes2010-07-0911-18/+199
| | | | | | | | | | | | | | | notes: - The instructions are being added with dummy placeholder patterns using some 256 specifiers, this is not meant to work now, but since there are some multiclasses generic enough to accept them, when we go for codegen, the stuff will be already there. - Add VEX encoding bits to support YMM - Add MOVUPS and MOVAPS in the first round - Use "Y" as suffix for those Instructions: MOVUPSYrr, ... - All AVX instructions in X86InstrSSE.td will move soon to a new X86InstrAVX file. llvm-svn: 107996
* Refer to implicit "conversions" rather than implicit "casts", whichDouglas Gregor2010-07-094-75/+76
| | | | | | don't technically exist in the language. <rdar://problem/8085982> llvm-svn: 107995
* Correctly initialize Reader to null.Sebastian Redl2010-07-091-1/+1
| | | | llvm-svn: 107994
* Really respect -chained-pch.Sebastian Redl2010-07-091-7/+5
| | | | llvm-svn: 107993
* Introduce -f{no-}spell-checking options to enable/disableDouglas Gregor2010-07-0910-1/+23
| | | | | | | spell-checking. By default, spell-checking is enabled for Clang (obviously) but disabled in CIndex for performance reasons. llvm-svn: 107992
* Change TII::foldMemoryOperand API to require the machine instruction to beJakob Stoklund Olesen2010-07-096-38/+37
| | | | | | | | | | | | | | inserted in a MBB, and return an already inserted MI. This target API change is necessary to allow foldMemoryOperand to call storeToStackSlot and loadFromStackSlot when folding a COPY to a stack slot reference in a target independent way. The foldMemoryOperandImpl hook is going to change in the same way, but I'll wait until COPY folding is actually implemented. Most targets only fold copies and won't need to specialize this hook at all. llvm-svn: 107991
OpenPOWER on IntegriCloud