[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h

Chris Lattner lattner at cs.uiuc.edu
Mon Sep 15 00:06:02 PDT 2003


Changes in directory llvm/include/llvm/Transforms:

IPO.h updated: 1.20 -> 1.21

---
Log message:

Add prototype for the lowersetjmp pass


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.20 llvm/include/llvm/Transforms/IPO.h:1.21
--- llvm/include/llvm/Transforms/IPO.h:1.20	Sun Aug 31 22:14:00 2003
+++ llvm/include/llvm/Transforms/IPO.h	Mon Sep 15 00:05:23 2003
@@ -12,6 +12,13 @@
 class Function;
 
 //===----------------------------------------------------------------------===//
+// createLowerSetJmpPass - This function lowers the setjmp/longjmp intrinsics to
+// invoke/unwind instructions.  This should really be part of the C/C++
+// front-end, but it's so much easier to write transformations in LLVM proper.
+//
+Pass* createLowerSetJmpPass();
+
+//===----------------------------------------------------------------------===//
 // createConstantMergePass - This function returns a new pass that merges
 // duplicate global constants together into a single constant that is shared.
 // This is useful because some passes (ie TraceValues) insert a lot of string





More information about the llvm-commits mailing list