summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Verify that a non-uniqued non-temporary MDNode is not deleted viaDan Gohman2010-08-231-1/+3
| | | | | | MDNode::deleteTemporary. llvm-svn: 111853
* Emit debug info for enum constants.Devang Patel2010-08-233-32/+47
| | | | llvm-svn: 111852
* Include __FUNCTION__, __PRETTY_FUNCTION_, __func__ in code-completionDouglas Gregor2010-08-232-0/+40
| | | | | | results for expression contexts within a function. llvm-svn: 111851
* Start getting ARM loads/address computation going.Eric Christopher2010-08-231-0/+73
| | | | llvm-svn: 111850
* Corrected some int -> char narrowing conversionsHoward Hinnant2010-08-236-72/+72
| | | | llvm-svn: 111849
* Fix thinko. Having no tests is great ...Benjamin Kramer2010-08-231-4/+4
| | | | llvm-svn: 111848
* Remove the MFI storage of the local allocation block size. It's not needed.Jim Grosbach2010-08-232-18/+0
| | | | llvm-svn: 111847
* Reduce code duplication.Benjamin Kramer2010-08-231-26/+10
| | | | llvm-svn: 111846
* Accidentally changed a data file during the whitespace cleanupHoward Hinnant2010-08-231-1/+1
| | | | llvm-svn: 111845
* ELFObjectWriter: Run ComputeSymbolTable before recording relocations. This ↵Benjamin Kramer2010-08-231-85/+21
| | | | | | way we can use the information it has computed and don't have to recompute the same stuff over and over again. llvm-svn: 111844
* Introduce a code-completion hook for the Objective-C collectionDouglas Gregor2010-08-235-15/+112
| | | | | | | | argument in a for-each statement (e.g., "for (id x in <blah>)"), which restricts the expression completions provided to Objective-C types (or class types in C++). llvm-svn: 111843
* Reinstate the code for emitting an initial debug type for a struct,Dan Gohman2010-08-231-4/+11
| | | | | | | to handle the case where the struct is only forward-declared. In this case, a temporary MDNode is not needed and not desired. llvm-svn: 111842
* Driver/Darwin: Switch to using simplified tool chain by default -- what betterDaniel Dunbar2010-08-232-22/+4
| | | | | | way to see what will break! :) llvm-svn: 111840
* Driver/Darwin: When using the simplified Clang toolchain, make sure to also passDaniel Dunbar2010-08-231-1/+27
| | | | | | the arch specific gcc lib path. llvm-svn: 111839
* Driver: Update -ccc-install-dir to also set the installed dir. TotallyDaniel Dunbar2010-08-231-1/+1
| | | | | | non-obvious. llvm-svn: 111838
* Start using target speficic nodes for shuffles: pshufhw and pshuflwBruno Cardoso Lopes2010-08-231-1/+19
| | | | llvm-svn: 111837
* Better handling of local offsets for downwards growing stacks. This correctsJim Grosbach2010-08-232-25/+39
| | | | | | | relative offsets when there are offsets encoded in the instructions and simplifies final allocation in PEI. rdar://8277890 llvm-svn: 111836
* tyopsGabor Greif2010-08-233-3/+3
| | | | llvm-svn: 111835
* Turn LVI back off, I have a testcase now.Owen Anderson2010-08-231-1/+1
| | | | llvm-svn: 111834
* Modified pseudoconstant test case to make it a bit clearer and fix a missing ↵Tom Care2010-08-231-3/+5
| | | | | | line llvm-svn: 111833
* Several small changes to PseudoConstantAnalysis and the way ↵Tom Care2010-08-237-53/+157
| | | | | | | | | | | | IdempotentOperationChecker uses it. - Psuedo -> Pseudo (doh...) - C++ reference support - Added pseudoconstant test case for __block vars - Separated out static local checking from pseudoconstant analysis and generalized to non-local checking - Added missing test cases for storage false positives llvm-svn: 111832
* Add a new llvm.x86.int intrinsic, allowing access to the Chris Lattner2010-08-233-3/+32
| | | | | | x86 int and int3 instructions. Patch by Peter Housel! llvm-svn: 111831
* Don't include macro results when we're completing a declarator.Douglas Gregor2010-08-232-7/+1
| | | | llvm-svn: 111830
* llvmc: Allow multiple LanguageMaps.Mikhail Glushenkov2010-08-231-5/+5
| | | | llvm-svn: 111829
* Add a TODO.Mikhail Glushenkov2010-08-231-0/+1
| | | | llvm-svn: 111828
* llvmc: Properly handle (error) in edge properties.Mikhail Glushenkov2010-08-234-20/+21
| | | | llvm-svn: 111827
* llvmc: Do not mention plugins in the code.Mikhail Glushenkov2010-08-232-19/+15
| | | | llvm-svn: 111826
* Trailing whitespace.Mikhail Glushenkov2010-08-231-2/+2
| | | | llvm-svn: 111825
* Add the symbol offset to the relocation value when we relocate against ↵Benjamin Kramer2010-08-231-2/+3
| | | | | | section. By Roman Divacky. llvm-svn: 111824
* Support for IRGen of synthesize bitfield ivars inFariborz Jahanian2010-08-238-10/+102
| | | | | | objc-nonfragile-abi2 (radar 7824380). llvm-svn: 111823
* formatted_tool_output_file::close needs to flush its buffer beforeDan Gohman2010-08-231-1/+6
| | | | | | closing the underlying stream. llvm-svn: 111822
* test case for PR7920.Devang Patel2010-08-231-0/+5
| | | | llvm-svn: 111821
* Handle qualified constants that are directly folded by FE.Devang Patel2010-08-233-6/+32
| | | | | | PR 7920. llvm-svn: 111820
* Use the proper relocation section + cleanup, from Roman Divacky.Benjamin Kramer2010-08-231-3/+5
| | | | llvm-svn: 111819
* Introduce a new code-completion point when we're parsing aDouglas Gregor2010-08-239-22/+178
| | | | | | | | | declarator. Here, we can only see a few things (e.g., cvr-qualifiers, nested name specifiers) and we do not want to provide other non-macro completions. Previously, we would end up in recovery mode and would provide a large number of non-relevant completions. llvm-svn: 111818
* Avoid O(n*m) complexity in StringRef::find_first(_not)_of(StringRef).Benjamin Kramer2010-08-232-6/+15
| | | | | | | | - Cache used characters in a bitset to reduce memory overhead to just 32 bytes. - On my core2 this code is faster except when the checked string was very short (smaller than the list of delimiters). llvm-svn: 111817
* Re-enable LazyValueInfo. Monitoring for failures.Owen Anderson2010-08-231-1/+1
| | | | llvm-svn: 111816
* Now that PassInfo and Pass::ID have been separated, move the rest of the ↵Owen Anderson2010-08-2323-59/+54
| | | | | | passes over to the new registration API. llvm-svn: 111815
* StringRef tweaks:Benjamin Kramer2010-08-231-2/+4
| | | | | | | - Respect find_first_of(char's From parameter instead of silently dropping it. - Prefer std::string() to std::string("") llvm-svn: 111814
* random improvement for variable shift codegen.Chris Lattner2010-08-231-2/+14
| | | | llvm-svn: 111813
* Fixed a crasher where during shutdown, loggings attempted to access theJohnny Chen2010-08-231-1/+7
| | | | | | | | thread name but the static map instance had already been destructed. rdar://problem/8153284 llvm-svn: 111812
* Changed the keyword argument for runCmd()/expect() from 'verbose' to 'trace',Johnny Chen2010-08-233-12/+106
| | | | | | | | | | | which, defaults to False, and if set to True, will trace lldb command execution and result. Added "-t" command option to the test driver dotest.py which sets the LLDB_COMMAND_TRACE environment variable to "YES" and as a result always turns on command tracing regardless of the 'trace' keyword argument to runCmd()/expect(). llvm-svn: 111811
* Emit an error noting that Clang does not support code generation forDouglas Gregor2010-08-231-1/+6
| | | | | | | the ternary operator without a left-hand side in C++ (PR7726), from Jean-Daniel Dupas! llvm-svn: 111809
* Add XML for CXXConstructExpr, from Benoit Belley!Douglas Gregor2010-08-231-0/+8
| | | | llvm-svn: 111808
* When complaining about a duplicate declspec, provide a Fix-It thatDouglas Gregor2010-08-232-1/+9
| | | | | | | removes the copy. Patch from Eelis van der Weegen, tweaked/updated by me. llvm-svn: 111807
* Clarify documentation of escaping for backslashDouglas Gregor2010-08-231-1/+1
| | | | llvm-svn: 111806
* Try to escape the '$'s in these so they reach the underlying 'sh' invocation.Chandler Carruth2010-08-231-2/+2
| | | | | | I have no idea how lit did the right thing here, but other test runners don't. llvm-svn: 111805
* Add a virtual destructor to the base of another class hierarchy with virtualChandler Carruth2010-08-231-0/+2
| | | | | | methods. llvm-svn: 111804
* Fix some GCC warnings by providing a virtual destructor in the base of a classChandler Carruth2010-08-232-1/+2
| | | | | | | hierarchy with virtual methods and using llvm_unreachable to properly indicate unreachable states which would otherwise leave variables uninitialized. llvm-svn: 111803
* Relax the construction of a definition for implicit, trivial defaultChandler Carruth2010-08-233-7/+26
| | | | | | | | | | | | | | | constructors. We perform semantic checking when creating the definition, and this isn't needed in certain contexts (value initialization) but is in others (default initialization). This fixes PR7948. We add explicit code to the default initialization path to ensure the definition is both present and valid. Doug, please review. I think this follows your latest suggestion, and it ended up remarkably cleaner than I anticipated. Also let me know if similar logic should be followed for destructors and copy-constructors. llvm-svn: 111802
OpenPOWER on IntegriCloud