summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use static instead of anonymous namespace.Bill Wendling2011-08-181-7/+4
| | | | llvm-svn: 137959
* Use StringRef, rather than C string APIs.Chad Rosier2011-08-181-5/+6
| | | | llvm-svn: 137958
* Thumb assembly parsing and encoding test for CMN.Jim Grosbach2011-08-181-0/+10
| | | | llvm-svn: 137957
* Thumb instructions CBZ and CBNZ are Thumb2, not THumb1.Jim Grosbach2011-08-182-25/+28
| | | | llvm-svn: 137956
* Port over BL/BLX to disassembly tests.Owen Anderson2011-08-181-3/+14
| | | | llvm-svn: 137954
* Rip out the old StructType APIs as warned about on llvmdev last week.Chris Lattner2011-08-182-52/+0
| | | | llvm-svn: 137953
* ARM assembly parsing and encoding test for BX/BLX (register).Jim Grosbach2011-08-181-0/+16
| | | | llvm-svn: 137949
* ARM assembly parsing and encoding test for BL/BLX (immediate).Jim Grosbach2011-08-181-0/+12
| | | | llvm-svn: 137948
* ARM Thumb blx instruction fixup has same data range as bl.Jim Grosbach2011-08-181-1/+1
| | | | | | | | | These fixups are handled poorly in general, and should have a single contiguous range of bits per fixup type, but that's not how they're currently organized, so for now in complex ones like for blx, we just tell the emitter it's OK for the fixup to munge any bit it wants. llvm-svn: 137947
* 80 columns.Jim Grosbach2011-08-181-1/+1
| | | | llvm-svn: 137946
* Fixes traversal of class template nodes on template instantiations.Manuel Klimek2011-08-181-2/+2
| | | | | | Also fixes a spelling error. llvm-svn: 137945
* Second round of code cleanups:Enrico Granata2011-08-1812-498/+647
| | | | | | | | | | | | | | | - reorganizing classes layout to have public part first Typedefs that we want to keep private, but must be defined for some public code to work correctly are an exception - avoiding methods in the form T foo() { code; } all on one-line - moving method implementations from .h to .cpp whenever feasible Templatized code is an exception and so are very small methods - generally, adhering to coding conventions followed project-wide Functional changes: - fixed an issue where using ${var} in a summary for an aggregate, and then displaying a pointer-to-aggregate would lead to no summary being displayed The issue was not a major one because all ${var} was meant to do in that context was display an error for invalid use of pointer Accordingly fixed test cases and added a new test case llvm-svn: 137944
* Clenup and fix encoding for Mips ins and ext instructionBruno Cardoso Lopes2011-08-181-17/+13
| | | | llvm-svn: 137943
* Add missing 'break'.Jim Grosbach2011-08-181-0/+1
| | | | llvm-svn: 137941
* Merge the Apple branch into trunkDave Zarzycki2011-08-181-7/+28
| | | | | | We will eventually rebranch for the next Apple release and when we do, we don't want to drop changes. llvm-svn: 137940
* Add intrinsics for SETEV, GETED, GETET.Richard Osborne2011-08-184-7/+52
| | | | llvm-svn: 137938
* Add support for MSVC __unaligned attribute. Necessary to parse MSVC headers ↵Francois Pichet2011-08-184-3/+18
| | | | | | | | in 64-bit mode (ie: when _M_IA64 or _M_AMD64 is defined) more info: http://msdn.microsoft.com/en-us/library/ms177389.aspx llvm-svn: 137935
* Always mark friend function declarations in class templates asChandler Carruth2011-08-182-3/+43
| | | | | | | | | | | implicitly instantiable, even if we don't see a body on the friend function declaration. The body may simply have not yet been attached. This fixes PR10666. There may be an alternate, preferred implementation strategy, see my FIXME. Review would definitely be appreciated Doug. =D llvm-svn: 137934
* Remove unused variable.Duncan Sands2011-08-181-1/+0
| | | | llvm-svn: 137933
* ScopInfo: Remove adhoc comparision of affine expressionsTobias Grosser2011-08-181-86/+32
| | | | | | | | | | | Until today, we compared two affine expressions by defining two maps describing them, creating an union of those maps, adding constraints that do the comparison and projecting out unneeded dimensions. This was simplified to using the isl_pw_aff representation of the affine expressions and using the relevant isl functions to compare them. llvm-svn: 137932
* ScopInfo: Create all isl data structures with dimension idsTobias Grosser2011-08-181-34/+72
| | | | | | | At the moment, we still remove the ids after all data structures are created, as later passes do not yet support ids. This limitation will be removed later. llvm-svn: 137931
* ScopInfo: Build isl_pw_aff directly from SCEV.Tobias Grosser2011-08-181-44/+242
| | | | | | | | Do not use AffFunc to derive the affine expressions, but use isl_pw_aff to analyze the original SCEV directly. This will allow several simplifications in follow up patches, with the final goal of removing AffFunc completely. llvm-svn: 137930
* ScopInfo: Simplify codeTobias Grosser2011-08-181-1/+1
| | | | llvm-svn: 137929
* TempSCoP: Store SCEV a SCEVAffFunc was derived fromTobias Grosser2011-08-182-10/+20
| | | | llvm-svn: 137928
* TempScopInfo: Improve formatiingTobias Grosser2011-08-181-10/+13
| | | | llvm-svn: 137927
* Split out the analysis updating code into a helper function. No intendedBill Wendling2011-08-181-63/+78
| | | | | | functionality change. llvm-svn: 137926
* Teach ModuleManager::addModule() to check whether a particular moduleDouglas Gregor2011-08-187-16/+62
| | | | | | | | | | | | | has already been loaded before allocating a new Module structure. If the module has already been loaded (uniquing based on file name), then just return the existing module rather than trying to load it again. This allows us to load a DAG of modules. Introduce a simple test case that forms a diamond-shaped module graph, and illustrates that a source file importing the bottom of the diamond can see declarations in all four of the modules that make up the diamond. llvm-svn: 137925
* Keep track of which modules have been loaded directly (e.g., viaDouglas Gregor2011-08-183-33/+59
| | | | | | | | | | | | | -import-module) vs. loaded because some other module depends on them. As part of doing this, pass down the module that caused a module to be loaded directly, rather than assuming that we're loading a chain. Finally, write out all of the directly-loaded modules when serializing an AST file (using the new IMPORTS record), so that an AST file can depend on more than one other AST file, all of which will be loaded when that AST file is loaded. This allows us to form and load a tree of modules, but we can't yet load a DAG of modules. llvm-svn: 137923
* Fix the "command alias" help string to make clear that the $<N> ↵Jim Ingham2011-08-181-2/+10
| | | | | | substitutions should be whole words in the output command. llvm-svn: 137921
* Revert r137903, "Add experimental -Wstrlcpy-size warning that looks to see ↵Ted Kremenek2011-08-185-137/+1
| | | | | | | | if the size argument for strlcpy/strlcat is the size of the *source*, and not the size of the *destination*. This warning is off by default (for now)." This currently doesn't work on Windows. llvm-svn: 137920
* Cleanup vector logical ops in AVX and add use int versions for simpleBruno Cardoso Lopes2011-08-182-20/+38
| | | | | | v2i64 llvm-svn: 137919
* No seriously, remove the unsupported warning options.Chad Rosier2011-08-181-1/+1
| | | | llvm-svn: 137918
* Fix a regression form r137894. Make sure the custom BugReporterVisitors get ↵Anna Zaks2011-08-181-1/+4
| | | | | | registred as they were in EnhancedBugReport. Would be good to add a test for this. llvm-svn: 137917
* Remove the last FIXMEs on -Wunused-comparison since it got moved toChandler Carruth2011-08-183-7/+11
| | | | | | | entirely use the existing -Wunused-value infrastructure. This also fixes a few missed cases for -Wunused in general. llvm-svn: 137916
* Fix off by one.Chad Rosier2011-08-181-1/+1
| | | | llvm-svn: 137915
* Fixed compilation warning on Linux by fixing the type of a return value.John Criswell2011-08-181-1/+1
| | | | llvm-svn: 137913
* [driver] Implement in a more table-like manner and add many more warning optionsChad Rosier2011-08-182-6/+104
| | | | | | | that aren't handled by llvm-gcc on fallback. Enhancement to rdar://9964354 llvm-svn: 137912
* Add documentation on -Weverything.Ted Kremenek2011-08-181-0/+11
| | | | llvm-svn: 137911
* Implement '-Weverything', which enables all warnings except those explicitly ↵Ted Kremenek2011-08-185-9/+45
| | | | | | | | | | | | | | mapped to be ignored. Currently this includes -pedantic warnings as well; we'll need to consider whether these should be included. This works as expected with -Werror. Test cases were added to Sema/warn-unused-parameters.c, but they should probably be broken off into their own test file. llvm-svn: 137910
* For the MacroExpands preprocessor callback, also pass the SourceRangeArgyrios Kyrtzidis2011-08-187-16/+23
| | | | | | of expansion (for function macros it includes the right paren). llvm-svn: 137909
* Dramatically speedup codegen prepare by a) avoiding use of dominator tree ↵Devang Patel2011-08-181-16/+38
| | | | | | and b) doing a separate pass over dbg.value instructions. llvm-svn: 137908
* Add some more options that aren't handled by llvm-gcc on fallback.Eric Christopher2011-08-181-1/+5
| | | | | | This is going to be made a table. llvm-svn: 137907
* [driver] Don't generate diagnostics (i.e., preprocessed source) if reading Chad Rosier2011-08-181-2/+14
| | | | | | | from stdin. This allows Eli and the like to continue with their debugging trickery without loss of limb (or car) on my part. :) llvm-svn: 137906
* "-mavx" should also enable all other SSE levels.Bruno Cardoso Lopes2011-08-181-1/+2
| | | | llvm-svn: 137905
* Downgrade "err_init_list_variable_narrowing" into a warning in Microsoft ↵Francois Pichet2011-08-182-2/+12
| | | | | | mode even if c++0x is enabled. This necessary to parse MSVC code in C++0x mode. llvm-svn: 137904
* Add experimental -Wstrlcpy-size warning that looks to see if the size ↵Ted Kremenek2011-08-175-1/+137
| | | | | | | | argument for strlcpy/strlcat is the size of the *source*, and not the size of the *destination*. This warning is off by default (for now). Warning logic provided by Geoff Keating. llvm-svn: 137903
* Port new Thumb1 encoding tests over to decoding tests.Owen Anderson2011-08-171-0/+37
| | | | llvm-svn: 137902
* Add more comments for BugReport.Anna Zaks2011-08-171-0/+4
| | | | llvm-svn: 137901
* Remove extraneous newline from operand print method. PR10569.Jim Grosbach2011-08-171-3/+3
| | | | llvm-svn: 137900
* Remove DiagBugReport by pulling it into its parent BugReport.Anna Zaks2011-08-172-21/+14
| | | | llvm-svn: 137899
OpenPOWER on IntegriCloud