LLVM API Documentation

Transforms/Utils/Local.cpp File Reference

#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/MathExtras.h"
#include <cerrno>
#include <cmath>
#include "llvm/Intrinsics.gen"

Include dependency graph for Transforms/Utils/Local.cpp:

Go to the source code of this file.

Defines

#define GET_SIDE_EFFECT_INFO

Functions

bool llvm::doConstantPropagation (BasicBlock::iterator &II)
Constantllvm::ConstantFoldInstruction (Instruction *I)
Constantllvm::ConstantFoldInstOperands (unsigned Opc, const Type *DestTy, const std::vector< Constant * > &Ops)
bool llvm::ConstantFoldTerminator (BasicBlock *BB)
Constantllvm::ConstantFoldLoadThroughGEPConstantExpr (Constant *C, ConstantExpr *CE)
bool llvm::isInstructionTriviallyDead (Instruction *I)
bool llvm::dceInstruction (BasicBlock::iterator &BBI)


Define Documentation

#define GET_SIDE_EFFECT_INFO