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