summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Thumb2 load / store multiple instructions. Not used yet.Evan Cheng2009-07-031-0/+15
| | | | llvm-svn: 74749
* Convert the first batch of passes to use LLVMContext.Owen Anderson2009-07-034-625/+711
| | | | llvm-svn: 74748
* Fix a horrible CFG bug reported in <rdar://problem/7027684>. The wrong successorTed Kremenek2009-07-032-1/+13
| | | | | | | block would get hooked up in some cases when processing empty compound statements. llvm-svn: 74743
* Replace std::iostreams with raw_ostream in TableGen.Daniel Dunbar2009-07-0336-266/+257
| | | | | | | | - Sorry, I can't help myself. - No intended functionality change. llvm-svn: 74742
* t2LDR_PRE etc are loads.Evan Cheng2009-07-031-0/+2
| | | | llvm-svn: 74741
* Added indexed stores.Evan Cheng2009-07-033-1/+84
| | | | llvm-svn: 74740
* Fill in a few more missing accessors.Owen Anderson2009-07-022-2/+10
| | | | llvm-svn: 74739
* Revert prev commit, we have much bigger problems because 2.3 is missingDaniel Dunbar2009-07-021-1/+1
| | | | | | the subprocess module. llvm-svn: 74738
* Avoid @staticmethod to allow use with Python 2.3.Daniel Dunbar2009-07-021-2/+3
| | | | llvm-svn: 74737
* Sign extending pre/post indexed loads.Evan Cheng2009-07-023-3/+42
| | | | llvm-svn: 74736
* switch the .ll parser to use SourceMgr.Chris Lattner2009-07-027-48/+59
| | | | llvm-svn: 74735
* switch the .ll parser into SMDiagnostic.Chris Lattner2009-07-027-105/+26
| | | | llvm-svn: 74734
* Simplify debug info intrisinc lowering.Devang Patel2009-07-025-170/+118
| | | | llvm-svn: 74733
* add an explicit class for holding llvm::SourceMgr diagnostics and useChris Lattner2009-07-022-25/+88
| | | | | | | | | | | | | | | it to print them. This gives us column numbers in the diag line. Before: t.s:4: error: unexpected token in argument list mov %eax %edx ^ now: t.s:4:11: error: unexpected token in argument list mov %eax %edx ^ llvm-svn: 74732
* Checkpoint refactoring of ThumbInstrInfo and ThumbRegisterInfo into ↵David Goodwin2009-07-0213-420/+1655
| | | | | | Thumb1InstrInfo, Thumb2InstrInfo, Thumb1RegisterInfo and Thumb2RegisterInfo. Move methods from ARMInstrInfo to ARMBaseInstrInfo to prepare for sharing with Thumb2. llvm-svn: 74731
* Replace guarded calls in RegionStoreManager toTed Kremenek2009-07-022-23/+14
| | | | | | | | | ValueManager::getRegionValueSymbolVal() with unguarded calls to ValueManager::getRegionValueSymbolValOrUnknown(). This changes centralizes the decision of what values to symbolicate in SymbolManager rather than having it scatter in RegionStoreManager. llvm-svn: 74730
* Enhance RegionStore to lazily symbolicate fields and array elements forTed Kremenek2009-07-023-10/+26
| | | | | | structures passed-by-value as function arguments. llvm-svn: 74729
* implement error recovery in the llvm-mc parser. Feel the power!Chris Lattner2009-07-021-4/+11
| | | | llvm-svn: 74728
* fix broken links.Chris Lattner2009-07-021-3/+3
| | | | llvm-svn: 74727
* test commitChris Lattner2009-07-021-0/+1
| | | | llvm-svn: 74726
* mention the license.Chris Lattner2009-07-021-0/+4
| | | | llvm-svn: 74725
* Make the current LLVMContext available to passes.Owen Anderson2009-07-021-2/+14
| | | | llvm-svn: 74724
* CMake build fixes, from Xerxes RanbyDouglas Gregor2009-07-0210-1/+19
| | | | llvm-svn: 74720
* Fix RUN line so this test doesn't hang.Ted Kremenek2009-07-021-1/+1
| | | | llvm-svn: 74719
* shrinking down #includesBruno Cardoso Lopes2009-07-025-67/+63
| | | | llvm-svn: 74718
* Patch to allocate list of bases in CXXRecordDeclFariborz Jahanian2009-07-023-7/+14
| | | | | | using ASTContxt allocation. llvm-svn: 74717
* StoreManagers: Use 'hasGlobalsStorage()' and 'hasParametersStorage()' instead ofTed Kremenek2009-07-024-7/+27
| | | | | | | directly consulting if a VarDecl is an implicit or actual parameter, a global, etc. llvm-svn: 74716
* Add a separate MemSpaceRegion for function/method arguments passed on the stack.Ted Kremenek2009-07-022-17/+35
| | | | | | | This will simplify the logic of StoreManagers that want to specially reason about the values of parameters. llvm-svn: 74715
* Add an accessor to Function so that Passes can easily get access to the context.Owen Anderson2009-07-022-0/+11
| | | | llvm-svn: 74714
* Prefix bin dir to executables.Sanjiv Gupta2009-07-021-5/+5
| | | | llvm-svn: 74713
* Remove tabs.Devang Patel2009-07-021-2/+2
| | | | llvm-svn: 74712
* Fixed handling of -c option.wqSanjiv Gupta2009-07-022-8/+26
| | | | llvm-svn: 74711
* Use LLVMContext for generating MDStrings too.Owen Anderson2009-07-021-1/+1
| | | | llvm-svn: 74710
* Remove commented methods. Add MemRegion::printStdErr().Ted Kremenek2009-07-022-4/+7
| | | | llvm-svn: 74709
* Use LLVMContext to generate metadata constants.Owen Anderson2009-07-021-1/+1
| | | | llvm-svn: 74708
* Add accessors for metadata constants.Owen Anderson2009-07-022-0/+14
| | | | llvm-svn: 74707
* Fix typo.Devang Patel2009-07-022-10/+10
| | | | | | Thanks Duncan! llvm-svn: 74706
* Add accessor for MDNode.Owen Anderson2009-07-022-0/+10
| | | | llvm-svn: 74705
* Add support for retrieving the Doxygen comment associated with a givenDouglas Gregor2009-07-0220-9/+402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | declaration in the AST. The new ASTContext::getCommentForDecl function searches for a comment that is attached to the given declaration, and returns that comment, which may be composed of several comment blocks. Comments are always available in an AST. However, to avoid harming performance, we don't actually parse the comments. Rather, we keep the source ranges of all of the comments within a large, sorted vector, then lazily extract comments via a binary search in that vector only when needed (which never occurs in a "normal" compile). Comments are written to a precompiled header/AST file as a blob of source ranges. That blob is only lazily loaded when one requests a comment for a declaration (this never occurs in a "normal" compile). The indexer testbed now supports comment extraction. When the -point-at location points to a declaration with a Doxygen-style comment, the indexer testbed prints the associated comment block(s). See test/Index/comments.c for an example. Some notes: - We don't actually attempt to parse the comment blocks themselves, beyond identifying them as Doxygen comment blocks to associate them with a declaration. - We won't find comment blocks that aren't adjacent to the declaration, because we start our search based on the location of the declaration. - We don't go through the necessary hops to find, for example, whether some redeclaration of a declaration has comments when our current declaration does not. Similarly, we don't attempt to associate a \param Foo marker in a function body comment with the parameter named Foo (although that is certainly possible). - Verification of my "no performance impact" claims is still "to be done". llvm-svn: 74704
* Use LLVMContext for generating UndefValue constants too!Owen Anderson2009-07-022-7/+9
| | | | llvm-svn: 74703
* Add accessor for getting UndefValue's.Owen Anderson2009-07-022-0/+9
| | | | llvm-svn: 74702
* Describe the LLVMContext API change.Owen Anderson2009-07-021-1/+8
| | | | llvm-svn: 74701
* simplify some logic by using isWeakForLinker(). Thanks to Anton forChris Lattner2009-07-021-5/+2
| | | | | | pointing this out. llvm-svn: 74700
* do not try to analyze bitcasts from i64 to <2 x i32> in ComputedMaskedBits. ↵Chris Lattner2009-07-022-1/+19
| | | | | | | | | While we could do this, doing so requires adjusting the demanded mask and the code isn't doing that yet. This fixes PR4495 llvm-svn: 74699
* fix inverted logic pointed out by John McCall, noticed by inspection.Chris Lattner2009-07-021-1/+1
| | | | | | | This was considering vector intrinsics to have cost 2, but non-vector intrinsics to have cost 1, which is backward. llvm-svn: 74698
* Fix windows build, patch by Howard Su.Duncan Sands2009-07-021-2/+2
| | | | llvm-svn: 74697
* Thumb2 pre/post indexed loads.Evan Cheng2009-07-027-34/+235
| | | | llvm-svn: 74696
* Ack, missed one incompatibility.Owen Anderson2009-07-021-1/+0
| | | | llvm-svn: 74695
* Restore other bits of the C API that I tore up. All pre-existing APIs ↵Owen Anderson2009-07-024-5/+55
| | | | | | | | | | default to using the default global context, while new *InContext() APIs have been added that take a LLVMContextRef parameter. Apologies to anyone affected by this breakage. llvm-svn: 74694
* 80 col violation.Evan Cheng2009-07-021-2/+2
| | | | llvm-svn: 74693
OpenPOWER on IntegriCloud