Changes in directory llvm/include/llvm/Analysis:
ConstantFolding.h updated: 1.2 -> 1.3
---
Log message:
Make this a *real* header:
1. Remove using namespace llvm;
2. Remove unneeded #includes.
3. Add #include guard.
Also add prototypes for new code moved from transformutils to libanalysi
Changes in directory llvm/include/llvm/Analysis:
ConstantFolding.h updated: 1.1 -> 1.2
---
Log message:
Change constant folding APIs to take an optional TargetData, and change
ConstantFoldInstOperands/ConstantFoldCall to take a pointer to an array
of operands + size, instead of an std::vector.
Changes in directory llvm/include/llvm/Analysis:
ConstantFolding.h added (r1.1)
---
Log message:
Move some constant folding functions into LLVMAnalysis since they are used
by Analysis and Transformation passes.
---
Diffs of the changes: (+36 -0)
ConstantFolding.h | 36 +++