LLVM API Documentation

Local.cpp File Reference

#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Constants.h"
#include "llvm/GlobalAlias.h"
#include "llvm/GlobalVariable.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/LLVMContext.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/DebugInfo.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/MathExtras.h"

Include dependency graph for Local.cpp:

Go to the source code of this file.

Functions

bool llvm::isSafeToLoadUnconditionally (Value *V, Instruction *ScanFrom)
bool llvm::ConstantFoldTerminator (BasicBlock *BB)
bool llvm::isInstructionTriviallyDead (Instruction *I)
void llvm::RecursivelyDeleteTriviallyDeadInstructions (Value *V)
void llvm::RecursivelyDeleteDeadPHINode (PHINode *PN)
void llvm::MergeBasicBlockIntoOnlyPred (BasicBlock *BB)
bool llvm::OnlyUsedByDbgInfoIntrinsics (Instruction *I, SmallVectorImpl< DbgInfoIntrinsic * > *DbgInUses=0)