Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Transforms/IPO/LowerTypeTests.h
Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | |||||
bool isJumpTableCanonical(Function *F); | bool isJumpTableCanonical(Function *F); | ||||
} // end namespace lowertypetests | } // end namespace lowertypetests | ||||
class LowerTypeTestsPass : public PassInfoMixin<LowerTypeTestsPass> { | class LowerTypeTestsPass : public PassInfoMixin<LowerTypeTestsPass> { | ||||
public: | public: | ||||
ModuleSummaryIndex *ExportSummary; | ModuleSummaryIndex *ExportSummary; | ||||
const ModuleSummaryIndex *ImportSummary; | const ModuleSummaryIndex *ImportSummary; | ||||
bool DropTypeTests; | |||||
LowerTypeTestsPass(ModuleSummaryIndex *ExportSummary, | LowerTypeTestsPass(ModuleSummaryIndex *ExportSummary, | ||||
const ModuleSummaryIndex *ImportSummary) | const ModuleSummaryIndex *ImportSummary, | ||||
: ExportSummary(ExportSummary), ImportSummary(ImportSummary) {} | bool DropTypeTests = false) | ||||
: ExportSummary(ExportSummary), ImportSummary(ImportSummary), | |||||
DropTypeTests(DropTypeTests) {} | |||||
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM); | PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM); | ||||
}; | }; | ||||
} // end namespace llvm | } // end namespace llvm | ||||
#endif // LLVM_TRANSFORMS_IPO_LOWERTYPETESTS_H | #endif // LLVM_TRANSFORMS_IPO_LOWERTYPETESTS_H |