Home
last modified time | relevance | path

Searched refs:InputWordStream (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/rsov/compiler/spirit/
Dword_stream.cpp25 InputWordStream *InputWordStream::Create() { return new WordStreamImpl(); } in Create()
27 InputWordStream *InputWordStream::Create(std::vector<uint32_t> &&words) { in Create()
31 InputWordStream *InputWordStream::Create(const std::vector<uint32_t> &words) { in Create()
35 InputWordStream *InputWordStream::Create(const std::vector<uint8_t> &bytes) { in Create()
38 return InputWordStream::Create(words); in Create()
41 InputWordStream *InputWordStream::Create(const char *filePath) { in Create()
42 return InputWordStream::Create(readFile<uint32_t>(filePath)); in Create()
Dword_stream.h34 class InputWordStream {
36 static InputWordStream *Create();
37 static InputWordStream *Create(std::vector<uint32_t> &&words);
38 static InputWordStream *Create(const std::vector<uint32_t> &words);
39 static InputWordStream *Create(const std::vector<uint8_t> &bytes);
40 static InputWordStream *Create(const char *fileName);
42 virtual ~InputWordStream() {} in ~InputWordStream()
47 virtual InputWordStream &operator>>(uint32_t *RHS) = 0;
48 virtual InputWordStream &operator>>(LiteralContextDependentNumber *num) = 0;
49 virtual InputWordStream &operator>>(std::string *str) = 0;
[all …]
Dentity.h39 virtual bool DeserializeInternal(InputWordStream &IS) = 0;
49 template <typename T> T *Deserialize(InputWordStream &IS) { in Deserialize()
58 std::unique_ptr<InputWordStream> IS(InputWordStream::Create(words)); in Deserialize()
63 void DeserializeZeroOrMore(InputWordStream &IS, std::vector<T *> &all) { in DeserializeZeroOrMore()
Dinstructions.h76 bool DeserializeFirstWord(InputWordStream &IS, OpCode opcode) { in DeserializeFirstWord()
97 bool DeserializeExactlyOne(InputWordStream &IS, T *operand) { in DeserializeExactlyOne()
110 bool DeserializeOptionallyOne(InputWordStream &IS, T **operand) { in DeserializeOptionallyOne()
119 bool DeserializeZeroOrMoreOperands(InputWordStream &IS, in DeserializeZeroOrMoreOperands()
131 bool DeserializeExtraOperands(InputWordStream &IS) { in DeserializeExtraOperands()
Dword_stream_test.cpp53 std::unique_ptr<InputWordStream> IS(InputWordStream::Create(words)); in TEST()
64 std::unique_ptr<InputWordStream> IS(InputWordStream::Create(words)); in TEST()
Dmodule.h46 class InputWordStream; variable
72 bool DeserializeInternal(InputWordStream &IS) override;
277 bool DeserializeInternal(InputWordStream &IS) override;
314 bool DeserializeInternal(InputWordStream &IS) override;
351 bool DeserializeInternal(InputWordStream &IS) override;
387 bool DeserializeInternal(InputWordStream &IS) override;
450 bool DeserializeInternal(InputWordStream &IS) override;
473 bool DeserializeInternal(InputWordStream &IS) override;
498 bool DeserializeInternal(InputWordStream &IS) override;
Dmodule.cpp92 bool Module::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
452 bool EntryPointDefinition::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
493 bool DebugInfoSection::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
589 bool AnnotationSection::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
634 bool GlobalSection::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
911 bool FunctionDeclaration::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
925 template <> Instruction *Deserialize(InputWordStream &IS) { in Deserialize()
943 bool Block::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
967 bool FunctionDefinition::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()