| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move NoAA out of BasicAliasAnalysis.cpp into its own file, now that | Dan Gohman | 2010-10-19 | 3 | -87/+92 |
| | | | | | | | | it doesn't have a special relationship with BasicAliasAnalysis anymore. llvm-svn: 116876 | ||||
| * | Reapply r116831 and r116839, converting AliasAnalysis to use | Dan Gohman | 2010-10-19 | 6 | -41/+43 |
| | | | | | | | uint64_t, plus fixes for places I missed before. llvm-svn: 116875 | ||||
| * | Revert r116831 and r116839, which are breaking selfhost builds. | Dan Gohman | 2010-10-19 | 5 | -42/+40 |
| | | | | | llvm-svn: 116858 | ||||
| * | Change AliasAnalysis and its clients to use uint64_t instead of unsigned | Dan Gohman | 2010-10-19 | 5 | -40/+42 |
| | | | | | | | for representing object sizes, for consistency with other parts of LLVM. llvm-svn: 116831 | ||||
| * | Get rid of static constructors for pass registration. Instead, every pass ↵ | Owen Anderson | 2010-10-19 | 27 | -36/+111 |
| | | | | | | | | | | | | | | | | | | exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820 | ||||
| * | Consistently use AliasAnalysis::UnknownSize instead of hardcoding ~0u. | Dan Gohman | 2010-10-19 | 3 | -20/+29 |
| | | | | | llvm-svn: 116815 | ||||
| * | Make the representation of AliasSets explicitly differentiate | Dan Gohman | 2010-10-18 | 1 | -2/+2 |
| | | | | | | | | between "not known yet" and "known no tbaa info" so that it can merge them properly. llvm-svn: 116767 | ||||
| * | Don't pass the raw invalid pointer used to represent conflicting | Dan Gohman | 2010-10-18 | 1 | -3/+5 |
| | | | | | | | TBAA information to AliasAnalysis. llvm-svn: 116751 | ||||
| * | Make AliasSetTracker TBAA-aware, enabling TBAA-enabled LICM. | Dan Gohman | 2010-10-18 | 1 | -24/+49 |
| | | | | | llvm-svn: 116743 | ||||
| * | Fix BasicAA to pass TBAAInfo through to the chained analysis. | Dan Gohman | 2010-10-18 | 1 | -26/+47 |
| | | | | | llvm-svn: 116730 | ||||
| * | Make TypeBasedAliasAnalysis default to doing nothing, with a command-line | Dan Gohman | 2010-10-18 | 1 | -0/+10 |
| | | | | | | | option to enable it. llvm-svn: 116722 | ||||
| * | Use chaining in TypeBasedAliasAnalysis::pointsToConstantMemory. | Dan Gohman | 2010-10-18 | 1 | -1/+4 |
| | | | | | llvm-svn: 116721 | ||||
| * | Make BasicAliasAnalysis a normal AliasAnalysis implementation which | Dan Gohman | 2010-10-18 | 1 | -11/+25 |
| | | | | | | | | | | | | | does normal initialization and normal chaining. Change the default AliasAnalysis implementation to NoAlias. Update StandardCompileOpts.h and friends to explicitly request BasicAliasAnalysis. Update tests to explicitly request -basicaa. llvm-svn: 116720 | ||||
| * | Eliminate some calls to Value::getNameStr. | Benjamin Kramer | 2010-10-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 116670 | ||||
| * | Tolerate a null parent pointer. | Dan Gohman | 2010-10-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 116533 | ||||
| * | add uadd_ov/usub_ov to apint, consolidate constant folding | Chris Lattner | 2010-10-14 | 1 | -32/+28 |
| | | | | | | | | | | logic to use the new APInt methods. Among other things this implements rdar://8501501 - llvm.smul.with.overflow.i32 should constant fold which comes from "clang -ftrapv", originally brought to my attention from PR8221. llvm-svn: 116457 | ||||
| * | Analysis groups need to initialize their default implementations. | Owen Anderson | 2010-10-13 | 3 | -3/+3 |
| | | | | | llvm-svn: 116441 | ||||
| * | Add Region::isTopLevelRegion(). | Tobias Grosser | 2010-10-13 | 1 | -3/+3 |
| | | | | | llvm-svn: 116402 | ||||
| * | RegionInfo: Fix trivial error that slipped in last minute. | Tobias Grosser | 2010-10-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 116400 | ||||
| * | RegionInfo: Update RegionInfo after a BB was split. | Tobias Grosser | 2010-10-13 | 1 | -0/+13 |
| | | | | | llvm-svn: 116398 | ||||
| * | RegioInfo: Add getExpandedRegion(). | Tobias Grosser | 2010-10-13 | 1 | -0/+32 |
| | | | | | | | | getExpandedRegion() enables us to create non canonical regions. Those regions can be used to define the largerst region, that fullfills a certain property. llvm-svn: 116397 | ||||
| * | RegionInfo: Allow to update exit and entry of a region. | Tobias Grosser | 2010-10-13 | 1 | -0/+9 |
| | | | | | llvm-svn: 116396 | ||||
| * | RegionInfo: Enhance addSubregion. | Tobias Grosser | 2010-10-13 | 1 | -4/+29 |
| | | | | | llvm-svn: 116395 | ||||
| * | RegionInfo: Allow to set the parent region of a basic block. | Tobias Grosser | 2010-10-13 | 1 | -1/+4 |
| | | | | | llvm-svn: 116394 | ||||
| * | RegionInfo: Free the RegionNodes in cache. | Tobias Grosser | 2010-10-13 | 1 | -0/+5 |
| | | | | | | | Contributed by: ether llvm-svn: 116380 | ||||
| * | Begin adding static dependence information to passes, which will allow us to | Owen Anderson | 2010-10-12 | 16 | -17/+75 |
| | | | | | | | | | | perform initialization without static constructors AND without explicit initialization by the client. For the moment, passes are required to initialize both their (potential) dependencies and any passes they preserve. I hope to be able to relax the latter requirement in the future. llvm-svn: 116334 | ||||
| * | Support AA chaining. | Dan Gohman | 2010-10-11 | 1 | -6/+9 |
| | | | | | llvm-svn: 116264 | ||||
| * | Now using a variant of the existing inlining heuristics to decide whether to ↵ | Kenneth Uildriks | 2010-10-09 | 1 | -0/+70 |
| | | | | | | | create a given specialization of a function in PartialSpecialization. If the total performance bonus across all callsites passing the same constant exceeds the specialization cost, we create the specialization. llvm-svn: 116158 | ||||
| * | Start separating out code metrics into code size metrics and code ↵ | Kenneth Uildriks | 2010-10-08 | 1 | -10/+53 |
| | | | | | | | performance metrics. Partial Specialization will apply the former to function specializations, and the latter to all callsites that can use a specialization, in order to decide whether to create a specialization llvm-svn: 116057 | ||||
| * | Now with fewer extraneous semicolons! | Owen Anderson | 2010-10-07 | 34 | -51/+52 |
| | | | | | llvm-svn: 115996 | ||||
| * | Add an implementation of the initialization routine for IPA. | Owen Anderson | 2010-10-07 | 1 | -0/+29 |
| | | | | | llvm-svn: 115947 | ||||
| * | Add initialization routines for Analysis and IPA. | Owen Anderson | 2010-10-07 | 2 | -0/+57 |
| | | | | | llvm-svn: 115946 | ||||
| * | Fix a warning when building with clang++. | Owen Anderson | 2010-10-07 | 1 | -2/+3 |
| | | | | | llvm-svn: 115924 | ||||
| * | Move the pass initialization helper functions into the llvm namespace, and add | Owen Anderson | 2010-10-07 | 2 | -10/+11 |
| | | | | | | | | a header declaring them all. This is also where we will declare per-library pass-set initializer functions down the road. llvm-svn: 115900 | ||||
| * | Appease the clang self-host buildbot by providing a correct instantiation. | Owen Anderson | 2010-10-06 | 1 | -3/+3 |
| | | | | | llvm-svn: 115857 | ||||
| * | Hide analysis group registration behind a macro, just like pass registration. | Owen Anderson | 2010-10-06 | 3 | -3/+3 |
| | | | | | llvm-svn: 115835 | ||||
| * | Add support for DW_TAG_unspecified_parameters. | Devang Patel | 2010-10-06 | 1 | -1/+14 |
| | | | | | llvm-svn: 115833 | ||||
| * | Don't add the operand count to SCEV uniquing data; FoldingSetNodeID | Dan Gohman | 2010-10-04 | 1 | -5/+0 |
| | | | | | | | already knows its own length, so this is redundant. llvm-svn: 115521 | ||||
| * | Let FE mark a variable as artificial variable. | Devang Patel | 2010-09-29 | 1 | -3/+7 |
| | | | | | llvm-svn: 115102 | ||||
| * | Generalize DISubprogram element to encode various flags instead of just one ↵ | Devang Patel | 2010-09-29 | 1 | -3/+3 |
| | | | | | | | | | boolean for isArtificial. This is a backword compatible change. llvm-svn: 115084 | ||||
| * | Remove PointerTracking from cmakelists … | Benjamin Kramer | 2010-09-29 | 1 | -1/+0 |
| | | | | | llvm-svn: 115076 | ||||
| * | remove PointerTracking from mainline, Edwin is going to move it out to ClamAV | Chris Lattner | 2010-09-29 | 1 | -316/+0 |
| | | | | | | | for LLVM 2.9 llvm-svn: 115062 | ||||
| * | Removed a bunch of unnecessary target_link_libraries. | Oscar Fuentes | 2010-09-28 | 1 | -2/+0 |
| | | | | | llvm-svn: 114999 | ||||
| * | Provide an interface to let FEs anchor debug info for types. | Devang Patel | 2010-09-28 | 1 | -0/+8 |
| | | | | | llvm-svn: 114969 | ||||
| * | Don't try to constant fold libm functions with non-finite arguments. | Jakob Stoklund Olesen | 2010-09-27 | 1 | -0/+7 |
| | | | | | | | | | Usually we wouldn't do this anyway because llvm_fenv_testexcept would return an exception, but we have seen some cases where neither errno nor fenv detect an exception on arm-linux. llvm-svn: 114893 | ||||
| * | Teach memdep about TBAA tags. | Dan Gohman | 2010-09-22 | 1 | -71/+95 |
| | | | | | llvm-svn: 114588 | ||||
| * | Simplify code. | Benjamin Kramer | 2010-09-21 | 1 | -8/+6 |
| | | | | | llvm-svn: 114444 | ||||
| * | Make CreateComplexVariable independent of SmallVector. | Benjamin Kramer | 2010-09-21 | 1 | -7/+6 |
| | | | | | llvm-svn: 114439 | ||||
| * | Don't include <fenv.h> now that we have llvm/System/FEnv.h. | Jakob Stoklund Olesen | 2010-09-17 | 1 | -1/+0 |
| | | | | | llvm-svn: 114219 | ||||
| * | Attempt to support platforms which don't have fenv.h. | Dan Gohman | 2010-09-17 | 1 | -12/+7 |
| | | | | | llvm-svn: 114196 | ||||

