Lines Matching defs:MemDepPrinter
24 struct MemDepPrinter : public FunctionPass { struct
25 const Function *F;
27 enum DepType {
34 static const char *const DepTypeStr[];
36 typedef PointerIntPair<const Instruction *, 2, DepType> InstTypePair;
37 typedef std::pair<InstTypePair, const BasicBlock *> Dep;
38 typedef SmallSetVector<Dep, 4> DepSet;
39 typedef DenseMap<const Instruction *, DepSet> DepSetMap;
40 DepSetMap Deps;
42 static char ID; // Pass identifcation, replacement for typeid
43 MemDepPrinter() : FunctionPass(ID) { in MemDepPrinter() argument
51 void getAnalysisUsage(AnalysisUsage &AU) const override { in getAnalysisUsage()
57 void releaseMemory() override { in releaseMemory()
63 static InstTypePair getInstTypePair(MemDepResult dep) { in getInstTypePair()
73 static InstTypePair getInstTypePair(const Instruction* inst, DepType type) { in getInstTypePair()