[llvm-commits] CVS: llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp pprtl.h
Joel Stanley
jstanley at cs.uiuc.edu
Tue Jun 24 10:41:01 PDT 2003
Changes in directory llvm/lib/Reoptimizer/Inst/rtl:
pprtl.cpp updated: 1.2 -> 1.3
pprtl.h updated: 1.3 -> 1.4
---
Log message:
Merge from branch jrsdev.
---
Diffs of the changes:
Index: llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp
diff -u llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp:1.2 llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp:1.3
--- llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp:1.2 Thu May 22 22:26:13 2003
+++ llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp Tue Jun 24 10:39:54 2003
@@ -57,7 +57,7 @@
printf("pp_L1_cache_miss_start invoked: retVal addr is 0x%lx\n", (unsigned long) retVal);
start_papi_sample(events, 1);
*retVal = PAPI_L1_ICM;
- printf("pp_L1_cache_miss_start returning!\n");
+ printf("pp_L1_cache_miss_start returning value %x!\n", *retVal);
}
void pp_L1_cache_miss_end(int* retVal, int* start)
Index: llvm/lib/Reoptimizer/Inst/rtl/pprtl.h
diff -u llvm/lib/Reoptimizer/Inst/rtl/pprtl.h:1.3 llvm/lib/Reoptimizer/Inst/rtl/pprtl.h:1.4
--- llvm/lib/Reoptimizer/Inst/rtl/pprtl.h:1.3 Thu May 22 22:26:13 2003
+++ llvm/lib/Reoptimizer/Inst/rtl/pprtl.h Tue Jun 24 10:39:54 2003
@@ -16,11 +16,22 @@
void pp_L1_cache_miss_end(int* retVal, int* start);
unsigned pp_counterPrim(void);
- // significant functions
+ // significant functions and rtl functions
+
+ void phase2();
+ void registerIntervalInst(unsigned siteID,
+ void* startFunc,
+ void* endFunc,
+ unsigned paramSize,
+ void* retVal);
void pp_regionPair(void*, void*);
void pp_metricSpec(void*);
+ // Interval declaration sigfuns: the placeholder variable is to connect the
+ // two sigfuns via uses.
+ void pp_declareIntervalStart(double* placeHolder, unsigned intervalID);
+ void pp_declareIntervalEnd(unsigned intervalID, double* placeHolder);
#ifdef _BUILDING_RUNTIME_LIBRARY_
}
More information about the llvm-commits
mailing list