| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Comment a wacky test case | Douglas Gregor | 2011-01-18 | 1 | -0/+3 |
| | | | | | llvm-svn: 123758 | ||||
| * | For completeness, generalize the (X + Y) - Y -> X transform and add X - (X + ↵ | Duncan Sands | 2011-01-18 | 2 | -15/+77 |
| | | | | | | | | | | | 1) -> -1. These were not recommended by my auto-simplifier since they don't fire often enough. However they do fire from time to time, for example they remove one subtraction from the final bitcode for 483.xalancbmk. llvm-svn: 123755 | ||||
| * | Simplify (X<<1)-X into X. According to my auto-simplier this is the most ↵ | Duncan Sands | 2011-01-18 | 2 | -0/+26 |
| | | | | | | | | | | | | | | common missed simplification in fully optimized code. It occurs sporadically in the testsuite, and many times in 403.gcc: the final bitcode has 131 fewer subtractions after this change. The reason that the multiplies are not eliminated is the same reason that instcombine did not catch this: they are used by other instructions (instcombine catches this with a more general transform which in general is only profitable if the operands have only one use). llvm-svn: 123754 | ||||
| * | Fix some unnecessarily complicated code for canonicalizing variably-modified | John McCall | 2011-01-18 | 2 | -48/+120 |
| | | | | | | | parameter types. llvm-svn: 123753 | ||||
| * | add a note | Chris Lattner | 2011-01-18 | 1 | -0/+20 |
| | | | | | llvm-svn: 123752 | ||||
| * | Generalize some operations on qualifiers. QualType::getQualifiers() and | John McCall | 2011-01-18 | 4 | -102/+167 |
| | | | | | | | | ::getCVRQualifiers() now look through array types, like all the other standard queries. Also, make a 'split' variant of getUnqualifiedType(). llvm-svn: 123751 | ||||
| * | finish a sentence. | Chris Lattner | 2011-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 123750 | ||||
| * | SPARC backend: Modified LowerCall and LowerFormalArguments so that they use ↵ | Venkatraman Govindaraju | 2011-01-18 | 2 | -272/+221 |
| | | | | | | | CallingConv assignments. llvm-svn: 123749 | ||||
| * | Remove an unnecessary #include. | Cameron Zwarich | 2011-01-18 | 1 | -1/+0 |
| | | | | | llvm-svn: 123748 | ||||
| * | Move DominanceFrontier from VMCore to Analysis. | Cameron Zwarich | 2011-01-18 | 5 | -130/+140 |
| | | | | | llvm-svn: 123747 | ||||
| * | McARM: Use accessors where appropriate. | Daniel Dunbar | 2011-01-18 | 1 | -13/+13 |
| | | | | | llvm-svn: 123746 | ||||
| * | McARM: Fill in ASMOperand::dump() for memory operands. | Daniel Dunbar | 2011-01-18 | 1 | -1/+56 |
| | | | | | llvm-svn: 123745 | ||||
| * | McARM: Make ARMOperand use a union where appropriate. | Daniel Dunbar | 2011-01-18 | 1 | -9/+13 |
| | | | | | llvm-svn: 123744 | ||||
| * | There is no point in verifying an analysis that is never updated. | Cameron Zwarich | 2011-01-18 | 2 | -13/+0 |
| | | | | | llvm-svn: 123743 | ||||
| * | Fix newlines. | Daniel Dunbar | 2011-01-18 | 1 | -60/+60 |
| | | | | | llvm-svn: 123742 | ||||
| * | tests: Force a triple. | Daniel Dunbar | 2011-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 123741 | ||||
| * | McARM: Unify ParseMemory() successfull return. | Daniel Dunbar | 2011-01-18 | 1 | -40/+22 |
| | | | | | llvm-svn: 123740 | ||||
| * | McARM: Early exit on failure (NEFC). | Daniel Dunbar | 2011-01-18 | 1 | -7/+8 |
| | | | | | llvm-svn: 123739 | ||||
| * | McARM: Always keep an offset expression, if used (instead of assuming == 0 ↵ | Daniel Dunbar | 2011-01-18 | 1 | -24/+29 |
| | | | | | | | | | if used but not present), and simplify logic. Also, clean up various non-sensicalisms in isMemModeRegThumb() and isMemModeImmThumb(). llvm-svn: 123738 | ||||
| * | McARM: Add a variety of asserts on the sanity of memory operands. | Daniel Dunbar | 2011-01-18 | 1 | -1/+10 |
| | | | | | llvm-svn: 123737 | ||||
| * | McARM: Use a consistent marker for not-set OffsetRegNum. | Daniel Dunbar | 2011-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 123736 | ||||
| * | Add support for explicit constructor calls in Microsoft mode. | Francois Pichet | 2011-01-18 | 7 | -15/+129 |
| | | | | | | | | | | | | | | | | | | | | For example: class A{ public: A& operator=(const A& that) { if (this != &that) { this->A::~A(); this->A::A(that); // <=== explicit constructor call. } return *this; } }; More work will be needed to support an explicit call to a template constructor. llvm-svn: 123735 | ||||
| * | Correctly enable test/Sema/unit-variables.c, | Ted Kremenek | 2011-01-18 | 2 | -2/+4 |
| | | | | | | | | thus identifying a minor logical flaw in UninitializedValuesV2.cpp. llvm-svn: 123734 | ||||
| * | Teach UninitializedValuesV2 about "int x = x" and | Ted Kremenek | 2011-01-18 | 2 | -8/+30 |
| | | | | | | | also properly handle confluence of loops. llvm-svn: 123733 | ||||
| * | Convert a std::map to a DenseMap for another 1.7% speedup on -scalarrepl. | Cameron Zwarich | 2011-01-18 | 1 | -3/+3 |
| | | | | | llvm-svn: 123732 | ||||
| * | Make a std::vector a SmallVector<*, 32> like the other vectors in the same | Cameron Zwarich | 2011-01-18 | 1 | -1/+1 |
| | | | | | | | | function. This seems to be about a 1.5% speedup of -scalarrepl on test-suite with SPEC2000 and SPEC2006. llvm-svn: 123731 | ||||
| * | Reduce indentation and remove commented out code. | Rafael Espindola | 2011-01-18 | 1 | -122/+101 |
| | | | | | llvm-svn: 123729 | ||||
| * | Get clang-wpa to build in TOT (reflecting updates | Ted Kremenek | 2011-01-18 | 1 | -6/+11 |
| | | | | | | | to the static analyzer). llvm-svn: 123727 | ||||
| * | Remove some now-unused DominanceFrontier methods. | Cameron Zwarich | 2011-01-18 | 2 | -151/+0 |
| | | | | | llvm-svn: 123726 | ||||
| * | Remove code for updating dominance frontiers and some outdated references to | Cameron Zwarich | 2011-01-18 | 7 | -105/+21 |
| | | | | | | | dominance and post-dominance frontiers. llvm-svn: 123725 | ||||
| * | Remove outdated references to dominance frontiers. | Cameron Zwarich | 2011-01-18 | 6 | -31/+29 |
| | | | | | llvm-svn: 123724 | ||||
| * | Introduce the notion of a "minimal" import of ASTs, to better support LLDB. | Douglas Gregor | 2011-01-18 | 3 | -9/+60 |
| | | | | | llvm-svn: 123723 | ||||
| * | McARM: Start marking T2 address operands as such, for the benefit of the parser. | Daniel Dunbar | 2011-01-18 | 2 | -0/+17 |
| | | | | | llvm-svn: 123722 | ||||
| * | Replace calls to CharUnits::fromQuantity() with ones to | Ken Dyck | 2011-01-18 | 2 | -4/+4 |
| | | | | | | | ASTContext::toCharUnitsFromBits() when converting from bit sizes to char units. llvm-svn: 123720 | ||||
| * | Fix warnings found by gcc-4.6, from -Wunused-but-set-variable and | Jeffrey Yasskin | 2011-01-18 | 26 | -65/+40 |
| | | | | | | | -Wint-to-pointer-cast. llvm-svn: 123719 | ||||
| * | Formatting tweak. | Daniel Dunbar | 2011-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 123718 | ||||
| * | Support/CommandLine: Add "Did you mean" print for mismatched operands. | Daniel Dunbar | 2011-01-18 | 1 | -0/+39 |
| | | | | | llvm-svn: 123717 | ||||
| * | In ThreadPlanCallFunction, do the Takedown right when the thread plan gets ↵ | Jim Ingham | 2011-01-18 | 2 | -0/+10 |
| | | | | | | | popped. When the function call is discarded (e.g. when it crashes and discard_on_error is true) the plan gets discarded. You need to make sure that the stack gets restored right then, and not wait till you start again and the thread plan stack is cleared. llvm-svn: 123716 | ||||
| * | Replace calls to CharUnits::fromQuantity() with ones | Ken Dyck | 2011-01-18 | 2 | -17/+11 |
| | | | | | | | ASTContext::toCharUnitsFromBits() when converting from bit sizes to char units. llvm-svn: 123715 | ||||
| * | The stub routine that we're calling uses test and so clobbers | Eric Christopher | 2011-01-18 | 1 | -2/+2 |
| | | | | | | | the flags. llvm-svn: 123712 | ||||
| * | minor change to rafael's recent patches: if something is | Chris Lattner | 2011-01-18 | 1 | -1/+7 |
| | | | | | | | | constant but requires a unique address, we can still put it in a readonly section, just not a mergable one. llvm-svn: 123711 | ||||
| * | Quick fixes to set access specifiers for Typedefs | Sean Callanan | 2011-01-18 | 1 | -0/+7 |
| | | | | | | | and Enums inside classes. llvm-svn: 123710 | ||||
| * | Remove unused variables found by gcc-4.6's -Wunused-but-set-variable. | Jeffrey Yasskin | 2011-01-18 | 5 | -17/+0 |
| | | | | | llvm-svn: 123707 | ||||
| * | Remove checking that prevented overlapping CALLSEQ_START/CALLSEQ_END | Stuart Hastings | 2011-01-18 | 1 | -15/+9 |
| | | | | | | | | ranges, add legalizer support for nested calls. Necessary for ARM byval support. Radar 7662569. llvm-svn: 123704 | ||||
| * | Added support for the fragile ivars provided by | Sean Callanan | 2011-01-17 | 9 | -14/+135 |
| | | | | | | | | Apple's Objective-C 2.0 runtime. They are enabled if the Objective-C runtime has the proper version. llvm-svn: 123694 | ||||
| * | Add a method on the ObjC Language Runtime that returns the runtime version. | Jim Ingham | 2011-01-17 | 8 | -15/+32 |
| | | | | | llvm-svn: 123693 | ||||
| * | lib/CodeGen/TargetInfo.cpp: Add Win64 calling conversion. | NAKAMURA Takumi | 2011-01-17 | 1 | -2/+49 |
| | | | | | | | | FIXME: It would be incompatible to Microsoft's in one point. On mingw64-gcc, {i128} is expanded for args and returned as {rax, rdx}. llvm-svn: 123692 | ||||
| * | lib/Basic/Targets.cpp: __builtin_va_list is as same on win64 mingw64! | NAKAMURA Takumi | 2011-01-17 | 1 | -3/+3 |
| | | | | | llvm-svn: 123691 | ||||
| * | lib/Basic/Targets.cpp: Fix __declspec() on Mingw-w64. | NAKAMURA Takumi | 2011-01-17 | 1 | -1/+1 |
| | | | | | | | It should be defined as-is. Some headers would detect existence of __declspec and use one. llvm-svn: 123690 | ||||
| * | lib/Basic/Targets.cpp: Set user_label_prefix on Win64 both mingw and msvc. | NAKAMURA Takumi | 2011-01-17 | 1 | -0/+1 |
| | | | | | llvm-svn: 123689 | ||||

