Enzyme main
Loading...
Searching...
No Matches
SimpleGVN.cpp File Reference
#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"
Include dependency graph for SimpleGVN.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "simple-gvn"
 

Functions

FunctionPass * createSimpleGVNPass ()
 
void LLVMAddSimpleGVNPass (LLVMPassManagerRef PM)
 
static RegisterPass< SimpleGVN > X ("simple-gvn", "GVN-like load forwarding optimization")
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "simple-gvn"

Definition at line 94 of file SimpleGVN.cpp.

Function Documentation

◆ createSimpleGVNPass()

FunctionPass * createSimpleGVNPass ( )

Definition at line 559 of file SimpleGVN.cpp.

Referenced by LLVMAddSimpleGVNPass().

◆ LLVMAddSimpleGVNPass()

void LLVMAddSimpleGVNPass ( LLVMPassManagerRef PM)

Definition at line 561 of file SimpleGVN.cpp.

References createSimpleGVNPass().

◆ X()

static RegisterPass< SimpleGVN > X ( "simple-gvn" ,
"GVN-like load forwarding optimization"  )
static