LLVM API Documentation

Analysis/ConstantFolding.cpp File Reference

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

Include dependency graph for Analysis/ConstantFolding.cpp:

Go to the source code of this file.

Functions

bool llvm::canConstantFoldCallTo (Function *F)
Constantllvm::ConstantFoldFP (double(*NativeFP)(double), double V, const Type *Ty)
Constantllvm::ConstantFoldCall (Function *F, const std::vector< Constant * > &Operands)