summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead check.Eli Friedman2009-07-181-3/+1
| | | | llvm-svn: 76301
* Canonicalize insert/extractelement from single-element vectors into Eli Friedman2009-07-182-6/+28
| | | | | | | | | bitcasts. It would also be possible to canonicalize the other way; does anyone have a preference? llvm-svn: 76300
* Fix a comment.Argyrios Kyrtzidis2009-07-181-1/+1
| | | | llvm-svn: 76299
* Introduce a redecl_iterator in Decl class, so that we can do a "iterate over ↵Argyrios Kyrtzidis2009-07-184-11/+83
| | | | | | all declarations of the same decl" without knowing the exact type. llvm-svn: 76298
* Introduce the Redeclarable template class, which serves as a base type ↵Argyrios Kyrtzidis2009-07-183-188/+163
| | | | | | | | defining the common interface for Decls that can be redeclared. Make FunctionDecl and VarDecl use it. llvm-svn: 76297
* Remove StmtLocResolver::VisitObjCIvarRefExpr, it was only there to avoid ↵Argyrios Kyrtzidis2009-07-181-7/+0
| | | | | | | | returning an implicit 'self' instead of the ivar. Since implicit 'self' no longer has a source location, it's not needed. (plus we also want to check for a 'self' that is visible in source code) llvm-svn: 76296
* Don't add a SourceLocation for 'self' if it does not actually appears in the ↵Argyrios Kyrtzidis2009-07-181-1/+2
| | | | | | source code. llvm-svn: 76295
* Replace stmt visitors with the fall back method.Zhongxing Xu2009-07-181-21/+1
| | | | llvm-svn: 76294
* Fix simplifylibcalls memset recognition to work on 64-bit platforms Eli Friedman2009-07-182-2/+14
| | | | | | where int is 32 bits. llvm-svn: 76293
* Switch lli back to using allocate-gvs-with-code behavior.Daniel Dunbar2009-07-181-2/+5
| | | | | | | | | - Otherwise we get two regressions in llvm-test for applications which run out of space. - Once the JIT memory manager is improved, this can be switched back. llvm-svn: 76291
* Replace intersectWith with maximalIntersectWith. The latter guarantees thatNick Lewycky2009-07-185-85/+29
| | | | | | | | all values belonging to the intersection will belong to the resulting range. The former was inconsistent about that point (either way is fine, just pick one.) This is part of PR4545. llvm-svn: 76289
* Fix crash in StoreManager::NewCastRegion() when handling casts from 'id' (or ↵Ted Kremenek2009-07-182-2/+27
| | | | | | whatever) to a BlockPointerType. llvm-svn: 76288
* Return CodeTextRegions for BlockPointerTypes in addition to ↵Ted Kremenek2009-07-181-9/+9
| | | | | | FunctionPointerTypes. llvm-svn: 76287
* Unbreak unittests build.Daniel Dunbar2009-07-182-2/+2
| | | | | | - Reid, please check, I'm not sure if this is what was intended. llvm-svn: 76286
* Fix the inline cost calculation to take into account instructions Eli Friedman2009-07-181-0/+7
| | | | | | | which cannot be folded even if they have constant operands. Significantly helps if_spppsubr.c attached to PR4573. llvm-svn: 76285
* Add line breaks to make the debug output a bit more readable.Eli Friedman2009-07-181-4/+4
| | | | llvm-svn: 76284
* Add test case for bug fix in r76262.Ted Kremenek2009-07-181-0/+14
| | | | llvm-svn: 76283
* Catch more coalescing opportunities.Evan Cheng2009-07-183-7/+10
| | | | llvm-svn: 76282
* Enable cross register class coalescing.Evan Cheng2009-07-1810-19/+198
| | | | llvm-svn: 76281
* Make GetElementPtr ConstantExprs default to having no pointer overflow.Dan Gohman2009-07-181-1/+5
| | | | llvm-svn: 76280
* Revert 76177 for now. It's messing up ARM asm printing. Also this ↵Evan Cheng2009-07-183-136/+12
| | | | | | significant debate about its efficiency. llvm-svn: 76279
* Fix this accidentally inverted condition.Dan Gohman2009-07-181-1/+1
| | | | llvm-svn: 76278
* Fix some fallout from CFGBuilder restructuring: all expressions that we ↵Ted Kremenek2009-07-181-20/+24
| | | | | | explicitly handle have the possibility to be block-level expressions. llvm-svn: 76277
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-1822-93/+249
| | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276
* Remove getFirstDeclaration/getLatestDeclaration from FunctionDecl and VarDecl.Argyrios Kyrtzidis2009-07-182-48/+4
| | | | | | Their usefulness is questionable since redecl_iterator was introduced. llvm-svn: 76275
* Remove ASTContext::getCanonicalDecl() and use Decl::getCanonicalDecl in its ↵Argyrios Kyrtzidis2009-07-189-45/+30
| | | | | | place. llvm-svn: 76274
* Move the functionality of ASTContext::getCanonicalDecl(), into a virtual ↵Argyrios Kyrtzidis2009-07-187-47/+52
| | | | | | method Decl::getCanonicalDecl(). llvm-svn: 76273
* Resolve a location that is inside an ObjCMethodDecl.Argyrios Kyrtzidis2009-07-181-1/+58
| | | | llvm-svn: 76272
* Make ASTLocation accept a Stmt that is inside an ObjCMethodDecl.Argyrios Kyrtzidis2009-07-181-3/+19
| | | | llvm-svn: 76271
* Search through all Decls that are DeclContexts.Argyrios Kyrtzidis2009-07-181-7/+2
| | | | llvm-svn: 76270
* Set ObjCMethodDecl's EndLoc to the '}' when it's a definition.Argyrios Kyrtzidis2009-07-182-1/+2
| | | | llvm-svn: 76269
* Location should be passed to setLocEnd() not to setAtEndLoc() which belongs ↵Argyrios Kyrtzidis2009-07-181-1/+1
| | | | | | to ObjCContainerDecl. llvm-svn: 76268
* Add getSourceRange() methods for ObjC Decls.Argyrios Kyrtzidis2009-07-181-2/+12
| | | | llvm-svn: 76267
* fix objc codegen to not have its own list of things that eventually get into ↵Chris Lattner2009-07-174-64/+33
| | | | | | | | llvm.used, just populate CGM's list directly. llvm-svn: 76266
* Convert more code to use Operator instead of explicitly handling bothDan Gohman2009-07-173-43/+57
| | | | | | | ConstantExpr and Instruction. This involves duplicating some code between GetElementPtrInst and GEPOperator, but it's not a lot. llvm-svn: 76265
* Update CMake file.Ted Kremenek2009-07-171-0/+1
| | | | llvm-svn: 76264
* This takes a long time to crash, just disable it for now.Chris Lattner2009-07-171-1/+2
| | | | llvm-svn: 76263
* Fix caching bug revealed by analyzing ClamAV using RegionStore.Ted Kremenek2009-07-171-2/+1
| | | | llvm-svn: 76262
* Fix possible null dereference in CFG construction.Ted Kremenek2009-07-171-0/+1
| | | | llvm-svn: 76261
* llvm-mc: Default -triple to LLVM_HOSTTRIPLE.Daniel Dunbar2009-07-171-1/+1
| | | | llvm-svn: 76260
* Remove bogus check.Ted Kremenek2009-07-171-4/+0
| | | | llvm-svn: 76259
* Fix pr4552. Stack slot coloring with register must take care not to generate ↵Evan Cheng2009-07-172-0/+71
| | | | | | illegal ams. llvm-svn: 76258
* llvm-mc: Add -triple, and start fetching the target asm printer.Daniel Dunbar2009-07-1724-28/+82
| | | | llvm-svn: 76257
* Add error message when clang-cc cannot be found.Ted Kremenek2009-07-171-0/+4
| | | | llvm-svn: 76256
* Add llvm::InitializeAllTargetInfos and llvm::InitializeAllAsmParsers.Daniel Dunbar2009-07-171-8/+31
| | | | llvm-svn: 76253
* Make BasicAliasAnalysis and Value::getUnderlyingObject useDan Gohman2009-07-173-16/+28
| | | | | | | | GEPOperator's hasNoPointer0verflow(), and make a few places in instcombine that create GEPs that may overflow clear the NoOverflow value. Among other things, this partially addresses PR2831. llvm-svn: 76252
* Restructure CFG builder to have just one visitor path instead of two. The resultTed Kremenek2009-07-171-328/+407
| | | | | | | | is an algorithm that is much easier to understand and slightly more efficient. Thanks to Mike Stump for our discussions on the CFGBuilder and his comments that helped prompt this long needed cleanup. llvm-svn: 76250
* Fix some typos in a comment.Dan Gohman2009-07-171-7/+7
| | | | llvm-svn: 76249
* Fix x86 inline ams 'q' constraint support. In 32-bit mode, it's just like ↵Evan Cheng2009-07-172-1/+41
| | | | | | 'Q', i.e. EAX, EDX, ECX, EBX. In 64-bit mode, it just means all the i64r registers. Yeah, that makes sense. llvm-svn: 76248
* Tweak svn:ignoreDaniel Dunbar2009-07-170-0/+0
| | | | llvm-svn: 76247
OpenPOWER on IntegriCloud