summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update do_conditional_break() method impl to use all lldb Python APIs.Johnny Chen2010-10-081-18/+21
| | | | llvm-svn: 116117
* Extract method ProcessUses from LocalRewriter::RewriteMBB. Both parent and childJakob Stoklund Olesen2010-10-081-320/+336
| | | | | | | | are still way too long, but it's a start. No functional change intended. llvm-svn: 116116
* Wrap the rest of file reading operations inside a with block and convert a ↵Johnny Chen2010-10-082-4/+6
| | | | | | | | assertTrue() usage to self.expect() which is more descriptive. llvm-svn: 116115
* Emit a diagnostic message instead of crashing when an argument entry is missing.Johnny Chen2010-10-081-1/+6
| | | | llvm-svn: 116114
* Do not check that the bodies of two defs of same linkonce global are the same.Anton Korobeynikov2010-10-081-1/+1
| | | | | | | Such a check does not make any sense in presense of inlining and other compiler-dependent stuff. This should fix bunch of warnings on mingw32. llvm-svn: 116113
* Implement a few more binary encoding bits. Still very early stage proof-of-Jim Grosbach2010-10-083-1/+58
| | | | | | | | | | concept level stuff at this point, but it is generally working for those instructions that know how to map the operands. This patch fills in the register operands for add/sub/or/etc instructions and adds the conditional execution predicate encoding. llvm-svn: 116112
* Allow << streaming of MCOperand.Jim Grosbach2010-10-081-0/+5
| | | | llvm-svn: 116107
* Classify value numbers into connected components in linear time.Jakob Stoklund Olesen2010-10-081-23/+15
| | | | llvm-svn: 116105
* When dealing with an assignment with LHS being a property referenceFariborz Jahanian2010-10-083-1/+31
| | | | | | | | | expression, the entire assignment tree is rewritten into a property setter messaging. This includes rewriting the RHS. Do not attempt to rewrite RHS again. Never rewrite a rewritten text! Fixes //rdar: //8527018. llvm-svn: 116104
* Improve XML output for class/struct/union declarations, from Martin Vejnar!Douglas Gregor2010-10-081-21/+3
| | | | llvm-svn: 116103
* Fix a typo in the Clang man page, from Alexander Best.Douglas Gregor2010-10-081-1/+1
| | | | llvm-svn: 116102
* Revert the hack Chris Lattner added in r97981 to work aroundDouglas Gregor2010-10-081-10/+0
| | | | | | | brokenness in the designated-initializer ASTs. The ASTs were fixed by Alp Toker's patch (r116098) for PR6955. Fixes PR6537. llvm-svn: 116101
* This patch fixes multiple issues in clang's designated init builder andDouglas Gregor2010-10-083-11/+85
| | | | | | | | | | | | | | | | | | | | | | | | | completes support for C1X anonymous struct/union init features: * Indexed anonymous member initializers should not be expanded. Doing so makes little sense and would cause unresolvable semantic ambiguity in valid code (regression introduced by r69153). * Subobject initialization of (possibly nested) anonymous members are now referred to with paths relative to the naming record context, eliminating the synthesis of incorrect implicit InitListExprs that caused CodeGen to assert. * Field lookup was missing a null check in IdentifierInfo comparison which caused lookup for a known (already resolved) field to match the first unnamed data member it encountered leading to silent miscompilation. * Subobject paths are no longer built using the general purpose Sema::BuildAnonymousStructUnionMemberPath(). If any corner cases crop up, we will now assert earlier in Sema instead of passing invalid InitListExprs through to CodeGen. Fixes PR6955, from Alp Toker! llvm-svn: 116098
* Fix the mapping of vertical-space cursor kinds to produce a newline,Douglas Gregor2010-10-084-5/+8
| | | | | | rather than a space. llvm-svn: 116097
* Convert two instances of assertTrue() and string matching usages to ↵Johnny Chen2010-10-081-7/+9
| | | | | | | | | self.expect() which is more descriptive. And wrap the file open operation inside a with block so that close() is automatically called upon exiting the block. llvm-svn: 116096
* Call InitSections in llc and clang so that the binaries produced by themRafael Espindola2010-10-082-2/+3
| | | | | | are easier to diff with those produced by llvm-mc. llvm-svn: 116095
* Try to disable this again.Eric Christopher2010-10-081-3/+5
| | | | llvm-svn: 116094
* Filter out illegal formulae after updating offsets, not before, so thatDan Gohman2010-10-081-18/+18
| | | | | | | | | | formulae which become illegal as a result of the offset updating don't escape. This is for rdar://8529692. No testcase yet, because the given cases hit use-list ordering differences. llvm-svn: 116093
* libclang: Disable LLVM pretty stack trace functionality, which inadvertentlyDaniel Dunbar2010-10-081-0/+5
| | | | | | sets up signal handlers it shouldn't when we are being used a shared library. llvm-svn: 116084
* Recommit 116056, now with the missing file...Cameron Esfahani2010-10-083-2/+18
| | | | llvm-svn: 116083
* Disable this test temporarily in an attempt to green the buildbots.Eric Christopher2010-10-081-3/+3
| | | | llvm-svn: 116082
* Don't waste time unfolding simple loads. The unfolded copy won't be hoisted.Evan Cheng2010-10-081-0/+4
| | | | llvm-svn: 116081
* Fix operand latency computation in cases where the definition operand isEvan Cheng2010-10-081-0/+11
| | | | | | | | | | implicit. e.g. %D6<def>, %D7<def> = VLD1q16 %R2<kill>, 0, ..., %Q3<imp-def> %Q1<def> = VMULv8i16 %Q1<kill>, %Q3<kill>, ... The real definition indices are 0,1. llvm-svn: 116080
* CrashRecovery: Fix raise() override to actually send the right signal, *cough*.Daniel Dunbar2010-10-081-1/+1
| | | | llvm-svn: 116072
* Tighter check in r116060 blcoked enums also. Emit enum const's debug info.Devang Patel2010-10-081-3/+3
| | | | llvm-svn: 116071
* __attribute__((aligned(n))) directly specifies the alignment of a declarationJohn McCall2010-10-083-7/+42
| | | | | | | | | | unless it's a non-packed field, in which case it can only increase the alignment. [[align]] effectively works the same way for well-formed code (because it's ill-formed for [[align]] to decrease alignment ever). Fixes rdar://problem/8335865 llvm-svn: 116070
* A few 80 column cleanupsJim Grosbach2010-10-084-9/+13
| | | | llvm-svn: 116069
* trailing whitespaceJim Grosbach2010-10-081-15/+15
| | | | llvm-svn: 116068
* Reapply 116059, this time without the fatfingered pasto at the top.Jim Grosbach2010-10-082-22/+22
| | | | | | ''const'ify getMachineOpValue() and associated helpers.' llvm-svn: 116067
* Updated atomic design docsHoward Hinnant2010-10-083-5/+45
| | | | llvm-svn: 116065
* Reverting 116059. Bots are unhappy with it.Jim Grosbach2010-10-082-23/+23
| | | | llvm-svn: 116064
* reverting 116056: win64_params.ll may need to be conditionalized?Andrew Trick2010-10-082-16/+1
| | | | llvm-svn: 116063
* o TestStdCXXDisassembly.py:Johnny Chen2010-10-084-2/+13
| | | | | | | | | | | | | | | | | | | | Update the expected match string. o lldbtest.py: Indicate when a command fails, even if there is nothing in the error stream. o TestHelp.py: Add a regression test case for 'help image dump symtab'. o CommandObjectHelp.cpp: Some of the logic branches with successful help command results were not tagged with a Success Status. They are fixed now. This is important for Python interaction. llvm-svn: 116062
* Line number 0 indicates there is no source line/file name info available for ↵Devang Patel2010-10-081-1/+7
| | | | | | this construct. llvm-svn: 116061
* Do not repeat debug info for file variable constants.Devang Patel2010-10-081-1/+5
| | | | | | This is tested by file-statics.exp in gdb testsuite. llvm-svn: 116060
* 'const'ify getMachineOpValue() and associated helpers.Jim Grosbach2010-10-082-23/+23
| | | | llvm-svn: 116059
* Fixed a crasher when doing 'help image dump symtab'. Supply the entry to ↵Johnny Chen2010-10-081-0/+1
| | | | | | the global arguments table. llvm-svn: 116058
* Start separating out code metrics into code size metrics and code ↵Kenneth Uildriks2010-10-083-13/+63
| | | | | | performance metrics. Partial Specialization will apply the former to function specializations, and the latter to all callsites that can use a specialization, in order to decide whether to create a specialization llvm-svn: 116057
* Small patch to restore home register stack space allocation for the Win64 ↵Cameron Esfahani2010-10-082-1/+16
| | | | | | case. Add test case. This code eventually needs to be tighter, since it's always allocating it, even in leaf routines. llvm-svn: 116056
* Change register allocation order for ARM VFP and NEON registers to put theBob Wilson2010-10-0820-111/+235
| | | | | | | | | | | | | | | | callee-saved registers at the end of the lists. Also prefer to avoid using the low registers that are in register subclasses required by certain instructions, so that those registers will more likely be available when needed. This change makes a huge improvement in spilling in some cases. Thanks to Jakob for helping me realize the problem. Most of this patch is fixing the testsuite. There are quite a few places where we're checking for specific registers. I changed those to wildcards in places where that doesn't weaken the tests. The spill-q.ll and thumb2-spill-q.ll tests stopped spilling with this change, so I added a bunch of live values to force spills on those tests. llvm-svn: 116055
* testcase that goes with r116053Chris Lattner2010-10-081-1/+18
| | | | llvm-svn: 116054
* fix a subtle bug I introduced in my refactoring, where we stopped preferringChris Lattner2010-10-081-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the i8 versions of instructions in some cases. In test6, we started generating: cmpq $0, -8(%rsp) ## encoding: [0x48,0x81,0x7c,0x24,0xf8,0x00,0x00,0x00,0x00] ## <MCInst #478 CMP64mi32 ## <MCOperand Reg:114> ## <MCOperand Imm:1> ## <MCOperand Reg:0> ## <MCOperand Imm:-8> ## <MCOperand Reg:0> ## <MCOperand Imm:0>> instead of: cmpq $0, -8(%rsp) ## encoding: [0x48,0x83,0x7c,0x24,0xf8,0x00] ## <MCInst #479 CMP64mi8 ## <MCOperand Reg:114> ## <MCOperand Imm:1> ## <MCOperand Reg:0> ## <MCOperand Imm:-8> ## <MCOperand Reg:0> ## <MCOperand Imm:0>> Fix this and add some comments. llvm-svn: 116053
* rename testChris Lattner2010-10-081-0/+0
| | | | llvm-svn: 116052
* merge testsChris Lattner2010-10-083-43/+44
| | | | llvm-svn: 116051
* filecheckize.Chris Lattner2010-10-081-4/+9
| | | | llvm-svn: 116050
* Added mutex protection to the Symtab class.Greg Clayton2010-10-087-84/+352
| | | | | | | | Added a new SortOrder enumeration and hooked it up to the "image dump symtab" command so we can dump symbol tables in the original order, sorted by address, or sorted by name. llvm-svn: 116049
* Fix three related, wily issues with the recompilation of precompiledDouglas Gregor2010-10-081-14/+5
| | | | | | | | | | | | | | | | | | | | | | | preambles: - When we rebuild a precompiled preamble, make sure to disable skipping anything in the main file; we may have had leftover preamble-skipping values in the lexer, which leads to very empty preamble. This is a correctness issue. - When we rebuild a precompiled preamble, clear out any prior state in the Diagnostic object. Otherwise, we might think that there were errors when we were building the preamble itself, and therefore reject the resulting preamble. This is mainly a performance issue. - Don't remove old remappings when digging out the remapping for the main file. Having the old mappings around does not hurt in the common case (later remappings will just overwrite them), and is important when we fail to find a preamble: we don't want to have removed the remapping, because we'll need it later. llvm-svn: 116041
* reapply: Use the new TB_NOT_REVERSABLE flag instead of specialChris Lattner2010-10-084-40/+113
| | | | | | | | | reapply: reimplement the second half of the or/add optimization. We should now with no changes. Turns out that one missing "Defs = [EFLAGS]" can upset things a bit. llvm-svn: 116040
* reapply the patch reverted in r116033:Chris Lattner2010-10-084-65/+126
| | | | | | | | "Reimplement (part of) the or -> add optimization. Matching 'or' into 'add'" With a critical fix: the add pseudos clobber EFLAGS. llvm-svn: 116039
* Fix Formatting.Michael J. Spencer2010-10-081-2/+2
| | | | llvm-svn: 116038
OpenPOWER on IntegriCloud