| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | add some notes | Chris Lattner | 2008-10-12 | 1 | -4/+26 |
| | | | | | llvm-svn: 57416 | ||||
| * | Implement more efficient Decl <-> DeclContext conversions. | Argyrios Kyrtzidis | 2008-10-12 | 5 | -47/+103 |
| | | | | | | | | | When the static type on the Decl side is a subclass of DeclContext the compiler will use a "inlinable" static_cast, instead of always using an out-of-line function call. Note, though, that the isa<> check still uses an out-of-line function call. llvm-svn: 57415 | ||||
| * | Update size of inst correctly with segment override. | Anton Korobeynikov | 2008-10-12 | 2 | -0/+12 |
| | | | | | llvm-svn: 57414 | ||||
| * | Add special-case code to allow null-guards on calls to malloc. | Owen Anderson | 2008-10-12 | 1 | -2/+16 |
| | | | | | llvm-svn: 57413 | ||||
| * | Make Escape Analysis work for any pointer. | Owen Anderson | 2008-10-12 | 2 | -8/+13 |
| | | | | | llvm-svn: 57412 | ||||
| * | Add EscapeAnalysis. | Owen Anderson | 2008-10-12 | 1 | -0/+2 |
| | | | | | llvm-svn: 57411 | ||||
| * | Change Dwarf comments starting with AT_ to DW_AT_ to | Dale Johannesen | 2008-10-12 | 1 | -96/+96 |
| | | | | | | | match gcc. Helps with the testsuite. llvm-svn: 57410 | ||||
| * | make the -rewrite-test a bit more interesting: it now | Chris Lattner | 2008-10-12 | 3 | -25/+82 |
| | | | | | | | | wraps comments in <i> tags. Extend rewrite tokens to support this minimal functionality. llvm-svn: 57409 | ||||
| * | Fix crashes and infinite loops. | Owen Anderson | 2008-10-12 | 1 | -12/+14 |
| | | | | | llvm-svn: 57408 | ||||
| * | start implementing a token rewriter. At this point, it just reads in a file | Chris Lattner | 2008-10-12 | 5 | -1/+131 |
| | | | | | | | and lets a client iterate over it. llvm-svn: 57407 | ||||
| * | Add a new -rewrite-test option, which is basically a | Chris Lattner | 2008-10-12 | 4 | -0/+59 |
| | | | | | | | | playground to experiment with some new rewriter approaches. For now it is probably the most complex version of 'cat' ever invented. llvm-svn: 57406 | ||||
| * | Add a new -dump-raw-tokens option, which allows us to see raw tokens. | Chris Lattner | 2008-10-12 | 2 | -4/+27 |
| | | | | | | | Rename -dumptokens to -dump-tokens. llvm-svn: 57405 | ||||
| * | Change FormTokenWithChars to take the token kind to form, since all clients | Chris Lattner | 2008-10-12 | 3 | -129/+111 |
| | | | | | | | | were setting a kind and then forming it. This is just a minor API cleanup, no functionality change. llvm-svn: 57404 | ||||
| * | When in keep whitespace mode, make sure to return block comments that are | Chris Lattner | 2008-10-12 | 1 | -2/+22 |
| | | | | | | | unterminated. llvm-svn: 57403 | ||||
| * | Change SkipBlockComment and SkipBCPLComment to return true when in | Chris Lattner | 2008-10-12 | 1 | -18/+22 |
| | | | | | | | keep comment mode, instead of returning false. This matches SkipWhitespace. llvm-svn: 57402 | ||||
| * | Add a new mode to the lexer which enables it to return all characters, | Chris Lattner | 2008-10-12 | 2 | -26/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | | even whitespace, as tokens from the file. This is enabled with L->SetKeepWhitespaceMode(true) on a raw lexer. In this mode, you too can use clang as a really complex version of 'cat' with code like this: Lexer RawLex(SourceLocation::getFileLoc(SM.getMainFileID(), 0), PP.getLangOptions(), File.first, File.second); RawLex.SetKeepWhitespaceMode(true); Token RawTok; RawLex.LexFromRawLexer(RawTok); while (RawTok.isNot(tok::eof)) { std::cout << PP.getSpelling(RawTok); RawLex.LexFromRawLexer(RawTok); } This will emit exactly the input file, with no canonicalization or other translation. Realistic clients actually do something with the tokens of course :) llvm-svn: 57401 | ||||
| * | Duncan convinced me that it's not possible to transform control-based ↵ | Owen Anderson | 2008-10-12 | 1 | -13/+10 |
| | | | | | | | | | escapes into data-based ones. Just be conservative when analyzing control-based escapes. llvm-svn: 57400 | ||||
| * | Stop the preprocessor from poking the lexer's private parts. | Chris Lattner | 2008-10-12 | 1 | -6/+6 |
| | | | | | llvm-svn: 57399 | ||||
| * | Fix a couple more places that poke KeepCommentMode unnecesarily. | Chris Lattner | 2008-10-12 | 1 | -3/+4 |
| | | | | | llvm-svn: 57398 | ||||
| * | add a new inKeepCommentMode() accessor to abstract the KeepCommentMode | Chris Lattner | 2008-10-12 | 2 | -4/+11 |
| | | | | | | | ivar. llvm-svn: 57397 | ||||
| * | fix misleading comment. | Chris Lattner | 2008-10-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 57396 | ||||
| * | Simplify raw mode lexing by treating an unterminate /**/ comment the | Chris Lattner | 2008-10-12 | 4 | -12/+8 |
| | | | | | | | | | same we we do an unterminated string or character literal. This makes it so we can guarantee that the lexer never calls into the preprocessor (which would be suicide for a raw lexer). llvm-svn: 57395 | ||||
| * | add a comment. | Chris Lattner | 2008-10-12 | 1 | -0/+2 |
| | | | | | llvm-svn: 57394 | ||||
| * | Change how raw lexers are handled: instead of creating them and then | Chris Lattner | 2008-10-12 | 5 | -27/+26 |
| | | | | | | | | | | | | using LexRawToken, create one and use LexFromRawLexer. This avoids twiddling the RawLexer flag around and simplifies some code (even speeding raw lexing up a tiny bit). This change also improves the token paster to use a Lexer on the stack instead of new/deleting it. llvm-svn: 57393 | ||||
| * | silence release-assert warnings. | Chris Lattner | 2008-10-12 | 4 | -11/+12 |
| | | | | | llvm-svn: 57392 | ||||
| * | silence some release-assert warnings. | Chris Lattner | 2008-10-12 | 3 | -10/+8 |
| | | | | | llvm-svn: 57391 | ||||
| * | silence a bunch of warnings in a release-assert build. | Chris Lattner | 2008-10-12 | 1 | -13/+11 |
| | | | | | llvm-svn: 57390 | ||||
| * | improve a comment. | Chris Lattner | 2008-10-12 | 1 | -1/+2 |
| | | | | | llvm-svn: 57389 | ||||
| * | fix typo | Chris Lattner | 2008-10-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 57388 | ||||
| * | Fix PR2697 by rewriting the '(X / pos) op neg' logic. This also changes | Chris Lattner | 2008-10-11 | 2 | -10/+23 |
| | | | | | | | | | a couple other cases for clarity, but shouldn't affect correctness. Patch by Eli Friedman! llvm-svn: 57387 | ||||
| * | update win32 project file, patch provided by OvermindDL1 on llvmdev. | Chris Lattner | 2008-10-11 | 1 | -0/+12 |
| | | | | | llvm-svn: 57386 | ||||
| * | Change CALLSEQ_BEGIN and CALLSEQ_END to take TargetConstant's as | Chris Lattner | 2008-10-11 | 19 | -70/+74 |
| | | | | | | | | parameters instead of raw Constants. This prevents the constants from being selected by the isel pass, fixing PR2735. llvm-svn: 57385 | ||||
| * | rearrange some code. | Chris Lattner | 2008-10-11 | 1 | -6/+6 |
| | | | | | llvm-svn: 57384 | ||||
| * | random cleanup | Chris Lattner | 2008-10-11 | 1 | -2/+1 |
| | | | | | llvm-svn: 57383 | ||||
| * | Add API changes which affected me to release notes: | Daniel Dunbar | 2008-10-11 | 1 | -0/+5 |
| | | | | | | | | - DbgStopPointInst - Attributes (needs filling in) llvm-svn: 57382 | ||||
| * | Fix comment typo. | Duncan Sands | 2008-10-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 57381 | ||||
| * | Add ability to override segment (mostly for code emitter purposes). | Anton Korobeynikov | 2008-10-11 | 4 | -1/+23 |
| | | | | | llvm-svn: 57380 | ||||
| * | Add GCC 4.1.2 from Debian to known bad GCC list. | Daniel Dunbar | 2008-10-11 | 1 | -0/+4 |
| | | | | | llvm-svn: 57379 | ||||
| * | Note EH stuff for x86-64/linux | Anton Korobeynikov | 2008-10-11 | 1 | -3/+3 |
| | | | | | llvm-svn: 57378 | ||||
| * | We do support PIC on x86-64/linux | Anton Korobeynikov | 2008-10-11 | 1 | -2/+0 |
| | | | | | llvm-svn: 57377 | ||||
| * | Strip out 2.3 info, make space for 2.4 info. I'd appreciate it if | Chris Lattner | 2008-10-11 | 1 | -274/+40 |
| | | | | | | | | various component owners could look through and update their areas in the known-problems section. llvm-svn: 57376 | ||||
| * | Unbreak DbgStopPointInst::getFileName(). | Daniel Dunbar | 2008-10-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 57373 | ||||
| * | simplify comparison | Chris Lattner | 2008-10-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 57371 | ||||
| * | Fix SSE4.1 roundss, roundsd. While the instructions have | Dale Johannesen | 2008-10-10 | 2 | -40/+54 |
| | | | | | | | | | the same pattern as roundpd/roundps, the Intel compiler builtins do not: rounds* has an extra operand. Fixes gcc.target/i386/sse4_1-rounds[sd]-[1234].c llvm-svn: 57370 | ||||
| * | Check loop exit predicate properly while eliminating one iteration loop. | Devang Patel | 2008-10-10 | 2 | -13/+81 |
| | | | | | | | This patch fixes PR 2869 llvm-svn: 57369 | ||||
| * | Fix a thinko and unbreak sparc default CC | Anton Korobeynikov | 2008-10-10 | 1 | -2/+2 |
| | | | | | llvm-svn: 57368 | ||||
| * | Remove some overzealous checks that were rejecting | Dale Johannesen | 2008-10-10 | 1 | -12/+8 |
| | | | | | | | | valid comments in inline assembly. gcc.target/i386/20011009-1.c llvm-svn: 57365 | ||||
| * | Extend set of return registers on sparc until someone will implement MRV ↵ | Anton Korobeynikov | 2008-10-10 | 1 | -3/+3 |
| | | | | | | | support there. At least, this will allow libgcc compile, however we are not ABI-compatible with stuff compiled with native gcc. llvm-svn: 57364 | ||||
| * | Ignore extra 'r' modifier for now | Anton Korobeynikov | 2008-10-10 | 1 | -2/+9 |
| | | | | | llvm-svn: 57363 | ||||
| * | Use expand for smul_lohi for now | Anton Korobeynikov | 2008-10-10 | 1 | -0/+1 |
| | | | | | llvm-svn: 57362 | ||||

