[llvm-commits] CVS: reopt/include/reopt/MappingInfo.h

Brian Gaeke gaeke at cs.uiuc.edu
Sat Nov 8 12:15:01 PST 2003


Changes in directory reopt/include/reopt:

MappingInfo.h updated: 1.9 -> 1.10

---
Log message:

Modify some prototypes to conform to their definitions or comments.
Add prototype for getLLVMFunctionPositionInfo.


---
Diffs of the changes:  (+8 -2)

Index: reopt/include/reopt/MappingInfo.h
diff -u reopt/include/reopt/MappingInfo.h:1.9 reopt/include/reopt/MappingInfo.h:1.10
--- reopt/include/reopt/MappingInfo.h:1.9	Fri Aug 22 12:43:34 2003
+++ reopt/include/reopt/MappingInfo.h	Sat Nov  8 12:14:13 2003
@@ -17,11 +17,17 @@
 class Module;
 class Function;
 
+/// Returns the index in _llvm_regAllocState.functions[] where F's register
+/// allocation data may be found. It is a runtime error to call this on a
+/// function which was recently added to the module.
+///
+unsigned getLLVMFunctionPositionInfo (Function *F);
+
 /// getLLVMInstrPositionInfo - Look up the given Instruction in the
 /// LLVM-to-MI map for the Function that contains it, and return the
 /// vector of integers (?) that represents it.
 ///
-std::vector<unsigned int> getLLVMInstrPositionInfo(Instruction *LI);
+std::vector<unsigned> getLLVMInstrPositionInfo (Instruction *LI);
 
 /// getBasicBlockInfo(BasicBlock *) - Find the given BasicBlock in the
 /// forward basic block map, and return the pair of 64-bit addresses
@@ -36,7 +42,7 @@
 /// set BB to the BasicBlock that corresponds to it. Otherwise, return
 /// false.
 ///
-bool getReverseBBMap(uint64_t addr, Module *M, BasicBlock* &bb);
+bool getReverseBBMap (uint64_t addr, Module *M, BasicBlock *&BB);
 
 /// isInlinable - Looks up the given function in the
 /// llvmSimpleFunction table. llvmSimpleFunction and llvmFunctionCount





More information about the llvm-commits mailing list