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 88 of file GlobalDCE.cpp.
References llvm::SmallPtrSetImpl< PtrType >::begin(), C, Callee, llvm::SmallVectorImpl< T >::clear(), ClEnableVFE, llvm::dbgs(), llvm::dyn_cast(), llvm::SmallVectorBase::empty(), llvm::SmallPtrSetImpl< PtrType >::end(), llvm::SmallPtrSetImpl< PtrType >::erase(), llvm::GlobalValue::getComdat(), llvm::Function::getEntryBlock(), llvm::Module::getFunction(), llvm::GlobalVariable::getInitializer(), llvm::Module::getModuleFlag(), llvm::Intrinsic::getName(), llvm::Value::getName(), llvm::GlobalValue::getParent(), llvm::getPointerAtOffset(), llvm::Module::globals(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::GlobalValue::isDeclaration(), LLVM_DEBUG, llvm::make_range(), llvm::SmallVectorTemplateBase< T >::push_back(), llvm::MipsISD::Ret, llvm::Constant::stripPointerCasts(), llvm::Value::users(), llvm::GlobalObject::VCallVisibilityLinkageUnit, and llvm::GlobalObject::VCallVisibilityTranslationUnit.
Referenced by llvm::GlobalDCEPass::run().
◆ STATISTIC() [1/5]
| STATISTIC |
( |
NumAliases |
, |
|
|
"Number of global aliases removed" |
|
|
) |
| |
◆ STATISTIC() [2/5]
| STATISTIC |
( |
NumFunctions |
, |
|
|
"Number of functions removed" |
|
|
) |
| |
◆ STATISTIC() [3/5]
| STATISTIC |
( |
NumIFuncs |
, |
|
|
"Number of indirect functions removed" |
|
|
) |
| |
◆ STATISTIC() [4/5]
| STATISTIC |
( |
NumVariables |
, |
|
|
"Number of global variables removed" |
|
|
) |
| |
◆ STATISTIC() [5/5]
| STATISTIC |
( |
NumVFuncs |
, |
|
|
"Number of virtual functions removed" |
|
|
) |
| |
◆ ClEnableVFE