Home
last modified time | relevance | path

Searched refs:ReadState (Results 1 – 22 of 22) sorted by relevance

/external/rust/crates/futures-util/src/stream/try_stream/
Dinto_async_read.rs20 state: ReadState<St::Ok>,
31 enum ReadState<T: AsRef<[u8]>> { enum
45 state: ReadState::PendingChunk, in new()
62 ReadState::Ready { chunk, chunk_start } => { in poll_read()
72 self.state = ReadState::PendingChunk; in poll_read()
77 ReadState::PendingChunk => { in poll_read()
81 self.state = ReadState::Ready { in poll_read()
88 self.state = ReadState::Eof; in poll_read()
92 self.state = ReadState::Eof; in poll_read()
97 ReadState::Eof => { in poll_read()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DInstruction.cpp30 void ReadState::writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles) { in writeStartEvent()
60 for (const std::pair<ReadState *, int> &User : Users) { in onInstructionIssued()
61 ReadState *RS = User.first; in onInstructionIssued()
71 void WriteState::addUser(unsigned IID, ReadState *User, int ReadAdvance) { in addUser()
106 void ReadState::cycleEvent() { in cycleEvent()
149 for (const ReadState &RS : getUses()) { in computeCriticalRegDep()
192 if (!all_of(getUses(), [](const ReadState &Use) { return Use.isReady(); })) in updatePending()
206 if (!all_of(getUses(), [](const ReadState &Use) { in updateDispatched()
232 for (ReadState &Use : getUses()) in cycleEvent()
DInstrBuilder.cpp652 ReadState &RS = NewIS->getUses().back(); in createInstruction()
/external/llvm-project/llvm/lib/MCA/
DInstruction.cpp30 void ReadState::writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles) { in writeStartEvent()
60 for (const std::pair<ReadState *, int> &User : Users) { in onInstructionIssued()
61 ReadState *RS = User.first; in onInstructionIssued()
71 void WriteState::addUser(unsigned IID, ReadState *User, int ReadAdvance) { in addUser()
106 void ReadState::cycleEvent() { in cycleEvent()
149 for (const ReadState &RS : getUses()) { in computeCriticalRegDep()
192 if (!all_of(getUses(), [](const ReadState &Use) { return Use.isReady(); })) in updatePending()
206 if (!all_of(getUses(), [](const ReadState &Use) { in updateDispatched()
232 for (ReadState &Use : getUses()) in cycleEvent()
DInstrBuilder.cpp655 ReadState &RS = NewIS->getUses().back(); in createInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DRegisterFile.h30 class ReadState; variable
178 void collectWrites(const ReadState &RS,
199 void addRegisterRead(ReadState &RS, const MCSubtargetInfo &STI) const;
212 bool tryEliminateMove(WriteState &WS, ReadState &RS);
/external/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
DRegisterFile.h29 class ReadState; variable
177 void collectWrites(const ReadState &RS,
198 void addRegisterRead(ReadState &RS, const MCSubtargetInfo &STI) const;
211 bool tryEliminateMove(WriteState &WS, ReadState &RS);
/external/llvm-project/llvm/include/llvm/MCA/
DInstruction.h82 class ReadState; variable
147 SmallVector<std::pair<ReadState *, int>, 4> Users;
175 void addUser(unsigned IID, ReadState *Use, int ReadAdvance);
227 class ReadState {
257 ReadState(const ReadDescriptor &Desc, MCPhysReg RegID) in ReadState() function
409 SmallVector<ReadState, 4> Uses;
416 SmallVectorImpl<ReadState> &getUses() { return Uses; } in getUses()
417 const ArrayRef<ReadState> getUses() const { return Uses; } in getUses()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DInstruction.h82 class ReadState; variable
147 SmallVector<std::pair<ReadState *, int>, 4> Users;
175 void addUser(unsigned IID, ReadState *Use, int ReadAdvance);
227 class ReadState {
257 ReadState(const ReadDescriptor &Desc, MCPhysReg RegID) in ReadState() function
409 SmallVector<ReadState, 4> Uses;
416 SmallVectorImpl<ReadState> &getUses() { return Uses; } in getUses()
417 const ArrayRef<ReadState> getUses() const { return Uses; } in getUses()
/external/libchrome/ipc/
Dipc_channel_reader.h72 enum ReadState { READ_SUCCEEDED, READ_FAILED, READ_PENDING }; in COMPONENT_EXPORT() enum
92 virtual ReadState ReadData(char* buffer, int buffer_len, int* bytes_read) = 0; in COMPONENT_EXPORT()
Dipc_channel_reader.cc57 ReadState read_state = ReadData(input_buf_, Channel::kReadBufferSize, in ProcessIncomingMessages()
Dipc_channel_reader_unittest.cc28 ReadState ReadData(char* buffer, int buffer_len, int* bytes_read) override { in ReadData()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DRegisterFile.cpp291 bool RegisterFile::tryEliminateMove(WriteState &WS, ReadState &RS) { in tryEliminateMove()
356 void RegisterFile::collectWrites(const ReadState &RS, in collectWrites()
398 void RegisterFile::addRegisterRead(ReadState &RS, in addRegisterRead()
/external/llvm-project/llvm/lib/MCA/HardwareUnits/
DRegisterFile.cpp282 bool RegisterFile::tryEliminateMove(WriteState &WS, ReadState &RS) { in tryEliminateMove()
347 void RegisterFile::collectWrites(const ReadState &RS, in collectWrites()
389 void RegisterFile::addRegisterRead(ReadState &RS, in addRegisterRead()
/external/llvm-project/llvm/lib/MCA/Stages/
DDispatchStage.cpp115 for (ReadState &RS : IS.getUses()) in dispatch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DDispatchStage.cpp115 for (ReadState &RS : IS.getUses()) in dispatch()
/external/llvm-project/llvm/tools/llvm-mca/Views/
DRegisterFileStatistics.cpp66 const ReadState &RS = Inst.getUses()[0]; in updateMoveElimInfo()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dexception_safety_testing.h706 ReadState(); in deallocate()
719 ReadState(); in destroy()
757 void ReadState() { in ReadState() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dexception_safety_testing.h706 ReadState(); in deallocate()
719 ReadState(); in destroy()
757 void ReadState() { in ReadState() function
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dexception_safety_testing.h706 ReadState(); in deallocate()
719 ReadState(); in destroy()
757 void ReadState() { in ReadState() function
/external/abseil-cpp/absl/base/internal/
Dexception_safety_testing.h706 ReadState(); in deallocate()
719 ReadState(); in destroy()
757 void ReadState() { in ReadState() function
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dexception_safety_testing.h706 ReadState(); in deallocate()
719 ReadState(); in destroy()
757 void ReadState() { in ReadState() function