summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [arcmt] Take into account that all properties are strong-by-default now and ↵Argyrios Kyrtzidis2011-11-083-50/+13
| | | | | | fix the test. llvm-svn: 144146
* Add a missing ')' in the comment.Johnny Chen2011-11-081-1/+1
| | | | llvm-svn: 144145
* Bind function "r-values" as l-values when emitting them asJohn McCall2011-11-083-2/+20
| | | | | | opaque values. Silly C type system. llvm-svn: 144144
* objc: Don't crash on missing @interface decl.Fariborz Jahanian2011-11-082-6/+14
| | | | | | // rdar://10415026 llvm-svn: 144143
* [analyzer] Testing: test with all the non-experimental checker packages.Anna Zaks2011-11-081-2/+6
| | | | llvm-svn: 144142
* [analyzer] Testing: support for regenerate reference outputAnna Zaks2011-11-081-12/+15
| | | | | | | Change the flow of the SATestAdd so that it could be used for regenerating the reference output without exiting with an error. llvm-svn: 144141
* Properly handle Mips MC relocations and lower cpload and cprestore macros to ↵Bruno Cardoso Lopes2011-11-084-45/+191
| | | | | | | | MCInsts. Patch by Jack Carter. llvm-svn: 144139
* Emit the compact unwind *if* we have a compact unwind encoding.Bill Wendling2011-11-081-1/+1
| | | | | | *headdesk* llvm-svn: 144138
* [arcmt] Now that readonly properties are strong-by-default, do not add ↵Argyrios Kyrtzidis2011-11-084-5/+7
| | | | | | redundant 'strong'. llvm-svn: 144136
* Call release() directly when cleaning up the remaining DomainValues.Jakob Stoklund Olesen2011-11-081-5/+3
| | | | | | There is no need to involve the LiveRegs array and kill() any longer. llvm-svn: 144133
* Rename all methods to follow style guide.Jakob Stoklund Olesen2011-11-081-42/+42
| | | | | | No functional change. llvm-svn: 144132
* Handle reference counts in one function: release().Jakob Stoklund Olesen2011-11-081-15/+18
| | | | | | | | | | This new function will decrement the reference count, and collapse a domain value when the last reference is gone. This simplifies DomainValue reference counting, and decouples it from the LiveRegs array. llvm-svn: 144131
* Also add the linkage name to the name accelerator tables if it existsEric Christopher2011-11-082-2/+19
| | | | | | and is different than the normal name. llvm-svn: 144130
* Add a hack to the scheduler to disable pseudo-two-address dependencies inDan Gohman2011-11-083-10/+30
| | | | | | | | | | basic blocks containing calls. This works around a problem in which these artificial dependencies can get tied up in calling seqeunce scheduling in a way that makes the graph unschedulable with the current approach of using artificial physical register dependencies for calling sequences. This fixes PR11314. llvm-svn: 144124
* Add workaround for Cortex-M3 errata 602117 by replacing ldrd x, y, [x] with ↵Evan Cheng2011-11-082-14/+21
| | | | | | ldm or ldr pairs. llvm-svn: 144123
* ARMFastISel doesn't support thumb1. Rename isThumb to isThumb2 to reflect this.Chad Rosier2011-11-081-39/+39
| | | | | | No functional change intended. llvm-svn: 144122
* Fix code to match comment. Fixes PR11340, a regression from r143209.Eli Friedman2011-11-082-1/+11
| | | | llvm-svn: 144121
* Fix comment typosDouglas Gregor2011-11-081-1/+1
| | | | llvm-svn: 144120
* objc-arc: 'readonly' property of retainable objectFariborz Jahanian2011-11-084-10/+11
| | | | | | type is strong by default too. // rdar://10410903 llvm-svn: 144118
* Clear old DomainValue after merging.Jakob Stoklund Olesen2011-11-081-1/+6
| | | | | | | | | | | | The old value may still be referenced by some live-out list, and we don't wan't to collapse those instructions twice. This fixes the "Can only swizzle VMOVD" assertion in some armv7 SPEC builds. <rdar://problem/10413292> llvm-svn: 144117
* Sort contents of exports file. No functionality change.Ted Kremenek2011-11-081-4/+4
| | | | llvm-svn: 144116
* serialized diagnostics: serialize the version info in a separate meta block.Ted Kremenek2011-11-082-23/+40
| | | | llvm-svn: 144115
* [analyzer] Remove redundant check from DivZeroCheckerAnna Zaks2011-11-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | Analysis by Ted: " if (stateZero && !stateNotZero) { is checking to see if: (A) "it is possible for the value to be zero" (stateZero) AND (B) "it is not possible for the value to be non-zero" (!stateNotZero) That said, the only way for both B to be true AND A to be false is if the path is completely infeasible by the time we reach the divide-by-zero check. For the most part (all cases?), such cases should automatically get pruned out at branches (i.e., an infeasible path gets dropped), which is the case in our tests. So the question is whether or not such an infeasible path might not get dropped earlier? I can't envision any right now. Indeed, the rest of the checker assumes that if the bug condition didn't fire then 'stateNotZero' is non-NULL: C.addTransition(stateNotZero); " llvm-svn: 144114
* [analyzer] Testing: Display the number of reported differences in the main log.Anna Zaks2011-11-082-13/+16
| | | | llvm-svn: 144113
* This test isn't portable to non-x86 platforms; specify a triple.Eli Friedman2011-11-081-1/+1
| | | | llvm-svn: 144112
* MC/COFF: Correctly emit the size of an empty string table.Michael J. Spencer2011-11-081-0/+1
| | | | llvm-svn: 144111
* Mark the overloaded atomic builtins as having custom type checking,Douglas Gregor2011-11-083-113/+113
| | | | | | | | | which they do. This avoids all of the default argument promotions that we (1) don't want, and (2) undo during that custom type checking, and makes sure that we don't run into trouble during template instantiation. Fixes PR11320. llvm-svn: 144110
* Misc fixes for clang driver on Mips Linux. Patch by Simon Atanasyan.Eli Friedman2011-11-082-0/+35
| | | | llvm-svn: 144108
* LICM pass now understands invariant load metadata. Nothing generates this ↵Pete Cooper2011-11-082-0/+41
| | | | | | yet so it will currently never get used in real tests llvm-svn: 144107
* Add the base ObjC method name to the names lookup table as well.Eric Christopher2011-11-081-0/+6
| | | | llvm-svn: 144105
* Adding test for machine-licm operating on invariant load instructionsPete Cooper2011-11-081-0/+29
| | | | llvm-svn: 144104
* Lower mem-ops to unaligned i32/i16 load/stores on ARM where supported.Lang Hames2011-11-083-6/+26
| | | | | | | | Add support for trimming constants to GetDemandedBits. This fixes some funky constant generation that occurs when stores are expanded for targets that don't support unaligned stores natively. llvm-svn: 144102
* Added invariant field to the DAG.getLoad method and changed all calls.Pete Cooper2011-11-0826-202/+253
| | | | | | When this field is true it means that the load is from constant (runt-time or compile-time) and so can be hoisted from loops or moved around other memory accesses llvm-svn: 144100
* A few more places where we can avoid multiple size queries.Eric Christopher2011-11-081-7/+7
| | | | llvm-svn: 144099
* Don't evaluate Data.size() on every iteration.Eric Christopher2011-11-081-1/+1
| | | | llvm-svn: 144095
* From Vassil Vassilev: add checks for removing Decls for more use cases.Axel Naumann2011-11-082-2/+3
| | | | llvm-svn: 144094
* Add a default system include of '/include'. This isn't particularlyChandler Carruth2011-11-081-0/+5
| | | | | | | | | | | | useful when using Clang as a system-compiler, but its harmless. When using Clang as a cross-compiler, this can be very handy as quite a few toolchains ship their libc headers here rather than under '/usr/include'. For reference, this is the beginning of my work to also make the Clang driver more suitable as a cross-compiler. llvm-svn: 144089
* Detect Parameters directly on the SCEV.Tobias Grosser2011-11-087-27/+152
| | | | | | | | | | Instead of using TempScop to find parameters, we detect them directly on the SCEV. This allows us to remove the TempScop parameter detection in a subsequent commit. This fixes a bug reported by Marcello Maggioni <hayarms@gmail.com> llvm-svn: 144087
* Remove constTobias Grosser2011-11-082-7/+6
| | | | llvm-svn: 144086
* ScopInfo: Don't add common parameters during realignment to the context.Tobias Grosser2011-11-082-12/+23
| | | | | | | | | Previously we built a context that contained already all parameter dimensions from the start. We now build a context without any parameter dimensions and extend the context as needed. All parameter dimensions are added during final realignment. llvm-svn: 144085
* ScopInfo: Realign parameters after the scop is builtTobias Grosser2011-11-082-4/+28
| | | | llvm-svn: 144084
* Use a map to store the dimension of the the parametersTobias Grosser2011-11-082-17/+18
| | | | llvm-svn: 144083
* This patch handles unaligned loads and stores in Mips JIT. Mips backendBruno Cardoso Lopes2011-11-082-6/+148
| | | | | | | | | | | | implements unaligned loads and stores with assembler macro-instructions ulw, usw, ulh, ulhu, ush, and this patch emits corresponding instructions instead of these macros. Since each unaligned load/store is expanded into two corresponding loads/stores where offset for second load/store is modified by +3 (for words) or +1 (for halfwords). Patch by Petar Jovanovic and Sasa Stankovic. llvm-svn: 144081
* PathProfiling.c: Get rid of using "inline". We may expect compiler shall ↵NAKAMURA Takumi2011-11-081-7/+2
| | | | | | optimize out "static" scope w/o "inline". llvm-svn: 144080
* Fix the printing of constants. Patch by Stepan Dyatkovskiy!John McCall2011-11-082-1/+5
| | | | llvm-svn: 144079
* [arcmt] Now that properties are strong by default, avoid adding redundant ↵Argyrios Kyrtzidis2011-11-083-4/+10
| | | | | | | | '(strong)' property attribute. llvm-svn: 144078
* [arcmt] NSViewController does not support weak.Argyrios Kyrtzidis2011-11-081-0/+1
| | | | llvm-svn: 144077
* Add Eero to the list of external projects.Bill Wendling2011-11-081-0/+16
| | | | llvm-svn: 144076
* Check pointer types for arguments of Neon load/store macros. rdar://9958031Bob Wilson2011-11-083-13/+80
| | | | | | | | | | | The Neon load/store intrinsics need to be implemented as macros to avoid hiding alignment attributes on the pointer arguments, and the macros can only evaluate those pointer arguments once (in case they have side effects), so it has been hard to get the right type checking for those pointers. I tried various alternatives in the arm_neon.h header, but it's much more straightforward to just check directly in Sema. llvm-svn: 144075
* Add "QAddressIsExecutable" packet to debugserver. Used to testJason Molenda2011-11-0811-1/+111
| | | | | | | | | | | | | | | | | | | | | | | | whether a given address is in an executable region of memory or not. I haven't written the lldb side that will use this packet it hasn't been tested yet but it's a simple enough bit of code. I want to have this feature available for the unwinder code. When we're stopped at an address with no valid symbol context, there are a number of questions I'd like to ask -- is the current pc value in an executable region (e.g. did they jump to unallocated/unexecutable memory? we know how to unwind from here if so.) Is the stack pointer or the frame pointer the correct register to use to find the caller's saved pc value? Once we're past the first frame we can trust things like eh_frame and ABI unwind schemes but the first frame is challenging and having a way to check potential addresses to see if they're executable or not would help narrow down the possibilities a lot. llvm-svn: 144074
OpenPOWER on IntegriCloud