Go to the source code of this file.
◆ DEBUG_TYPE
| #define DEBUG_TYPE "globaldce" |
◆ INITIALIZE_PASS()
◆ isEmptyFunction()
Returns true if F is effectively empty.
Definition at line 80 of file GlobalDCE.cpp.
References llvm::SmallPtrSetImpl< PtrType >::begin(), C, llvm::SmallPtrSetImpl< PtrType >::end(), llvm::SmallPtrSetImpl< PtrType >::erase(), llvm::GlobalValue::getComdat(), llvm::Function::getEntryBlock(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::make_range(), llvm::SmallVectorTemplateBase< T >::push_back(), llvm::MipsISD::Ret, and llvm::Value::users().
Referenced by llvm::GlobalDCEPass::run().
◆ STATISTIC() [1/4]
| STATISTIC |
( |
NumAliases |
, |
|
|
"Number of global aliases removed" |
|
|
) |
| |
◆ STATISTIC() [2/4]
| STATISTIC |
( |
NumFunctions |
, |
|
|
"Number of functions removed" |
|
|
) |
| |
◆ STATISTIC() [3/4]
| STATISTIC |
( |
NumIFuncs |
, |
|
|
"Number of indirect functions removed" |
|
|
) |
| |
◆ STATISTIC() [4/4]
| STATISTIC |
( |
NumVariables |
, |
|
|
"Number of global variables removed" |
|
|
) |
| |