| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Simplify the locking on the Constants tables, and make it more efficient, by ↵ | Owen Anderson | 2009-06-17 | 1 | -106/+136 | |
| | | | | | | | | | pushing it into the ValueMap from the callers. Document those ValueMap functions that are _not_ locked, so that callers are aware that they need to do the locking themselves. llvm-svn: 73628 | |||||
| * | Diagnose the use of attributes on namespace aliases, from Anis Ahmad | Douglas Gregor | 2009-06-17 | 3 | -3/+21 | |
| | | | | | llvm-svn: 73626 | |||||
| * | Add debug message about non-local loads being clobbered. | Torok Edwin | 2009-06-17 | 1 | -1/+7 | |
| | | | | | llvm-svn: 73625 | |||||
| * | Type safety for Constants.cpp! Some of this is temporary, as I'm planning ↵ | Owen Anderson | 2009-06-17 | 1 | -46/+208 | |
| | | | | | | | to push some of the R/W locking into FoldingSet. llvm-svn: 73624 | |||||
| * | Make sure that .td and .def files get into the list of headers in a CMake ↵ | Douglas Gregor | 2009-06-17 | 1 | -3/+6 | |
| | | | | | | | build, for use in Xcode and Visual Studio llvm-svn: 73623 | |||||
| * | Initial support for some Thumb2 instructions. | Anton Korobeynikov | 2009-06-17 | 8 | -3/+544 | |
| | | | | | | | Patch by Viktor Kutuzov and Anton Korzh from Access Softek, Inc. llvm-svn: 73622 | |||||
| * | Update comments to use doxygen syntax. | Dan Gohman | 2009-06-17 | 1 | -11/+11 | |
| | | | | | llvm-svn: 73621 | |||||
| * | Protect the ValueHandle table. | Owen Anderson | 2009-06-17 | 1 | -2/+19 | |
| | | | | | llvm-svn: 73620 | |||||
| * | link in targets | Chris Lattner | 2009-06-17 | 1 | -0/+4 | |
| | | | | | llvm-svn: 73619 | |||||
| * | Remove old #includes | Chris Lattner | 2009-06-17 | 1 | -2/+0 | |
| | | | | | llvm-svn: 73618 | |||||
| * | We need to guard reads of the AbstractTypeUsers list, as well as writes to ↵ | Owen Anderson | 2009-06-17 | 1 | -1/+5 | |
| | | | | | | | | | it. While it would be nice to use a R/W lock here, we can't, because it HAS to be recursive. llvm-svn: 73617 | |||||
| * | Define LLVM_NATIVE_ARCH in CMake, so that lli can actually JIT | Douglas Gregor | 2009-06-17 | 2 | -0/+47 | |
| | | | | | llvm-svn: 73616 | |||||
| * | Add RWMutex.cpp to the CMake makefiles | Douglas Gregor | 2009-06-17 | 1 | -0/+1 | |
| | | | | | llvm-svn: 73615 | |||||
| * | Type safety for TypeSymbolTable! | Owen Anderson | 2009-06-17 | 1 | -3/+34 | |
| | | | | | llvm-svn: 73614 | |||||
| * | make sure that JIT examples link in their appropriate target. | Chris Lattner | 2009-06-17 | 4 | -2/+14 | |
| | | | | | llvm-svn: 73613 | |||||
| * | remove two headers subsumed by TargetSelect.h | Chris Lattner | 2009-06-17 | 2 | -68/+0 | |
| | | | | | llvm-svn: 73612 | |||||
| * | switch to using llvm/Target/TargetSelect.h | Chris Lattner | 2009-06-17 | 3 | -25/+12 | |
| | | | | | llvm-svn: 73611 | |||||
| * | Add a utility header that makes it easy to link in the right set | Chris Lattner | 2009-06-17 | 1 | -0/+65 | |
| | | | | | | | of targets for various purposes. llvm-svn: 73610 | |||||
| * | Use env properly in test/Driver/analyze.c | Douglas Gregor | 2009-06-17 | 1 | -2/+1 | |
| | | | | | llvm-svn: 73609 | |||||
| * | Improve the Win32 reader-writer lock implementation by making it just a normal | Owen Anderson | 2009-06-17 | 1 | -6/+14 | |
| | | | | | | | | | | lock. This is obviously bad, but at least it's threadsafe! If you know how to improve this in a pre-Vista friendly well, patches welcome! Patch by Max Burke. llvm-svn: 73607 | |||||
| * | Fix libLTO by #include'ing the initializers for all targets and all asm | Nick Lewycky | 2009-06-17 | 1 | -9/+11 | |
| | | | | | | | | | printers. While I'm here, alphabetize. llvm-svn: 73606 | |||||
| * | >> What if my global variable was into a different address space than stack? | Sanjiv Gupta | 2009-06-17 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | >> > > It doesn't matter in terms of semantics: because AnalyzeGlobal > returned false, we're guaranteed the address of the global is never > taken. I wouldn't be surprised if we end up generating invalid IR in > some cases, though, because of the semantics of replaceAllUsesWith. > Do you have a testcase that breaks? > > The problem is replaceAllUsesWith asserts for type mismatch here. Try attached .bc with llvm-ld. assert(New->getType() == getType() && "replaceAllUses of value with new value of different type!"); Since stack is always on address space zero, I don't think that type of GV in a different address space is ever going to match. The other way is to allow replaceAllUsesWith to ignore address spaces while comparing types. (do we have a way to do that ?). But then such an optimization may fail the entire idea of user wanting to place a variable into different memory space. The original idea of user might be to save on the stack space (data memory) and hence he asked the variable to be placed into different memory space (program memory). So the best bet here is to deny this optimization by checking GV->getType()->getAddressSpace() == 0. llvm-svn: 73605 | |||||
| * | Update clang for the add ->add/fadd split. Likewise for sub and mul. | Chris Lattner | 2009-06-17 | 2 | -36/+105 | |
| | | | | | llvm-svn: 73604 | |||||
| * | make CreateFMul forward to CreateFMul, not CreateMul. | Chris Lattner | 2009-06-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 73603 | |||||
| * | Fix grammaro, and bad indentation. | Nick Lewycky | 2009-06-17 | 1 | -3/+3 | |
| | | | | | llvm-svn: 73602 | |||||
| * | Fix comment. | Mikhail Glushenkov | 2009-06-17 | 1 | -2/+2 | |
| | | | | | llvm-svn: 73601 | |||||
| * | Formatting fix. | Mikhail Glushenkov | 2009-06-17 | 1 | -9/+8 | |
| | | | | | llvm-svn: 73600 | |||||
| * | Correct an accidental duplication of the test (patch doesn't handle | Eli Friedman | 2009-06-17 | 1 | -9/+0 | |
| | | | | | | | creating new files very well). llvm-svn: 73599 | |||||
| * | PR3439: Correct a silly mistake in the SimplifyDemandedUseBits code for | Eli Friedman | 2009-06-17 | 2 | -1/+19 | |
| | | | | | | | SRem. llvm-svn: 73598 | |||||
| * | Regenerate. | Mikhail Glushenkov | 2009-06-17 | 2 | -12/+13 | |
| | | | | | llvm-svn: 73597 | |||||
| * | Another small documentation update. | Mikhail Glushenkov | 2009-06-17 | 2 | -12/+13 | |
| | | | | | llvm-svn: 73596 | |||||
| * | Use Doug's new LLVM_NATIVE_ARCH macro in config.h to link in the native | Chris Lattner | 2009-06-17 | 1 | -0/+21 | |
| | | | | | | | target so that the JIT works in LLI, not just the interpreter. llvm-svn: 73595 | |||||
| * | Fix ScalarEvolution's Xor handling to not assume that an And | Dan Gohman | 2009-06-17 | 2 | -3/+17 | |
| | | | | | | | | that gets recognized with a SCEVZeroExtendExpr must be an And with a low-bits mask. With r73540, this is no longer the case. llvm-svn: 73594 | |||||
| * | Do not use first actual instruction's location for prologue. The debug wants ↵ | Devang Patel | 2009-06-17 | 1 | -2/+1 | |
| | | | | | | | to skip prologue while setting a breakpoint for the function. llvm-svn: 73592 | |||||
| * | Update auto-generated configuration files | Douglas Gregor | 2009-06-17 | 2 | -24/+46 | |
| | | | | | llvm-svn: 73591 | |||||
| * | Define LLVM_NATIVE_ARCH in llvm/Config/config.h to be the LLVM back end that ↵ | Douglas Gregor | 2009-06-17 | 1 | -0/+16 | |
| | | | | | | | corresponds to the native executable, but only when that LLVM back end is being built llvm-svn: 73590 | |||||
| * | Remove all non-const getters from TemplateArgumentList. | Anders Carlsson | 2009-06-17 | 1 | -10/+0 | |
| | | | | | llvm-svn: 73589 | |||||
| * | Use atomic increment/decrement for reference counting of Type's. | Owen Anderson | 2009-06-17 | 3 | -7/+9 | |
| | | | | | llvm-svn: 73588 | |||||
| * | Add an atomic increment and decrement implementation, which will be used for | Owen Anderson | 2009-06-17 | 5 | -4/+35 | |
| | | | | | | | thread-safe reference counting. llvm-svn: 73587 | |||||
| * | Add locking around the accessors for AbstractTypeUsers. | Owen Anderson | 2009-06-17 | 1 | -1/+24 | |
| | | | | | llvm-svn: 73586 | |||||
| * | Place -Wreadonly-setter-attrs under -Wmost option group. | Fariborz Jahanian | 2009-06-17 | 2 | -1/+3 | |
| | | | | | llvm-svn: 73585 | |||||
| * | If any tests fail, the test runner returns a status code of 1 | Douglas Gregor | 2009-06-16 | 1 | -1/+2 | |
| | | | | | llvm-svn: 73584 | |||||
| * | Make these driver tests do the right thing even when ↵ | Douglas Gregor | 2009-06-16 | 3 | -1/+4 | |
| | | | | | | | MACOSX_DEPLOYMENT_TARGET is set. llvm-svn: 73583 | |||||
| * | Stub out printing of the thread model with -v. | Daniel Dunbar | 2009-06-16 | 1 | -1/+6 | |
| | | | | | | | - Turns out libstdcxx greps for this in configure. llvm-svn: 73582 | |||||
| * | Fake support for -print-multi-* | Daniel Dunbar | 2009-06-16 | 3 | -3/+46 | |
| | | | | | | | | - I think we will eventually need to support this for realz, and some build processes seem to depend on these options. llvm-svn: 73581 | |||||
| * | Since integral template arguments can't have dependent types we don't need ↵ | Anders Carlsson | 2009-06-16 | 1 | -32/+9 | |
| | | | | | | | an extra pass to set the right APSInt bit width/signedness. llvm-svn: 73580 | |||||
| * | Remove support for building LLVM libraries into "relinked" | Chris Lattner | 2009-06-16 | 3 | -75/+21 | |
| | | | | | | | | | | | object files. Now we always build LLVM libraries into archives (.a files). This makes the 'make' build work more like the cmake build, among other things. Doing this exposed some latent circular library dependencies, so I think that llvm-config wasn't quite right for .o files anyway. llvm-svn: 73579 | |||||
| * | Forgot this file in my last commit. | Owen Anderson | 2009-06-16 | 1 | -0/+4 | |
| | | | | | llvm-svn: 73578 | |||||
| * | Add utility method GRStateRef::makeWithStore(). | Ted Kremenek | 2009-06-16 | 1 | -1/+4 | |
| | | | | | llvm-svn: 73576 | |||||
| * | Use a reader-writer lock to guard large portions of the Type infrastructure, ↵ | Owen Anderson | 2009-06-16 | 1 | -54/+198 | |
| | | | | | | | | | including abstract type refinement. There's still some more work to be done here, such as guarding removeAbstractTypeUser() and the printers. llvm-svn: 73575 | |||||

