Lines Matching refs:Counters
1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===//
117 // Produce a table of pointers to counters, by predecessor and successor
124 // Add the function to write out all our counters to the global destructor
593 GlobalVariable *Counters =
598 CountersBySP.push_back(std::make_pair(Counters, (MDNode*)SP));
610 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0,
623 Value *Counter = Builder.CreateInBoundsGEP(Counters, Idx);
639 buildEdgeLookupTable(F, Counters,
707 GlobalVariable *Counters,
732 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0,
766 Int64Ty->getPointerTo()->getPointerTo() // uint64_t **counters
787 Type::getInt64PtrTy(*Ctx), // uint64_t *counters
912 // uint64_t *counter = counters[pred];
916 Arg->setName("counters");
952 // Write out the current counters.
959 // Zero out the counters.