| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change getelementptr folding to use APInt instead of uint64_t for | Dan Gohman | 2009-08-21 | 1 | -11/+15 |
| | | | | | | | | offset computations. This fixes a truncation bug on targets that don't have 64-bit pointers. llvm-svn: 79639 | ||||
| * | bug 4530: Make debug information static to it is preservered during bitcode ↵ | Richard Pennington | 2009-08-21 | 1 | -2/+2 |
| | | | | | | | linking. llvm-svn: 79616 | ||||
| * | Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrap | Dan Gohman | 2009-08-20 | 1 | -8/+8 |
| | | | | | | | and hasNoSignedWrap, for consistency with the nuw and nsw properties. llvm-svn: 79539 | ||||
| * | Various comment and whitespace cleanups. | Dan Gohman | 2009-08-20 | 3 | -14/+17 |
| | | | | | llvm-svn: 79533 | ||||
| * | Fix a bug in the over-index constant folding. When over-indexing an | Dan Gohman | 2009-08-19 | 1 | -8/+24 |
| | | | | | | | | | array member of a struct, it's possible to land in an arbitrary position inside that struct, such that attempting to find further getelementptr indices will fail. In such cases, folding cannot be done. llvm-svn: 79485 | ||||
| * | Use hasDefinitiveInitializer() instead of testing the same thing | Dan Gohman | 2009-08-19 | 3 | -4/+3 |
| | | | | | | | | by hand, and fix a few places that were using hasInitializer() that appear to depend on the initializer value. llvm-svn: 79441 | ||||
| * | Canonicalize indices in a constantexpr GEP. If Indices exceed the | Dan Gohman | 2009-08-19 | 1 | -4/+48 |
| | | | | | | | | | static extents of the static array type, it causes GlobalOpt and other passes to be more conservative. This canonicalization also allows the constant folder to add "inbounds" to GEPs. llvm-svn: 79440 | ||||
| * | Broke line before break. | Andreas Neustifter | 2009-08-19 | 1 | -1/+2 |
| | | | | | llvm-svn: 79404 | ||||
| * | Fix SimplifyLibcalls and ValueTracking to check mayBeOverridden | Dan Gohman | 2009-08-19 | 1 | -1/+2 |
| | | | | | | | before performing optimizations based on constant string values. llvm-svn: 79384 | ||||
| * | Generalize ScalarEvolution to be able to analyze GEPs when | Dan Gohman | 2009-08-18 | 2 | -119/+394 |
| | | | | | | | | | TargetData is not present. It still uses TargetData when available. This generalization also fixed some limitations in the TargetData case; the attached testcase covers this. llvm-svn: 79344 | ||||
| * | Oops. find all llvm.dbg.global_variables. | Devang Patel | 2009-08-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 79274 | ||||
| * | Fix more missing newlines. | Dan Gohman | 2009-08-17 | 1 | -2/+2 |
| | | | | | llvm-svn: 79244 | ||||
| * | Actually privatize a IntegerTypes, and fix a few bugs exposed by this. | Owen Anderson | 2009-08-13 | 1 | -4/+4 |
| | | | | | llvm-svn: 78955 | ||||
| * | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 10 | -94/+107 |
| | | | | | llvm-svn: 78948 | ||||
| * | Fix a missing newline (now that Value*'s operator<< doesn't append one). | Dan Gohman | 2009-08-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 78814 | ||||
| * | Use isa instead of dyn_cast when the result is only converted to bool. | Dan Gohman | 2009-08-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 78685 | ||||
| * | Tidy #includes. | Dan Gohman | 2009-08-11 | 1 | -1/+0 |
| | | | | | llvm-svn: 78677 | ||||
| * | Don't assume that external global variables are aligned at their preferred | Dan Gohman | 2009-08-11 | 1 | -2/+10 |
| | | | | | | | alignment. Only the minimum alignment guaranteed by the ABI may be assumed. llvm-svn: 78668 | ||||
| * | Keep track of DIType. | Devang Patel | 2009-08-10 | 1 | -3/+13 |
| | | | | | llvm-svn: 78602 | ||||
| * | Some ProfileInfo cleanups. | Daniel Dunbar | 2009-08-08 | 2 | -1/+2 |
| | | | | | | | - Part of optimal static profiling patch sequence by Andreas Neustifter. llvm-svn: 78485 | ||||
| * | Add a basic static ProfileInfo provider (ProfileEstimatorPass). | Daniel Dunbar | 2009-08-08 | 2 | -0/+237 |
| | | | | | | | - Part of optimal static profiling patch sequence by Andreas Neustifter. llvm-svn: 78484 | ||||
| * | More ProfileInfo improvements. | Daniel Dunbar | 2009-08-08 | 2 | -62/+80 |
| | | | | | | | | | | | | | - Part of optimal static profiling patch sequence by Andreas Neustifter. - Store edge, block, and function information separately for each functions (instead of in one giant map). - Return frequencies as double instead of int, and use a sentinel value for missing information. llvm-svn: 78477 | ||||
| * | Fix copy-pasto. | Andreas Bolka | 2009-08-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 78426 | ||||
| * | SIV/MIV classification for LDA. | Andreas Bolka | 2009-08-07 | 1 | -6/+35 |
| | | | | | | | | | | | LoopDependenceAnalysis::getLoops is currently O(N*M) for a loop-nest of depth N and a compound SCEV of M atomic SCEVs. As both N and M will typically be very small, this should not be a problem. If it turns out to be one, rewriting getLoops as SCEVVisitor will reduce complexity to O(M). llvm-svn: 78394 | ||||
| * | Remove unused function. | Daniel Dunbar | 2009-08-07 | 1 | -7/+0 |
| | | | | | llvm-svn: 78366 | ||||
| * | Fix a bunch of namespace pollution. | Dan Gohman | 2009-08-07 | 2 | -9/+9 |
| | | | | | llvm-svn: 78363 | ||||
| * | Remove dead code. | Devang Patel | 2009-08-06 | 1 | -31/+1 |
| | | | | | llvm-svn: 78335 | ||||
| * | Simplify the ZIV tester to the max. | Andreas Bolka | 2009-08-06 | 1 | -3/+2 |
| | | | | | | | As suggested by Nick Lewycky. llvm-svn: 78277 | ||||
| * | Privatize the StructType table, which unfortunately involves routing ↵ | Owen Anderson | 2009-08-05 | 1 | -11/+21 |
| | | | | | | | contexts through a number of APIs. llvm-svn: 78258 | ||||
| * | Make block and function count available via ProfileInfo. | Daniel Dunbar | 2009-08-05 | 2 | -6/+19 |
| | | | | | | | - Part of optimal static profiling patch sequence by Andreas Neustifter. llvm-svn: 78247 | ||||
| * | Remove unnecessary ProfileInfoLoader methods. | Daniel Dunbar | 2009-08-05 | 2 | -152/+20 |
| | | | | | | | - Part of optimal static profiling patch sequence by Andreas Neustifter. llvm-svn: 78199 | ||||
| * | ZIV tester for LDA. | Andreas Bolka | 2009-08-05 | 1 | -1/+17 |
| | | | | | llvm-svn: 78157 | ||||
| * | Restrict LDA to GEPs with the same pointer offset. | Andreas Bolka | 2009-08-05 | 1 | -11/+27 |
| | | | | | | | | We can not simply apply ZIV testing to the pointer offsets, as this would incorrectly return independence for e.g. (GEP x,0,i; GEP x,1,-i). llvm-svn: 78155 | ||||
| * | Restrict LDA to affine subscripts. | Andreas Bolka | 2009-08-03 | 1 | -0/+18 |
| | | | | | llvm-svn: 77932 | ||||
| * | LibCallAliasAnalysis doesn't use TargetData. | Dan Gohman | 2009-07-31 | 1 | -2/+0 |
| | | | | | llvm-svn: 77729 | ||||
| * | Make TargetData optional in MemoryDependenceAnalysis. | Dan Gohman | 2009-07-31 | 1 | -10/+7 |
| | | | | | llvm-svn: 77727 | ||||
| * | Remove an unnecessary header. | Dan Gohman | 2009-07-31 | 1 | -1/+0 |
| | | | | | llvm-svn: 77725 | ||||
| * | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 7 | -31/+29 |
| | | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | ||||
| * | Fix some problems with ASTCallbackVH in its use as a DenseMap key. | Dan Gohman | 2009-07-31 | 1 | -4/+6 |
| | | | | | llvm-svn: 77696 | ||||
| * | Process DbgDeclareInst. | Devang Patel | 2009-07-31 | 1 | -0/+15 |
| | | | | | llvm-svn: 77694 | ||||
| * | Move getTrue() and getFalse() to 2.5-like APIs. | Owen Anderson | 2009-07-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 77685 | ||||
| * | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 3 | -7/+7 |
| | | | | | llvm-svn: 77635 | ||||
| * | Use CallbackVH in AliasSetTracker to avoid getting stuck with | Dan Gohman | 2009-07-30 | 1 | -4/+20 |
| | | | | | | | dangling Value*s. llvm-svn: 77623 | ||||
| * | s/DebugInfoEnumerator/DebugInfoFinder/g | Devang Patel | 2009-07-30 | 1 | -31/+31 |
| | | | | | llvm-svn: 77615 | ||||
| * | walk DbgRegionStartInst and DbgRegionEndInst | Devang Patel | 2009-07-30 | 1 | -2/+20 |
| | | | | | llvm-svn: 77604 | ||||
| * | Equal SCEVs of a subscript give rise to dependence. | Andreas Bolka | 2009-07-30 | 1 | -1/+11 |
| | | | | | llvm-svn: 77570 | ||||
| * | Eliminate a few unused-variable warnings | Douglas Gregor | 2009-07-29 | 2 | -3/+0 |
| | | | | | llvm-svn: 77519 | ||||
| * | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 4 | -11/+11 |
| | | | | | llvm-svn: 77516 | ||||
| * | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 5 | -42/+41 |
| | | | | | llvm-svn: 77494 | ||||
| * | Skeleton for pairwise subscript testing. | Andreas Bolka | 2009-07-29 | 1 | -3/+45 |
| | | | | | llvm-svn: 77437 | ||||

