Home
last modified time | relevance | path

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

12

/external/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()
204 VariableLocation location() const { in location()
218 DCHECK_EQ(location(), VariableLocation::MODULE); in IsExport()
223 void AllocateTo(VariableLocation location, int index) { in AllocateTo()
[all …]
Dvariables.cc41 DCHECK_EQ(location(), VariableLocation::CONTEXT); in RewriteLocationForRepl()
43 LocationField::update(bit_field_, VariableLocation::REPL_GLOBAL); in RewriteLocationForRepl()
Dscopes.cc191 var->AllocateTo(VariableLocation::CONTEXT, in ClassScope()
847 VariableLocation location; in LookupInScopeInfo()
855 location = VariableLocation::CONTEXT; in LookupInScopeInfo()
863 location = VariableLocation::MODULE; in LookupInScopeInfo()
874 var->AllocateTo(VariableLocation::CONTEXT, index); in LookupInScopeInfo()
1225 receiver_->AllocateTo(VariableLocation::LOOKUP, -1); in DeserializeReceiver()
1227 receiver_->AllocateTo(VariableLocation::CONTEXT, in DeserializeReceiver()
1656 case VariableLocation::UNALLOCATED: in PrintLocation()
1658 case VariableLocation::PARAMETER: in PrintLocation()
1661 case VariableLocation::LOCAL: in PrintLocation()
[all …]
Dprettyprinter.cc1241 case VariableLocation::UNALLOCATED: in VisitVariableProxy()
1244 case VariableLocation::PARAMETER: in VisitVariableProxy()
1247 case VariableLocation::LOCAL: in VisitVariableProxy()
1250 case VariableLocation::CONTEXT: in VisitVariableProxy()
1253 case VariableLocation::LOOKUP: in VisitVariableProxy()
1256 case VariableLocation::MODULE: in VisitVariableProxy()
1259 case VariableLocation::REPL_GLOBAL: in VisitVariableProxy()
/external/v8/src/debug/
Ddebug-scopes.cc643 if (var->location() == VariableLocation::PARAMETER || in CollectLocalsFromCurrentScope()
644 var->location() == VariableLocation::LOCAL) { in CollectLocalsFromCurrentScope()
787 this_var->location() == VariableLocation::CONTEXT in VisitLocals()
818 case VariableLocation::LOOKUP: in VisitLocals()
822 case VariableLocation::REPL_GLOBAL: in VisitLocals()
824 case VariableLocation::UNALLOCATED: in VisitLocals()
827 case VariableLocation::PARAMETER: { in VisitLocals()
845 case VariableLocation::LOCAL: in VisitLocals()
869 case VariableLocation::CONTEXT: in VisitLocals()
875 case VariableLocation::MODULE: { in VisitLocals()
[all …]
/external/angle/src/libANGLE/
DProgram.h106 struct VariableLocation struct
110 VariableLocation(); argument
111 VariableLocation(unsigned int arrayIndex, unsigned int index);
120 bool operator==(const VariableLocation &other) const argument
273 const std::vector<VariableLocation> &getOutputLocations() const { return mOutputLocations; } in getOutputLocations()
274 const std::vector<VariableLocation> &getSecondaryOutputLocations() const in getSecondaryOutputLocations()
279 const std::vector<VariableLocation> &getUniformLocations() const { return mUniformLocations; } in getUniformLocations()
400 std::vector<VariableLocation> mUniformLocations;
419 std::vector<VariableLocation> mOutputLocations;
422 std::vector<VariableLocation> mSecondaryOutputLocations;
[all …]
DProgram.cpp131 const std::vector<VariableLocation> &locationList, in GetVariableLocation()
139 const VariableLocation &variableLocation = locationList[location]; in GetVariableLocation()
164 const std::vector<VariableLocation> &locationList, in GetVariableLocation()
172 const VariableLocation &variableLocation = locationList[location]; in GetVariableLocation()
915 VariableLocation::VariableLocation() : arrayIndex(0), index(kUnused), ignored(false) {} in VariableLocation() function in gl::VariableLocation
917 VariableLocation::VariableLocation(unsigned int arrayIndex, unsigned int index) in VariableLocation() function in gl::VariableLocation
2516 const VariableLocation &Program::getUniformLocation(UniformLocation location) const in getUniformLocation()
2566 const VariableLocation &locationInfo = mState.mUniformLocations[location.value]; in setUniform1fv()
2579 const VariableLocation &locationInfo = mState.mUniformLocations[location.value]; in setUniform2fv()
2592 const VariableLocation &locationInfo = mState.mUniformLocations[location.value]; in setUniform3fv()
[all …]
DProgramLinkedResources.h47 struct VariableLocation;
63 std::vector<VariableLocation> *uniformLocations);
90 std::vector<VariableLocation> mUniformLocations;
DProgramLinkedResources.cpp666 std::vector<VariableLocation> *uniformLocations) in getResults()
761 std::vector<VariableLocation> unlocatedUniforms; in indexUniforms()
762 std::map<GLuint, VariableLocation> preLocatedUniforms; in indexUniforms()
785 VariableLocation location(arrayIndex, static_cast<unsigned int>(uniformIndex)); in indexUniforms()
DMemoryProgramCache.cpp85 HashStream &operator<<(HashStream &stream, const std::vector<gl::VariableLocation> &locations) in operator <<()
/external/v8/src/interpreter/
Dbytecode-generator.cc749 if (var->location() != VariableLocation::MODULE) continue; in AllocateDeclarations()
775 if (var->location() != VariableLocation::UNALLOCATED) continue; in AllocateDeclarations()
1400 if (generator_object_var->location() == VariableLocation::LOCAL) { in AllocateTopLevelRegisters()
1410 if (new_target_var->location() == VariableLocation::LOCAL) { in AllocateTopLevelRegisters()
1461 case VariableLocation::UNALLOCATED: in VisitVariableDeclaration()
1462 case VariableLocation::MODULE: in VisitVariableDeclaration()
1464 case VariableLocation::LOCAL: in VisitVariableDeclaration()
1470 case VariableLocation::PARAMETER: in VisitVariableDeclaration()
1476 case VariableLocation::REPL_GLOBAL: in VisitVariableDeclaration()
1479 case VariableLocation::CONTEXT: in VisitVariableDeclaration()
[all …]
/external/v8/src/objects/
Dscope-info.cc77 case VariableLocation::CONTEXT: in Create()
78 case VariableLocation::REPL_GLOBAL: in Create()
81 case VariableLocation::MODULE: in Create()
232 case VariableLocation::CONTEXT: in Create()
233 case VariableLocation::REPL_GLOBAL: { in Create()
250 case VariableLocation::MODULE: { in Create()
281 if (parameter->location() != VariableLocation::CONTEXT) continue; in Create()
292 if (var->location() == VariableLocation::CONTEXT) { in Create()
315 DCHECK_EQ(class_variable->location(), VariableLocation::CONTEXT); in Create()
Dscope-info.h332 VariableLocation* location, InitializationFlag* init_flag,
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.hpp287 struct VariableLocation struct
387 std::string getUnusedDecorations(const VariableLocation& location);
DvktSpvAsmGraphicsShaderTestUtil.hpp333 VariableLocation variableLocation;
335 …Context(const InstanceContext& ctx, const ShaderTaskArray& tasks, const VariableLocation& location) in UnusedVariableContext()
454 … createUnusedVariableContext(const ShaderTaskArray& shaderTasks, const VariableLocation& location);
DvktSpvAsmUtils.cpp41 std::string VariableLocation::toString() const in toString()
46 std::string VariableLocation::toDescription() const in toDescription()
667 std::string getUnusedDecorations(const VariableLocation& location) in getUnusedDecorations()
/external/angle/src/libANGLE/renderer/vulkan/
DProgramVk.cpp371 for (const gl::VariableLocation &location : mState.getUniformLocations()) in initDefaultUniformLayoutMapping()
451 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in setUniformImpl()
516 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in getUniformImpl()
565 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in setUniform1iv()
618 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in setUniformMatrixfv()
/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.h32 struct VariableLocation;
DDynamicHLSL.cpp1271 const VariableLocation &outputLocation = in getPixelShaderOutputKey()
1302 const VariableLocation &outputLocation = in getPixelShaderOutputKey()
DProgramD3D.h483 void setUniformImpl(const gl::VariableLocation &locationInfo,
DProgramD3D.cpp2630 void ProgramD3D::setUniformImpl(const gl::VariableLocation &locationInfo, in setUniformImpl()
2671 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in setUniformInternal()
2705 const gl::VariableLocation &uniformLocation = mState.getUniformLocations()[location]; in setUniformMatrixfvInternal()
3226 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location]; in getUniformInternal()
/external/angle/src/libANGLE/renderer/
DProgramImpl.h151 virtual void markUnusedUniformLocations(std::vector<gl::VariableLocation> *uniformLocations, in markUnusedUniformLocations()
/external/angle/src/libANGLE/renderer/metal/
DProgramMtl.mm365 const gl::VariableLocation &location = uniformLocations[locSlot];
529 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location];
598 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location];
691 const gl::VariableLocation &locationInfo = mState.getUniformLocations()[location];
/external/angle/src/libANGLE/renderer/gl/
DProgramGL.h104 void markUnusedUniformLocations(std::vector<gl::VariableLocation> *uniformLocations,
DProgramGL.cpp350 const gl::VariableLocation &outputLocation = in link()
373 const gl::VariableLocation &outputLocation = in link()
1063 void ProgramGL::markUnusedUniformLocations(std::vector<gl::VariableLocation> *uniformLocations, in markUnusedUniformLocations()

12