Lines Matching defs:Ind
444 } else if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(Instr)) {
445 lowerValueProfileInst(Ind);
552 if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(I))
553 computeNumValueSiteCounts(Ind);
615 void InstrProfiling::computeNumValueSiteCounts(InstrProfValueProfileInst *Ind) {
616 GlobalVariable *Name = Ind->getName();
617 uint64_t ValueKind = Ind->getValueKind()->getZExtValue();
618 uint64_t Index = Ind->getIndex()->getZExtValue();
628 void InstrProfiling::lowerValueProfileInst(InstrProfValueProfileInst *Ind) {
629 GlobalVariable *Name = Ind->getName();
635 uint64_t ValueKind = Ind->getValueKind()->getZExtValue();
636 uint64_t Index = Ind->getIndex()->getZExtValue();
640 IRBuilder<> Builder(Ind);
641 bool IsRange = (Ind->getValueKind()->getZExtValue() ==
644 auto *TLI = &GetTLI(*Ind->getFunction());
651 Ind->getOperandBundlesAsDefs(OpBundles);
653 Value *Args[3] = {Ind->getTargetValue(),
660 Ind->getTargetValue(),
671 Ind->replaceAllUsesWith(Call);
672 Ind->eraseFromParent();