• Home
  • Raw
  • Download

Lines Matching refs:fSymbolTable

64     , fPrevious(fIR->fSymbolTable) {  in AutoSymbolTable()
70 SkASSERT(fPrevious == fIR->fSymbolTable); in ~AutoSymbolTable()
110 , fSymbolTable(symbolTable) in IRGenerator()
117 fSymbolTable.reset(new SymbolTable(std::move(fSymbolTable), &fErrors)); in pushSymbolTable()
121 fSymbolTable = fSymbolTable->fParent; in popSymbolTable()
202 fSymbolTable)); in convertStatement()
241 return std::unique_ptr<Block>(new Block(block.fOffset, std::move(statements), fSymbolTable)); in convertBlock()
293 fSymbolTable->takeOwnership((Type*) type); in convertVarDeclarations()
297 fSymbolTable->takeOwnership((Type*) type); in convertVarDeclarations()
322 (*fSymbolTable)[varDecl.fName]) { in convertVarDeclarations()
324 } else if (storage == Variable::kGlobal_Storage && (*fSymbolTable)[varDecl.fName] && in convertVarDeclarations()
325 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations()
326 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
328 Variable* old = (Variable*) (*fSymbolTable)[varDecl.fName]; in convertVarDeclarations()
333 fSymbolTable->add(varDecl.fName, std::move(var)); in convertVarDeclarations()
348 Variable* invocationId = (Variable*) (*fSymbolTable)["sk_InvocationID"]; in convertModifiersDeclaration()
391 fSymbolTable)); in convertIf()
429 std::move(statement), fSymbolTable)); in convertFor()
512 fSymbolTable)); in convertSwitch()
586 fSymbolTable->add(invokeDecl->fName, std::unique_ptr<FunctionDeclaration>(invokeDecl)); in applyInvocationIDWorkaround()
589 Variable* loopIdx = (Variable*) (*fSymbolTable)["sk_InvocationID"]; in applyInvocationIDWorkaround()
628 fSymbolTable)); in applyInvocationIDWorkaround()
682 fSymbolTable->takeOwnership(newType); in convertFunction()
688 fSymbolTable->takeOwnership(var); in convertFunction()
714 auto entry = (*fSymbolTable)[f.fName]; in convertFunction()
774 fSymbolTable->add(decl->fName, std::move(newDecl)); in convertFunction()
780 std::shared_ptr<SymbolTable> old = fSymbolTable; in convertFunction()
788 fSymbolTable->addWithoutOwnership(parameters[i]->fName, decl->fParameters[i]); in convertFunction()
817 std::shared_ptr<SymbolTable> old = fSymbolTable; in convertInterfaceBlock()
819 std::shared_ptr<SymbolTable> symbols = fSymbolTable; in convertInterfaceBlock()
941 std::shared_ptr<SymbolTable> symbols(new SymbolTable(fSymbolTable, &fErrors)); in convertEnum()
942 fSymbolTable = symbols; in convertEnum()
948 fSymbolTable = symbols->fParent; in convertEnum()
964 fSymbolTable = symbols->fParent; in convertEnum()
968 const Symbol* result = (*fSymbolTable)[type.fName]; in convertType()
978 fSymbolTable->takeOwnership((Type*) result); in convertType()
1013 const Symbol* result = (*fSymbolTable)[identifier.fText]; in convertIdentifier()
1885 fSymbolTable->takeOwnership(newType); in convertIndex()
2006 std::shared_ptr<SymbolTable> old = fSymbolTable; in convertTypeField()
2007 fSymbolTable = ((Enum&) *e).fSymbols; in convertTypeField()
2009 fSymbolTable = old; in convertTypeField()
2119 fSymbolTable->takeOwnership(newType); in convertSuffixExpression()