|
LLVM
10.0.0
|
#include "llvm/Transforms/Scalar/LowerConstantIntrinsics.h"
Public Member Functions | |
| LowerConstantIntrinsicsPass () | |
| PreservedAnalyses | run (Function &F, FunctionAnalysisManager &) |
| Run the pass over the function. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LowerConstantIntrinsicsPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
Definition at line 23 of file LowerConstantIntrinsics.h.
|
inlineexplicit |
Definition at line 26 of file LowerConstantIntrinsics.h.
| PreservedAnalyses LowerConstantIntrinsicsPass::run | ( | Function & | F, |
| FunctionAnalysisManager & | AM | ||
| ) |
Run the pass over the function.
This will lower all remaining 'objectsize' and 'is.constant'` intrinsic calls in this function, even when the argument has no known size or is not a constant respectively. The resulting constant is propagated and conditional branches are resolved where possible. This complements the Instruction Simplification and Instruction Combination passes of the optimized pass chain.
Definition at line 137 of file LowerConstantIntrinsics.cpp.
References llvm::PreservedAnalyses::all(), F(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), llvm::PassRegistry::getPassRegistry(), llvm::initializeLowerConstantIntrinsicsPass(), lowerConstantIntrinsics(), llvm::PreservedAnalyses::none(), and runOnFunction().
Referenced by LowerConstantIntrinsicsPass().
1.8.13