summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* One baby step towards i386 ELF, from Roman Divacky.Benjamin Kramer2010-08-171-2/+3
| | | | llvm-svn: 111247
* fix emacs language spec's, patch by Edmund Grimley-Evans!Chris Lattner2010-08-1721-21/+21
| | | | llvm-svn: 111241
* When creating a JIT, try to load the program so that we can resolve symbolsNick Lewycky2010-08-171-0/+3
| | | | | | against it. This affects Windows. llvm-svn: 111240
* A member function never has "C" linkage. Fixes <rdar://problem/8318976>.Douglas Gregor2010-08-172-0/+12
| | | | llvm-svn: 111238
* When generating code completion patterns for method declarations, giveDouglas Gregor2010-08-172-31/+34
| | | | | | | the resulting pattern the appropriate cursor kind of an instance or class method declaration. llvm-svn: 111237
* apparently msvc defines _STDCALL_SUPPORTED, so we shouldChris Lattner2010-08-171-0/+1
| | | | | | too. Patch by Per Linden! llvm-svn: 111236
* Add a slightly better hack for microsoft style inline asm, Chris Lattner2010-08-171-2/+2
| | | | | | patch by Per Linden! llvm-svn: 111235
* Implement #pragma push_macro, patch by Francois Pichet!Chris Lattner2010-08-177-7/+230
| | | | llvm-svn: 111234
* 1 != I. Fix the formulation of code-completion patterns forDouglas Gregor2010-08-172-3/+18
| | | | | | Objective-C method declarations with > 2 parameters. llvm-svn: 111233
* Revert r111230, we have to find a better place for the host-specific code.Benjamin Kramer2010-08-171-29/+24
| | | | llvm-svn: 111232
* Fix failure of unittests/ExecutionEngine/JIT/MultiJITTest.cpp onChris Lattner2010-08-171-0/+6
| | | | | | cygwin when built with ENABLE_SHARED=1. Patch by NAKAMURA Takumi! llvm-svn: 111231
* Micro-optimize MCObjectWriter to do a byteswap if necessary and then write theBenjamin Kramer2010-08-171-24/+29
| | | | | | whole integer to the stream instead of doing byte-sized writes. llvm-svn: 111230
* Convert all uses of StringLiteral::getStrData() to StringLiteral::getString()Benjamin Kramer2010-08-1711-38/+30
| | | | | | and remove getStrData(). Patch by Peter Davies (with some tweaks). llvm-svn: 111229
* There is this new "LLVM" compiler that supports __builtin_bswap but thinks ↵Benjamin Kramer2010-08-171-2/+4
| | | | | | it's gcc 4.2. llvm-svn: 111228
* Don't try to initialize a reference with a constructed temporary if eitherJohn McCall2010-08-173-1/+25
| | | | | | of the classes is invalid. A class is invalid if a base is invalid. llvm-svn: 111227
* Allow more cases of undef shuffle indices and add tests for them.Bob Wilson2010-08-176-12/+141
| | | | llvm-svn: 111226
* Add an option to disable codegen prepare critical edge splitting. In theory, ↵Evan Cheng2010-08-171-6/+14
| | | | | | PHI elimination is already doing all (most?) of the splitting needed. But machine-licm and machine-sink seem to miss some important optimizations when splitting is disabled. llvm-svn: 111224
* Fix typo.Eric Christopher2010-08-171-1/+1
| | | | llvm-svn: 111223
* Copy over some overridden MI wrappers for ARM fast-isel. This is whereEric Christopher2010-08-171-1/+192
| | | | | | we're adding predicates and optional defs to the MachineInstrs. llvm-svn: 111222
* PHI elimination should not break back edge. It can cause some significant ↵Evan Cheng2010-08-174-7/+45
| | | | | | | | | | | | | | | | | | | | | code placement issues. rdar://8263994 good: LBB0_2: mov r2, r0 . . . mov r1, r2 bne LBB0_2 bad: LBB0_2: mov r2, r0 . . . @ BB#3: mov r1, r2 b LBB0_2 llvm-svn: 111221
* Remove predicate workaround, we're going to require that predicateEric Christopher2010-08-171-9/+0
| | | | | | and optional def operands are handled in the backend support. llvm-svn: 111220
* Make arm fast-isel possible to enable via command line.Eric Christopher2010-08-171-1/+7
| | | | llvm-svn: 111219
* When the # of top-level declarations changes after reparsing aDouglas Gregor2010-08-172-1/+29
| | | | | | | | translation unit, refresh code-completion results because they've probably changed. However, enforce a cooldown period between refreshes, to avoid thrashing. llvm-svn: 111218
* Generate a node instead of a sink. A leak is not a fatal error.Zhongxing Xu2010-08-171-1/+1
| | | | llvm-svn: 111217
* Check for errors in Resume before waiting for the resume to complete.Jim Ingham2010-08-171-1/+6
| | | | llvm-svn: 111216
* Fixed FindFunctions so it works with all the new name types for the DWARF in ↵Greg Clayton2010-08-171-17/+18
| | | | | | object files case. llvm-svn: 111215
* Try to silence a overeager GCC warning.Benjamin Kramer2010-08-171-0/+2
| | | | llvm-svn: 111214
* A round of minor cleanups for ELFObjectWriter.Benjamin Kramer2010-08-171-29/+12
| | | | llvm-svn: 111213
* Add a testcase for svn 111208.Bob Wilson2010-08-161-0/+14
| | | | llvm-svn: 111212
* A field of incomplete type is sufficiently disruptive that we should markJohn McCall2010-08-162-1/+16
| | | | | | the record invalid. llvm-svn: 111211
* Fix another iterator invalidation that caused a *really* nasty ↵Owen Anderson2010-08-161-6/+7
| | | | | | miscompilation in 403.gcc. llvm-svn: 111210
* Ignore undef shuffle indices when checking for a VTRN shuffle. Radar 8290937.Bob Wilson2010-08-161-0/+1
| | | | llvm-svn: 111208
* Move a bunch of code out of the ComplexExprEvaluator class definition;Eli Friedman2010-08-161-105/+109
| | | | | | no functionality change. llvm-svn: 111207
* tidy up. remove unused local.Jim Grosbach2010-08-162-2/+2
| | | | llvm-svn: 111206
* Allow the "size" of a buffer access check to be either signed or unsigned. ↵Jordy Rose2010-08-161-1/+1
| | | | | | Fixes PR7925. llvm-svn: 111205
* Move include to the proper place. No functionality changeDouglas Gregor2010-08-162-1/+1
| | | | llvm-svn: 111204
* Implement support for cached code completions forDouglas Gregor2010-08-163-29/+61
| | | | | | | | | | nested-name-specifiers. Also includes fixes to the generation of nested-name-specifier result in the non-cached case; we were producing lame results for namespaces and namespace aliases, which (1) didn't always have nested-name-specifiers when we want them, and (2) did not have the necessary "::" as part of the completion. llvm-svn: 111203
* Documented ClangResultSynthesizer and added very minorSean Callanan2010-08-162-11/+100
| | | | | | API fixes. llvm-svn: 111202
* Silence warnings and simplify code. Eliminate a 32/64 bit portability issue.Benjamin Kramer2010-08-161-4/+3
| | | | llvm-svn: 111201
* The plural of analysis is analyses.Dan Gohman2010-08-161-2/+2
| | | | llvm-svn: 111200
* Make dumpPassStructure be a PMDataManager abstraction, rather thanDan Gohman2010-08-166-15/+26
| | | | | | | | | | a Pass abstraction, since that's the level it's actually used at. Rename Pass' dumpPassStructure to dumpPass. This eliminates an awkward use of getAsPass() to convert a PMDataManager* into a Pass* just to permit a dumpPassStructure call. llvm-svn: 111199
* Added logging for process.gdb-remote by defining an environment variable namedJohnny Chen2010-08-161-1/+8
| | | | | | GDB_REMOTE_LOG which specifies the log file pathname. llvm-svn: 111198
* Better handle alignment requirements for local objects in pre-regalloc frameJim Grosbach2010-08-163-35/+29
| | | | | | | | | | mapping. Have the local block track its alignment requirement, and then apply that when the block itself is allocated. Previously, offsets could get adjusted in PEI to be different, relative to one another, than the block allocation thought they would be, which defeats the point of doing the allocation this way. Continuing rdar://8277890 llvm-svn: 111197
* Generalize a pattern for PKHTB: an SRL of 16-31 bits will guaranteeBob Wilson2010-08-164-5/+27
| | | | | | that the high halfword is zero. The shift need not be exactly 16 bits. llvm-svn: 111196
* Convert test to FileCheck.Bob Wilson2010-08-161-4/+19
| | | | llvm-svn: 111195
* Documented ClangPersistentVariable(s). No APISean Callanan2010-08-161-8/+120
| | | | | | | cleanup here, since this is a new and fairly clean class already. llvm-svn: 111194
* Make some of PMTopLevelManager's members non-public. In particular,Dan Gohman2010-08-161-8/+10
| | | | | | make its constructor protected. llvm-svn: 111193
* Remove redundant inline keywords.Dan Gohman2010-08-162-3/+3
| | | | llvm-svn: 111192
* Diagnose assiging to an interface object inFariborz Jahanian2010-08-163-4/+8
| | | | | | | non-fragile abi mode as sizes are not statically known. Fixes radar 8315734. llvm-svn: 111191
* Added basic psuedoconstant checking in IdempotentOperationChecker and fixed ↵Tom Care2010-08-162-4/+20
| | | | | | some test cases. llvm-svn: 111190
OpenPOWER on IntegriCloud