Searched defs:RegionState (Results 1 – 3 of 3) sorted by relevance
30 struct RegionState { struct32 enum Kind { Moved, Reported } K;33 RegionState(Kind InK) : K(InK) {} in RegionState() argument36 bool isReported() const { return K == Reported; } in isReported()37 bool isMoved() const { return K == Moved; } in isMoved()39 static RegionState getReported() { return RegionState(Reported); } in getReported()40 static RegionState getMoved() { return RegionState(Moved); } in getMoved()42 bool operator==(const RegionState &X) const { return K == X.K; } in operator ==()43 void Profile(llvm::FoldingSetNodeID &ID) const { ID.AddInteger(K); } in Profile()
74 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
76 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind) in REGISTER_MAP_WITH_PROGRAMSTATE() argument