Lines Matching defs:Ind
143 if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(I++))
144 computeNumValueSiteCounts(Ind);
153 } else if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(Instr)) {
154 lowerValueProfileInst(Ind);
188 void InstrProfiling::computeNumValueSiteCounts(InstrProfValueProfileInst *Ind) {
190 GlobalVariable *Name = Ind->getName();
191 uint64_t ValueKind = Ind->getValueKind()->getZExtValue();
192 uint64_t Index = Ind->getIndex()->getZExtValue();
202 void InstrProfiling::lowerValueProfileInst(InstrProfValueProfileInst *Ind) {
204 GlobalVariable *Name = Ind->getName();
210 uint64_t ValueKind = Ind->getValueKind()->getZExtValue();
211 uint64_t Index = Ind->getIndex()->getZExtValue();
215 IRBuilder<> Builder(Ind);
216 Value* Args[3] = {Ind->getTargetValue(),
219 Ind->replaceAllUsesWith(
221 Ind->eraseFromParent();