LLVM: lib/Transforms/Scalar/InstSimplifyPass.cpp File Reference (original) (raw)
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "instsimplify" |
| Variables | |
|---|---|
| instsimplify | |
| Remove redundant | instructions |
| Remove redundant | false |
◆ DEBUG_TYPE
#define DEBUG_TYPE "instsimplify"
◆ INITIALIZE_PASS_BEGIN()
| INITIALIZE_PASS_BEGIN | ( | InstSimplifyLegacyPass | , |
|---|---|---|---|
| "instsimplify" | , | ||
| "Remove redundant instructions" | , | ||
| false | , | ||
| false | ) |
◆ runImpl()
Definition at line 28 of file InstSimplifyPass.cpp.
References llvm::cast(), Changed, llvm::SmallPtrSetImpl< PtrType >::count(), llvm::SimplifyQuery::DT, llvm::SmallPtrSetImplBase::empty(), F, I, llvm::isInstructionTriviallyDead(), llvm::DominatorTree::isReachableFromEntry(), llvm::Next, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::RecursivelyDeleteTriviallyDeadInstructions(), S1, llvm::simplifyInstruction(), std::swap(), and llvm::SimplifyQuery::TLI.
◆ STATISTIC()
| STATISTIC | ( | NumSimplified | , |
|---|---|---|---|
| "Number of redundant instructions removed" | ) |
◆ false
◆ instructions
Remove redundant instructions