• Home
  • Raw
  • Download

Lines Matching refs:OutputStream

61         virtual SpvId load(OutputStream& out) = 0;
63 virtual void store(SpvId value, OutputStream& out) = 0;
67 OutputStream* out) in SPIRVCodeGenerator()
116 std::vector<SpvId> getAccessChain(const Expression& expr, OutputStream& out);
124 void writeProgramElement(const ProgramElement& pe, OutputStream& out);
128 SpvId writeFunctionStart(const FunctionDeclaration& f, OutputStream& out);
130 SpvId writeFunctionDeclaration(const FunctionDeclaration& f, OutputStream& out);
132 SpvId writeFunction(const FunctionDefinition& f, OutputStream& out);
134 void writeGlobalVars(Program::Kind kind, const VarDeclarations& v, OutputStream& out);
136 void writeVarDeclarations(const VarDeclarations& decl, OutputStream& out);
138 SpvId writeVariableReference(const VariableReference& ref, OutputStream& out);
140 std::unique_ptr<LValue> getLValue(const Expression& value, OutputStream& out);
142 SpvId writeExpression(const Expression& expr, OutputStream& out);
144 SpvId writeIntrinsicCall(const FunctionCall& c, OutputStream& out);
146 SpvId writeFunctionCall(const FunctionCall& c, OutputStream& out);
148 SpvId writeSpecialIntrinsic(const FunctionCall& c, SpecialIntrinsic kind, OutputStream& out);
152 SpvId writeFloatConstructor(const Constructor& c, OutputStream& out);
154 SpvId writeIntConstructor(const Constructor& c, OutputStream& out);
156 SpvId writeUIntConstructor(const Constructor& c, OutputStream& out);
162 void writeUniformScaleMatrix(SpvId id, SpvId diagonal, const Type& type, OutputStream& out);
170 OutputStream& out);
172 SpvId writeMatrixConstructor(const Constructor& c, OutputStream& out);
174 SpvId writeVectorConstructor(const Constructor& c, OutputStream& out);
176 SpvId writeConstructor(const Constructor& c, OutputStream& out);
178 SpvId writeFieldAccess(const FieldAccess& f, OutputStream& out);
180 SpvId writeSwizzle(const Swizzle& swizzle, OutputStream& out);
188 SpvId foldToBool(SpvId id, const Type& operandType, OutputStream& out);
191 SpvOp_ intOperator, OutputStream& out);
195 SpvOp_ ifBool, OutputStream& out);
198 SpvOp_ ifUInt, OutputStream& out);
200 SpvId writeBinaryExpression(const BinaryExpression& b, OutputStream& out);
202 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
204 SpvId writeIndexExpression(const IndexExpression& expr, OutputStream& out);
206 SpvId writeLogicalAnd(const BinaryExpression& b, OutputStream& out);
208 SpvId writeLogicalOr(const BinaryExpression& o, OutputStream& out);
210 SpvId writePrefixExpression(const PrefixExpression& p, OutputStream& out);
212 SpvId writePostfixExpression(const PostfixExpression& p, OutputStream& out);
220 void writeStatement(const Statement& s, OutputStream& out);
222 void writeBlock(const Block& b, OutputStream& out);
224 void writeIfStatement(const IfStatement& stmt, OutputStream& out);
226 void writeForStatement(const ForStatement& f, OutputStream& out);
228 void writeWhileStatement(const WhileStatement& w, OutputStream& out);
230 void writeDoStatement(const DoStatement& d, OutputStream& out);
232 void writeReturnStatement(const ReturnStatement& r, OutputStream& out);
234 void writeCapabilities(OutputStream& out);
236 void writeInstructions(const Program& program, OutputStream& out);
238 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
240 void writeWord(int32_t word, OutputStream& out);
242 void writeString(const char* string, OutputStream& out);
244 void writeLabel(SpvId id, OutputStream& out);
246 void writeInstruction(SpvOp_ opCode, OutputStream& out);
248 void writeInstruction(SpvOp_ opCode, const char* string, OutputStream& out);
250 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
252 void writeInstruction(SpvOp_ opCode, int32_t word1, const char* string, OutputStream& out);
255 OutputStream& out);
257 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
260 OutputStream& out);
263 OutputStream& out);
266 int32_t word5, OutputStream& out);
269 int32_t word5, int32_t word6, OutputStream& out);
272 int32_t word5, int32_t word6, int32_t word7, OutputStream& out);
276 OutputStream& out);