OSDN Git Service

[PM] Edit comments in PassManager.h.
authorJustin Lebar <jlebar@google.com>
Thu, 5 Jan 2017 00:12:51 +0000 (00:12 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 5 Jan 2017 00:12:51 +0000 (00:12 +0000)
commit9b6443b451d1b3d3c8e720a2db57ddb4fa8c1cac
treeabe21728560d133fb0871943d9e0ce9c1df2a741
parenteb7f57f21dcd49c22a016c89a1421f975c1a6976
[PM] Edit comments in PassManager.h.

Summary:
This covers most of PassManager.h, up to the introduction of inner/outer
analysis proxies.

If there's a theme to these changes, it's simplifying the language.  For
example:

  * PreservedAnalyses is a "set of analyses", not an "abstract set".
    "Abstract" doesn't have any particular meaning here.

  * "Build types for the concept types" becomes "define the concept types".

  * Instead of "data structures optimized for pointer-like types using
    the alignment-provided low bits", say "data structures that use the
    low bits of pointers."

  * "Clear the map pointing into the results list" becomes
    "Delete the map entries that point into the results list."

This patch also fixes a few places where we referred to "function" and
"module" pass/analysis managers, instead of the more abstract "IRUnitT"
PM/AMs we have now.

Subscribers: mehdi_amini

Differential Revision: https://reviews.llvm.org/D27367

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291040 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PassManager.h