summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify the locking on the Constants tables, and make it more efficient, by ↵Owen Anderson2009-06-171-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 AhmadDouglas Gregor2009-06-173-3/+21
| | | | llvm-svn: 73626
* Add debug message about non-local loads being clobbered.Torok Edwin2009-06-171-1/+7
| | | | llvm-svn: 73625
* Type safety for Constants.cpp! Some of this is temporary, as I'm planning ↵Owen Anderson2009-06-171-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 Gregor2009-06-171-3/+6
| | | | | | build, for use in Xcode and Visual Studio llvm-svn: 73623
* Initial support for some Thumb2 instructions.Anton Korobeynikov2009-06-178-3/+544
| | | | | | Patch by Viktor Kutuzov and Anton Korzh from Access Softek, Inc. llvm-svn: 73622
* Update comments to use doxygen syntax.Dan Gohman2009-06-171-11/+11
| | | | llvm-svn: 73621
* Protect the ValueHandle table.Owen Anderson2009-06-171-2/+19
| | | | llvm-svn: 73620
* link in targetsChris Lattner2009-06-171-0/+4
| | | | llvm-svn: 73619
* Remove old #includesChris Lattner2009-06-171-2/+0
| | | | llvm-svn: 73618
* We need to guard reads of the AbstractTypeUsers list, as well as writes to ↵Owen Anderson2009-06-171-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 JITDouglas Gregor2009-06-172-0/+47
| | | | llvm-svn: 73616
* Add RWMutex.cpp to the CMake makefilesDouglas Gregor2009-06-171-0/+1
| | | | llvm-svn: 73615
* Type safety for TypeSymbolTable!Owen Anderson2009-06-171-3/+34
| | | | llvm-svn: 73614
* make sure that JIT examples link in their appropriate target.Chris Lattner2009-06-174-2/+14
| | | | llvm-svn: 73613
* remove two headers subsumed by TargetSelect.hChris Lattner2009-06-172-68/+0
| | | | llvm-svn: 73612
* switch to using llvm/Target/TargetSelect.hChris Lattner2009-06-173-25/+12
| | | | llvm-svn: 73611
* Add a utility header that makes it easy to link in the right set Chris Lattner2009-06-171-0/+65
| | | | | | of targets for various purposes. llvm-svn: 73610
* Use env properly in test/Driver/analyze.cDouglas Gregor2009-06-171-2/+1
| | | | llvm-svn: 73609
* Improve the Win32 reader-writer lock implementation by making it just a normalOwen Anderson2009-06-171-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 asmNick Lewycky2009-06-171-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 Gupta2009-06-171-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 Lattner2009-06-172-36/+105
| | | | llvm-svn: 73604
* make CreateFMul forward to CreateFMul, not CreateMul.Chris Lattner2009-06-171-1/+1
| | | | llvm-svn: 73603
* Fix grammaro, and bad indentation.Nick Lewycky2009-06-171-3/+3
| | | | llvm-svn: 73602
* Fix comment.Mikhail Glushenkov2009-06-171-2/+2
| | | | llvm-svn: 73601
* Formatting fix.Mikhail Glushenkov2009-06-171-9/+8
| | | | llvm-svn: 73600
* Correct an accidental duplication of the test (patch doesn't handle Eli Friedman2009-06-171-9/+0
| | | | | | creating new files very well). llvm-svn: 73599
* PR3439: Correct a silly mistake in the SimplifyDemandedUseBits code for Eli Friedman2009-06-172-1/+19
| | | | | | SRem. llvm-svn: 73598
* Regenerate.Mikhail Glushenkov2009-06-172-12/+13
| | | | llvm-svn: 73597
* Another small documentation update.Mikhail Glushenkov2009-06-172-12/+13
| | | | llvm-svn: 73596
* Use Doug's new LLVM_NATIVE_ARCH macro in config.h to link in the nativeChris Lattner2009-06-171-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 AndDan Gohman2009-06-172-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 Patel2009-06-171-2/+1
| | | | | | to skip prologue while setting a breakpoint for the function. llvm-svn: 73592
* Update auto-generated configuration filesDouglas Gregor2009-06-172-24/+46
| | | | llvm-svn: 73591
* Define LLVM_NATIVE_ARCH in llvm/Config/config.h to be the LLVM back end that ↵Douglas Gregor2009-06-171-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 Carlsson2009-06-171-10/+0
| | | | llvm-svn: 73589
* Use atomic increment/decrement for reference counting of Type's.Owen Anderson2009-06-173-7/+9
| | | | llvm-svn: 73588
* Add an atomic increment and decrement implementation, which will be used forOwen Anderson2009-06-175-4/+35
| | | | | | thread-safe reference counting. llvm-svn: 73587
* Add locking around the accessors for AbstractTypeUsers.Owen Anderson2009-06-171-1/+24
| | | | llvm-svn: 73586
* Place -Wreadonly-setter-attrs under -Wmost option group.Fariborz Jahanian2009-06-172-1/+3
| | | | llvm-svn: 73585
* If any tests fail, the test runner returns a status code of 1Douglas Gregor2009-06-161-1/+2
| | | | llvm-svn: 73584
* Make these driver tests do the right thing even when ↵Douglas Gregor2009-06-163-1/+4
| | | | | | MACOSX_DEPLOYMENT_TARGET is set. llvm-svn: 73583
* Stub out printing of the thread model with -v.Daniel Dunbar2009-06-161-1/+6
| | | | | | - Turns out libstdcxx greps for this in configure. llvm-svn: 73582
* Fake support for -print-multi-*Daniel Dunbar2009-06-163-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 Carlsson2009-06-161-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 Lattner2009-06-163-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 Anderson2009-06-161-0/+4
| | | | llvm-svn: 73578
* Add utility method GRStateRef::makeWithStore().Ted Kremenek2009-06-161-1/+4
| | | | llvm-svn: 73576
* Use a reader-writer lock to guard large portions of the Type infrastructure, ↵Owen Anderson2009-06-161-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
OpenPOWER on IntegriCloud