LLVM API Documentation
#include "llvm/Transforms/Scalar.h"
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/GlobalVariable.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Type.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/hash_map"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
#include <set>
Include dependency graph for SCCP.cpp:
Go to the source code of this file.
Classes | |
class | SCCPSolver |
Defines | |
#define | DEBUG_TYPE "sccp" |
Functions | |
static Constant * | GetGEPGlobalInitializer (Constant *C, ConstantExpr *CE) |
FunctionPass * | llvm::createSCCPPass () |
|
|
|
GetGEPGlobalInitializer - Given a constant and a getelementptr constantexpr, return the constant value being addressed by the constant expression, or null if something is funny. Definition at line 645 of file SCCP.cpp. References llvm::User::getNumOperands(), llvm::Constant::getOperand(), llvm::ConstantExpr::getOperand(), and llvm::Value::getType(). |
|
|
|
|
|
|