Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow widening of extract subvector | Mon P Wang | 2009-10-16 | 2 | -0/+8 |
| | | | | llvm-svn: 84279 | ||||
* | Factor out routines to encode/decode DeclaratorInfos and move them into the | John McCall | 2009-10-16 | 6 | -153/+170 |
| | | | | | | core PCH reader/writer implementation files. llvm-svn: 84278 | ||||
* | Add an accessor to extra the type directly from a DeclaratorInfo | John McCall | 2009-10-16 | 1 | -0/+3 |
| | | | | | | without an opaque call. llvm-svn: 84277 | ||||
* | Do not emit name entry for a pointer type. | Devang Patel | 2009-10-16 | 1 | -1/+1 |
| | | | | llvm-svn: 84276 | ||||
* | Make CIndex and c-index-test a little bit more robust. The only | Douglas Gregor | 2009-10-16 | 3 | -5/+19 |
| | | | | | | | | substantive change is that clang_getCursorSource() now returns the file in which a macro was instantiated when the cursor points into a macro instantiation, rather than crashing. llvm-svn: 84275 | ||||
* | Change createPostRAScheduler so it can be turned off at llc -O1. | Evan Cheng | 2009-10-16 | 6 | -14/+31 |
| | | | | llvm-svn: 84273 | ||||
* | Add a CodeGenOpt::Less level to match -O1. It'll be used by clients which do ↵ | Evan Cheng | 2009-10-16 | 3 | -5/+6 |
| | | | | | | not want post-regalloc scheduling. llvm-svn: 84272 | ||||
* | Move zext and sext casts fed by loads into the same block as the | Dan Gohman | 2009-10-16 | 3 | -3/+63 |
| | | | | | | | load, to help SelectionDAG fold them into the loads, unless conditions are unfavorable. llvm-svn: 84271 | ||||
* | Fix static analyzer crash due to recently add symbolic-value constant ↵ | Ted Kremenek | 2009-10-16 | 2 | -1/+21 |
| | | | | | | | | | folding. The issue was falsely converting the constant value of the LHS of a '<<'/'>>' operation to the same APSInt value of the RHS. llvm-svn: 84269 | ||||
* | Provide 'static' version of BinaryOperator::isShiftOp(). | Ted Kremenek | 2009-10-16 | 1 | -1/+2 |
| | | | | llvm-svn: 84268 | ||||
* | Keep track of whether declararions were loaded from a precompiled | Douglas Gregor | 2009-10-16 | 10 | -23/+129 |
| | | | | | | | | | | header or not via a new "PCHLevel" field in Decl. We currently use this information to help CIndex filter out declarations that came from a precompiled header (rather than from an AST file). Further down the road, it can be used to help implement multi-level precompiled headers. llvm-svn: 84267 | ||||
* | dynamic linker arg is incorrectly invoking gnu ld arg syntax instead of svr4 ↵ | Edward O'Callaghan | 2009-10-16 | 1 | -1/+1 |
| | | | | | | ld syntax in AuroraUX toolchain. llvm-svn: 84266 | ||||
* | Implement derived-to-base AST/code gen. There is a | Fariborz Jahanian | 2009-10-16 | 4 | -9/+111 |
| | | | | | | | FIXME in CGCXX.cpp that I would like Anders to take a look at. llvm-svn: 84265 | ||||
* | Parse PHI instruction with attached metadata. | Devang Patel | 2009-10-16 | 2 | -0/+19 |
| | | | | llvm-svn: 84264 | ||||
* | Add support for a chain of stat caches in the FileManager, rather than | Douglas Gregor | 2009-10-16 | 11 | -37/+126 |
| | | | | | | | | | only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when including another PCH file; in the future, the chain of stat caches will likely be useful with multiple levels of PCH files. llvm-svn: 84263 | ||||
* | If there is not any llvm instruction associated with each lexical scope ↵ | Devang Patel | 2009-10-16 | 2 | -2/+43 |
| | | | | | | encoded in debug info then create such scope on demand for variable info. llvm-svn: 84262 | ||||
* | Invert isSafeToGetMallocArraySize check because we return NULL when we don't ↵ | Victor Hernandez | 2009-10-16 | 1 | -1/+1 |
| | | | | | | | | know the size. Thanks to Duncan Sands for noticing this bug. llvm-svn: 84261 | ||||
* | Invert isSafeToGetMallocArraySize check because we return NULL when we don't ↵ | Victor Hernandez | 2009-10-16 | 1 | -0/+30 |
| | | | | | | | | know the size. Thanks to Duncan Sands for noticing this bug. llvm-svn: 84260 | ||||
* | Implement PR4407 - missing warnings on case value overflow, | Chris Lattner | 2009-10-16 | 2 | -2/+34 |
| | | | | | | patch by Zhanyong Wan! llvm-svn: 84259 | ||||
* | Update from Cristina, llvm-gcc doesn't build on the SPARC version of solaris | Chris Lattner | 2009-10-16 | 1 | -1/+1 |
| | | | | | | at the moment. llvm-svn: 84258 | ||||
* | Force triple in tests. | Daniel Dunbar | 2009-10-16 | 2 | -2/+2 |
| | | | | llvm-svn: 84257 | ||||
* | Strip trailing white space. | Duncan Sands | 2009-10-16 | 2 | -43/+41 |
| | | | | llvm-svn: 84256 | ||||
* | ignore 'using' directive in CodeGenFunction::EmitDecl(). this fixes PR5085 | Nuno Lopes | 2009-10-16 | 1 | -0/+1 |
| | | | | llvm-svn: 84255 | ||||
* | fix -ansi in c++: it means -std=c++98 | Nuno Lopes | 2009-10-16 | 1 | -1/+4 |
| | | | | llvm-svn: 84254 | ||||
* | Check that GVN performs this transform even if the calls | Duncan Sands | 2009-10-16 | 1 | -14/+14 |
| | | | | | | | themselves are not marked readonly, but only the called functions. llvm-svn: 84253 | ||||
* | Update CMake file. | Benjamin Kramer | 2009-10-16 | 1 | -0/+1 |
| | | | | llvm-svn: 84252 | ||||
* | Cleaned up some code. No functionality change. | Sanjiv Gupta | 2009-10-16 | 4 | -67/+52 |
| | | | | llvm-svn: 84251 | ||||
* | I am no spelling bee. | Evan Cheng | 2009-10-16 | 1 | -1/+1 |
| | | | | llvm-svn: 84250 | ||||
* | Enable post-alloc scheduling for all ARM variants except for Thumb1. | Evan Cheng | 2009-10-16 | 2 | -8/+10 |
| | | | | llvm-svn: 84249 | ||||
* | If post-alloc scheduler is not enabled, it should return false, not true. | Evan Cheng | 2009-10-16 | 1 | -3/+3 |
| | | | | llvm-svn: 84248 | ||||
* | Indent code. | Zhongxing Xu | 2009-10-16 | 1 | -1/+1 |
| | | | | llvm-svn: 84247 | ||||
* | Add comment. | Evan Cheng | 2009-10-16 | 1 | -0/+2 |
| | | | | llvm-svn: 84246 | ||||
* | Add CK_VectorSplat and use it for casting non-pointer scalars to ExtVectors. | Anders Carlsson | 2009-10-16 | 4 | -11/+28 |
| | | | | llvm-svn: 84245 | ||||
* | 80 column violation. | Evan Cheng | 2009-10-16 | 1 | -1/+2 |
| | | | | llvm-svn: 84244 | ||||
* | Fix more NEON instruction encodings. | Bob Wilson | 2009-10-16 | 1 | -2/+2 |
| | | | | | | Patch by Johnny Chen. llvm-svn: 84243 | ||||
* | Make CheckVectorCast return a CastKind. Reduce nesting of if statements in ↵ | Anders Carlsson | 2009-10-16 | 2 | -20/+33 |
| | | | | | | CheckCastTypes. llvm-svn: 84242 | ||||
* | Add a ToVoid cast kind and start using it. | Anders Carlsson | 2009-10-16 | 3 | -2/+11 |
| | | | | llvm-svn: 84241 | ||||
* | increase helpfulness of assert message. | Chris Lattner | 2009-10-16 | 1 | -1/+6 |
| | | | | llvm-svn: 84240 | ||||
* | Add half precision floating point support (float16) to APFloat, | Chris Lattner | 2009-10-16 | 2 | -1/+72 |
| | | | | | | patch by Peter Johnson! (PR5195) llvm-svn: 84239 | ||||
* | add haiku support, patch by Paul Davey! | Chris Lattner | 2009-10-16 | 2 | -1/+5 |
| | | | | llvm-svn: 84238 | ||||
* | Builtin types are subsitutable if they are qualified. Fixes PR5196. | Anders Carlsson | 2009-10-16 | 2 | -1/+6 |
| | | | | llvm-svn: 84237 | ||||
* | MC: Set symbol values in MachO MCStreamer. | Daniel Dunbar | 2009-10-16 | 1 | -1/+3 |
| | | | | llvm-svn: 84236 | ||||
* | Minor formatting tweaks. | Daniel Dunbar | 2009-10-16 | 3 | -37/+35 |
| | | | | llvm-svn: 84235 | ||||
* | MC: Switch assembler API to using MCExpr instead of MCValue. | Daniel Dunbar | 2009-10-16 | 3 | -46/+54 |
| | | | | llvm-svn: 84234 | ||||
* | MC: Remove unneeded context argument to MCExpr::Evaluate*. | Daniel Dunbar | 2009-10-16 | 4 | -12/+11 |
| | | | | llvm-svn: 84233 | ||||
* | MC: Tweak variable assignment diagnostics, and make reassignment of non-absolute | Daniel Dunbar | 2009-10-16 | 3 | -7/+36 |
| | | | | | | variables and symbols invalid. llvm-svn: 84232 | ||||
* | The result type of logical || and && is bool in C++. Fixes PR5206. | Anders Carlsson | 2009-10-16 | 2 | -3/+22 |
| | | | | llvm-svn: 84231 | ||||
* | MC: When parsing a variable reference, substitute absolute variables immediately | Daniel Dunbar | 2009-10-16 | 4 | -14/+43 |
| | | | | | | since they are allowed to be redefined. llvm-svn: 84230 | ||||
* | MC: Move assembler variable values from MCContext to MCSymbol. | Daniel Dunbar | 2009-10-16 | 3 | -32/+33 |
| | | | | llvm-svn: 84229 | ||||
* | MC: Switch MCContext value table to storing MCExprs. | Daniel Dunbar | 2009-10-16 | 3 | -32/+22 |
| | | | | llvm-svn: 84228 |