Lines Matching refs:OutputStream

62         virtual SpvId load(OutputStream& out) = 0;
64 virtual void store(SpvId value, OutputStream& out) = 0;
68 OutputStream* out) in SPIRVCodeGenerator()
124 std::vector<SpvId> getAccessChain(const Expression& expr, OutputStream& out);
132 void writeProgramElement(const ProgramElement& pe, OutputStream& out);
136 SpvId writeFunctionStart(const FunctionDeclaration& f, OutputStream& out);
138 SpvId writeFunctionDeclaration(const FunctionDeclaration& f, OutputStream& out);
140 SpvId writeFunction(const FunctionDefinition& f, OutputStream& out);
142 void writeGlobalVars(Program::Kind kind, const VarDeclarations& v, OutputStream& out);
144 void writeVarDeclarations(const VarDeclarations& decl, OutputStream& out);
146 SpvId writeVariableReference(const VariableReference& ref, OutputStream& out);
148 std::unique_ptr<LValue> getLValue(const Expression& value, OutputStream& out);
150 SpvId writeExpression(const Expression& expr, OutputStream& out);
152 SpvId writeIntrinsicCall(const FunctionCall& c, OutputStream& out);
154 SpvId writeFunctionCall(const FunctionCall& c, OutputStream& out);
159 const std::vector<SpvId>& args, OutputStream& out);
168 OutputStream& out);
170 SpvId writeSpecialIntrinsic(const FunctionCall& c, SpecialIntrinsic kind, OutputStream& out);
174 SpvId writeFloatConstructor(const Constructor& c, OutputStream& out);
176 SpvId writeIntConstructor(const Constructor& c, OutputStream& out);
178 SpvId writeUIntConstructor(const Constructor& c, OutputStream& out);
184 void writeUniformScaleMatrix(SpvId id, SpvId diagonal, const Type& type, OutputStream& out);
192 OutputStream& out);
194 SpvId writeMatrixConstructor(const Constructor& c, OutputStream& out);
196 SpvId writeVectorConstructor(const Constructor& c, OutputStream& out);
198 SpvId writeArrayConstructor(const Constructor& c, OutputStream& out);
200 SpvId writeConstructor(const Constructor& c, OutputStream& out);
202 SpvId writeFieldAccess(const FieldAccess& f, OutputStream& out);
204 SpvId writeSwizzle(const Swizzle& swizzle, OutputStream& out);
212 SpvId foldToBool(SpvId id, const Type& operandType, SpvOp op, OutputStream& out);
216 SpvOp_ mergeOperator, OutputStream& out);
220 OutputStream& out);
224 SpvOp_ ifBool, OutputStream& out);
227 SpvOp_ ifUInt, OutputStream& out);
229 SpvId writeBinaryExpression(const BinaryExpression& b, OutputStream& out);
231 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
233 SpvId writeIndexExpression(const IndexExpression& expr, OutputStream& out);
235 SpvId writeLogicalAnd(const BinaryExpression& b, OutputStream& out);
237 SpvId writeLogicalOr(const BinaryExpression& o, OutputStream& out);
239 SpvId writePrefixExpression(const PrefixExpression& p, OutputStream& out);
241 SpvId writePostfixExpression(const PostfixExpression& p, OutputStream& out);
249 void writeStatement(const Statement& s, OutputStream& out);
251 void writeBlock(const Block& b, OutputStream& out);
253 void writeIfStatement(const IfStatement& stmt, OutputStream& out);
255 void writeForStatement(const ForStatement& f, OutputStream& out);
257 void writeWhileStatement(const WhileStatement& w, OutputStream& out);
259 void writeDoStatement(const DoStatement& d, OutputStream& out);
261 void writeSwitchStatement(const SwitchStatement& s, OutputStream& out);
263 void writeReturnStatement(const ReturnStatement& r, OutputStream& out);
265 void writeCapabilities(OutputStream& out);
267 void writeInstructions(const Program& program, OutputStream& out);
269 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
271 void writeWord(int32_t word, OutputStream& out);
273 void writeString(const char* string, size_t length, OutputStream& out);
275 void writeLabel(SpvId id, OutputStream& out);
277 void writeInstruction(SpvOp_ opCode, OutputStream& out);
279 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out);
281 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
283 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out);
286 OutputStream& out);
288 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
291 OutputStream& out);
294 OutputStream& out);
297 int32_t word5, OutputStream& out);
300 int32_t word5, int32_t word6, OutputStream& out);
303 int32_t word5, int32_t word6, int32_t word7, OutputStream& out);
307 OutputStream& out);
309 void writeGeometryShaderExecutionMode(SpvId entryPoint, OutputStream& out);