Changes in directory llvm/include/llvm/Transforms/Utils:
Local.h updated: 1.21 -> 1.22 --- Log message: Move some constant folding functions into LLVMAnalysis since they are used by Analysis and Transformation passes. --- Diffs of the changes: (+1 -8) Local.h | 9 +-------- 1 files changed, 1 insertion(+), 8 deletions(-) Index: llvm/include/llvm/Transforms/Utils/Local.h diff -u llvm/include/llvm/Transforms/Utils/Local.h:1.21 llvm/include/llvm/Transforms/Utils/Local.h:1.22 --- llvm/include/llvm/Transforms/Utils/Local.h:1.21 Tue Sep 27 14:38:43 2005 +++ llvm/include/llvm/Transforms/Utils/Local.h Thu Oct 27 11:00:10 2005 @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_LOCAL_H #include "llvm/Function.h" +#include "llvm/Analysis/ConstantFolding.h" namespace llvm { @@ -48,14 +49,6 @@ Constant *ConstantFoldInstruction(Instruction *I); -/// canConstantFoldCallTo - Return true if its even possible to fold a call to -/// the specified function. -bool canConstantFoldCallTo(Function *F); - -/// ConstantFoldCall - Attempt to constant fold a call to the specified function -/// with the specified arguments, returning null if unsuccessful. -Constant *ConstantFoldCall(Function *F, const std::vector<Constant*> &Operands); - /// ConstantFoldLoadThroughGEPConstantExpr - Given a constant and a /// getelementptr constantexpr, return the constant value being addressed by the /// constant expression, or null if something is funny and we can't decide. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits