[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-cov / Inputs / multithreaded_report / pow.h
blob303d114126d7aaad181be8de3f43cc0f3b684c9a
1 template<typename T>
2 T pow(T b, T p) {
3 if (!p)
4 return 1;
6 while (--p) {
7 b *= b;
10 return b;