Go to the source code of this file.
◆ DEBUG_TYPE
◆ DCEInstruction()
Definition at line 55 of file DCE.cpp.
References llvm::dyn_cast(), I, llvm::SetVector< T, Vector, Set, N >::insert(), llvm::isInstructionTriviallyDead(), llvm::salvageDebugInfo(), llvm::salvageKnowledge(), llvm::DebugCounter::shouldExecute(), and llvm::Value::use_empty().
Referenced by eliminateDeadCode().
◆ DEBUG_COUNTER()
| DEBUG_COUNTER |
( |
DCECounter | , |
|
|
"dce-transform" | , |
|
|
"Controls which instructions are eliminated" | ) |
◆ eliminateDeadCode()
Definition at line 89 of file DCE.cpp.
References llvm::SetVector< T, Vector, Set, N >::count(), DCEInstruction(), llvm::SetVector< T, Vector, Set, N >::empty(), F, I, instructions, llvm::make_early_inc_range(), and llvm::SetVector< T, Vector, Set, N >::pop_back_val().
◆ STATISTIC()
| STATISTIC |
( |
DCEEliminated | , |
|
|
"Number of insts removed" | ) |