Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | More comments from Chris. | Anders Carlsson | 2008-02-16 | 1 | -12/+12 | |
| | | | | llvm-svn: 47210 | |||||
* | Refactor some code; check if commuteInstruction is able to commute the ↵ | Evan Cheng | 2008-02-16 | 2 | -17/+34 | |
| | | | | | | instruction. llvm-svn: 47208 | |||||
* | llvm.memory.barrier, and impl for x86 and alpha | Andrew Lenharth | 2008-02-16 | 17 | -1/+256 | |
| | | | | llvm-svn: 47204 | |||||
* | Fix CheckEndOfDirective to diagnose lines that contain macros that expand to | Chris Lattner | 2008-02-16 | 3 | -4/+11 | |
| | | | | | | | zero tokens. This fixes PR2045, thanks to Neil for finding another incredibly subtle corner case :) llvm-svn: 47203 | |||||
* | Make sizeof and __alignof work correctly with packed structs. | Anders Carlsson | 2008-02-16 | 4 | -11/+53 | |
| | | | | llvm-svn: 47202 | |||||
* | Further cleanup. Moved definitions for SymbolManager and ValueManager into | Ted Kremenek | 2008-02-16 | 7 | -432/+443 | |
| | | | | | | their own [.cpp;.h] files. llvm-svn: 47201 | |||||
* | Fix typos. | Bill Wendling | 2008-02-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 47200 | |||||
* | Fix typo | Anders Carlsson | 2008-02-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 47199 | |||||
* | Rename CountMemOperands to ComputeMemOperandsEnd to reflect what | Dan Gohman | 2008-02-16 | 2 | -17/+15 | |
| | | | | | | | it actually does. Simplify CountOperands a little by reusing ComputeMemOperandsEnd. And reword some comments for both. llvm-svn: 47198 | |||||
* | Handle packed attribute correctly | Anders Carlsson | 2008-02-16 | 3 | -5/+41 | |
| | | | | llvm-svn: 47197 | |||||
* | Revert 47177, which was incorrect. | Dan Gohman | 2008-02-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 47196 | |||||
* | Address comments from Chris. | Anders Carlsson | 2008-02-16 | 2 | -3/+3 | |
| | | | | llvm-svn: 47195 | |||||
* | upgrade this test, which wasn't testing the right thing since llvm-upgrade ↵ | Chris Lattner | 2008-02-15 | 1 | -7/+7 | |
| | | | | | | came around. llvm-svn: 47194 | |||||
* | Store attributes in a global hash map instead. | Anders Carlsson | 2008-02-15 | 2 | -1/+11 | |
| | | | | llvm-svn: 47193 | |||||
* | rename llx -> ll | Chris Lattner | 2008-02-15 | 1 | -0/+0 | |
| | | | | llvm-svn: 47192 | |||||
* | Store attributes in a global hash map instead. | Anders Carlsson | 2008-02-15 | 3 | -15/+50 | |
| | | | | llvm-svn: 47191 | |||||
* | Refactored code for transfer functions for binary operators involving two ↵ | Ted Kremenek | 2008-02-15 | 5 | -33/+38 | |
| | | | | | | | | | | | | LValues. Fixed bug in transfer functions for sizeof(*); we were incorrectly evaluating to a value of the wrong type. Fixed bug in transfer functions for compound assignments where we did not properly handle assignments involving dereferences of symbolic values. llvm-svn: 47190 | |||||
* | This test is not interesting. | Evan Cheng | 2008-02-15 | 1 | -21/+0 | |
| | | | | llvm-svn: 47189 | |||||
* | Make tblgen a little smarter about constants smaller than i32. Currently, | Scott Michel | 2008-02-15 | 4 | -8/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | tblgen will complain if a sign-extended constant does not fit into a data type smaller than i32, e.g., i16. This causes a problem when certain hex constants are used, such as 0xff for byte masks or immediate xor values. tblgen will try the sign-extended value first and, if the sign extended value would overflow, it tries to see if the unsigned value will fit. Consequently, a software developer can now safely incant: (XORHIr16 R16C:$rA, 0xffff) which is somewhat clearer and more informative than incanting: (XORHIr16 R16C:$rA, (i16 -1)) even if the two are bitwise equivalent. Tblgen also outputs the 64-bit unsigned constant in the generated ISel code when getTargetConstant() is invoked. llvm-svn: 47188 | |||||
* | simplify this. | Chris Lattner | 2008-02-15 | 1 | -3/+1 | |
| | | | | llvm-svn: 47187 | |||||
* | Set Ubuntu 7.10 c++ include path. | Lauro Ramos Venancio | 2008-02-15 | 1 | -0/+7 | |
| | | | | llvm-svn: 47186 | |||||
* | Add c++ to "inferlanguage" | Lauro Ramos Venancio | 2008-02-15 | 1 | -0/+2 | |
| | | | | llvm-svn: 47185 | |||||
* | Added transfer function support for conditional branches with a NULL ↵ | Ted Kremenek | 2008-02-15 | 1 | -5/+30 | |
| | | | | | | | | condition (e.g., "for(;;)"). Fixed bug in transfer function for compound assignment operators when both operands where variables but had a non-pointer type (we fired an assertion). llvm-svn: 47184 | |||||
* | Simplified transfer function logic for ++/-- operators. | Ted Kremenek | 2008-02-15 | 8 | -81/+90 | |
| | | | | | | | | | Added more boilerplate transfer function support for pointer arithmetic. Added more pretty-printing support for symbolic constraints. Added transfer function support for handling enum values. Minor pointer types cleanup in ExplodedGraphImpl. llvm-svn: 47183 | |||||
* | Modify test to expect improved code. | Dale Johannesen | 2008-02-15 | 1 | -4/+4 | |
| | | | | llvm-svn: 47182 | |||||
* | Added predicate function "UnaryOperator::isIncrementOp()". | Ted Kremenek | 2008-02-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 47181 | |||||
* | The copy instruction being coalesced will be removed, it is not a kill. | Evan Cheng | 2008-02-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 47179 | |||||
* | Fixed bug in FoldingSetIteratorImpl where we did not correctly check if | Ted Kremenek | 2008-02-15 | 1 | -2/+4 | |
| | | | | | | | we had reached the "fake bucket" after the last bucket, allowing the iterator in some cases to run off the end of the hashtable. llvm-svn: 47178 | |||||
* | Skip over the defs and start at the uses when looking for operands | Dan Gohman | 2008-02-15 | 1 | -1/+1 | |
| | | | | | | with the TIED_TO attribute. llvm-svn: 47177 | |||||
* | Use the TargetInstrDescr to determine the number of operands | Dan Gohman | 2008-02-15 | 1 | -3/+3 | |
| | | | | | | | that should be checked for the TIED_TO attribute instead of using CountOperands. llvm-svn: 47176 | |||||
* | Don't call non-existent method... sorry about the spam; the fix seemed | Eli Friedman | 2008-02-15 | 1 | -1/+1 | |
| | | | | | | trivial, but I forgot that method doesn't exist yet. llvm-svn: 47175 | |||||
* | Get rid of unused variable warning. | Eli Friedman | 2008-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 47174 | |||||
* | Fix this test on linux, which returns S242 | Duncan Sands | 2008-02-15 | 1 | -1/+2 | |
| | | | | | | using sret. llvm-svn: 47173 | |||||
* | Teach LegalizeTypes how to promote the flags | Duncan Sands | 2008-02-15 | 2 | -7/+34 | |
| | | | | | | | | | in a ret node. These are created as i32 constants but on some platforms i32 is not legal. This fixes 26 "make check" failures, for example Alpha/2005-07-12-TwoMallocCalls.ll. llvm-svn: 47172 | |||||
* | Handle \n's in value names for more targets. The asm printers | Chris Lattner | 2008-02-15 | 3 | -13/+40 | |
| | | | | | | really really really need refactoring :( llvm-svn: 47171 | |||||
* | If the llvm name contains an unprintable character, don't print it in | Chris Lattner | 2008-02-15 | 1 | -3/+15 | |
| | | | | | | | | | | | the global comment. This prevents printing things like: ... # foo bar when the name is "foo\nbar". llvm-svn: 47170 | |||||
* | targets that support quotes for mangled names still need to escape newlines | Chris Lattner | 2008-02-15 | 1 | -0/+2 | |
| | | | | | | when they occur in the name, just like " is escaped. llvm-svn: 47169 | |||||
* | Cosmetics. | Dale Johannesen | 2008-02-15 | 1 | -6/+3 | |
| | | | | llvm-svn: 47168 | |||||
* | - Removing the infamous r2rMap_ and rep() method. Now the coalescer will update | Evan Cheng | 2008-02-15 | 6 | -402/+327 | |
| | | | | | | | register defs and uses after each successful coalescing. - Also removed a number of hacks and fixed some subtle kill information bugs. llvm-svn: 47167 | |||||
* | Added CommuteChangesDestination(). This returns true if commuting the specified | Evan Cheng | 2008-02-15 | 2 | -1/+31 | |
| | | | | | | machine instr will change its definition register. llvm-svn: 47166 | |||||
* | Split out incomplete arrays from VariableArrayType into | Eli Friedman | 2008-02-15 | 8 | -100/+163 | |
| | | | | | | | | | | IncompleteArrayType. This should make code dealing with both incomplete and variable length arrays much more readable, plus it allows properly making the distinction between isVariableArrayType() and isVariablyModifiedType(). The patch is a little big, but it's strightforward. so I don't think there should be any issues. llvm-svn: 47165 | |||||
* | Remove unnecessary #include. | Evan Cheng | 2008-02-15 | 1 | -1/+0 | |
| | | | | llvm-svn: 47164 | |||||
* | Use StoreSDNode::getValue instead of calling getOperand directly | Dan Gohman | 2008-02-15 | 1 | -4/+4 | |
| | | | | | | with a hard-coded operand number. llvm-svn: 47163 | |||||
* | Remove warning about 64-bit code on processor | Dale Johannesen | 2008-02-15 | 2 | -10/+0 | |
| | | | | | | that doesn't support it. Per Chris. llvm-svn: 47162 | |||||
* | It is not safe to call fork in PrintStackTrace. Sometimes it freezes the ↵ | Lauro Ramos Venancio | 2008-02-15 | 1 | -44/+2 | |
| | | | | | | program. llvm-svn: 47161 | |||||
* | Fix PR2041: restrict is not a keyword in c90. | Chris Lattner | 2008-02-15 | 2 | -1/+4 | |
| | | | | llvm-svn: 47160 | |||||
* | Part of clearing up the whole VariableArrayType + incomplete arrays | Eli Friedman | 2008-02-15 | 1 | -20/+9 | |
| | | | | | | thing. Some cleanups that can be done independently of the fix. llvm-svn: 47158 | |||||
* | Remove unnecessary references to VariableArrayType from Analysis. | Eli Friedman | 2008-02-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 47157 | |||||
* | Remove useless parameter from isConstantSizeType. | Eli Friedman | 2008-02-15 | 5 | -11/+11 | |
| | | | | llvm-svn: 47156 | |||||
* | Get rid of AttributeList in the AST and use the new Attr class instead | Anders Carlsson | 2008-02-15 | 4 | -22/+30 | |
| | | | | llvm-svn: 47155 |