LLVM API Documentation
#include "llvm/Constants.h"#include "llvm/GlobalVariable.h"#include "llvm/GlobalAlias.h"#include "llvm/DerivedTypes.h"#include "llvm/Module.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/Support/LeakDetector.h"

Go to the source code of this file.
Functions | |
| static bool | removeDeadUsersOfConstant (Constant *C) |
| static bool removeDeadUsersOfConstant | ( | Constant * | C | ) | [static] |
removeDeadUsersOfConstant - If the specified constantexpr is dead, remove it. This involves recursively eliminating any dead users of the constantexpr.
Definition at line 31 of file Globals.cpp.
References llvm::Constant::destroyConstant(), llvm::dyn_cast(), llvm::Value::use_back(), and llvm::Value::use_empty().
Referenced by llvm::GlobalValue::removeDeadConstantUsers().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.