Lines Matching defs:StreamState
88 struct StreamState { struct
91 const FnDescription *LastOperation;
94 enum KindTy {
98 } State;
102 StreamErrorState const ErrorState;
112 bool const FilePositionIndeterminate = false;
114 StreamState(const FnDescription *L, KindTy S, const StreamErrorState &ES, in StreamState() argument
124 bool isOpened() const { return State == Opened; } in isOpened()
125 bool isClosed() const { return State == Closed; } in isClosed()
126 bool isOpenFailed() const { return State == OpenFailed; } in isOpenFailed()
128 bool operator==(const StreamState &X) const { in operator ==()
136 static StreamState getOpened(const FnDescription *L, in getOpened()
141 static StreamState getClosed(const FnDescription *L) { in getClosed()
144 static StreamState getOpenFailed(const FnDescription *L) { in getOpenFailed()
148 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
457 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument