Lines Matching refs:fSymbolTable
66 , fPrevious(fIR->fSymbolTable) { in AutoSymbolTable()
72 SkASSERT(fPrevious == fIR->fSymbolTable); in ~AutoSymbolTable()
112 , fSymbolTable(symbolTable) in IRGenerator()
119 fSymbolTable.reset(new SymbolTable(std::move(fSymbolTable), &fErrors)); in pushSymbolTable()
123 fSymbolTable = fSymbolTable->fParent; in popSymbolTable()
208 fSymbolTable)); in convertStatement()
247 return std::unique_ptr<Block>(new Block(block.fOffset, std::move(statements), fSymbolTable)); in convertBlock()
299 fSymbolTable->takeOwnership((Type*) type); in convertVarDeclarations()
303 fSymbolTable->takeOwnership((Type*) type); in convertVarDeclarations()
328 (*fSymbolTable)[varDecl.fName]) { in convertVarDeclarations()
330 } else if (storage == Variable::kGlobal_Storage && (*fSymbolTable)[varDecl.fName] && in convertVarDeclarations()
331 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations()
332 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
334 Variable* old = (Variable*) (*fSymbolTable)[varDecl.fName]; in convertVarDeclarations()
339 fSymbolTable->add(varDecl.fName, std::move(var)); in convertVarDeclarations()
354 Variable* invocationId = (Variable*) (*fSymbolTable)["sk_InvocationID"]; in convertModifiersDeclaration()
397 fSymbolTable)); in convertIf()
435 std::move(statement), fSymbolTable)); in convertFor()
518 fSymbolTable)); in convertSwitch()
592 fSymbolTable->add(invokeDecl->fName, std::unique_ptr<FunctionDeclaration>(invokeDecl)); in applyInvocationIDWorkaround()
595 Variable* loopIdx = (Variable*) (*fSymbolTable)["sk_InvocationID"]; in applyInvocationIDWorkaround()
634 fSymbolTable)); in applyInvocationIDWorkaround()
688 fSymbolTable->takeOwnership(newType); in convertFunction()
694 fSymbolTable->takeOwnership(var); in convertFunction()
731 auto entry = (*fSymbolTable)[f.fName]; in convertFunction()
791 fSymbolTable->add(decl->fName, std::move(newDecl)); in convertFunction()
797 std::shared_ptr<SymbolTable> old = fSymbolTable; in convertFunction()
810 fSymbolTable->addWithoutOwnership(parameters[i]->fName, decl->fParameters[i]); in convertFunction()
839 std::shared_ptr<SymbolTable> old = fSymbolTable; in convertInterfaceBlock()
841 std::shared_ptr<SymbolTable> symbols = fSymbolTable; in convertInterfaceBlock()
963 std::shared_ptr<SymbolTable> symbols(new SymbolTable(fSymbolTable, &fErrors)); in convertEnum()
964 fSymbolTable = symbols; in convertEnum()
970 fSymbolTable = symbols->fParent; in convertEnum()
986 fSymbolTable = symbols->fParent; in convertEnum()
990 const Symbol* result = (*fSymbolTable)[type.fName]; in convertType()
1000 fSymbolTable->takeOwnership((Type*) result); in convertType()
1013 fSymbolTable->takeOwnership((Type*) result); in convertType()
1050 const Symbol* result = (*fSymbolTable)[identifier.fText]; in convertIdentifier()
1935 fSymbolTable->takeOwnership(newType); in convertIndex()
2070 std::shared_ptr<SymbolTable> old = fSymbolTable; in convertTypeField()
2071 fSymbolTable = ((Enum&) *e).fSymbols; in convertTypeField()
2073 fSymbolTable = old; in convertTypeField()
2183 fSymbolTable->takeOwnership(newType); in convertSuffixExpression()