Lines Matching refs:Ind

455       } else if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(Instr)) {  in lowerIntrinsics()  local
456 lowerValueProfileInst(Ind); in lowerIntrinsics()
567 if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(I)) in run() local
568 computeNumValueSiteCounts(Ind); in run()
622 void InstrProfiling::computeNumValueSiteCounts(InstrProfValueProfileInst *Ind) { in computeNumValueSiteCounts() argument
623 GlobalVariable *Name = Ind->getName(); in computeNumValueSiteCounts()
624 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts()
625 uint64_t Index = Ind->getIndex()->getZExtValue(); in computeNumValueSiteCounts()
635 void InstrProfiling::lowerValueProfileInst(InstrProfValueProfileInst *Ind) { in lowerValueProfileInst() argument
636 GlobalVariable *Name = Ind->getName(); in lowerValueProfileInst()
642 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst()
643 uint64_t Index = Ind->getIndex()->getZExtValue(); in lowerValueProfileInst()
647 IRBuilder<> Builder(Ind); in lowerValueProfileInst()
648 bool IsMemOpSize = (Ind->getValueKind()->getZExtValue() == in lowerValueProfileInst()
651 auto *TLI = &GetTLI(*Ind->getFunction()); in lowerValueProfileInst()
658 Ind->getOperandBundlesAsDefs(OpBundles); in lowerValueProfileInst()
660 Value *Args[3] = {Ind->getTargetValue(), in lowerValueProfileInst()
666 Value *Args[3] = {Ind->getTargetValue(), in lowerValueProfileInst()
675 Ind->replaceAllUsesWith(Call); in lowerValueProfileInst()
676 Ind->eraseFromParent(); in lowerValueProfileInst()