Lines Matching refs:Ind
546 if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(I)) in run() local
547 computeNumValueSiteCounts(Ind); in run()
602 void InstrProfiling::computeNumValueSiteCounts(InstrProfValueProfileInst *Ind) { in computeNumValueSiteCounts() argument
603 GlobalVariable *Name = Ind->getName(); in computeNumValueSiteCounts()
604 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts()
605 uint64_t Index = Ind->getIndex()->getZExtValue(); in computeNumValueSiteCounts()
611 void InstrProfiling::lowerValueProfileInst(InstrProfValueProfileInst *Ind) { in lowerValueProfileInst() argument
618 GlobalVariable *Name = Ind->getName(); in lowerValueProfileInst()
624 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst()
625 uint64_t Index = Ind->getIndex()->getZExtValue(); in lowerValueProfileInst()
629 IRBuilder<> Builder(Ind); in lowerValueProfileInst()
630 bool IsMemOpSize = (Ind->getValueKind()->getZExtValue() == in lowerValueProfileInst()
633 auto *TLI = &GetTLI(*Ind->getFunction()); in lowerValueProfileInst()
640 Ind->getOperandBundlesAsDefs(OpBundles); in lowerValueProfileInst()
642 Value *Args[3] = {Ind->getTargetValue(), in lowerValueProfileInst()
648 Value *Args[3] = {Ind->getTargetValue(), in lowerValueProfileInst()
657 Ind->replaceAllUsesWith(Call); in lowerValueProfileInst()
658 Ind->eraseFromParent(); in lowerValueProfileInst()