1#ifndef LLVM_TRANSFORMS_UTILS_IRNORMALIZER_H
2#define LLVM_TRANSFORMS_UTILS_IRNORMALIZER_H
This header defines various interfaces for pass management in LLVM.
A container for analyses that lazily runs them and caches their results.
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
bool RenameAll
Renames all instructions (including user-named)
bool ReorderOperands
Sorts and reorders operands in commutative instructions.
bool PreserveOrder
Preserves original instruction order.
bool FoldPreOutputs
Folds all regular instructions (including pre-outputs)
IRNormalizer aims to transform LLVM IR into normal form.
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM) const
IRNormalizerPass(IRNormalizerOptions Options=IRNormalizerOptions())
A CRTP mix-in to automatically provide informational APIs needed for passes.