Home | History | Annotate | Download | only in Scalar

Lines Matching defs:GVN

1 //===- GVN.h - Eliminate redundant values and loads -------------*- C++ -*-===//
52 /// A private "module" namespace for types and utilities used by GVN. These
54 namespace gvn LLVM_LIBRARY_VISIBILITY {
60 } // end namespace gvn
62 /// The core GVN pass object.
64 /// FIXME: We should have a good summary of the GVN algorithm implemented by
66 class GVN : public PassInfoMixin<GVN> {
120 uint32_t Num, GVN &Gvn);
122 bool areAllValsInBB(uint32_t num, const BasicBlock *BB, GVN &Gvn);
135 uint32_t Num, GVN &Gvn);
150 friend class gvn::GVNLegacyPass;
183 using AvailValInBlkVect = SmallVector<gvn::AvailableValueInBlock, 64>;
248 Value *Address, gvn::AvailableValue &Res);
283 /// Create a legacy GVN pass. This also allows parameterizing whether or not
287 /// \brief A simple and fast domtree-based GVN pass to hoist common expressions