Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactor local class name mangling and make it | Fariborz Jahanian | 2010-03-04 | 4 | -15/+52 | |
| | | | | | | ABI conforming. llvm-svn: 97702 | |||||
* | Implement __builtin_dwarf_sp_column(). | John McCall | 2010-03-04 | 2 | -0/+22 | |
| | | | | llvm-svn: 97700 | |||||
* | fix a buildbot failure, this was passing for me because the | Chris Lattner | 2010-03-04 | 1 | -3/+7 | |
| | | | | | | '%t' file was left around on my disk. doh. llvm-svn: 97699 | |||||
* | Make sure JITResolvers don't leave any stubs behind. When a JITResolver was | Jeffrey Yasskin | 2010-03-04 | 1 | -59/+105 | |
| | | | | | | | destroyed, it could leave stubs in the StubToResolverMap, which would confuse the lookup for subsequent lazy compilations. llvm-svn: 97698 | |||||
* | enhance comment output to specify what recorded slot | Chris Lattner | 2010-03-04 | 3 | -5/+12 | |
| | | | | | | numbers a ComplexPat will match into. llvm-svn: 97696 | |||||
* | Create a TargetMachine whenever we create a CodeGenAction. The codegen of | John McCall | 2010-03-04 | 5 | -62/+94 | |
| | | | | | | some builtins will rely on target knowledge. llvm-svn: 97693 | |||||
* | Fix more code to work properly with vector operands. Based on | Dan Gohman | 2010-03-04 | 1 | -5/+5 | |
| | | | | | | a patch my Micah Villmow for PR6465. llvm-svn: 97692 | |||||
* | Teach the pic16 target to recognize pic16-*-* triples. | John McCall | 2010-03-04 | 1 | -1/+2 | |
| | | | | llvm-svn: 97691 | |||||
* | inline CannotYetSelectIntrinsic into CannotYetSelect and simplify. | Chris Lattner | 2010-03-04 | 2 | -20/+16 | |
| | | | | llvm-svn: 97690 | |||||
* | Fix a logic error. An instruction that has a live physical register def ↵ | Evan Cheng | 2010-03-03 | 1 | -2/+5 | |
| | | | | | | cannot be CSE'ed, but it *can* be used to replace a common subexpression. llvm-svn: 97688 | |||||
* | Remove PHINodeTraits and use MachineInstrExpressionTrait instead. | Evan Cheng | 2010-03-03 | 2 | -39/+2 | |
| | | | | llvm-svn: 97687 | |||||
* | Reinstate r97674 with a fix for the assertion that was firing in <list> | Douglas Gregor | 2010-03-03 | 7 | -48/+203 | |
| | | | | llvm-svn: 97686 | |||||
* | Expose the rest of the llvm-c scalar opts to ocaml. | Erick Tryzelaar | 2010-03-03 | 4 | -23/+246 | |
| | | | | llvm-svn: 97685 | |||||
* | Rename some ocaml functions. | Erick Tryzelaar | 2010-03-03 | 3 | -13/+13 | |
| | | | | llvm-svn: 97684 | |||||
* | Expose the external functions for ocaml's execution engine as an optimization. | Erick Tryzelaar | 2010-03-03 | 1 | -29/+36 | |
| | | | | llvm-svn: 97683 | |||||
* | Expose alignment and stack alignment attributes to llvm-c and ocaml. | Erick Tryzelaar | 2010-03-03 | 3 | -1/+7 | |
| | | | | llvm-svn: 97682 | |||||
* | Move MachineInstrExpressionTrait::getHashValue() out of line so it can skip ↵ | Evan Cheng | 2010-03-03 | 2 | -42/+46 | |
| | | | | | | over only virtual register defs. This matches what isEqual() is doing. llvm-svn: 97680 | |||||
* | Remove the linux c includes part of my last patch. | Eric Christopher | 2010-03-03 | 1 | -3/+0 | |
| | | | | llvm-svn: 97679 | |||||
* | Re-apply r97667 but with a little bit of thought put into the patch. This ↵ | Evan Cheng | 2010-03-03 | 2 | -65/+68 | |
| | | | | | | implements a special DenseMapInfo trait for DenseMap<MachineInstr*> that compare the value of the MachineInstr rather than the pointer value. Since the hashing and equality test functions ignore defs it's useful for doing CSE kind optimization. llvm-svn: 97678 | |||||
* | Revert r97674; it's causing failures | Douglas Gregor | 2010-03-03 | 7 | -201/+46 | |
| | | | | llvm-svn: 97677 | |||||
* | Modified the asm string of 16-bit Thumb MUL instruction so that it prints: | Johnny Chen | 2010-03-03 | 1 | -1/+1 | |
| | | | | | | | | MULS <Rdm>, <Rn>, <Rdm> according to A8.6.105 MUL Encoding T1. llvm-svn: 97675 | |||||
* | Implement disambiguation of base class members via a | Douglas Gregor | 2010-03-03 | 7 | -46/+201 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | nested-name-specifier. For example, this allows member access in diamond-shaped hierarchies like: struct Base { void Foo(); int Member; }; struct D1 : public Base {}; struct D2 : public Base {}; struct Derived : public D1, public D2 { } void Test(Derived d) { d.Member = 17; // error: ambiguous cast from Derived to Base d.D1::Member = 17; // error: okay, modify D1's Base's Member } Fixes PR5820 and <rdar://problem/7535045>. Also, eliminate some redundancy between Sema::PerformObjectMemberConversion() and Sema::PerformObjectArgumentInitialization() -- the latter now calls the former. llvm-svn: 97674 | |||||
* | Revert 97667. It broke a bunch of tests. | Dan Gohman | 2010-03-03 | 2 | -62/+63 | |
| | | | | llvm-svn: 97673 | |||||
* | Fix code gen bug generating code for | Fariborz Jahanian | 2010-03-03 | 2 | -1/+19 | |
| | | | | | | ((id)cat)->isa. Fixes radar 7709015. llvm-svn: 97672 | |||||
* | merge asm-2.c into asm.c, remove asm-inout.c because it is | Chris Lattner | 2010-03-03 | 3 | -28/+11 | |
| | | | | | | XFAIL and already tracked in bugzilla. llvm-svn: 97671 | |||||
* | Fix funky indentation and add comments. | Evan Cheng | 2010-03-03 | 1 | -17/+24 | |
| | | | | llvm-svn: 97670 | |||||
* | fix PR6475, we were doing side-effecting stuff in an assert. | Chris Lattner | 2010-03-03 | 2 | -7/+16 | |
| | | | | llvm-svn: 97669 | |||||
* | Move DenseMapInfo for MachineInstr* to MachineInstr.h | Evan Cheng | 2010-03-03 | 2 | -63/+62 | |
| | | | | llvm-svn: 97667 | |||||
* | Add in more c++ header paths for later gccs under gentoo linux. | Eric Christopher | 2010-03-03 | 1 | -0/+14 | |
| | | | | | | | | Add in c header path for various linuxes as well. Partial patch from Christian Adåker! llvm-svn: 97666 | |||||
* | Fix a bug in SelectionDAG's ReplaceAllUsesWith in the case where | Dan Gohman | 2010-03-03 | 1 | -4/+45 | |
| | | | | | | | | | | CSE and recursive RAUW calls delete a node from the use list, invalidating the use list iterator. There's currently no known way to reproduce this in an unmodified LLVM, however there's no fundamental reason why a SelectionDAG couldn't be formed which would trigger this case. llvm-svn: 97665 | |||||
* | Machine CSE work in progress. It's doing some CSE now. But implicit def of ↵ | Evan Cheng | 2010-03-03 | 1 | -24/+61 | |
| | | | | | | physical registers are getting in the way. llvm-svn: 97664 | |||||
* | Add MachineRegisterInfo::hasOneUse and hasOneNonDBGUse. | Evan Cheng | 2010-03-03 | 3 | -6/+24 | |
| | | | | llvm-svn: 97663 | |||||
* | don't use always_inline with gcc 3.4, it has some unimplemented features | Chris Lattner | 2010-03-03 | 1 | -1/+3 | |
| | | | | | | | and is too old to really care about the performance of the generated compiler. llvm-svn: 97662 | |||||
* | TopLevelMap[] reference is a pointer. | Evan Cheng | 2010-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 97661 | |||||
* | Fix PR6444, note still doesn't compile libgcc2 all the way, but fixes that ↵ | Andrew Lenharth | 2010-03-03 | 1 | -1/+2 | |
| | | | | | | error. May not fix it in an ABI complient way. It wasn't clear what gcc does llvm-svn: 97660 | |||||
* | fix incorrect folding of icmp with undef, PR6481. | Chris Lattner | 2010-03-03 | 3 | -6/+15 | |
| | | | | llvm-svn: 97659 | |||||
* | Implements mangling of local class names to | Fariborz Jahanian | 2010-03-03 | 2 | -13/+88 | |
| | | | | | | | | fix a code gen crash. This is WIP as not all ABI cases are covered (there is a FIXME to this effect). Fixes radar 7696748. llvm-svn: 97658 | |||||
* | Revert... | Bill Wendling | 2010-03-03 | 1 | -3/+3 | |
| | | | | | | | --- Reverse-merging r97592 into '.': U lib/CodeGen/TargetLoweringObjectFileImpl.cpp llvm-svn: 97657 | |||||
* | add framework for ARM builtins, Patch by Edmund Grimley Evans! | Chris Lattner | 2010-03-03 | 6 | -6/+67 | |
| | | | | llvm-svn: 97656 | |||||
* | Added 32-bit Thumb instructions LDRT, LDRBT, LDRHT,,LDRSBT, LDRSHT, STRT, STRBT, | Johnny Chen | 2010-03-03 | 1 | -0/+41 | |
| | | | | | | and STRHT for disassembly only. llvm-svn: 97655 | |||||
* | Simplify code a bit and remove unneeded semicolons. | Benjamin Kramer | 2010-03-03 | 1 | -7/+4 | |
| | | | | llvm-svn: 97654 | |||||
* | Sketch out an implementation for __builtin_dwarf_cfa. I have no idea | John McCall | 2010-03-03 | 1 | -0/+18 | |
| | | | | | | why the front-end is calculating the argument to llvm.eh.dwarf.cfa(). llvm-svn: 97653 | |||||
* | add some of the more obscure predicate types to the | Chris Lattner | 2010-03-03 | 1 | -56/+99 | |
| | | | | | | Scope accelerator. llvm-svn: 97652 | |||||
* | speed up scope node processing: if the first element of a scope | Chris Lattner | 2010-03-03 | 2 | -42/+148 | |
| | | | | | | | | | | | | | entry we're about to process is obviously going to fail, don't bother pushing a scope only to have it immediately be popped. This avoids a lot of scope stack traffic in common cases. Unfortunately, this requires duplicating some of the predicate dispatch. To avoid duplicating the actual logic I pulled each predicate out to its own static function which gets used in both places. llvm-svn: 97651 | |||||
* | Add '-test-print-linkage-source' option to c-index-test | Ted Kremenek | 2010-03-03 | 2 | -1/+55 | |
| | | | | | | to test clang_getCursorLinkage() llvm-svn: 97648 | |||||
* | Export clang_getCursorLinkage(). | Ted Kremenek | 2010-03-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 97647 | |||||
* | Add clang_getCursorLinkage(), which returns the | Ted Kremenek | 2010-03-03 | 2 | -0/+45 | |
| | | | | | | | underlying linkage for the entity referred to by a CXCursor. llvm-svn: 97646 | |||||
* | introduce a new SwitchTypeMatcher node (which is analogous to | Chris Lattner | 2010-03-03 | 6 | -24/+146 | |
| | | | | | | | | SwitchOpcodeMatcher) and have DAGISelMatcherOpt form it. This speeds up selection, particularly for X86 which has lots of variants of instructions with only type differences. llvm-svn: 97645 | |||||
* | Fix comment. | Bill Wendling | 2010-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 97644 | |||||
* | Implement __builtin_eh_return. | John McCall | 2010-03-03 | 1 | -0/+16 | |
| | | | | llvm-svn: 97643 |