Lines Matching refs:Ind
389 } else if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(Instr)) { in lowerIntrinsics() local
390 lowerValueProfileInst(Ind); in lowerIntrinsics()
482 if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(I)) in run() local
483 computeNumValueSiteCounts(Ind); in run()
548 void InstrProfiling::computeNumValueSiteCounts(InstrProfValueProfileInst *Ind) { in computeNumValueSiteCounts() argument
549 GlobalVariable *Name = Ind->getName(); in computeNumValueSiteCounts()
550 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts()
551 uint64_t Index = Ind->getIndex()->getZExtValue(); in computeNumValueSiteCounts()
561 void InstrProfiling::lowerValueProfileInst(InstrProfValueProfileInst *Ind) { in lowerValueProfileInst() argument
562 GlobalVariable *Name = Ind->getName(); in lowerValueProfileInst()
568 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst()
569 uint64_t Index = Ind->getIndex()->getZExtValue(); in lowerValueProfileInst()
573 IRBuilder<> Builder(Ind); in lowerValueProfileInst()
574 bool IsRange = (Ind->getValueKind()->getZExtValue() == in lowerValueProfileInst()
578 Value *Args[3] = {Ind->getTargetValue(), in lowerValueProfileInst()
584 Ind->getTargetValue(), in lowerValueProfileInst()
595 Ind->replaceAllUsesWith(Call); in lowerValueProfileInst()
596 Ind->eraseFromParent(); in lowerValueProfileInst()