Lines Matching refs:Compiler
110 Compiler::Compiler(Flags flags) in Compiler() function in SkSL::Compiler
295 Compiler::~Compiler() { in ~Compiler()
299 void Compiler::processIncludeFile(Program::Kind kind, const char* src, size_t length, in processIncludeFile()
328 void Compiler::addDefinition(const Expression* lvalue, std::unique_ptr<Expression>* expr, in addDefinition()
381 void Compiler::addDefinitions(const BasicBlock::Node& node, in addDefinitions()
392 } else if (Compiler::IsAssignment(b->fOperator)) { in addDefinitions()
460 void Compiler::scanCFG(CFG* cfg, BlockId blockId, std::set<BlockId>* workList) { in scanCFG()
558 if (!Compiler::IsAssignment(b.fOperator)) { in dead_assignment()
564 void Compiler::computeDataFlow(CFG* cfg) { in computeDataFlow()
781 void Compiler::simplifyExpression(DefinitionMap& definitions, in simplifyExpression()
1120 void Compiler::simplifyStatement(DefinitionMap& definitions, in simplifyStatement()
1254 void Compiler::scanCFG(FunctionDefinition& f) { in scanCFG()
1367 void Compiler::registerExternalValue(ExternalValue* value) { in registerExternalValue()
1371 Symbol* Compiler::takeOwnership(std::unique_ptr<Symbol> symbol) { in takeOwnership()
1375 std::unique_ptr<Program> Compiler::convertProgram(Program::Kind kind, String text, in convertProgram()
1444 bool Compiler::optimize(Program& program) { in optimize()
1479 std::unique_ptr<Program> Compiler::specialize( in specialize()
1505 bool Compiler::toSPIRV(Program& program, OutputStream& out) { in toSPIRV()
1537 bool Compiler::toSPIRV(Program& program, String* out) { in toSPIRV()
1546 bool Compiler::toGLSL(Program& program, OutputStream& out) { in toGLSL()
1557 bool Compiler::toGLSL(Program& program, String* out) { in toGLSL()
1566 bool Compiler::toHLSL(Program& program, String* out) { in toHLSL()
1575 bool Compiler::toMetal(Program& program, OutputStream& out) { in toMetal()
1584 bool Compiler::toMetal(Program& program, String* out) { in toMetal()
1596 bool Compiler::toCPP(Program& program, String name, OutputStream& out) { in toCPP()
1607 bool Compiler::toH(Program& program, String name, OutputStream& out) { in toH()
1621 bool Compiler::toPipelineStage(const Program& program, PipelineStageArgs* outArgs) { in toPipelineStage()
1635 std::unique_ptr<ByteCode> Compiler::toByteCode(Program& program) { in toByteCode()
1652 const char* Compiler::OperatorName(Token::Kind kind) { in OperatorName()
1698 bool Compiler::IsAssignment(Token::Kind op) { in IsAssignment()
1720 Position Compiler::position(int offset) { in position()
1736 void Compiler::error(int offset, String msg) { in error()
1742 String Compiler::errorText() { in errorText()
1749 void Compiler::writeErrorCount() { in writeErrorCount()