Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Transforms/IPO.h
Show First 20 Lines • Show All 230 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
/// This pass lowers type metadata and the llvm.type.test intrinsic to | /// This pass lowers type metadata and the llvm.type.test intrinsic to | ||||
/// bitsets. | /// bitsets. | ||||
/// | /// | ||||
/// The behavior depends on the summary arguments: | /// The behavior depends on the summary arguments: | ||||
/// - If ExportSummary is non-null, this pass will export type identifiers to | /// - If ExportSummary is non-null, this pass will export type identifiers to | ||||
/// the given summary. | /// the given summary. | ||||
/// - Otherwise, if ImportSummary is non-null, this pass will import type | /// - If ImportSummary is non-null, this pass will import type identifiers from | ||||
/// identifiers from the given summary. | /// the given summary. | ||||
/// - Otherwise it does neither. | /// - Otherwise, if both are null and DropTypeTests is true, all type test | ||||
/// It is invalid for both ExportSummary and ImportSummary to be non-null. | /// assume sequences will be removed from the IR. | ||||
/// It is invalid for both ExportSummary and ImportSummary to be non-null | |||||
/// unless DropTypeTests is true. | |||||
ModulePass *createLowerTypeTestsPass(ModuleSummaryIndex *ExportSummary, | ModulePass *createLowerTypeTestsPass(ModuleSummaryIndex *ExportSummary, | ||||
const ModuleSummaryIndex *ImportSummary); | const ModuleSummaryIndex *ImportSummary, | ||||
bool DropTypeTests = false); | |||||
evgeny777: s/StripAll/DropTypeTests/g ? | |||||
Woops, missed this one after my rename! Good catch. Also, noticed the description in the comments is now stale, fixed. tejohnson: Woops, missed this one after my rename! Good catch.
Also, noticed the description in the… | |||||
/// This pass export CFI checks for use by external modules. | /// This pass export CFI checks for use by external modules. | ||||
ModulePass *createCrossDSOCFIPass(); | ModulePass *createCrossDSOCFIPass(); | ||||
/// This pass implements whole-program devirtualization using type | /// This pass implements whole-program devirtualization using type | ||||
/// metadata. | /// metadata. | ||||
/// | /// | ||||
/// The behavior depends on the summary arguments: | /// The behavior depends on the summary arguments: | ||||
Show All 27 Lines |
s/StripAll/DropTypeTests/g ?