#include <llvm/Config/llvm-config.h>
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GetElementPtrTypeIterator.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstrTypes.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Value.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/MemoryLocation.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/Local.h"
#include "SimpleGVN.h"
#include "Utils.h"
Go to the source code of this file.
◆ DEBUG_TYPE
| #define DEBUG_TYPE "simple-gvn" |
◆ createSimpleGVNPass()
| FunctionPass * createSimpleGVNPass |
( |
| ) |
|
◆ LLVMAddSimpleGVNPass()
| void LLVMAddSimpleGVNPass |
( |
LLVMPassManagerRef | PM | ) |
|
◆ X()
| static RegisterPass< SimpleGVN > X |
( |
"simple-gvn" | , |
|
|
"GVN-like load forwarding optimization" | ) |
|
static |