Lines Matching refs:VMI
786 for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end(); in PropagateCallSiteMetadata() local
787 VMI != VMIE; ++VMI) { in PropagateCallSiteMetadata()
790 if (!VMI->second || !isa<Instruction>(VMI->first)) in PropagateCallSiteMetadata()
793 Instruction *NI = dyn_cast<Instruction>(VMI->second); in PropagateCallSiteMetadata()
893 for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end(); in CloneAliasScopeMetadata() local
894 VMI != VMIE; ++VMI) { in CloneAliasScopeMetadata()
897 if (!VMI->second || !isa<Instruction>(VMI->first)) in CloneAliasScopeMetadata()
900 Instruction *NI = dyn_cast<Instruction>(VMI->second); in CloneAliasScopeMetadata()
969 for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end(); in AddAliasScopeMetadata() local
970 VMI != VMIE; ++VMI) { in AddAliasScopeMetadata()
971 if (const Instruction *I = dyn_cast<Instruction>(VMI->first)) { in AddAliasScopeMetadata()
972 if (!VMI->second) in AddAliasScopeMetadata()
975 Instruction *NI = dyn_cast<Instruction>(VMI->second); in AddAliasScopeMetadata()
1295 ValueToValueMapTy::iterator VMI = VMap.find(OrigCall); in UpdateCallGraphAfterInlining() local
1297 if (VMI == VMap.end() || VMI->second == nullptr) in UpdateCallGraphAfterInlining()
1302 auto *NewCall = dyn_cast<CallBase>(VMI->second); in UpdateCallGraphAfterInlining()