Home
last modified time | relevance | path

Searched refs:uniqueId (Results 1 – 25 of 54) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DBuiltInFunctionEmulator.cpp53 void BuiltInFunctionEmulator::addEmulatedFunction(const TSymbolUniqueId &uniqueId, in addEmulatedFunction() argument
56 mEmulatedFunctions[uniqueId.get()] = std::string(emulatedFunctionDefinition); in addEmulatedFunction()
61 const TSymbolUniqueId &uniqueId, in addEmulatedFunctionWithDependency() argument
64 mEmulatedFunctions[uniqueId.get()] = std::string(emulatedFunctionDefinition); in addEmulatedFunctionWithDependency()
65 mFunctionDependencies[uniqueId.get()] = dependency.get(); in addEmulatedFunctionWithDependency()
84 const char *BuiltInFunctionEmulator::findEmulatedFunction(int uniqueId) const in findEmulatedFunction()
88 const char *result = queryFunction(uniqueId); in findEmulatedFunction()
95 const auto &result = mEmulatedFunctions.find(uniqueId); in findEmulatedFunction()
107 return setFunctionCalled(function->uniqueId().get()); in setFunctionCalled()
110 bool BuiltInFunctionEmulator::setFunctionCalled(int uniqueId) in setFunctionCalled() argument
[all …]
DBuiltInFunctionEmulator.h44 void addEmulatedFunction(const TSymbolUniqueId &uniqueId,
48 const TSymbolUniqueId &uniqueId,
60 bool setFunctionCalled(int uniqueId);
62 const char *findEmulatedFunction(int uniqueId) const;
DValidateLimitations.cpp28 return symbol->uniqueId().get(); in GetLoopSymbolId()
57 symbol->uniqueId().get()) != mLoopSymbolIds.end(); in visitSymbol()
173 return std::find(mLoopSymbolIds.begin(), mLoopSymbolIds.end(), symbol->uniqueId().get()) != in isLoopIndex()
260 return symbol->uniqueId().get(); in validateForLoopInit()
288 if (symbol->uniqueId().get() != indexSymbolId) in validateForLoopCond()
361 if (symbol->uniqueId().get() != indexSymbolId) in validateForLoopExpr()
DOutputHLSL.cpp557 if (mReferencedUniformBlocks.count(interfaceBlock->uniqueId().get()) == 0) in generateStructMapping()
1173 const TSymbolUniqueId &uniqueId = variable.uniqueId(); in visitSymbol() local
1186 mReferencedUniforms[uniqueId.get()] = &variable; in visitSymbol()
1208 if (mReferencedUniformBlocks.count(interfaceBlock->uniqueId().get()) == 0) in visitSymbol()
1215 mReferencedUniformBlocks[interfaceBlock->uniqueId().get()] = in visitSymbol()
1221 mReferencedUniforms[uniqueId.get()] = &variable; in visitSymbol()
1232 mReferencedAttributes[uniqueId.get()] = &variable; in visitSymbol()
1237 mReferencedVaryings[uniqueId.get()] = &variable; in visitSymbol()
1246 mReferencedOutputVariables[uniqueId.get()] = &variable; in visitSymbol()
1629 if (mReferencedUniformBlocks.count(interfaceBlock->uniqueId().get()) == 0) in visitBinary()
[all …]
DCallDAG.cpp104 mCurrentFunction = &mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionDefinition()
122 auto &record = mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionPrototype()
132 auto it = mFunctions.find(node->getFunction()->uniqueId().get()); in visitAggregate()
Demulated_builtin_functions_hlsl_autogen.cpp868 const char *FindHLSLFunction(int uniqueId) in FindHLSLFunction() argument
873 if (function.id == uniqueId) in FindHLSLFunction()
DValidateOutputs.cpp64 if (mVisitedSymbols.count(symbol->uniqueId().get()) == 1) in visitSymbol()
67 mVisitedSymbols.insert(symbol->uniqueId().get()); in visitSymbol()
DASTMetadataHLSL.cpp107 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
275 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
353 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
DSymbolUniqueId.cpp18 TSymbolUniqueId::TSymbolUniqueId(const TSymbol &symbol) : mId(symbol.uniqueId().get()) {} in TSymbolUniqueId()
DSymbolTable.cpp198 int id = variable.uniqueId().get(); in getOrCreateVariableMetadata()
222 int id = variable.uniqueId().get(); in isStaticallyUsed()
241 int id = variable.uniqueId().get(); in isVaryingInvariant()
DSymbol.cpp77 int uniqueId = mUniqueId.get(); in name() local
78 ImmutableStringBuilder symbolNameOut(sizeof(uniqueId) * 2u + 1u); in name()
DBuiltInFunctionEmulatorHLSL.cpp17 const char *FindHLSLFunction(int uniqueId);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp181 if (mUniformBlockMayTranslation.count(interfaceBlock->uniqueId().get()) == 0) in visitSymbol()
183 mUniformBlockMayTranslation[interfaceBlock->uniqueId().get()] = interfaceBlock; in visitSymbol()
198 interfaceBlock->uniqueId().get()) == 0) in visitSymbol()
200 mUniformBlockNotAllowTranslation[interfaceBlock->uniqueId().get()] = in visitSymbol()
207 interfaceBlock->uniqueId().get()) == 0) in visitSymbol()
211 mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = 1; in visitSymbol()
217 if (mUniformBlockUsedRegisterCount.count(interfaceBlock->uniqueId().get()) == 0) in visitSymbol()
221 mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = in visitSymbol()
238 interfaceBlock->uniqueId().get()) == 0) in visitSymbol()
240 mUniformBlockWithLargeArrayMember[interfaceBlock->uniqueId().get()] = in visitSymbol()
[all …]
DArrayReturnValueToOutParameter.cpp70 const TSymbolUniqueId &originalId = originalCall->getFunction()->uniqueId(); in createReplacementCall()
113 const TSymbolUniqueId &functionId = node->getFunction()->uniqueId(); in visitFunctionPrototype()
190 mFunctionWithArrayReturnValue->getFunction()->uniqueId(); in visitBranch()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
DRegenerateStructNames.cpp60 int uniqueId = userType->uniqueId().get(); in visitSymbol() local
78 mDeclaredGlobalStructs.insert(uniqueId); in visitSymbol()
81 if (mDeclaredGlobalStructs.count(uniqueId) > 0) in visitSymbol()
89 ImmutableStringBuilder tmp(kPrefix.length() + sizeof(uniqueId) * 2u + 1u + in visitSymbol()
92 tmp.appendHex(uniqueId); in visitSymbol()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveUnreferencedVariables.cpp74 auto structIter = mStructIdRefCounts.find(structure->uniqueId().get()); in incrementStructTypeRefCount()
77 mStructIdRefCounts[structure->uniqueId().get()] = 1u; in incrementStructTypeRefCount()
94 auto iter = mSymbolIdRefCounts.find(node->uniqueId().get()); in visitSymbol()
97 mSymbolIdRefCounts[node->uniqueId().get()] = 1u; in visitSymbol()
162 ASSERT(mStructIdRefCounts->find(structure->uniqueId().get()) != mStructIdRefCounts->end()); in decrementStructTypeRefCount()
163 unsigned int structRefCount = --(*mStructIdRefCounts)[structure->uniqueId().get()]; in decrementStructTypeRefCount()
180 unsigned int structId = declarator->getType().getStruct()->uniqueId().get(); in removeVariableDeclaration()
250 canRemoveVariable = (*mSymbolIdRefCounts)[symbolNode->uniqueId().get()] == 1u || in visitDeclaration()
257 int symbolId = initNode->getLeft()->getAsSymbolNode()->uniqueId().get(); in visitDeclaration()
278 ASSERT(mSymbolIdRefCounts->find(node->uniqueId().get()) != mSymbolIdRefCounts->end()); in visitSymbol()
[all …]
/third_party/glslang/glslang/MachineIndependent/
DSymbolTable.h87 …explicit TSymbol(const TString *n) : name(n), uniqueId(0), extensions(nullptr), writable(true) { } in POOL_ALLOCATOR_NEW_DELETE()
107 virtual void setUniqueId(long long id) { uniqueId = id; } in setUniqueId()
108 virtual long long getUniqueId() const { return uniqueId; } in getUniqueId()
131 unsigned long long uniqueId; // For cross-scope comparing during code generation variable
606 …TSymbolTable() : uniqueId(0), noBuiltInRedeclarations(false), separateNameSpaces(false), adoptedLe… in TSymbolTable()
627 uniqueId = symTable.uniqueId; in adoptLevels()
650 static bool isBuiltInSymbol(long long uniqueId) { in isBuiltInSymbol() argument
651 int level = static_cast<int>(uniqueId >> LevelFlagBitOffset); in isBuiltInSymbol()
696 symbol.setUniqueId(++uniqueId); in insert()
741 symbol.setUniqueId(++uniqueId); in makeInternalVariable()
[all …]
DSymbolTable.cpp346 uniqueId = copyOf.uniqueId; in TSymbol()
469 uniqueId = copyOf.uniqueId; in copyTable()
/third_party/node/deps/v8/src/inspector/
Dv8-inspector-impl.cc89 internal::V8DebuggerId uniqueId) const { in resolveUniqueContextId()
90 auto it = m_uniqueIdToContextId.find(uniqueId.pair()); in resolveUniqueContextId()
189 if (context) unique_id = context->uniqueId(); in uniqueDebuggerId()
198 DCHECK(m_uniqueIdToContextId.find(context->uniqueId().pair()) == in contextCreated()
201 std::make_pair(context->uniqueId().pair(), contextId)); in contextCreated()
250 m_uniqueIdToContextId.erase(map_entry.second->uniqueId().pair()); in resetContextGroup()
361 m_uniqueIdToContextId.erase(context->uniqueId().pair()); in discardInspectedContext()
Dinspected-context.h46 internal::V8DebuggerId uniqueId() const { return m_uniqueId; } in uniqueId() function
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DNameEmbeddedUniformStructsMetal.cpp57 auto symbol = replacements.find(decl->uniqueId().get()); in visitSymbol()
95 replacements[asSymbol->uniqueId().get()] = newSymbol; in doReplacement()
DSeparateCompoundStructDeclarations.cpp82 replacementMap[declaration.symbol.uniqueId().get()] = instanceSymbol; in visitDeclaration()
94 auto symbol = replacementMap.find(decl->uniqueId().get()); in visitSymbol()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DSymbolTable.h65 void setUniqueId(int id) { uniqueId = id; } in setUniqueId()
66 int getUniqueId() const { return uniqueId; } in getUniqueId()
71 unsigned int uniqueId; // For real comparing during code generation variable
218 return ++uniqueId; in nextUniqueId()
223 static int uniqueId; // for unique identification in code generation variable
DTypes.h142 void setUniqueId(int uniqueId) in setUniqueId() argument
144 mUniqueId = uniqueId; in setUniqueId()
147 int uniqueId() const in uniqueId() function
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DIntermNode_test.cpp95 ASSERT_EQ(original->uniqueId(), copy->uniqueId()); in checkSymbolCopy()

123