[llvm-commits] CVS: llvm/lib/Target/Sparc/FInfo.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Mon Jun 2 22:42:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

FInfo.cpp updated: 1.2 -> 1.3

---
Log message:

Add file comment.



---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/FInfo.cpp
diff -u llvm/lib/Target/Sparc/FInfo.cpp:1.2 llvm/lib/Target/Sparc/FInfo.cpp:1.3
--- llvm/lib/Target/Sparc/FInfo.cpp:1.2	Mon Jun  2 17:57:41 2003
+++ llvm/lib/Target/Sparc/FInfo.cpp	Mon Jun  2 22:41:07 2003
@@ -1,3 +1,16 @@
+//===-- FInfo.cpp --------------------------------------------*- C++ -*-===//// 
+// 
+// This file contains a pass, FunctionInfo, used by LLC's SPARC back-end
+// which writes out two tables used by the Reoptimizer.  These tables,
+// named FunctionBB and FunctionLI, map Function numbers to the BBMIMap and
+// LMIMap tables output by the getMappingInfoForFunction (MappingInfo.cpp)
+// pass, respectively.
+// 
+// An LLVM Function's Function number is the index within a Module* where a
+// particular Function* can be found.
+//
+//===----------------------------------------------------------------------===//
+
 #include "llvm/Reoptimizer/Mapping/FInfo.h"
 #include "llvm/Pass.h"
 #include "llvm/Module.h"





More information about the llvm-commits mailing list