summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When doing "opt -O2" verify the bitcode like is done forDuncan Sands2011-12-071-0/+2
| | | | | | "opt -std-compile-opts". llvm-svn: 146036
* Remove unused-but-set variable.Benjamin Kramer2011-12-071-2/+0
| | | | llvm-svn: 146034
* ClooG: Make sure ambigous schedules do not introduce complicated codeTobias Grosser2011-12-074-0/+156
| | | | | | | Cloog continued to split the domains even after the scattering. This lead to complicated code. llvm-svn: 146033
* Make printf warnings refer to intmax_t et al. by nameHans Wennborg2011-12-076-18/+54
| | | | | | | | | | | | in addition to underlying type. For example, the warning for printf("%zu", 42.0); changes from "conversion specifies type 'unsigned long'" to "conversion specifies type 'size_t' (aka 'unsigned long')" (This is a second attempt after r145697, which got reverted.) llvm-svn: 146032
* Fix a bunch of SSE/AVX patterns to use proper memop types. In particular, ↵Craig Topper2011-12-071-68/+46
| | | | | | not using integer loads other than v2i64/v4i64 since the others are all promoted. llvm-svn: 146031
* Adjust the stack by one pointer size for all frameless stacks.Bill Wendling2011-12-071-1/+2
| | | | llvm-svn: 146030
* Fix off-by-one error when encoding the stack size for a frameless stack.Bill Wendling2011-12-071-1/+1
| | | | llvm-svn: 146029
* ScheduleOptimizer: Rewrite getPrevectorMap to use isl_pw_affTobias Grosser2011-12-071-52/+92
| | | | | | | This increases the readablity. This also adds some comments that explain what this function does. llvm-svn: 146028
* Make isl abort when an error is encounteredTobias Grosser2011-12-071-0/+2
| | | | llvm-svn: 146027
* Add bundle aware API for querying instruction properties and switch the codeEvan Cheng2011-12-0769-353/+595
| | | | | | | | | | | | | | generator to it. For non-bundle instructions, these behave exactly the same as the MC layer API. For properties like mayLoad / mayStore, look into the bundle and if any of the bundled instructions has the property it would return true. For properties like isPredicable, only return true if *all* of the bundled instructions have the property. For properties like canFoldAsLoad, isCompare, conservatively return false for bundles. llvm-svn: 146026
* Adding missing anchor to DATDeltaAlgorithm.David Blaikie2011-12-072-0/+4
| | | | llvm-svn: 146025
* make CR spill and restore 64-bit clean (no functional change), and fix some ↵Hal Finkel2011-12-076-12/+39
| | | | | | other problems found with -verify-machineinstrs llvm-svn: 146024
* make base register selection used in eliminateFrameIndex 64-bit cleanHal Finkel2011-12-071-8/+13
| | | | llvm-svn: 146023
* set mayStore and mayLoad on CR pseudosHal Finkel2011-12-071-2/+4
| | | | llvm-svn: 146022
* 64-bit LR8 load should use X11 not R11Hal Finkel2011-12-071-3/+3
| | | | llvm-svn: 146021
* Make changes to SDiagsWriter to make it work in combination with the ARC ↵Argyrios Kyrtzidis2011-12-077-33/+109
| | | | | | | | | | | | | migrator: -Allow it to be used with multiple BeginSourceFile/EndSourceFile calls; for this introduce a "finish" callback method in the DiagnosticConsumer. SDiagsWriter finishes up the serialization file inside this method. -Make it independent of any particular DiagnosticsEngine; make it use the SourceManager of the Diagnostic object. -Ignore null source ranges. llvm-svn: 146020
* [libclang] Index C++ namespaces.Argyrios Kyrtzidis2011-12-073-0/+15
| | | | llvm-svn: 146019
* Eliminate delta argument from AdjustBBOffsetsAfter.Jakob Stoklund Olesen2011-12-071-24/+15
| | | | | | | | | The block offset can be computed from the previous block. That is more robust than keeping track of a delta. Eliminate one redundant AdjustBBOffsetsAfter call. llvm-svn: 146018
* Compute some alignment information for each basic block.Jakob Stoklund Olesen2011-12-071-14/+48
| | | | | | These fields are not used for anything yet. llvm-svn: 146017
* Fix multilib library paths on ppc64 Linux. Patch by Michael Kostylev. PR11472.Eli Friedman2011-12-071-2/+9
| | | | llvm-svn: 146016
* Zap unnecessary isIntDivCheap() check. PR11485. No testcase because this ↵Eli Friedman2011-12-071-1/+1
| | | | | | doesn't affect any in-tree target. llvm-svn: 146015
* www: Update getting started to encourage people to check out compielr-rt.Daniel Dunbar2011-12-071-0/+6
| | | | llvm-svn: 146014
* Initialize these values, fixing the build in cases where stack realignmentNick Lewycky2011-12-071-0/+2
| | | | | | actually occurs. llvm-svn: 146013
* Implement basic support for private headers in frameworks. In essence,Douglas Gregor2011-12-076-26/+147
| | | | | | | | | when we load a module map (module.map) from a directory, also load a private module map (module_private.map) for that directory, if present. That private module map can inject a new submodule that captures private headers. llvm-svn: 146012
* Tweak serialized diagnostics to support errors with no categories. Fixes ↵Ted Kremenek2011-12-073-2/+15
| | | | | | <rdar://problem/10538300>. llvm-svn: 146011
* ARM tidy up and remove no longer needed InstAlias definitions.Jim Grosbach2011-12-073-426/+23
| | | | | | The TokenAlias handling of data type suffices renders these unnecessary. llvm-svn: 146010
* Make sure we correctly zero-initialize unions containing a pointer to data ↵Eli Friedman2011-12-073-7/+27
| | | | | | member as the first field. PR11487. llvm-svn: 146009
* Move common expression into a method.Jakob Stoklund Olesen2011-12-071-10/+10
| | | | llvm-svn: 146008
* ARM Implement ARM ARM Table A7-3 via TokenAlias.Jim Grosbach2011-12-071-0/+20
| | | | | | | | | Data type suffix aliasing. Previously handled via lots of instruction aliases. Cleanup of those forthcoming. rdar://10435076 llvm-svn: 146007
* [analyzer] Propagate taint through MemRegions.Anna Zaks2011-12-073-6/+41
| | | | | | | SVal can be not only a symbol, but a MemRegion. Add support for such cases. llvm-svn: 146006
* Group BBSizes and BBOffsets into a single vector<BasicBlockInfo>.Jakob Stoklund Olesen2011-12-071-74/+78
| | | | | | No functional change is intended. llvm-svn: 146005
* Add missing check.Jakob Stoklund Olesen2011-12-071-1/+1
| | | | llvm-svn: 146004
* ARM: NEON SHLL instruction immediate operand range checking.Jim Grosbach2011-12-074-11/+96
| | | | llvm-svn: 146003
* If we can't write the temporary module map file when compiling aDouglas Gregor2011-12-072-2/+4
| | | | | | module, at least have the decency to complain about it. llvm-svn: 146002
* Support vector bitcasts in the AsmPrinter. PR11495.Eli Friedman2011-12-072-2/+29
| | | | llvm-svn: 146001
* When folding the size of a global scope VLA to a constant, require the arrayRichard Smith2011-12-073-7/+38
| | | | | | | bound to not have side effects(!). Add constant-folding support for expressions of void type, to ensure that we can still fold ((void)0, 1) as an array bound. llvm-svn: 146000
* objc: issue deprecated/unavailable diagnostic whenFariborz Jahanian2011-12-075-9/+34
| | | | | | | methods with these attributes are sent to receivers of 'id' type too. // rdar://10459930 llvm-svn: 145999
* Add a few moreLocal/Global R_MIPS_GOT related fixups andBruno Cardoso Lopes2011-12-0710-48/+50
| | | | | | | | make the addend fixup code a bit more generic Patch by Jack Carter. llvm-svn: 145998
* Add MachineOperand IsInternalRead flag.Jakob Stoklund Olesen2011-12-072-6/+44
| | | | | | | This flag is used when bundling machine instructions. It indicates whether the operand reads a value defined inside or outside its bundle. llvm-svn: 145997
* Fix an optimization involving EXTRACT_SUBVECTOR in DAGCombine so it behaves ↵Eli Friedman2011-12-072-13/+35
| | | | | | correctly. PR11494. llvm-svn: 145996
* Remove unneeded type.Jakub Staszak2011-12-071-2/+0
| | | | llvm-svn: 145995
* ARM: Parameterize the immediate operand type for NEON VSHLL.Jim Grosbach2011-12-071-10/+10
| | | | | | | No functional change yet. Will be implementing range-checked immediates for better diagnostics and disambiguation of instructions. llvm-svn: 145994
* - Remove unneeded #includes.Jakub Staszak2011-12-061-25/+4
| | | | | | | - Remove unused types/fields. - Add some constantness. llvm-svn: 145993
* Extend AsmMatcher token literal matching to allow aliasing.Jim Grosbach2011-12-062-28/+46
| | | | | | | | | | | | | | | | | For example, ARM allows: vmov.u32 s4, #0 -> vmov.i32, #0 'u32' is a more specific designator for the 32-bit integer type specifier and is legal for any instruction which accepts 'i32' as a datatype suffix. We want to say, def : TokenAlias<".u32", ".i32">; This works by marking the match class of 'From' as a subclass of the match class of 'To'. rdar://10435076 llvm-svn: 145992
* Make Release Notes HTML 4.01 Strict.Jakub Staszak2011-12-061-6/+6
| | | | llvm-svn: 145991
* DeadStoresChecker: when whitelisting dead initializations with constants, lookRichard Smith2011-12-062-3/+4
| | | | | | | for a foldable constant rather than an IR-level constant. This is still far too liberal, but is a step in the right direction. llvm-svn: 145990
* llvm-build: Don't generate duplicate dependencies when LLVMBuild files defineDaniel Dunbar2011-12-061-2/+8
| | | | | | multiple components. llvm-svn: 145989
* Add documentation for machine-independent DFA packetizerAnshuman Dasgupta2011-12-061-0/+75
| | | | llvm-svn: 145988
* [analyzer] Add comments related to symbol_iteratorAnna Zaks2011-12-062-1/+6
| | | | llvm-svn: 145987
* [analyzer] Refactor: Move symbol_iterator from SVal to SymExpr, use itAnna Zaks2011-12-067-96/+95
| | | | | | for finding dependent symbols for taint. llvm-svn: 145986
OpenPOWER on IntegriCloud