summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix comment text.Greg Clayton2011-02-091-1/+1
| | | | llvm-svn: 125162
* <rdar://problem/8972204> Test failure: ./dotest.py -v -t -f ↵Greg Clayton2011-02-091-31/+33
| | | | | | | | UniversalTestCase.test_process_launch_for_universal Fix for bad architecture settings that were being used from the qHostInfo. llvm-svn: 125161
* Correct units in comments describing Size and getSize().Ken Dyck2011-02-091-2/+2
| | | | llvm-svn: 125158
* When IRgen refers to a function declaration that is not a definition,Douglas Gregor2011-02-093-2/+26
| | | | | | | | | | and we later find the definition, make sure that we add the definition (not the declaration) to the list of deferred definitions to emit. Fixes PR8864. Thanks to Nick Lewycky for testing this patch out llvm-svn: 125157
* Convert RecordLayout::Size to CharUnits from bits. No changes toKen Dyck2011-02-098-32/+45
| | | | | | functionality intended. llvm-svn: 125156
* static analyzer: Further reduce the analyzer's memory usage when analyzing ↵Ted Kremenek2011-02-0910-10/+161
| | | | | | | | | | | | sqlite3 by 7-10% by recylcing "uninteresting" ExplodedNodes. The optimization involves eagerly pruning ExplodedNodes from the ExplodedGraph that contain practically no difference between the predecessor and successor nodes. For example, if the state is different between a predecessor and a node, the node is left in. Only for the 'environment' component of the state do we not care if the ExplodedNodes are different. This paves the way for future optimizations where we can reclaim the environment objects. llvm-svn: 125154
* Make ProgramPoint::getTag() public.Ted Kremenek2011-02-091-1/+2
| | | | llvm-svn: 125153
* Pull support for the shared and exclusive lock since this wasn't availableGreg Clayton2011-02-096-10/+16
| | | | | | | on linux. And conditionalize the availablility of the fcntl() command F_GETPATH. llvm-svn: 125152
* Evict a lighter single interference before attempting to split a live range.Jakob Stoklund Olesen2011-02-093-36/+64
| | | | | | | | | | | | | | Registers are not allocated strictly in spill weight order when live range splitting and spilling has created new shorter intervals with higher spill weights. When one of the new heavy intervals conflicts with a single lighter interval, simply evict the old interval instead of trying to split the heavy one. The lighter interval is a better candidate for splitting, it has a smaller use density. llvm-svn: 125151
* NonTypeTemplateParmDecl is just a DeclaratorDecl, not a VarDecl.John McCall2011-02-097-69/+147
| | | | | | | Also, reorganize and make very explicit the logic for determining the value kind and type of a referenced declaration. llvm-svn: 125150
* Use Host::File in lldb_private::StreamFile and other places to cleanup hostGreg Clayton2011-02-0917-299/+551
| | | | | | layer a bit more. llvm-svn: 125149
* Add some helper methods to the EmulateInstructionARM class as a first step ↵Johnny Chen2011-02-092-12/+61
| | | | | | | | | in the refactorings of EmulateInstructionARM.cpp file, which will be modified later to take advantage of these helper methods. llvm-svn: 125148
* Test case for r125142.Devang Patel2011-02-091-0/+32
| | | | llvm-svn: 125144
* If an aggregate argument is passed indirectly because it has non trivialDevang Patel2011-02-095-9/+20
| | | | | | | | destructor or copy constructor than let debug info know about it. Radar 8945514. llvm-svn: 125142
* Set an allocation hint when rematting before a COPY.Jakob Stoklund Olesen2011-02-091-0/+4
| | | | | | This almost guarantees that the COPY will be coalesced. llvm-svn: 125140
* Add code to emulate the LDMIB Arm instruction.Caroline Tice2011-02-082-30/+127
| | | | | | | | Modify code for LDM and LDMDB instructions to only create one context and to reuse it, rather than creating multiple contexts. llvm-svn: 125139
* Fix typos.Johnny Chen2011-02-081-4/+4
| | | | llvm-svn: 125138
* Fix one more case of splitting after the last split point.Jakob Stoklund Olesen2011-02-081-8/+10
| | | | llvm-svn: 125137
* Add FileSpec::ResolvePartialUsername, and use it in CommandCompletions to ↵Jim Ingham2011-02-083-38/+56
| | | | | | isolate pwd.h in the Host layer. llvm-svn: 125135
* Add EmulateCB() entry to the g_thumb_opcodes table to represent "Compare and ↵Johnny Chen2011-02-082-12/+68
| | | | | | | | Branch on NonZero and Compare and Branch on Zero" operations. llvm-svn: 125134
* Add code to emulate LDMDB Arm instruction.Caroline Tice2011-02-082-2/+143
| | | | llvm-svn: 125133
* Reorganize interference code to check LastSplitPoint first.Jakob Stoklund Olesen2011-02-081-29/+43
| | | | | | | The last split point can be anywhere in the block, so it interferes with the strictly monotonic requirements of advanceTo(). llvm-svn: 125132
* No longer pass deprecated '-nodistribute' flag to xcodebuild.Ted Kremenek2011-02-081-3/+0
| | | | llvm-svn: 125131
* analyzer, retain/release checker: Remove hack where objects passed in ↵Ted Kremenek2011-02-082-19/+16
| | | | | | message to 'self' are no longer tracked. llvm-svn: 125130
* Update for API change.Rafael Espindola2011-02-081-2/+2
| | | | llvm-svn: 125129
* Don't open the file again in the gold plugin. To be able to do this, updateRafael Espindola2011-02-088-21/+58
| | | | | | MemoryBuffer::getOpenFile to not close the file descriptor. llvm-svn: 125128
* Revert both r121082 (which broke a bunch of constant pool stuff) and r125074 ↵Owen Anderson2011-02-089-129/+87
| | | | | | (which worked around it). This should get us back to the old, correct behavior, though it will make the integrated assembler unhappy for the time being. llvm-svn: 125127
* When checking the 'weak' and 'weakref' attributes, look for non-externalJohn McCall2011-02-085-28/+75
| | | | | | | linkage rather than the presence of the 'static' storage class specifier. Fixes rdar://problem/8814626. llvm-svn: 125126
* Fix an IRGen bug in property setter calls whenFariborz Jahanian2011-02-082-1/+28
| | | | | | setter and getter types mismatch. // rdar://8966864 llvm-svn: 125125
* [analyzer] Move the files in lib/StaticAnalyzer to lib/StaticAnalyzer/Core.Argyrios Kyrtzidis2011-02-0840-48/+64
| | | | | | | Eventually there will also be a lib/StaticAnalyzer/Frontend that will handle initialization and checker registration. Yet another library to avoid cyclic dependencies between Core and Checkers. llvm-svn: 125124
* [analyzer] lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp -> ↵Argyrios Kyrtzidis2011-02-082-1/+1
| | | | | | lib/StaticAnalyzer/Checkers/ExperimentalChecks.cpp llvm-svn: 125123
* [analyzer] lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h -> ↵Argyrios Kyrtzidis2011-02-0811-12/+12
| | | | | | lib/StaticAnalyzer/Checkers/ExperimentalChecks.h llvm-svn: 125122
* [analyzer] lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h -> ↵Argyrios Kyrtzidis2011-02-0832-32/+32
| | | | | | lib/StaticAnalyzer/Checkers/InternalChecks.h llvm-svn: 125121
* Support for .ifdef / .ifndef in the assembler parser. Patch by Joerg ↵Benjamin Kramer2011-02-083-1/+89
| | | | | | Sonnenberger. llvm-svn: 125120
* Test case accidentally left out of my last commit.John McCall2011-02-081-0/+57
| | | | llvm-svn: 125119
* Add code to emulate the LDM ARM instruction.Caroline Tice2011-02-082-3/+152
| | | | llvm-svn: 125118
* Split the serialized representation for the detailed preprocessingDouglas Gregor2011-02-085-198/+254
| | | | | | | | | | record away from the core processor record. The tangling of these two data structures led to some inefficiencies (e.g., deserializing all of the detailed preprocessing record when we didn't need it, such as while performing code completion) along with some unnecessary ugliness. llvm-svn: 125117
* Also handle the situation where an indirect branch is the first (and last)Jakob Stoklund Olesen2011-02-081-6/+8
| | | | | | instruction in a basic block. llvm-svn: 125116
* AST: support for pre-arg expressions on CallExpr subclassesPeter Collingbourne2011-02-084-25/+71
| | | | llvm-svn: 125115
* StmtPrinter: factor out arg printing code to PrintCallArgsPeter Collingbourne2011-02-081-3/+8
| | | | llvm-svn: 125114
* Add LiveIntervals::addKillFlags() to recompute kill flags after register ↵Jakob Stoklund Olesen2011-02-083-0/+28
| | | | | | | | | allocation. This is a lot easier than trying to get kill flags right during live range splitting and rematerialization. llvm-svn: 125113
* Add missing implementation for "BL, BLX (immediate)" Encoding T1 and an ↵Johnny Chen2011-02-081-17/+41
| | | | | | | | entry for "bl <label>" into g_thumb_opcodes table. llvm-svn: 125112
* Allow multiple -B prefixes. Patch by Joerg Sonnenberger.Benjamin Kramer2011-02-082-7/+14
| | | | llvm-svn: 125111
* Updated a few more Host::File functions and added documentation.Greg Clayton2011-02-082-8/+232
| | | | llvm-svn: 125110
* Trim debug spewJakob Stoklund Olesen2011-02-081-1/+0
| | | | llvm-svn: 125109
* Avoid folding a load instruction into an instruction that redefines the ↵Jakob Stoklund Olesen2011-02-081-1/+5
| | | | | | | | register. The target hook doesn't know how to do that. (Neither do I). llvm-svn: 125108
* Added a few more calls to the File abtract class for seeking, syncing andGreg Clayton2011-02-082-14/+108
| | | | | | getting the file spec from the file descriptor. llvm-svn: 125106
* [AVX] Implement BUILD_VECTOR lowering for 256-bit vectors. ForDavid Greene2011-02-081-3/+64
| | | | | | | anything but the simplest of cases, lower a 256-bit BUILD_VECTOR by splitting it into 128-bit parts and recombining. llvm-svn: 125105
* Clear the linkage cache recursively. Fixes PR8926.John McCall2011-02-082-1/+32
| | | | llvm-svn: 125104
* Add missing implementation for "BL, BLX (immediate)" Encoding A1.Johnny Chen2011-02-081-0/+7
| | | | llvm-svn: 125103
OpenPOWER on IntegriCloud