| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Silence compiler warnings. | Jakob Stoklund Olesen | 2011-06-04 | 2 | -6/+10 |
| | | | | | llvm-svn: 132624 | ||||
| * | These tests require particular registered targets. Declared as such. | Galina Kistanova | 2011-06-04 | 4 | -0/+4 |
| | | | | | llvm-svn: 132623 | ||||
| * | Reimplement r132572 on top of a FoldingSet, thus hopefully solving both | Alexis Hunt | 2011-06-04 | 3 | -6/+105 |
| | | | | | | | the self-host failures and Chandler's concerns. llvm-svn: 132622 | ||||
| * | Teach TableGen to evaluate DAG expressions as set operations. | Jakob Stoklund Olesen | 2011-06-04 | 5 | -1/+593 |
| | | | | | | | | | | | | | | | | | | A TableGen backend can define how certain classes can be expanded into ordered sets of defs, typically by evaluating a specific field in the record. The SetTheory class can then evaluate DAG expressions that refer to these named sets. A number of standard set and list operations are predefined, and the backend can add more specialized operators if needed. The -print-sets backend is used by SetTheory.td to provide examples. This is intended to simplify how register classes are defined: def GR32_NOSP : RegisterClass<"X86", [i32], 32, (sub GR32, ESP)>; llvm-svn: 132621 | ||||
| * | Fold assert-only-used variable into the assert. | Nick Lewycky | 2011-06-04 | 1 | -2/+1 |
| | | | | | llvm-svn: 132620 | ||||
| * | Remove extraneous "virtual" keyword and non-virtual destructor. Caught by | Nick Lewycky | 2011-06-04 | 1 | -3/+1 |
| | | | | | | | -Wnon-virtual-dtor! llvm-svn: 132619 | ||||
| * | [analyzer] Change an indent-if to an early return. No functionality change. | Jordy Rose | 2011-06-04 | 1 | -39/+39 |
| | | | | | llvm-svn: 132618 | ||||
| * | [analyzer] Don't crash when copying an unknown number of bytes with ↵ | Jordy Rose | 2011-06-04 | 2 | -11/+31 |
| | | | | | | | memcpy(). Also handle all memcpy-family return values in evalCopyCommon(), rather than having some outside and some inside. llvm-svn: 132617 | ||||
| * | Missing include of climits in the new BranchProbability pass. | Andrew Trick | 2011-06-04 | 1 | -0/+1 |
| | | | | | llvm-svn: 132616 | ||||
| * | Created a std::string in the base StopInfo class for the description and | Greg Clayton | 2011-06-04 | 5 | -12/+174 |
| | | | | | | | | cleaned up all base classes that had their own copy. Added a SetDescription accessor to the StopInfo class. llvm-svn: 132615 | ||||
| * | [analyzer] Remove extra assignment that actually lost a few of the assumptions. | Jordy Rose | 2011-06-04 | 1 | -1/+0 |
| | | | | | llvm-svn: 132614 | ||||
| * | New BranchProbabilityInfo analysis. Patch by Jakub Staszak! | Andrew Trick | 2011-06-04 | 5 | -0/+419 |
| | | | | | | | | | | | | BranchProbabilityInfo provides an interface for IR passes to query the likelihood that control follows a CFG edge. This patch provides an initial implementation of static branch predication that will populate BranchProbabilityInfo for branches with no external profile information using very simple heuristics. It currently isn't hooked up to any external profile data, so static prediction does all the work. llvm-svn: 132613 | ||||
| * | Add support for builtin astype: | Tanya Lattner | 2011-06-04 | 21 | -3/+221 |
| | | | | | | | | __builtin_astype(): Used to reinterpreted as another data type of the same size using for both scalar and vector data types. Added test case. llvm-svn: 132612 | ||||
| * | Reapply r131781 (revert r131809), now that some BasicAA shortcomings | Dan Gohman | 2011-06-04 | 3 | -2/+143 |
| | | | | | | | it exposed are fixed. llvm-svn: 132611 | ||||
| * | Rework r132576. | Devang Patel | 2011-06-04 | 2 | -2/+5 |
| | | | | | | | Emit debug info only if there is an insertion point. The debug info should not force an insertion point. Codegen may later on decide to not emit code for some reason, see extensive comment in CodeGenFunction::EmitStmt(), and debug info should not get in the way. llvm-svn: 132610 | ||||
| * | Fix BasicAA's recursion detection so that it doesn't pessimize | Dan Gohman | 2011-06-04 | 3 | -37/+95 |
| | | | | | | | | | | queries in the case of a DAG, where a query reaches a node visited earlier, but it's not on a cycle. This avoids MayAlias results in cases where BasicAA is expected to return MustAlias or PartialAlias in order to protect TBAA. llvm-svn: 132609 | ||||
| * | [analyzer] Fix comment for (still-disabled) evalStrncpy | Jordy Rose | 2011-06-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 132608 | ||||
| * | [analyzer] Fix handling of "copy zero bytes" for memcpy and friends. | Jordy Rose | 2011-06-04 | 2 | -5/+20 |
| | | | | | llvm-svn: 132607 | ||||
| * | Reapply 132424 with fixes. This fixes PR10068. | Stuart Hastings | 2011-06-03 | 8 | -18/+153 |
| | | | | | | | rdar://problem/5993888 llvm-svn: 132606 | ||||
| * | [analyzer] __mempcpy_chk is the same as mempcpy (at least to CStringChecker) | Jordy Rose | 2011-06-03 | 2 | -1/+14 |
| | | | | | llvm-svn: 132605 | ||||
| * | Improvements to abbreviations for PCH which add support for EnumDecl, ↵ | Jonathan D. Turner | 2011-06-03 | 4 | -40/+271 |
| | | | | | | | ObjCIvarDecl, TypedefDecl, VarDecl and FieldDecl and improve support for ParmVarDecl. llvm-svn: 132604 | ||||
| * | Expose @synthesize and @dynamic via their own cursor kinds in | Douglas Gregor | 2011-06-03 | 6 | -8/+26 |
| | | | | | | | libclang. Fixes <rdar://problem/9537904>. llvm-svn: 132603 | ||||
| * | Fix some tests that depend on register allocation. | Jakob Stoklund Olesen | 2011-06-03 | 4 | -12/+12 |
| | | | | | llvm-svn: 132602 | ||||
| * | Blackfin always uses a reserved call frame. | Jakob Stoklund Olesen | 2011-06-03 | 3 | -2/+7 |
| | | | | | | | | Materializing the stack pointer update before a call requires a scratch register that may not be available. llvm-svn: 132601 | ||||
| * | These tests require particular registered targets. Declared as such. | Galina Kistanova | 2011-06-03 | 32 | -0/+33 |
| | | | | | llvm-svn: 132600 | ||||
| * | Make sure we are ok to stop in a thread plan and have no stop reason for | Greg Clayton | 2011-06-03 | 1 | -27/+32 |
| | | | | | | | | the thread we were running on (other thread crashed or had exceptional stop reason). llvm-svn: 132599 | ||||
| * | Another possible bug. Stopgap until we can autogenerate tables and | Eric Christopher | 2011-06-03 | 2 | -6/+11 |
| | | | | | | | | | constraint lengths. Part of rdar://9037836 and rdar://9119939 llvm-svn: 132598 | ||||
| * | Don't codesign with lldb_codesign for non MacOSX SDKs. | Greg Clayton | 2011-06-03 | 1 | -4/+4 |
| | | | | | llvm-svn: 132597 | ||||
| * | Test of commit access. | Jonathan D. Turner | 2011-06-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 132596 | ||||
| * | Add InferiorCallPOSIX.cpp/.h into the xcode project file to fix build error. | Johnny Chen | 2011-06-03 | 1 | -0/+6 |
| | | | | | llvm-svn: 132594 | ||||
| * | Revert r132572 to figure out why it broke selfhost and clean it up as | Alexis Hunt | 2011-06-03 | 3 | -153/+8 |
| | | | | | | | suggested by Chandler. llvm-svn: 132593 | ||||
| * | Testcase for llvm-gcc commit r132591. | Eric Christopher | 2011-06-03 | 1 | -0/+11 |
| | | | | | | | Part of rdar://9037836 and rdar://9119939 llvm-svn: 132592 | ||||
| * | Fix an off by one error. | Eric Christopher | 2011-06-03 | 2 | -2/+10 |
| | | | | | | | Part of rdar://9037836 and rdar://9119939 llvm-svn: 132590 | ||||
| * | Remove testcase. It's problematic for the buildbots. | Bill Wendling | 2011-06-03 | 1 | -93/+0 |
| | | | | | llvm-svn: 132589 | ||||
| * | Fix some order-of-initialisation warnings | Peter Collingbourne | 2011-06-03 | 2 | -6/+6 |
| | | | | | llvm-svn: 132588 | ||||
| * | Implement RegisterContextLinux_x86_64::{Read,Write}AllRegisterValues | Peter Collingbourne | 2011-06-03 | 4 | -1/+118 |
| | | | | | llvm-svn: 132587 | ||||
| * | Move SaveFrameZeroState and RestoreSaveFrameZero implementations to Thread ↵ | Peter Collingbourne | 2011-06-03 | 8 | -88/+29 |
| | | | | | | | base class llvm-svn: 132586 | ||||
| * | Implement ProcessLinux::Do{Allocate,Deallocate}Memory using inferior ↵ | Peter Collingbourne | 2011-06-03 | 2 | -12/+34 |
| | | | | | | | mmap/munmap calls llvm-svn: 132585 | ||||
| * | Move inferior mmap/munmap call code into their own functions in utility lib | Peter Collingbourne | 2011-06-03 | 3 | -154/+241 |
| | | | | | llvm-svn: 132584 | ||||
| * | Disable MCJIT on non-Darwin platforms | Peter Collingbourne | 2011-06-03 | 1 | -1/+4 |
| | | | | | | | | Currently the runtime dynamic linker lacks object file support for anything other than Mach-O. llvm-svn: 132583 | ||||
| * | Scan dynamic symbol table of ELF object files | Peter Collingbourne | 2011-06-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 132582 | ||||
| * | Switch AllocationOrder to using RegisterClassInfo instead of a BitVector | Jakob Stoklund Olesen | 2011-06-03 | 6 | -23/+19 |
| | | | | | | | | | | of reserved registers. Use RegisterClassInfo in RABasic as well. This slightly changes som allocation orders because RegisterClassInfo puts CSR aliases last. llvm-svn: 132581 | ||||
| * | Preserve the original ordering when a CSR has multiple aliases. | Jakob Stoklund Olesen | 2011-06-03 | 1 | -2/+14 |
| | | | | | | | | | Previously, these aliases would be ordered alphabetically. (BH, BL) Print out the computed allocation orders. llvm-svn: 132580 | ||||
| * | When merging MustAlias and PartialAlias, chose PartialAlias instead | Dan Gohman | 2011-06-03 | 2 | -10/+60 |
| | | | | | | | of conservatively choosing MayAlias. llvm-svn: 132579 | ||||
| * | Use IRBuilder, preserve line numbers. | Devang Patel | 2011-06-03 | 1 | -4/+6 |
| | | | | | llvm-svn: 132578 | ||||
| * | noexcept for <vector>. This also includes installing move_if_noexcept() ↵ | Howard Hinnant | 2011-06-03 | 11 | -166/+850 |
| | | | | | | | into vector. llvm-svn: 132577 | ||||
| * | Emit debug info only if there is an insertion point. The debug info should ↵ | Devang Patel | 2011-06-03 | 2 | -16/+10 |
| | | | | | | | not force an insertion point. Codegen may later on decide to not emit code for some reason, see extensive comment in CodeGenFunction::EmitStmt(), and debug info should not get in the way. llvm-svn: 132576 | ||||
| * | Accomodate front-ends which use private instead of internal here. | Bill Wendling | 2011-06-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 132575 | ||||
| * | Bring noexcept for <string> inline with other containers. | Howard Hinnant | 2011-06-03 | 6 | -18/+283 |
| | | | | | llvm-svn: 132573 | ||||
| * | Begin implementing a cache of special member lookups. Currently only | Alexis Hunt | 2011-06-03 | 3 | -8/+153 |
| | | | | | | | | destructors are implemented but other special members are on the way, which is where the real benefits of this will be visible. llvm-svn: 132572 | ||||

