Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:Counter

110   GlobalVariable *buildEdgeLookupTable(Function *F, GlobalVariable *Counter,
626 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0,
628 Value *Count = Builder.CreateLoad(Counter);
630 Builder.CreateStore(Count, Counter);
636 Value *Counter = Builder.CreateInBoundsGEP(
638 Value *Count = Builder.CreateLoad(Counter);
640 Builder.CreateStore(Count, Counter);
669 // Build code to increment the counter.
718 // requires complex logic to pick which counter to update.
746 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0,
749 (Preds.idFor(&BB) - 1)] = cast<Constant>(Counter);
921 // uint64_t *counter = counters[pred];
922 // if (!counter) return;
927 Value *Counter = Builder.CreateLoad(GEP, "counter");
928 Cond = Builder.CreateICmpEQ(Counter,
933 // ++*counter;
935 Value *Add = Builder.CreateAdd(Builder.CreateLoad(Counter),
937 Builder.CreateStore(Add, Counter);