LLVM  8.0.1
Classes | Namespaces | Typedefs
ConstantHoisting.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/PassManager.h"
#include <algorithm>
#include <vector>
Include dependency graph for ConstantHoisting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::consthoist::ConstantUser
 Keeps track of the user of a constant and the operand index where the constant is used. More...
 
struct  llvm::consthoist::ConstantCandidate
 Keeps track of a constant candidate and its uses. More...
 
struct  llvm::consthoist::RebasedConstantInfo
 This represents a constant that has been rebased with respect to a base constant. More...
 
struct  llvm::consthoist::ConstantInfo
 A base constant and all its rebased constants. More...
 
class  llvm::ConstantHoistingPass
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::consthoist
 A private "module" namespace for types and utilities used by ConstantHoisting.
 

Typedefs

using llvm::consthoist::ConstantUseListType = SmallVector< ConstantUser, 8 >
 
using llvm::consthoist::RebasedConstantListType = SmallVector< RebasedConstantInfo, 4 >