summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Few targets like PIC16 wants libcall generation for illegal type i16.Sanjiv Gupta2009-01-183-4/+20
| | | | llvm-svn: 62467
* Rename move_convert to move_arg and move_res. The new names are less ↵Sebastian Redl2009-01-187-56/+50
| | | | | | misleading (and shorter). llvm-svn: 62466
* Convert ObjC statement actions to smart pointers.Sebastian Redl2009-01-185-100/+101
| | | | llvm-svn: 62465
* Convert asm statement action to smart pointers.Sebastian Redl2009-01-185-111/+103
| | | | llvm-svn: 62464
* Convert more statement actions to smart pointers.Sebastian Redl2009-01-185-102/+103
| | | | llvm-svn: 62463
* CMake: Add lib/Analysis/CaptureTracking.cppOscar Fuentes2009-01-181-0/+1
| | | | llvm-svn: 62462
* BasicAliasAnalysis and FunctionAttrs were bothDuncan Sands2009-01-184-133/+144
| | | | | | | | | doing very similar pointer capture analysis. Factor out the common logic. The new version is from FunctionAttrs since it does a better job than the version in BasicAliasAnalysis llvm-svn: 62461
* Switch MinimalAction from new/delete'ing its TypeNameInfo to Chris Lattner2009-01-182-38/+59
| | | | | | | | allocating them from a recycling bump pointer allocator. This reduces malloc/free traffic of parse-noop (but no other mode), which makes sharking -parse-noop more meaningful. llvm-svn: 62460
* Simplify extract element based on comments from Duncan Sands.Mon P Wang2009-01-181-7/+3
| | | | llvm-svn: 62459
* Vector codegen improvementsNate Begeman2009-01-186-46/+102
| | | | llvm-svn: 62458
* Forgot this in the previous checkin: fopen now has nocapture, realloc isNick Lewycky2009-01-181-2/+2
| | | | | | supposed to take two arguments. llvm-svn: 62457
* Fix copy and pasted typos that prevented strtok_r, realloc, getenv, ungetc,Nick Lewycky2009-01-181-22/+152
| | | | | | | | | | | | | | | | | | | putc, puts, perror, vscanf and vsscanf from getting annotations. Add annotations for eight printf functions, memalign, pread and pwrite. On Linux, llvm-gcc sometimes renames strdup, getc, putc, strtok_r, scanf and sscanf. Match the alternate function names. Fix a crash annotating opendir. Don't mark fsetpos's second parameter as nocapture. It's supposed to be captured. Do mark fopen's path and mode strings as nocapture. Mark ferror as readonly, but not fileno which may set errno. llvm-svn: 62456
* Support evaluation of vector constant expressions, and codegen of same.Nate Begeman2009-01-186-10/+94
| | | | llvm-svn: 62455
* rearrange GetIdentifierInfo so that the fast path can be partially inlined ↵Chris Lattner2009-01-182-11/+11
| | | | | | into PTHLexer::Lex. This speeds up the user time of PTH -Eonly by another 2ms (4.4%) llvm-svn: 62454
* Fix a tyopAnders Carlsson2009-01-181-1/+1
| | | | llvm-svn: 62453
* Make CCC_ECHO output to stderrAnders Carlsson2009-01-181-3/+3
| | | | llvm-svn: 62452
* Avoid malloc thrashing on the std::vector for ConditionalStack. BecauseChris Lattner2009-01-181-2/+2
| | | | | | | there is one of these per header, this almost always gets alloc/free'd for each #ifdef. llvm-svn: 62451
* rename some variables, only set a tokens identifierinfo if non-null.Chris Lattner2009-01-181-10/+11
| | | | llvm-svn: 62450
* Eliminate tabsNate Begeman2009-01-182-7/+7
| | | | llvm-svn: 62449
* Fix a runtime error I sawAnders Carlsson2009-01-181-1/+1
| | | | llvm-svn: 62448
* On i386 and x86-64, just do unaligned loads Chris Lattner2009-01-181-0/+20
| | | | | | | instead of assembling from bytes. This speeds up -Eonly PTH reading of cocoa.h by about 2ms, which is 4.2%. llvm-svn: 62447
* Handle the 'X' constraint. Fixes <rdar://problem/6504897>.Anders Carlsson2009-01-181-0/+2
| | | | llvm-svn: 62446
* switch PTHLexer to use Read32 and friends instead of lots of inlinedChris Lattner2009-01-181-107/+60
| | | | | | copies. I verified that this causes no performance change in PTH. llvm-svn: 62445
* CG support for inline asm constraints with symbolic names. Fixes PR3345Anders Carlsson2009-01-181-2/+18
| | | | llvm-svn: 62444
* A couple more vector component access fixes.Nate Begeman2009-01-183-2/+13
| | | | llvm-svn: 62443
* switch PTH lexer from using "const char*"s to "const unsigned char*"s Chris Lattner2009-01-183-63/+88
| | | | | | | internally. This is just a cleanup that reduces the need to cast to unsigned char before assembling a larger integer. llvm-svn: 62442
* Add sema support for symbolic names in inline asm statements.Anders Carlsson2009-01-184-4/+50
| | | | llvm-svn: 62441
* Update support for vector component access on ExtVectors.Nate Begeman2009-01-185-89/+102
| | | | llvm-svn: 62440
* Fit in 80 colsNate Begeman2009-01-181-1/+2
| | | | llvm-svn: 62439
* Add support for vectors to APValue. Vector constant evaluator and tests coming.Nate Begeman2009-01-183-1/+55
| | | | llvm-svn: 62438
* Remove outdated diagnostic. Tests are coming.Nate Begeman2009-01-182-13/+1
| | | | llvm-svn: 62437
* add a commentGabor Greif2009-01-181-0/+1
| | | | llvm-svn: 62436
* Set tab width to 2 characters for all files in lib/BasicAnders Carlsson2009-01-181-9/+9
| | | | llvm-svn: 62435
* Allow targets to override IntMaxTWidthNate Begeman2009-01-172-2/+3
| | | | llvm-svn: 62434
* Change TargetInfo::validateInputConstraint to take begin/end name iterators ↵Anders Carlsson2009-01-175-6/+23
| | | | | | instead of the number of outputs. No functionality change. llvm-svn: 62433
* Diagnose that property name cannot be a bitfieldFariborz Jahanian2009-01-173-0/+19
| | | | llvm-svn: 62432
* Diagnose when method parameter is an object.Fariborz Jahanian2009-01-173-0/+25
| | | | llvm-svn: 62431
* switch over some other methods from indices to iteratorsGabor Greif2009-01-171-8/+8
| | | | llvm-svn: 62430
* Patch to re-implement ivar-list meta-data generation to fixFariborz Jahanian2009-01-172-11/+45
| | | | | | cases of unnamed ivar bitfields. llvm-svn: 62429
* make comparisons a bist fasterGabor Greif2009-01-171-5/+3
| | | | llvm-svn: 62428
* Rename SourceLocation::getFileID to getChunkID, because it returnsChris Lattner2009-01-177-41/+52
| | | | | | | | the chunk ID not the file ID. This exposes problems in TextDiagnosticPrinter where it should have been using the canonical file ID but wasn't. Fix these along the way. llvm-svn: 62427
* simplify some lookups.Chris Lattner2009-01-171-4/+4
| | | | llvm-svn: 62426
* Change the Lexer ctor used to lex _Pragma directives into a static factoryChris Lattner2009-01-173-34/+55
| | | | | | | | | | | method. This lets us clean up the interface and make it more obvious that this method is *really really* _Pragma specific. Note that _Pragma handling uglifies the Lexer in the critical path. It would be very interesting to consider making _Pragma remapping be a new special lexer class of its own. llvm-svn: 62425
* simplify PTHManager::CreateLexerChris Lattner2009-01-173-3/+4
| | | | llvm-svn: 62424
* Remove tabs.Devang Patel2009-01-171-19/+19
| | | | llvm-svn: 62423
* Change the Lexer ctor used in the non _Pragma case to take a FileID insteadChris Lattner2009-01-173-21/+10
| | | | | | of a SourceLocation. This should speed it up and definitely simplifies it. llvm-svn: 62422
* Refactor codeDevang Patel2009-01-171-118/+73
| | | | llvm-svn: 62421
* in Preprocessor::AdvanceToTokenCharacter, don't actually botherChris Lattner2009-01-171-9/+7
| | | | | | creating a whole lexer when we just want one static method. llvm-svn: 62420
* More simplifications to the lexer ctors.Chris Lattner2009-01-172-11/+28
| | | | llvm-svn: 62419
* Testcase for last commit.Bill Wendling2009-01-171-0/+31
| | | | llvm-svn: 62418
OpenPOWER on IntegriCloud