summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Silence compiler warnings.Jakob Stoklund Olesen2011-06-042-6/+10
| | | | llvm-svn: 132624
* These tests require particular registered targets. Declared as such.Galina Kistanova2011-06-044-0/+4
| | | | llvm-svn: 132623
* Reimplement r132572 on top of a FoldingSet, thus hopefully solving bothAlexis Hunt2011-06-043-6/+105
| | | | | | the self-host failures and Chandler's concerns. llvm-svn: 132622
* Teach TableGen to evaluate DAG expressions as set operations.Jakob Stoklund Olesen2011-06-045-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 Lewycky2011-06-041-2/+1
| | | | llvm-svn: 132620
* Remove extraneous "virtual" keyword and non-virtual destructor. Caught byNick Lewycky2011-06-041-3/+1
| | | | | | -Wnon-virtual-dtor! llvm-svn: 132619
* [analyzer] Change an indent-if to an early return. No functionality change.Jordy Rose2011-06-041-39/+39
| | | | llvm-svn: 132618
* [analyzer] Don't crash when copying an unknown number of bytes with ↵Jordy Rose2011-06-042-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 Trick2011-06-041-0/+1
| | | | llvm-svn: 132616
* Created a std::string in the base StopInfo class for the description andGreg Clayton2011-06-045-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 Rose2011-06-041-1/+0
| | | | llvm-svn: 132614
* New BranchProbabilityInfo analysis. Patch by Jakub Staszak!Andrew Trick2011-06-045-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 Lattner2011-06-0421-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 shortcomingsDan Gohman2011-06-043-2/+143
| | | | | | it exposed are fixed. llvm-svn: 132611
* Rework r132576.Devang Patel2011-06-042-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 pessimizeDan Gohman2011-06-043-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) evalStrncpyJordy Rose2011-06-041-1/+1
| | | | llvm-svn: 132608
* [analyzer] Fix handling of "copy zero bytes" for memcpy and friends.Jordy Rose2011-06-042-5/+20
| | | | llvm-svn: 132607
* Reapply 132424 with fixes. This fixes PR10068.Stuart Hastings2011-06-038-18/+153
| | | | | | rdar://problem/5993888 llvm-svn: 132606
* [analyzer] __mempcpy_chk is the same as mempcpy (at least to CStringChecker)Jordy Rose2011-06-032-1/+14
| | | | llvm-svn: 132605
* Improvements to abbreviations for PCH which add support for EnumDecl, ↵Jonathan D. Turner2011-06-034-40/+271
| | | | | | ObjCIvarDecl, TypedefDecl, VarDecl and FieldDecl and improve support for ParmVarDecl. llvm-svn: 132604
* Expose @synthesize and @dynamic via their own cursor kinds inDouglas Gregor2011-06-036-8/+26
| | | | | | libclang. Fixes <rdar://problem/9537904>. llvm-svn: 132603
* Fix some tests that depend on register allocation.Jakob Stoklund Olesen2011-06-034-12/+12
| | | | llvm-svn: 132602
* Blackfin always uses a reserved call frame.Jakob Stoklund Olesen2011-06-033-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 Kistanova2011-06-0332-0/+33
| | | | llvm-svn: 132600
* Make sure we are ok to stop in a thread plan and have no stop reason forGreg Clayton2011-06-031-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 andEric Christopher2011-06-032-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 Clayton2011-06-031-4/+4
| | | | llvm-svn: 132597
* Test of commit access. Jonathan D. Turner2011-06-031-1/+1
| | | | llvm-svn: 132596
* Add InferiorCallPOSIX.cpp/.h into the xcode project file to fix build error.Johnny Chen2011-06-031-0/+6
| | | | llvm-svn: 132594
* Revert r132572 to figure out why it broke selfhost and clean it up asAlexis Hunt2011-06-033-153/+8
| | | | | | suggested by Chandler. llvm-svn: 132593
* Testcase for llvm-gcc commit r132591.Eric Christopher2011-06-031-0/+11
| | | | | | Part of rdar://9037836 and rdar://9119939 llvm-svn: 132592
* Fix an off by one error.Eric Christopher2011-06-032-2/+10
| | | | | | Part of rdar://9037836 and rdar://9119939 llvm-svn: 132590
* Remove testcase. It's problematic for the buildbots.Bill Wendling2011-06-031-93/+0
| | | | llvm-svn: 132589
* Fix some order-of-initialisation warningsPeter Collingbourne2011-06-032-6/+6
| | | | llvm-svn: 132588
* Implement RegisterContextLinux_x86_64::{Read,Write}AllRegisterValuesPeter Collingbourne2011-06-034-1/+118
| | | | llvm-svn: 132587
* Move SaveFrameZeroState and RestoreSaveFrameZero implementations to Thread ↵Peter Collingbourne2011-06-038-88/+29
| | | | | | base class llvm-svn: 132586
* Implement ProcessLinux::Do{Allocate,Deallocate}Memory using inferior ↵Peter Collingbourne2011-06-032-12/+34
| | | | | | mmap/munmap calls llvm-svn: 132585
* Move inferior mmap/munmap call code into their own functions in utility libPeter Collingbourne2011-06-033-154/+241
| | | | llvm-svn: 132584
* Disable MCJIT on non-Darwin platformsPeter Collingbourne2011-06-031-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 filesPeter Collingbourne2011-06-031-1/+1
| | | | llvm-svn: 132582
* Switch AllocationOrder to using RegisterClassInfo instead of a BitVectorJakob Stoklund Olesen2011-06-036-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 Olesen2011-06-031-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 insteadDan Gohman2011-06-032-10/+60
| | | | | | of conservatively choosing MayAlias. llvm-svn: 132579
* Use IRBuilder, preserve line numbers.Devang Patel2011-06-031-4/+6
| | | | llvm-svn: 132578
* noexcept for <vector>. This also includes installing move_if_noexcept() ↵Howard Hinnant2011-06-0311-166/+850
| | | | | | into vector. llvm-svn: 132577
* Emit debug info only if there is an insertion point. The debug info should ↵Devang Patel2011-06-032-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 Wendling2011-06-031-1/+1
| | | | llvm-svn: 132575
* Bring noexcept for <string> inline with other containers.Howard Hinnant2011-06-036-18/+283
| | | | llvm-svn: 132573
* Begin implementing a cache of special member lookups. Currently onlyAlexis Hunt2011-06-033-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
OpenPOWER on IntegriCloud