Searched refs:symbolTable (Results 1 - 24 of 24) sorted by relevance

/external/webkit/Source/JavaScriptCore/runtime/
H A DJSVariableObject.cpp39 if (symbolTable().contains(propertyName.impl()))
47 SymbolTable::const_iterator end = symbolTable().end();
48 for (SymbolTable::const_iterator it = symbolTable().begin(); it != end; ++it) {
63 SymbolTableEntry entry = symbolTable().inlineGet(propertyName.impl());
H A DJSVariableObject.h47 SymbolTable& symbolTable() const { return *m_symbolTable; } function in class:JSC::JSVariableObject
69 JSVariableObject(JSGlobalData& globalData, Structure* structure, SymbolTable* symbolTable, Register* registers) argument
71 , m_symbolTable(symbolTable)
94 SymbolTableEntry entry = symbolTable().inlineGet(propertyName.impl());
104 SymbolTableEntry entry = symbolTable().inlineGet(propertyName.impl());
117 SymbolTableEntry entry = symbolTable().inlineGet(propertyName.impl());
130 SymbolTable::iterator iter = symbolTable().find(propertyName.impl());
131 if (iter == symbolTable().end())
H A DJSActivation.cpp43 : Base(callFrame->globalData(), callFrame->globalData().activationStructure.get(), functionExecutable->symbolTable(), callFrame->registers())
78 SymbolTableEntry entry = symbolTable().inlineGet(propertyName.impl());
92 SymbolTableEntry entry = symbolTable().inlineGet(propertyName.impl());
106 SymbolTable::const_iterator end = symbolTable().end();
107 for (SymbolTable::const_iterator it = symbolTable().begin(); it != end; ++it) {
122 SymbolTable::iterator iter = symbolTable().find(propertyName.impl());
123 if (iter == symbolTable().end())
H A DJSStaticScopeObject.h39 symbolTable().add(ident.impl(), SymbolTableEntry(-1, attributes));
H A DExecutable.cpp116 OwnPtr<BytecodeGenerator> generator(adoptPtr(new BytecodeGenerator(evalNode.get(), scopeChainNode, m_evalCodeBlock->symbolTable(), m_evalCodeBlock.get())));
174 OwnPtr<BytecodeGenerator> generator(adoptPtr(new BytecodeGenerator(programNode.get(), scopeChainNode, &globalObject->symbolTable(), m_programCodeBlock.get())));
249 OwnPtr<BytecodeGenerator> generator(adoptPtr(new BytecodeGenerator(body.get(), scopeChainNode, m_codeBlockForCall->symbolTable(), m_codeBlockForCall.get())));
297 OwnPtr<BytecodeGenerator> generator(adoptPtr(new BytecodeGenerator(body.get(), scopeChainNode, m_codeBlockForConstruct->symbolTable(), m_codeBlockForConstruct.get())));
H A DJSGlobalObject.h318 symbolTable().add(global.identifier.impl(), newEntry);
348 SymbolTableEntry entry = symbolTable().inlineGet(propertyName.impl());
H A DJSGlobalObject.cpp363 markStack.appendValues(m_registers - symbolTable().size(), symbolTable().size());
400 registerFile.setNumGlobals(symbolTable().size());
H A DExecutable.h370 SharedSymbolTable* symbolTable() const { return m_symbolTable; } function in class:JSC::FunctionExecutable
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DInitialize.cpp513 TSymbolTable& symbolTable)
521 symbolTable.insert(*new TVariable(NewPoolTString("gl_FragCoord"), TType(EbtFloat, EbpMedium, EvqFragCoord, 4)));
522 symbolTable.insert(*new TVariable(NewPoolTString("gl_FrontFacing"), TType(EbtBool, EbpUndefined, EvqFrontFacing, 1)));
523 symbolTable.insert(*new TVariable(NewPoolTString("gl_FragColor"), TType(EbtFloat, EbpMedium, EvqFragColor, 4)));
524 symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData[gl_MaxDrawBuffers]"), TType(EbtFloat, EbpMedium, EvqFragData, 4)));
525 symbolTable.insert(*new TVariable(NewPoolTString("gl_PointCoord"), TType(EbtFloat, EbpMedium, EvqPointCoord, 2)));
529 symbolTable.insert(*new TVariable(NewPoolTString("gl_Position"), TType(EbtFloat, EbpHigh, EvqPosition, 4)));
530 symbolTable.insert(*new TVariable(NewPoolTString("gl_PointSize"), TType(EbtFloat, EbpMedium, EvqPointSize, 1)));
542 symbolTable.relateToOperator("not", EOpVectorLogicalNot);
544 symbolTable
511 IdentifyBuiltIns(ShShaderType type, ShShaderSpec spec, const ShBuiltInResources& resources, TSymbolTable& symbolTable) argument
[all...]
H A DCompiler.cpp16 TInfoSink& infoSink, TSymbolTable& symbolTable)
20 TParseContext parseContext(symbolTable, extBehavior, intermediate, type, spec, infoSink);
24 assert(symbolTable.isEmpty());
33 symbolTable.push();
49 IdentifyBuiltIns(type, spec, resources, symbolTable);
119 TParseContext parseContext(symbolTable, extensionBehavior, intermediate,
125 symbolTable.push();
126 if (!symbolTable.atGlobalLevel())
154 while (!symbolTable.atBuiltInLevel())
155 symbolTable
13 InitializeSymbolTable( const TBuiltInStrings& builtInStrings, ShShaderType type, ShShaderSpec spec, const ShBuiltInResources& resources, TInfoSink& infoSink, TSymbolTable& symbolTable) argument
[all...]
H A DInitialize.h30 TSymbolTable& symbolTable);
H A Dglslang.y162 context->symbolTable.insert(*fakeVariable);
411 $$ = context->intermediate.addUnaryMath(EOpPostIncrement, $1, $2.line, context->symbolTable);
421 $$ = context->intermediate.addUnaryMath(EOpPostDecrement, $1, $2.line, context->symbolTable);
489 $$ = context->intermediate.addUnaryMath(op, $1.intermNode, 0, context->symbolTable);
679 $$ = context->intermediate.addUnaryMath(EOpPreIncrement, $2, $1.line, context->symbolTable);
689 $$ = context->intermediate.addUnaryMath(EOpPreDecrement, $2, $1.line, context->symbolTable);
698 $$ = context->intermediate.addUnaryMath($1.op, $2, $1.line, context->symbolTable);
727 $$ = context->intermediate.addBinaryMath(EOpMul, $1, $3, $2.line, context->symbolTable);
736 $$ = context->intermediate.addBinaryMath(EOpDiv, $1, $3, $2.line, context->symbolTable);
748 $$ = context->intermediate.addBinaryMath(EOpAdd, $1, $3, $2.line, context->symbolTable);
[all...]
H A DShHandle.h82 TSymbolTable symbolTable; member in class:TCompiler
H A DparseConst.cpp23 symbolTable(symTable),
47 TSymbolTable& symbolTable; member in class:TConstTraverser
226 bool TIntermediate::parseConstTree(TSourceLoc line, TIntermNode* root, ConstantUnion* unionArray, TOperator constructorType, TSymbolTable& symbolTable, TType t, bool singleConstantParam) argument
231 TConstTraverser it(unionArray, singleConstantParam, constructorType, infoSink, symbolTable, t);
H A DParseHelper.cpp447 if (!symbolTable.atBuiltInLevel()) {
755 TSymbol* symbol = symbolTable.find(identifier, &builtIn, &sameScope);
765 if (! symbolTable.insert(*variable)) {
814 TSymbol* symbol = symbolTable.find(node->getSymbol(), &builtIn);
827 TSymbol* fragData = symbolTable.find("gl_MaxDrawBuffers", &builtIn);
890 if (! symbolTable.insert(*variable)) {
956 const TSymbol* symbol = symbolTable.find(call->getName(), builtIn);
958 symbol = symbolTable.find(call->getMangledName(), builtIn);
994 if (! symbolTable.insert(*variable)) {
1035 const TSymbol* symbol = symbolTable
[all...]
H A DParseHelper.h34 intermediate(interm), symbolTable(symt), extensionBehavior(ext), infoSink(is), shaderType(type), shaderSpec(spec), treeRoot(0),
38 TSymbolTable& symbolTable; // symbol table that goes with the language currently being parsed member in struct:TParseContext
H A DValidateLimitations.cpp394 TSymbolTable& symbolTable = GlobalParseContext->symbolTable; local
395 TSymbol* symbol = symbolTable.find(node->getName());
H A Dglslang.l507 TSymbol* symbol = yyextra->symbolTable.find(yytext);
H A DIntermediate.cpp146 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc line, TSymbolTable& symbolTable) argument
281 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermNode* childNode, TSourceLoc line, TSymbolTable& symbolTable) argument
H A DOutputHLSL.cpp118 TSymbolTableLevel *symbols = mContext.symbolTable.getGlobalLevel();
269 TSymbolTableLevel *symbols = mContext.symbolTable.getGlobalLevel();
H A Dglslang_lex.cpp3123 TSymbol* symbol = yyextra->symbolTable.find(yytext);
/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DBytecodeGenerator.cpp154 symbolTable().clear();
167 pair<SymbolTable::iterator, bool> result = symbolTable().add(ident.impl(), newEntry);
182 pair<SymbolTable::iterator, bool> result = symbolTable().add(ident.impl(), newEntry);
201 BytecodeGenerator::BytecodeGenerator(ProgramNode* programNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, ProgramCodeBlock* codeBlock) argument
206 , m_symbolTable(symbolTable)
247 m_globals.grow(symbolTable->size());
248 SymbolTable::iterator end = symbolTable->end();
249 for (SymbolTable::iterator it = symbolTable->begin(); it != end; ++it)
256 bool canOptimizeNewGlobals = symbolTable->size() + functionStack.size() + varStack.size() < registerFile->maxGlobals();
259 m_nextGlobalIndex -= symbolTable
323 BytecodeGenerator(FunctionBodyNode* functionBody, ScopeChainNode* scopeChain, SymbolTable* symbolTable, CodeBlock* codeBlock) argument
487 BytecodeGenerator(EvalNode* evalNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, EvalCodeBlock* codeBlock) argument
[all...]
H A DBytecodeGenerator.h431 // Adds a var slot and maps it to the name ident in symbolTable().
442 // Adds an anonymous var slot. To give this slot a name, add it to symbolTable().
501 SymbolTable& symbolTable() { return *m_symbolTable; } function in class:JSC::BytecodeGenerator
/external/webkit/Source/JavaScriptCore/bytecode/
H A DCodeBlock.h206 CodeBlock(ScriptExecutable* ownerExecutable, CodeType, JSGlobalObject*, PassRefPtr<SourceProvider>, unsigned sourceOffset, SymbolTable* symbolTable, bool isConstructor);
458 SymbolTable* symbolTable() { return m_symbolTable; } function in class:JSC::CodeBlock

Completed in 287 milliseconds