Home
last modified time | relevance | path

Searched refs:VariableLocation (Results 1 – 25 of 33) sorted by relevance

12

/third_party/node/deps/v8/src/ast/
Dvariables.h39 LocationField::encode(VariableLocation::UNALLOCATED) | in scope_()
80 location() == VariableLocation::MODULE); in ForceContextAllocation()
119 return location() == VariableLocation::UNALLOCATED; in IsUnallocated()
121 bool IsParameter() const { return location() == VariableLocation::PARAMETER; } in IsParameter()
122 bool IsStackLocal() const { return location() == VariableLocation::LOCAL; } in IsStackLocal()
124 bool IsContextSlot() const { return location() == VariableLocation::CONTEXT; } in IsContextSlot()
125 bool IsLookupSlot() const { return location() == VariableLocation::LOOKUP; } in IsLookupSlot()
205 VariableLocation location() const { in location()
219 DCHECK_EQ(location(), VariableLocation::MODULE); in IsExport()
224 void AllocateTo(VariableLocation location, int index) { in AllocateTo()
[all …]
Dvariables.cc42 DCHECK_EQ(location(), VariableLocation::CONTEXT); in RewriteLocationForRepl()
44 LocationField::update(bit_field_, VariableLocation::REPL_GLOBAL); in RewriteLocationForRepl()
Dscopes.cc223 var->AllocateTo(VariableLocation::CONTEXT, in ClassScope()
968 VariableLocation location; in LookupInScopeInfo()
973 location = VariableLocation::CONTEXT; in LookupInScopeInfo()
979 location = VariableLocation::MODULE; in LookupInScopeInfo()
991 var->AllocateTo(VariableLocation::CONTEXT, index); in LookupInScopeInfo()
1343 receiver_->AllocateTo(VariableLocation::LOOKUP, -1); in DeserializeReceiver()
1345 receiver_->AllocateTo(VariableLocation::CONTEXT, in DeserializeReceiver()
1814 case VariableLocation::UNALLOCATED: in PrintLocation()
1816 case VariableLocation::PARAMETER: in PrintLocation()
1819 case VariableLocation::LOCAL: in PrintLocation()
[all …]
Dprettyprinter.cc1265 case VariableLocation::UNALLOCATED: in VisitVariableProxy()
1268 case VariableLocation::PARAMETER: in VisitVariableProxy()
1271 case VariableLocation::LOCAL: in VisitVariableProxy()
1274 case VariableLocation::CONTEXT: in VisitVariableProxy()
1277 case VariableLocation::LOOKUP: in VisitVariableProxy()
1280 case VariableLocation::MODULE: in VisitVariableProxy()
1283 case VariableLocation::REPL_GLOBAL: in VisitVariableProxy()
/third_party/node/deps/v8/src/debug/
Ddebug-scopes.cc659 if (var->location() == VariableLocation::PARAMETER || in CollectLocalsFromCurrentScope()
660 var->location() == VariableLocation::LOCAL) { in CollectLocalsFromCurrentScope()
802 this_var->location() == VariableLocation::CONTEXT in VisitLocals()
832 case VariableLocation::LOOKUP: in VisitLocals()
835 case VariableLocation::REPL_GLOBAL: in VisitLocals()
837 case VariableLocation::UNALLOCATED: in VisitLocals()
840 case VariableLocation::PARAMETER: { in VisitLocals()
858 case VariableLocation::LOCAL: in VisitLocals()
882 case VariableLocation::CONTEXT: in VisitLocals()
888 case VariableLocation::MODULE: { in VisitLocals()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgram.h121 struct VariableLocation struct
125 VariableLocation(); argument
126 VariableLocation(unsigned int arrayIndex, unsigned int index);
135 bool operator==(const VariableLocation &other) const argument
259 const std::vector<VariableLocation> &getOutputLocations() const in getOutputLocations()
263 const std::vector<VariableLocation> &getSecondaryOutputLocations() const in getSecondaryOutputLocations()
268 const std::vector<VariableLocation> &getUniformLocations() const { return mUniformLocations; } in getUniformLocations()
386 std::vector<VariableLocation> mUniformLocations;
526 const VariableLocation &getUniformLocation(UniformLocation location) const;
528 const std::vector<VariableLocation> &getUniformLocations() const in getUniformLocations()
[all …]
DProgramExecutable.cpp66 bool FindUsedOutputLocation(std::vector<VariableLocation> &outputLocations, in FindUsedOutputLocation()
69 const std::vector<VariableLocation> &reservedLocations, in FindUsedOutputLocation()
83 VariableLocation locationInfo(elementIndex, variableIndex); in FindUsedOutputLocation()
94 void AssignOutputLocations(std::vector<VariableLocation> &outputLocations, in AssignOutputLocations()
97 const std::vector<VariableLocation> &reservedLocations, in AssignOutputLocations()
107 VariableLocation locationInfo(elementIndex, variableIndex); in AssignOutputLocations()
414 VariableLocation locationData; in load()
441 VariableLocation locationData; in load()
1293 std::vector<VariableLocation> reservedLocations; in linkValidateOutputVariables()
1321 std::vector<VariableLocation> &outputLocations = in linkValidateOutputVariables()
[all …]
DProgram.cpp132 const std::vector<VariableLocation> &locationList, in GetVariableLocation()
140 const VariableLocation &variableLocation = locationList[location]; in GetVariableLocation()
165 const std::vector<VariableLocation> &locationList, in GetVariableLocation()
173 const VariableLocation &variableLocation = locationList[location]; in GetVariableLocation()
1045 VariableLocation::VariableLocation() : arrayIndex(0), index(kUnused), ignored(false) {} in VariableLocation() function in gl::VariableLocation
1047 VariableLocation::VariableLocation(unsigned int arrayIndex, unsigned int index) in VariableLocation() function in gl::VariableLocation
2582 const VariableLocation &Program::getUniformLocation(UniformLocation location) const in getUniformLocation()
2632 const VariableLocation &locationInfo = mState.mUniformLocations[location.value]; in setUniform1fv()
2645 const VariableLocation &locationInfo = mState.mUniformLocations[location.value]; in setUniform2fv()
2658 const VariableLocation &locationInfo = mState.mUniformLocations[location.value]; in setUniform3fv()
[all …]
DProgramExecutable.h203 const std::vector<VariableLocation> &getOutputLocations() const { return mOutputLocations; } in getOutputLocations()
204 const std::vector<VariableLocation> &getSecondaryOutputLocations() const in getSecondaryOutputLocations()
404 std::vector<VariableLocation> mOutputLocations;
407 std::vector<VariableLocation> mSecondaryOutputLocations;
DProgramLinkedResources.h48 struct VariableLocation;
64 std::vector<VariableLocation> *uniformLocations);
92 std::vector<VariableLocation> mUniformLocations;
DMemoryProgramCache.cpp90 HashStream &operator<<(HashStream &stream, const std::vector<gl::VariableLocation> &locations) in operator <<()
DProgramLinkedResources.cpp800 std::vector<VariableLocation> *uniformLocations) in getResults()
895 std::vector<VariableLocation> unlocatedUniforms; in indexUniforms()
896 std::map<GLuint, VariableLocation> preLocatedUniforms; in indexUniforms()
919 VariableLocation location(arrayIndex, static_cast<unsigned int>(uniformIndex)); in indexUniforms()
/third_party/node/deps/v8/src/interpreter/
Dbytecode-generator.cc766 if (var->location() != VariableLocation::MODULE) continue; in AllocateDeclarations()
792 if (var->location() != VariableLocation::UNALLOCATED) continue; in AllocateDeclarations()
1483 if (generator_object_var->location() == VariableLocation::LOCAL) { in AllocateTopLevelRegisters()
1493 if (new_target_var->location() == VariableLocation::LOCAL) { in AllocateTopLevelRegisters()
1544 case VariableLocation::UNALLOCATED: in VisitVariableDeclaration()
1545 case VariableLocation::MODULE: in VisitVariableDeclaration()
1547 case VariableLocation::LOCAL: in VisitVariableDeclaration()
1553 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
1559 case VariableLocation::REPL_GLOBAL: in VisitVariableDeclaration()
1562 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.hpp256 struct VariableLocation struct
332 std::string getUnusedDecorations(const VariableLocation& location);
DvktSpvAsmGraphicsShaderTestUtil.hpp331 VariableLocation variableLocation;
333 …Context(const InstanceContext& ctx, const ShaderTaskArray& tasks, const VariableLocation& location) in UnusedVariableContext()
452 … createUnusedVariableContext(const ShaderTaskArray& shaderTasks, const VariableLocation& location);
DvktSpvAsmUtils.cpp41 std::string VariableLocation::toString() const in toString()
46 std::string VariableLocation::toDescription() const in toDescription()
689 std::string getUnusedDecorations(const VariableLocation& location) in getUnusedDecorations()
/third_party/node/deps/v8/src/objects/
Dscope-info.cc72 case VariableLocation::CONTEXT: in Create()
73 case VariableLocation::REPL_GLOBAL: in Create()
76 case VariableLocation::MODULE: in Create()
264 case VariableLocation::CONTEXT: in Create()
265 case VariableLocation::REPL_GLOBAL: { in Create()
290 case VariableLocation::MODULE: { in Create()
329 if (parameter->location() != VariableLocation::CONTEXT) continue; in Create()
347 DCHECK_EQ(class_variable->location(), VariableLocation::CONTEXT); in Create()
Dscope-info.h361 VariableLocation* location, InitializationFlag* init_flag,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp349 for (const gl::VariableLocation &location : mState.getUniformLocations()) in initDefaultUniformLayoutMapping()
423 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in setUniformImpl()
488 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in getUniformImpl()
537 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in setUniform1iv()
590 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in setUniformMatrixfv()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.h32 struct VariableLocation;
DDynamicHLSL.cpp1287 const VariableLocation &outputLocation = in getPixelShaderOutputKey()
1318 const VariableLocation &outputLocation = in getPixelShaderOutputKey()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DProgramImpl.h152 virtual void markUnusedUniformLocations(std::vector<gl::VariableLocation> *uniformLocations, in markUnusedUniformLocations()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.h105 void markUnusedUniformLocations(std::vector<gl::VariableLocation> *uniformLocations,
DProgramGL.cpp364 const gl::VariableLocation &outputLocation = in link()
387 const gl::VariableLocation &outputLocation = in link()
1078 void ProgramGL::markUnusedUniformLocations(std::vector<gl::VariableLocation> *uniformLocations, in markUnusedUniformLocations()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DProgramMtl.mm513 const gl::VariableLocation &location = uniformLocations[locSlot];
921 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location];
990 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location];
1083 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location];

12