reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Transforms/Scalar/GVN.h
  134     uint32_t lookupOrAdd(Value *V);

References

lib/Transforms/Scalar/GVN.cpp
  278     e.varargs.push_back(lookupOrAdd(*OI));
  315   e.varargs.push_back(lookupOrAdd(LHS));
  316   e.varargs.push_back(lookupOrAdd(RHS));
  340     e.varargs.push_back(lookupOrAdd(WO->getLHS()));
  341     e.varargs.push_back(lookupOrAdd(WO->getRHS()));
  350     e.varargs.push_back(lookupOrAdd(*OI));
  405         uint32_t c_vn = lookupOrAdd(C->getArgOperand(i));
  406         uint32_t cd_vn = lookupOrAdd(local_cdep->getArgOperand(i));
  413       uint32_t v = lookupOrAdd(local_cdep);
  459       uint32_t c_vn = lookupOrAdd(C->getArgOperand(i));
  460       uint32_t cd_vn = lookupOrAdd(cdep->getArgOperand(i));
  467     uint32_t v = lookupOrAdd(cdep);
 1237     VN.lookupOrAdd(I);
 1473         uint32_t LVN = VN.lookupOrAdd(CmpLHS);
 1474         uint32_t RVN = VN.lookupOrAdd(CmpRHS);
 1806     uint32_t LVN = VN.lookupOrAdd(LHS);
 1811       uint32_t RVN = VN.lookupOrAdd(RHS);
 1976     unsigned Num = VN.lookupOrAdd(LI);
 2040   unsigned Num = VN.lookupOrAdd(I);
 2235   unsigned Num = VN.lookupOrAdd(Instr);
 2644       unsigned ValNum = VN.lookupOrAdd(&Inst);
lib/Transforms/Scalar/GVNHoist.cpp
  173     unsigned V = VN.lookupOrAdd(I);
  188       unsigned V = VN.lookupOrAdd(Load->getPointerOperand());
  209     VNtoStores[{VN.lookupOrAdd(Ptr), VN.lookupOrAdd(Val)}].push_back(Store);
  209     VNtoStores[{VN.lookupOrAdd(Ptr), VN.lookupOrAdd(Val)}].push_back(Store);
  227     unsigned V = VN.lookupOrAdd(Call);