Lines Matching refs:Ind
946 if (auto *Ind = dyn_cast<InstrProfValueProfileInst>(I)) in lower() local
947 computeNumValueSiteCounts(Ind); in lower()
1025 void InstrLowerer::computeNumValueSiteCounts(InstrProfValueProfileInst *Ind) { in computeNumValueSiteCounts() argument
1026 GlobalVariable *Name = Ind->getName(); in computeNumValueSiteCounts()
1027 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts()
1028 uint64_t Index = Ind->getIndex()->getZExtValue(); in computeNumValueSiteCounts()
1034 void InstrLowerer::lowerValueProfileInst(InstrProfValueProfileInst *Ind) { in lowerValueProfileInst() argument
1041 GlobalVariable *Name = Ind->getName(); in lowerValueProfileInst()
1047 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst()
1048 uint64_t Index = Ind->getIndex()->getZExtValue(); in lowerValueProfileInst()
1052 IRBuilder<> Builder(Ind); in lowerValueProfileInst()
1053 bool IsMemOpSize = (Ind->getValueKind()->getZExtValue() == in lowerValueProfileInst()
1056 auto *TLI = &GetTLI(*Ind->getFunction()); in lowerValueProfileInst()
1063 Ind->getOperandBundlesAsDefs(OpBundles); in lowerValueProfileInst()
1065 Value *Args[3] = {Ind->getTargetValue(), DataVar, Builder.getInt32(Index)}; in lowerValueProfileInst()
1069 Value *Args[3] = {Ind->getTargetValue(), DataVar, Builder.getInt32(Index)}; in lowerValueProfileInst()
1076 Ind->replaceAllUsesWith(Call); in lowerValueProfileInst()
1077 Ind->eraseFromParent(); in lowerValueProfileInst()