Lines Matching refs:VN
144 VNType VN; member
152 bool operator==(const CHIArg &A) { return VN == A.VN; } in operator ==()
172 void insert(Instruction *I, GVN::ValueTable &VN) { in insert() argument
174 unsigned V = VN.lookupOrAdd(I); in insert()
187 void insert(LoadInst *Load, GVN::ValueTable &VN) { in insert() argument
189 unsigned V = VN.lookupOrAdd(Load->getPointerOperand()); in insert()
204 void insert(StoreInst *Store, GVN::ValueTable &VN) { in insert() argument
210 VNtoStores[{VN.lookupOrAdd(Ptr), VN.lookupOrAdd(Val)}].push_back(Store); in insert()
224 void insert(CallInst *Call, GVN::ValueTable &VN) { in insert() argument
228 unsigned V = VN.lookupOrAdd(Call); in insert()
277 GVN::ValueTable VN; member in llvm::GVNHoist
443 const VNType &VN = R; in computeInsertionPoints() local
462 InValue[V[i]->getParent()].push_back(std::make_pair(VN, V[i])); in computeInsertionPoints()
466 CHIArg EmptyChi = {VN, nullptr, nullptr}; in computeInsertionPoints()
565 VN.setDomTree(DT); in run()
566 VN.setAliasAnalysis(AA); in run()
567 VN.setMemDep(MD); in run()
593 VN.clear(); in run()
863 auto si = RenameStack.find(C.VN); in fillChiArgs()
873 << ", VN: " << C.VN.first << ", " << C.VN.second); in fillChiArgs()
886 auto cmpVN = [](const CHIArg &A, const CHIArg &B) { return A.VN < B.VN; }; in findHoistableCandidates()
1206 LI.insert(Load, VN); in hoistExpressions()
1208 SI.insert(Store, VN); in hoistExpressions()
1222 CI.insert(Call, VN); in hoistExpressions()
1228 II.insert(&I1, VN); in hoistExpressions()