[llvm-commits] [vector_llvm] CVS: llvm/include/llvm/Transforms/Utils/Local.h

Robert Bocchino bocchino at cs.uiuc.edu
Wed Nov 16 10:32:13 PST 2005



Changes in directory llvm/include/llvm/Transforms/Utils:

Local.h updated: 1.21 -> 1.21.2.1
---
Log message:

Merged mainline into Vector LLVM branch


---
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.21.2.1
--- llvm/include/llvm/Transforms/Utils/Local.h:1.21	Tue Sep 27 14:38:43 2005
+++ llvm/include/llvm/Transforms/Utils/Local.h	Wed Nov 16 12:32:01 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.






More information about the llvm-commits mailing list