summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Introduce an r-value to l-value cast kind. I'm not promising anythingJohn McCall2010-11-308-43/+103
| | | | | | about the reliability of this yet. llvm-svn: 120422
* Make the dumper safe against null declaration names.John McCall2010-11-301-0/+3
| | | | llvm-svn: 120421
* Update Xcode project: remove Action.cpp, add DumpXML.cpp.John McCall2010-11-301-4/+4
| | | | llvm-svn: 120420
* Not all platforms use _<func>. Duh.Eric Christopher2010-11-301-2/+2
| | | | llvm-svn: 120418
* Fix some grammar in comments I noticed.Eric Christopher2010-11-301-5/+5
| | | | llvm-svn: 120416
* This defaults to GenericDomain.Eric Christopher2010-11-301-1/+1
| | | | llvm-svn: 120415
* System was renamed Support. Fix the build.Duncan Sands2010-11-301-1/+1
| | | | llvm-svn: 120414
* PR5207: Make APInt::set(), APInt::clear() and APInt::flip() return void.Jay Foad2010-11-304-33/+39
| | | | llvm-svn: 120413
* Implement a PseudoI class and transfer the sse instructions over to useEric Christopher2010-11-302-12/+15
| | | | | | it. llvm-svn: 120412
* Fix insertion point in pcmp expander.Eric Christopher2010-11-301-9/+2
| | | | | | While I'm there, clean up too many \n even for me. llvm-svn: 120411
* Fix some cleanups from my last patch.Eric Christopher2010-11-302-5/+5
| | | | llvm-svn: 120410
* Take John McCall's suggestion and fix this silly gcc warnings in a way thatNick Lewycky2010-11-301-0/+2
| | | | | | Doug isn't likely to rip back out. llvm-svn: 120409
* Add parsing for the Thumb t_addrmode_s4 addressing mode. This can almostBill Wendling2010-11-305-14/+92
| | | | | | | | | | certainly be made more generic. But it does allow us to parse something like: ldr r3, [r2, r4] correctly in Thumb mode. llvm-svn: 120408
* ptx: add ld instructionChe-Liang Chiou2010-11-303-9/+118
| | | | | | | support register and register-immediate addressing mode todo: immediate and register-register addressing mode llvm-svn: 120407
* Rewrite the main DSE loop to be written in terms of reasoningChris Lattner2010-11-303-77/+142
| | | | | | | | | | | | | | about pairs of AA::Location's instead of looking for MemDep's "Def" predicate. This is more powerful and general, handling memset/memcpy/store all uniformly, and implementing PR8701 and probably obsoleting parts of memcpyoptimizer. This also fixes an obscure bug with init.trampoline and i8 stores, but I'm not surprised it hasn't been hit yet. Enhancing init.trampoline to carry the size that it stores would allow DSE to be much more aggressive about optimizing them. llvm-svn: 120406
* death to extraneous \n's.Chris Lattner2010-11-301-2/+1
| | | | llvm-svn: 120405
* Rewrite mwait and monitor support and custom lower arguments.Eric Christopher2010-11-304-4/+101
| | | | | | Fixes PR8573. llvm-svn: 120404
* I hate pointless default statementsDouglas Gregor2010-11-301-1/+0
| | | | llvm-svn: 120402
* Harden CGDebugInfo::CreateType() a bit for cases where we couldn't generate ↵Douglas Gregor2010-11-301-1/+9
| | | | | | type info for its component types llvm-svn: 120401
* Add a puts optimization that converts puts() to putchar('\n').Anders Carlsson2010-11-302-3/+45
| | | | llvm-svn: 120398
* Add missing file from last commitDouglas Gregor2010-11-301-0/+44
| | | | llvm-svn: 120397
* When using a precompiled preamble with detailed preprocessing records,Douglas Gregor2010-11-3010-50/+220
| | | | | | | | | | trap the serialized preprocessing records (macro definitions, macro instantiations, macro definitions) from the generation of the precompiled preamble, then replay those when walking the list of preprocessed entities. This eliminates a bug where clang_getCursor() wasn't able to find preprocessed-entity cursors in the preamble. llvm-svn: 120396
* De-C99-ify for loopDouglas Gregor2010-11-301-1/+2
| | | | llvm-svn: 120395
* Fix a typo.Anders Carlsson2010-11-301-1/+1
| | | | llvm-svn: 120394
* Rename this test to FPuts.ll since it actually tests fputs.Anders Carlsson2010-11-301-0/+0
| | | | llvm-svn: 120393
* Teach c-index-test to reparse the source file a few times when testingDouglas Gregor2010-11-301-17/+36
| | | | | | | | clang_getCursor() via -cursor-at=??? and CINDEXTEST_EDITING is set in the environment. This mirrors how we test code completion and source-loading in the presence of this environment variable. llvm-svn: 120392
* rename a function and reduce some indentation, no functionality change.Chris Lattner2010-11-301-19/+21
| | | | llvm-svn: 120391
* When loading a precompiled preamble, use the file ID of theDouglas Gregor2010-11-303-2/+24
| | | | | | | | | | | | precompiled preamble as the "main" source file's file ID within the source manager. This makes compiling with a precompiled preamble produce the same source locations as when compiling without the precompiled preamble; prior to this change, we ended up with different file IDs for source locations within the precompiled preamble vs. those after the precompiled preamble, even for entities (e.g., preprocessing entities) in the same file. llvm-svn: 120390
* Fix bug in r120299 spotted by dgregor.Nico Weber2010-11-302-3/+21
| | | | llvm-svn: 120389
* Make @llvm.invariant.start not be readonly, so that it has side-effects. ThisNick Lewycky2010-11-302-2/+2
| | | | | | | unbreaks test/Transforms/InstCombine/invariant.ll which was broken by r120382. This is a fix-forward to do what I think Chris intended. llvm-svn: 120388
* Moved the code in ClangUserExpression that set up & ran the thread plan with ↵Jim Ingham2010-11-3017-364/+615
| | | | | | | | | | timeouts, and restarting with all threads into a utility function in Process. This required a bunch of renaming. Added a ThreadPlanCallUserExpression that differs from ThreadPlanCallFunction in that it holds onto a shared pointer to its ClangUserExpression so that can't go away before the thread plan is done using it. Fixed the stop message when you hit a breakpoint while running a user expression so it is more obvious what has happened. llvm-svn: 120386
* Stub out a new LiveDebugVariables pass.Jakob Stoklund Olesen2010-11-305-0/+110
| | | | | | | | | | | | | This analysis is going to run immediately after LiveIntervals. It will stay alive during register allocation and keep track of user variables mentioned in DBG_VALUE instructions. When the register allocator is moving values between registers and the stack, it is very hard to keep track of DBG_VALUE instructions. We usually get it wrong. This analysis maintains a data structure that makes it easy to update DBG_VALUE instructions. llvm-svn: 120385
* Fix another case of giving the wrong value kind to a dependent cast toJohn McCall2010-11-302-1/+13
| | | | | | a non-dependent type. llvm-svn: 120384
* remove a use of llvm-disChris Lattner2010-11-301-2/+1
| | | | llvm-svn: 120383
* remove the pointless check of MemoryUseIntrinsic fromChris Lattner2010-11-302-27/+1
| | | | | | | is trivially dead, since these have side effects. This makes the (misnamed) MemoryUseIntrinsic class dead, so remove it. llvm-svn: 120382
* strength reduce this.Chris Lattner2010-11-301-1/+1
| | | | llvm-svn: 120381
* getLocationForDest should work for memset as well.Chris Lattner2010-11-302-2/+3
| | | | llvm-svn: 120380
* Replace \r\n with \n. No functional change.Nick Lewycky2010-11-301-99/+99
| | | | llvm-svn: 120379
* rename doesClobberMemory -> hasMemoryWrite to be more specific, andChris Lattner2010-11-301-11/+11
| | | | | | remove an actively-wrong comment. llvm-svn: 120378
* clean up handling of 'free', detangling it from everything else.Chris Lattner2010-11-302-22/+26
| | | | | | | It can be seriously improved, but at least now it isn't intertwined with the other logic. llvm-svn: 120377
* Add a default clause to avoid this GCC warning:Nick Lewycky2010-11-301-0/+1
| | | | | | Type.cpp:1000: warning: control reaches end of non-void function llvm-svn: 120376
* merge one more awayChris Lattner2010-11-302-9/+12
| | | | llvm-svn: 120375
* I already merged partial-overwrite.ll -> PartialStore.llChris Lattner2010-11-303-29/+20
| | | | | | Merge context-sensitive.ll -> simple.ll and upgrade it. llvm-svn: 120374
* clean up DSE tests, removing some poorly reduced and useless old test,Chris Lattner2010-11-3014-1301/+115
| | | | | | merging more into other larger .ll files, filecheckizing along the way. llvm-svn: 120373
* Minor cleanups. No functional change.Bill Wendling2010-11-301-24/+23
| | | | llvm-svn: 120372
* s/ARM::BRIND/ARM::BX/g to coincide with r120366.Bill Wendling2010-11-303-5/+5
| | | | llvm-svn: 120371
* enhance basicaa to return "Mod" for a memcpy call when theChris Lattner2010-11-302-2/+18
| | | | | | queried location doesn't overlap the source, and add a testcase. llvm-svn: 120370
* Add correct encoding for "bl __aeabi_read_tp". However, the asm matcher isn'tBill Wendling2010-11-301-3/+5
| | | | | | able to match this yet. llvm-svn: 120369
* Teach basicaa that memset's modref set is at worst "mod" and neverChris Lattner2010-11-303-7/+28
| | | | | | | | | | contains "ref". Enhance DSE to use a modref query instead of a store-specific hack to generalize the "ignore may-alias stores" optimization to handle memset and memcpy. llvm-svn: 120368
* Added a feature where registers can be referred toSean Callanan2010-11-305-8/+197
| | | | | | | | | | | using special $-variables from expressions. (lldb) expr $rip These variables are available for reading and writing. llvm-svn: 120367
OpenPOWER on IntegriCloud