[llvm-commits] CVS: llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp pprtl.h
John Criswell
criswell at choi.cs.uiuc.edu
Thu Jun 26 16:41:11 PDT 2003
Changes in directory llvm/lib/Reoptimizer/Inst/rtl:
pprtl.cpp updated: 1.2 -> 1.2.4.1
pprtl.h updated: 1.3 -> 1.3.4.1
---
Log message:
Merged with mainline on Thursday, June 26, 2003.
---
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.2.4.1
--- llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp:1.2 Thu May 22 22:26:13 2003
+++ llvm/lib/Reoptimizer/Inst/rtl/pprtl.cpp Thu Jun 26 16:35:21 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.3.4.1
--- llvm/lib/Reoptimizer/Inst/rtl/pprtl.h:1.3 Thu May 22 22:26:13 2003
+++ llvm/lib/Reoptimizer/Inst/rtl/pprtl.h Thu Jun 26 16:35:22 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