/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | BuiltInFunctionEmulator.cpp | 53 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 …]
|
D | BuiltInFunctionEmulator.h | 44 void addEmulatedFunction(const TSymbolUniqueId &uniqueId, 48 const TSymbolUniqueId &uniqueId, 60 bool setFunctionCalled(int uniqueId); 62 const char *findEmulatedFunction(int uniqueId) const;
|
D | ValidateLimitations.cpp | 28 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()
|
D | OutputHLSL.cpp | 557 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 …]
|
D | CallDAG.cpp | 104 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()
|
D | emulated_builtin_functions_hlsl_autogen.cpp | 868 const char *FindHLSLFunction(int uniqueId) in FindHLSLFunction() argument 873 if (function.id == uniqueId) in FindHLSLFunction()
|
D | ValidateOutputs.cpp | 64 if (mVisitedSymbols.count(symbol->uniqueId().get()) == 1) in visitSymbol() 67 mVisitedSymbols.insert(symbol->uniqueId().get()); in visitSymbol()
|
D | ASTMetadataHLSL.cpp | 107 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()
|
D | SymbolUniqueId.cpp | 18 TSymbolUniqueId::TSymbolUniqueId(const TSymbol &symbol) : mId(symbol.uniqueId().get()) {} in TSymbolUniqueId()
|
D | SymbolTable.cpp | 198 int id = variable.uniqueId().get(); in getOrCreateVariableMetadata() 222 int id = variable.uniqueId().get(); in isStaticallyUsed() 241 int id = variable.uniqueId().get(); in isVaryingInvariant()
|
D | Symbol.cpp | 77 int uniqueId = mUniqueId.get(); in name() local 78 ImmutableStringBuilder symbolNameOut(sizeof(uniqueId) * 2u + 1u); in name()
|
D | BuiltInFunctionEmulatorHLSL.cpp | 17 const char *FindHLSLFunction(int uniqueId);
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 181 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 …]
|
D | ArrayReturnValueToOutParameter.cpp | 70 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/ |
D | RegenerateStructNames.cpp | 60 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/ |
D | RemoveUnreferencedVariables.cpp | 74 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/ |
D | SymbolTable.h | 87 …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 …]
|
D | SymbolTable.cpp | 346 uniqueId = copyOf.uniqueId; in TSymbol() 469 uniqueId = copyOf.uniqueId; in copyTable()
|
/third_party/node/deps/v8/src/inspector/ |
D | v8-inspector-impl.cc | 89 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()
|
D | inspected-context.h | 46 internal::V8DebuggerId uniqueId() const { return m_uniqueId; } in uniqueId() function
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | NameEmbeddedUniformStructsMetal.cpp | 57 auto symbol = replacements.find(decl->uniqueId().get()); in visitSymbol() 95 replacements[asSymbol->uniqueId().get()] = newSymbol; in doReplacement()
|
D | SeparateCompoundStructDeclarations.cpp | 82 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/ |
D | SymbolTable.h | 65 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
|
D | Types.h | 142 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/ |
D | IntermNode_test.cpp | 95 ASSERT_EQ(original->uniqueId(), copy->uniqueId()); in checkSymbolCopy()
|