| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Few targets like PIC16 wants libcall generation for illegal type i16. | Sanjiv Gupta | 2009-01-18 | 3 | -4/+20 |
| | | | | | llvm-svn: 62467 | ||||
| * | Rename move_convert to move_arg and move_res. The new names are less ↵ | Sebastian Redl | 2009-01-18 | 7 | -56/+50 |
| | | | | | | | misleading (and shorter). llvm-svn: 62466 | ||||
| * | Convert ObjC statement actions to smart pointers. | Sebastian Redl | 2009-01-18 | 5 | -100/+101 |
| | | | | | llvm-svn: 62465 | ||||
| * | Convert asm statement action to smart pointers. | Sebastian Redl | 2009-01-18 | 5 | -111/+103 |
| | | | | | llvm-svn: 62464 | ||||
| * | Convert more statement actions to smart pointers. | Sebastian Redl | 2009-01-18 | 5 | -102/+103 |
| | | | | | llvm-svn: 62463 | ||||
| * | CMake: Add lib/Analysis/CaptureTracking.cpp | Oscar Fuentes | 2009-01-18 | 1 | -0/+1 |
| | | | | | llvm-svn: 62462 | ||||
| * | BasicAliasAnalysis and FunctionAttrs were both | Duncan Sands | 2009-01-18 | 4 | -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 Lattner | 2009-01-18 | 2 | -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 Wang | 2009-01-18 | 1 | -7/+3 |
| | | | | | llvm-svn: 62459 | ||||
| * | Vector codegen improvements | Nate Begeman | 2009-01-18 | 6 | -46/+102 |
| | | | | | llvm-svn: 62458 | ||||
| * | Forgot this in the previous checkin: fopen now has nocapture, realloc is | Nick Lewycky | 2009-01-18 | 1 | -2/+2 |
| | | | | | | | supposed to take two arguments. llvm-svn: 62457 | ||||
| * | Fix copy and pasted typos that prevented strtok_r, realloc, getenv, ungetc, | Nick Lewycky | 2009-01-18 | 1 | -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 Begeman | 2009-01-18 | 6 | -10/+94 |
| | | | | | llvm-svn: 62455 | ||||
| * | rearrange GetIdentifierInfo so that the fast path can be partially inlined ↵ | Chris Lattner | 2009-01-18 | 2 | -11/+11 |
| | | | | | | | into PTHLexer::Lex. This speeds up the user time of PTH -Eonly by another 2ms (4.4%) llvm-svn: 62454 | ||||
| * | Fix a tyop | Anders Carlsson | 2009-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 62453 | ||||
| * | Make CCC_ECHO output to stderr | Anders Carlsson | 2009-01-18 | 1 | -3/+3 |
| | | | | | llvm-svn: 62452 | ||||
| * | Avoid malloc thrashing on the std::vector for ConditionalStack. Because | Chris Lattner | 2009-01-18 | 1 | -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 Lattner | 2009-01-18 | 1 | -10/+11 |
| | | | | | llvm-svn: 62450 | ||||
| * | Eliminate tabs | Nate Begeman | 2009-01-18 | 2 | -7/+7 |
| | | | | | llvm-svn: 62449 | ||||
| * | Fix a runtime error I saw | Anders Carlsson | 2009-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 62448 | ||||
| * | On i386 and x86-64, just do unaligned loads | Chris Lattner | 2009-01-18 | 1 | -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 Carlsson | 2009-01-18 | 1 | -0/+2 |
| | | | | | llvm-svn: 62446 | ||||
| * | switch PTHLexer to use Read32 and friends instead of lots of inlined | Chris Lattner | 2009-01-18 | 1 | -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 PR3345 | Anders Carlsson | 2009-01-18 | 1 | -2/+18 |
| | | | | | llvm-svn: 62444 | ||||
| * | A couple more vector component access fixes. | Nate Begeman | 2009-01-18 | 3 | -2/+13 |
| | | | | | llvm-svn: 62443 | ||||
| * | switch PTH lexer from using "const char*"s to "const unsigned char*"s | Chris Lattner | 2009-01-18 | 3 | -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 Carlsson | 2009-01-18 | 4 | -4/+50 |
| | | | | | llvm-svn: 62441 | ||||
| * | Update support for vector component access on ExtVectors. | Nate Begeman | 2009-01-18 | 5 | -89/+102 |
| | | | | | llvm-svn: 62440 | ||||
| * | Fit in 80 cols | Nate Begeman | 2009-01-18 | 1 | -1/+2 |
| | | | | | llvm-svn: 62439 | ||||
| * | Add support for vectors to APValue. Vector constant evaluator and tests coming. | Nate Begeman | 2009-01-18 | 3 | -1/+55 |
| | | | | | llvm-svn: 62438 | ||||
| * | Remove outdated diagnostic. Tests are coming. | Nate Begeman | 2009-01-18 | 2 | -13/+1 |
| | | | | | llvm-svn: 62437 | ||||
| * | add a comment | Gabor Greif | 2009-01-18 | 1 | -0/+1 |
| | | | | | llvm-svn: 62436 | ||||
| * | Set tab width to 2 characters for all files in lib/Basic | Anders Carlsson | 2009-01-18 | 1 | -9/+9 |
| | | | | | llvm-svn: 62435 | ||||
| * | Allow targets to override IntMaxTWidth | Nate Begeman | 2009-01-17 | 2 | -2/+3 |
| | | | | | llvm-svn: 62434 | ||||
| * | Change TargetInfo::validateInputConstraint to take begin/end name iterators ↵ | Anders Carlsson | 2009-01-17 | 5 | -6/+23 |
| | | | | | | | instead of the number of outputs. No functionality change. llvm-svn: 62433 | ||||
| * | Diagnose that property name cannot be a bitfield | Fariborz Jahanian | 2009-01-17 | 3 | -0/+19 |
| | | | | | llvm-svn: 62432 | ||||
| * | Diagnose when method parameter is an object. | Fariborz Jahanian | 2009-01-17 | 3 | -0/+25 |
| | | | | | llvm-svn: 62431 | ||||
| * | switch over some other methods from indices to iterators | Gabor Greif | 2009-01-17 | 1 | -8/+8 |
| | | | | | llvm-svn: 62430 | ||||
| * | Patch to re-implement ivar-list meta-data generation to fix | Fariborz Jahanian | 2009-01-17 | 2 | -11/+45 |
| | | | | | | | cases of unnamed ivar bitfields. llvm-svn: 62429 | ||||
| * | make comparisons a bist faster | Gabor Greif | 2009-01-17 | 1 | -5/+3 |
| | | | | | llvm-svn: 62428 | ||||
| * | Rename SourceLocation::getFileID to getChunkID, because it returns | Chris Lattner | 2009-01-17 | 7 | -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 Lattner | 2009-01-17 | 1 | -4/+4 |
| | | | | | llvm-svn: 62426 | ||||
| * | Change the Lexer ctor used to lex _Pragma directives into a static factory | Chris Lattner | 2009-01-17 | 3 | -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::CreateLexer | Chris Lattner | 2009-01-17 | 3 | -3/+4 |
| | | | | | llvm-svn: 62424 | ||||
| * | Remove tabs. | Devang Patel | 2009-01-17 | 1 | -19/+19 |
| | | | | | llvm-svn: 62423 | ||||
| * | Change the Lexer ctor used in the non _Pragma case to take a FileID instead | Chris Lattner | 2009-01-17 | 3 | -21/+10 |
| | | | | | | | of a SourceLocation. This should speed it up and definitely simplifies it. llvm-svn: 62422 | ||||
| * | Refactor code | Devang Patel | 2009-01-17 | 1 | -118/+73 |
| | | | | | llvm-svn: 62421 | ||||
| * | in Preprocessor::AdvanceToTokenCharacter, don't actually bother | Chris Lattner | 2009-01-17 | 1 | -9/+7 |
| | | | | | | | creating a whole lexer when we just want one static method. llvm-svn: 62420 | ||||
| * | More simplifications to the lexer ctors. | Chris Lattner | 2009-01-17 | 2 | -11/+28 |
| | | | | | llvm-svn: 62419 | ||||
| * | Testcase for last commit. | Bill Wendling | 2009-01-17 | 1 | -0/+31 |
| | | | | | llvm-svn: 62418 | ||||

