LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Transforms/Utils/Local.cpp File Reference

#include "llvm/Support/MathExtras.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Constants.h"
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include <cerrno>
#include <cmath>

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

Go to the source code of this file.

Functions

bool llvm::doConstantPropagation (BasicBlock::iterator &II)
Constantllvm::ConstantFoldInstruction (Instruction *I)
bool llvm::ConstantFoldTerminator (BasicBlock *BB)
bool llvm::canConstantFoldCallTo (Function *F)
static ConstantConstantFoldFP (double(*NativeFP)(double), double V, const Type *Ty)
Constantllvm::ConstantFoldCall (Function *F, const std::vector< Constant * > &Operands)
bool llvm::isInstructionTriviallyDead (Instruction *I)
bool llvm::dceInstruction (BasicBlock::iterator &BBI)
Valuellvm::hasConstantValue (PHINode *PN)


Function Documentation

static Constant* ConstantFoldFP double(*)(double)  NativeFP,
double  V,
const Type Ty
[static]
 

Definition at line 250 of file Transforms/Utils/Local.cpp.

References llvm::ConstantFP::get().

Referenced by llvm::ConstantFoldCall().