| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move 'include/Checkers/PathSensitive/Checkers' directory to 'include/Checkers'. | Ted Kremenek | 2010-01-26 | 3 | -2/+2 |
| | | | | | llvm-svn: 94608 | ||||
| * | Patch to add 'volatile' to first argument of all | Fariborz Jahanian | 2010-01-26 | 2 | -10/+14 |
| | | | | | | | | | sync compare_and_swap to match them with gcc. It also fixes a few incorrect argument defitions. (fixes radar 7540291). llvm-svn: 94607 | ||||
| * | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 1 | -0/+6 |
| | | | | | | | to the declaring class from the nearest virtual base class. WIP. llvm-svn: 94606 | ||||
| * | call emitconstantpool and emitjumptable like other targets. | Chris Lattner | 2010-01-26 | 1 | -0/+4 |
| | | | | | llvm-svn: 94601 | ||||
| * | Before existing NamedMDNode entry in the symbol table, remove any existing ↵ | Devang Patel | 2010-01-26 | 1 | -2/+8 |
| | | | | | | | entry with the same name. llvm-svn: 94600 | ||||
| * | Bring some semblance of order into Decl.h and Decl.cpp. While at it, fix ↵ | Sebastian Redl | 2010-01-26 | 2 | -342/+352 |
| | | | | | | | some typo comments and remove an unused and unimplemented function prototype. No functionality change. llvm-svn: 94599 | ||||
| * | emit jump table an alias ".set" directives through MCStreamer as | Chris Lattner | 2010-01-26 | 4 | -6/+13 |
| | | | | | | | | | | | | | assignments. .set x, a-b is the same as: x = a-b llvm-svn: 94596 | ||||
| * | fix CastInst::castIsValid to reject aggregate types, fixing PR6153: | Chris Lattner | 2010-01-26 | 2 | -31/+20 |
| | | | | | | | | | llvm-as: t.ll:1:25: error: invalid cast opcode for cast from '[4 x i8]' to '[1 x i32]' @x = constant [1 x i32] bitcast ([4 x i8] c"abcd" to [1 x i32]) ^ llvm-svn: 94595 | ||||
| * | Remve unnecessary include. | Devang Patel | 2010-01-26 | 1 | -1/+0 |
| | | | | | llvm-svn: 94594 | ||||
| * | Use AssertingVH, just to be paranoid. | Devang Patel | 2010-01-26 | 1 | -2/+4 |
| | | | | | llvm-svn: 94593 | ||||
| * | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 2 | -9/+26 |
| | | | | | | | | | to the declaring class from the nearest virtual base class. WIP. This fixes 40% of all the problems remaining in one of my testcases. llvm-svn: 94592 | ||||
| * | Revert test polarity to match comment and desired outcome. Remove undeserved ↵ | Jakob Stoklund Olesen | 2010-01-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | bonus. A GEP with all constant indices is already considered free by analyzeBasicBlock(), so don't give it an extra bonus in CountCodeReductionForAlloca(). This patch should remove a small positive bias toward inlining functions with variable-index GEPs, and remove a smaller negative bias from functions with all-constant index GEPs. llvm-svn: 94591 | ||||
| * | Remove dead code. | Jakob Stoklund Olesen | 2010-01-26 | 1 | -3/+0 |
| | | | | | | | | | | | Functions containing indirectbr are marked NeverInline by analyzeBasicBlock(), so there is no point in giving indirectbr special treatment in CountCodeReductionForConstant. It is never called. No functional change intended. llvm-svn: 94590 | ||||
| * | Skip calculation of ArgumentWeights if it will never be used. | Jakob Stoklund Olesen | 2010-01-26 | 1 | -0/+6 |
| | | | | | | | | | Save a few bytes by allocating the correct size vector. No functional change intended. llvm-svn: 94589 | ||||
| * | Emit DW_AT_containing_type attribute for a class if containing type is known. | Devang Patel | 2010-01-26 | 1 | -0/+5 |
| | | | | | llvm-svn: 94587 | ||||
| * | Add extra element to composite type. This new element will be used to record ↵ | Devang Patel | 2010-01-26 | 2 | -4/+10 |
| | | | | | | | c++ class that holds current class's vtable. llvm-svn: 94586 | ||||
| * | Eliminate SetDirective, and replace it with HasSetDirective. | Chris Lattner | 2010-01-26 | 20 | -29/+19 |
| | | | | | | | | | | | | Default HasSetDirective to true, since most targets have it. The targets that claim to not have it probably do, or it is spelled differently. These include Blackfin, Mips, Alpha, and PIC16. All of these except pic16 are normal ELF targets, so they almost certainly have it. llvm-svn: 94585 | ||||
| * | Added assert to the rewrite. | Fariborz Jahanian | 2010-01-26 | 1 | -0/+1 |
| | | | | | llvm-svn: 94584 | ||||
| * | Delete dead code. | Evan Cheng | 2010-01-26 | 2 | -7/+0 |
| | | | | | llvm-svn: 94583 | ||||
| * | Emit .comm alignment in bytes but .align in powers of 2 for ARM ELF. | Rafael Espindola | 2010-01-26 | 8 | -9/+21 |
| | | | | | | | Original patch by Sandeep Patel and updated by me. llvm-svn: 94582 | ||||
| * | eliminate MCAsmInfo::NeedsSet: we now just use .set on any platform | Chris Lattner | 2010-01-26 | 7 | -26/+6 |
| | | | | | | | that has it. llvm-svn: 94581 | ||||
| * | don't set to the default value. | Chris Lattner | 2010-01-26 | 1 | -1/+0 |
| | | | | | llvm-svn: 94580 | ||||
| * | Convert one last size variable to CharUnits (follow-on to 94577). | Ken Dyck | 2010-01-26 | 1 | -2/+3 |
| | | | | | llvm-svn: 94579 | ||||
| * | test commit. | Junjie Gu | 2010-01-26 | 1 | -0/+1 |
| | | | | | llvm-svn: 94578 | ||||
| * | Use CharUnits for sizes, offsets, alignments, and padding amounts for values | Ken Dyck | 2010-01-26 | 1 | -35/+39 |
| | | | | | | | that are in character units. llvm-svn: 94577 | ||||
| * | Fix typo in comment | Douglas Gregor | 2010-01-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 94576 | ||||
| * | Implement 'clang_getInclusions()' in CIndex. This API allows clients to ↵ | Ted Kremenek | 2010-01-26 | 9 | -1/+151 |
| | | | | | | | walk the set of files included in a translation unit via the C API. llvm-svn: 94575 | ||||
| * | -disable-output is no longer needed with -analyze. | Dan Gohman | 2010-01-26 | 63 | -66/+66 |
| | | | | | llvm-svn: 94574 | ||||
| * | Eliminate clang_getInstantiationLocationOffset(), and instead add an | Douglas Gregor | 2010-01-26 | 4 | -71/+33 |
| | | | | | | | offset parameter to clang_getInstantiationLocation(). llvm-svn: 94573 | ||||
| * | Make the unsigned-range code more consistent with the signed-range code, | Dan Gohman | 2010-01-26 | 1 | -25/+29 |
| | | | | | | | and clean up some loose ends. llvm-svn: 94572 | ||||
| * | Use CharUnits for alignments in character units. | Ken Dyck | 2010-01-26 | 3 | -14/+17 |
| | | | | | llvm-svn: 94571 | ||||
| * | Code refactoring, no functionality change. | Evan Cheng | 2010-01-26 | 3 | -28/+27 |
| | | | | | llvm-svn: 94570 | ||||
| * | Revert 94484. Re-disable unittests that need RTTI. | Bob Wilson | 2010-01-26 | 4 | -5/+22 |
| | | | | | llvm-svn: 94569 | ||||
| * | Switch AllocaDbgDeclares to SmallVector and don't leak DIFactory | Victor Hernandez | 2010-01-26 | 1 | -1/+4 |
| | | | | | llvm-svn: 94567 | ||||
| * | Fix two redefinitions in test cases that weren't diagnosed yet, but will be ↵ | Sebastian Redl | 2010-01-26 | 2 | -2/+2 |
| | | | | | | | soon. llvm-svn: 94565 | ||||
| * | Use CharUnits for alignment of UTF16 string in GetAddrOfConstantCFString(). | Ken Dyck | 2010-01-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 94564 | ||||
| * | Use CharUnits for alignment in EmitNullInitializationLValue(). | Ken Dyck | 2010-01-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 94563 | ||||
| * | Fix a typo in a comment that Duncan noticed. | Dan Gohman | 2010-01-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 94562 | ||||
| * | Implement clang_annotateTokens(), which associates cursors with each | Douglas Gregor | 2010-01-26 | 4 | -21/+110 |
| | | | | | | | | of the tokens within a raw token stream. This does not even attempt to handle macros yet. llvm-svn: 94561 | ||||
| * | Remove SIL, DIL, and BPL from the GR8_NOREX allocation order also. | Dan Gohman | 2010-01-26 | 1 | -11/+5 |
| | | | | | llvm-svn: 94560 | ||||
| * | Refix rewriting of an ivar access when it is | Fariborz Jahanian | 2010-01-26 | 2 | -15/+2 |
| | | | | | | | type-cast to its sub-class (radar 7575882). llvm-svn: 94559 | ||||
| * | SIL, DIL, BPL, and SPL require a REX prefix. | Dan Gohman | 2010-01-26 | 1 | -6/+3 |
| | | | | | llvm-svn: 94558 | ||||
| * | Add 'PostVisitTU' callback hook to 'perform_test_load()' to allow a special ↵ | Ted Kremenek | 2010-01-26 | 1 | -9/+21 |
| | | | | | | | callback after the translation unit has been loaded (and streamed). llvm-svn: 94557 | ||||
| * | Allow the 'visitor' argument to 'perform_test_load()' to be NULL. The | Ted Kremenek | 2010-01-26 | 1 | -18/+22 |
| | | | | | | | | utility of this change will be made clearer in a subsequent patch when perform_test_load()' does more than stream the AST. llvm-svn: 94556 | ||||
| * | Use the right definition when emitting a global variable. Fixes PR5564. | Anders Carlsson | 2010-01-26 | 3 | -3/+20 |
| | | | | | llvm-svn: 94555 | ||||
| * | Change getUnique to return a GlobalDecl. Fixes PR6147. | Anders Carlsson | 2010-01-26 | 1 | -8/+20 |
| | | | | | llvm-svn: 94554 | ||||
| * | Correct cut-and-paste error in doxygen comment for newly introduced | Ken Dyck | 2010-01-26 | 2 | -2/+2 |
| | | | | | | | getTypeAlignInChars(). llvm-svn: 94553 | ||||
| * | Add getTypeAlignInChars() for use in code that works in alignments in character | Ken Dyck | 2010-01-26 | 2 | -0/+14 |
| | | | | | | | units. llvm-svn: 94552 | ||||
| * | Introduce a CIndex API for lexing the raw tokens within a given source | Douglas Gregor | 2010-01-26 | 8 | -32/+540 |
| | | | | | | | range. The token-annotation function does nothing, yet. llvm-svn: 94551 | ||||
| * | Replace inheritance of RegionRawOffset from std::pair with two private member | Ken Dyck | 2010-01-26 | 1 | -4/+7 |
| | | | | | | | variables to improve readability and encapsulation. llvm-svn: 94550 | ||||

