Home
last modified time | relevance | path

Searched +refs:aggregate +refs:variable (Results 1 – 25 of 74) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DScalarizeVecAndMatConstructorArgs.cpp55 void scalarizeArgs(TIntermAggregate *aggregate, bool scalarizeVector, bool scalarizeMatrix);
111 void ScalarizeArgsTraverser::scalarizeArgs(TIntermAggregate *aggregate, in scalarizeArgs() argument
115 ASSERT(aggregate); in scalarizeArgs()
116 ASSERT(!aggregate->isArray()); in scalarizeArgs()
117 int size = static_cast<int>(aggregate->getType().getObjectSize()); in scalarizeArgs()
118 TIntermSequence *sequence = aggregate->getSequence(); in scalarizeArgs()
201 TVariable *variable = CreateTempVariable(mSymbolTable, type); in createTempVariable() local
205 TIntermDeclaration *declaration = CreateTempInitDeclarationNode(variable, original); in createTempVariable()
208 return CreateTempSymbolNode(variable); in createTempVariable()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DScalarizeVecAndMatConstructorArgs.cpp57 void scalarizeArgs(TIntermAggregate *aggregate, bool scalarizeVector, bool scalarizeMatrix);
116 void ScalarizeArgsTraverser::scalarizeArgs(TIntermAggregate *aggregate, in scalarizeArgs() argument
120 ASSERT(aggregate); in scalarizeArgs()
121 ASSERT(!aggregate->isArray()); in scalarizeArgs()
122 int size = static_cast<int>(aggregate->getType().getObjectSize()); in scalarizeArgs()
123 TIntermSequence *sequence = aggregate->getSequence(); in scalarizeArgs()
205 TVariable *variable = CreateTempVariable(mSymbolTable, type); in createTempVariable() local
209 TIntermDeclaration *declaration = CreateTempInitDeclarationNode(variable, original); in createTempVariable()
212 return variable; in createTempVariable()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp900 TVariable* variable = static_cast<TVariable*>(symbol); in arraySetMaxSize() local
902 type->setArrayInformationType(variable->getArrayInformationType()); in arraySetMaxSize()
903 variable->updateArrayInformationType(type); in arraySetMaxSize()
924 variable->getType().setMaxArraySize(size); in arraySetMaxSize()
1009 TVariable **variable) in declareVariable() argument
1011 ASSERT((*variable) == nullptr); in declareVariable()
1028 (*variable) = new TVariable(&identifier, type); in declareVariable()
1029 if(!symbolTable.declare(*variable)) in declareVariable()
1032 delete (*variable); in declareVariable()
1033 (*variable) = nullptr; in declareVariable()
[all …]
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp658 const TVariable* variable = nullptr; in handleVariable() local
666 variable = getImplicitThis(thisDepth); in handleVariable()
667 if (variable == nullptr) in handleVariable()
670 if (variable == nullptr) in handleVariable()
671 variable = anon->getAnonContainer().getAsVariable(); in handleVariable()
673 TIntermTyped* container = intermediate.addSymbol(*variable, loc); in handleVariable()
677 node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type); in handleVariable()
685 variable = symbol ? symbol->getAsVariable() : nullptr; in handleVariable()
686 if (variable) { in handleVariable()
687 if ((variable->getType().getBasicType() == EbtBlock || in handleVariable()
[all …]
/third_party/openGLES/extensions/ARB/
DARB_shading_language_420pack.txt91 * Qualifiers on variable declarations no longer have to follow a strict
104 and image variable declarations.
208 "At declaration, an initial value for an aggregate variable may be provided,
225 of nested initializers: The aggregate and its initializer must exactly match
232 constructors, an aggregate can be initialized by either a constructor or an
236 variable being declared must be a vector, a matrix, an array, or a
239 int i = { 1 }; // illegal, i is not an aggregate
242 applied to one aggregate. This may be the variable being declared or an
243 aggregate contained in the variable being declared. Individual
245 of the aggregate, in order.
[all …]
DARB_program_interface_query.txt287 When building a list of active variable or interface blocks, resources
288 with aggregate types (such as arrays or structures) may produce multiple
290 Additionally, each active variable, interface block, or subroutine in the
296 * For an active variable declared as a single instance of a basic type,
297 a single entry will be generated, using the variable name from the
300 * For an active variable declared as an array of basic types, a single
304 * For an active variable declared as a structure, a separate entry will
311 * For an active variable declared as an array of an aggregate data type
317 each enumerated array element as a separate active variable.
321 of its type. For arrays of aggregate types, the enumeration rules are
[all …]
DARB_enhanced_layouts.txt209 arranged in the variable order specified in the most recent call to
294 active variable is written to <params>. For variables in the UNIFORM and
296 written is the offset of that variable relative to the base of the buffer
300 where the value of the variable will be stored. Such offsets are
320 For the property ACTIVE_VARIABLES, an array of active variable indices
329 component of the location assigned to an active input or output variable
338 with an active variable is written to <params>. For variables
350 (modify the last bullet of "An output variable is considered to match",
368 When an attribute variable declared using one of the scalar or vector data
371 generic attribute components used depend on the type of the variable and
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shading_language_420pack.txt81 * Qualifiers on variable declarations no longer have to follow a strict
94 and image variable declarations.
198 "At declaration, an initial value for an aggregate variable may be provided,
215 of nested initializers: The aggregate and its initializer must exactly match
222 constructors, an aggregate can be initialized by either a constructor or an
226 variable being declared must be a vector, a matrix, an array, or a
229 int i = { 1 }; // illegal, i is not an aggregate
232 applied to one aggregate. This may be the variable being declared or an
233 aggregate contained in the variable being declared. Individual
235 of the aggregate, in order.
[all …]
DARB_program_interface_query.txt277 When building a list of active variable or interface blocks, resources
278 with aggregate types (such as arrays or structures) may produce multiple
280 Additionally, each active variable, interface block, or subroutine in the
286 * For an active variable declared as a single instance of a basic type,
287 a single entry will be generated, using the variable name from the
290 * For an active variable declared as an array of basic types, a single
294 * For an active variable declared as a structure, a separate entry will
301 * For an active variable declared as an array of an aggregate data type
307 each enumerated array element as a separate active variable.
311 of its type. For arrays of aggregate types, the enumeration rules are
[all …]
DARB_enhanced_layouts.txt199 arranged in the variable order specified in the most recent call to
284 active variable is written to <params>. For variables in the UNIFORM and
286 written is the offset of that variable relative to the base of the buffer
290 where the value of the variable will be stored. Such offsets are
310 For the property ACTIVE_VARIABLES, an array of active variable indices
319 component of the location assigned to an active input or output variable
328 with an active variable is written to <params>. For variables
340 (modify the last bullet of "An output variable is considered to match",
358 When an attribute variable declared using one of the scalar or vector data
361 generic attribute components used depend on the type of the variable and
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorVulkan.cpp68 if (symbolNode && symbolNode->variable().symbolType() == SymbolType::Empty) in visitDeclaration()
104 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration() local
105 const TType &type = variable->getType(); in visitDeclaration()
142 const ImmutableString &name = symbol->variable().name(); in visitSymbol()
144 (*mSink) << HashName(&symbol->variable(), mHashFunction, mNameMap) in visitSymbol()
241 TIntermAggregate *aggregate = TIntermAggregate::CreateConstructor(builtin->getType(), sequence); in FlipBuiltinVariable() local
242 TIntermBinary *assignment = new TIntermBinary(EOpInitialize, flippedBuiltinRef, aggregate); in FlipBuiltinVariable()
DIntermNode.cpp486 TIntermSymbol::TIntermSymbol(const TVariable *variable) : TIntermTyped(), mVariable(variable) {} in TIntermSymbol() argument
490 return variable().getConstPointer() != nullptr; in hasConstantValue()
495 return variable().getConstPointer(); in getConstantValue()
3066 TConstantUnion *TIntermConstantUnion::FoldAggregateBuiltIn(TIntermAggregate *aggregate, in FoldAggregateBuiltIn() argument
3069 TOperator op = aggregate->getOp(); in FoldAggregateBuiltIn()
3070 TIntermSequence *arguments = aggregate->getSequence(); in FoldAggregateBuiltIn()
3093 if (!(*arguments)[0]->getAsTyped()->isMatrix() && aggregate->getOp() != EOpOuterProduct) in FoldAggregateBuiltIn()
3652 if (aggregate->getBasicType() == EbtInt) in FoldAggregateBuiltIn()
3658 ASSERT(aggregate->getBasicType() == EbtUInt); in FoldAggregateBuiltIn()
3664 UndefinedConstantFoldingError(loc, op, aggregate->getBasicType(), diagnostics, in FoldAggregateBuiltIn()
[all …]
DIntermNode.h251 TIntermSymbol(const TVariable *variable);
264 const TVariable &variable() const { return *mVariable; } in variable() function
363 static TConstantUnion *FoldAggregateBuiltIn(TIntermAggregate *aggregate,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorMetalDirect.cpp104 if (symbolNode && symbolNode->variable().symbolType() == SymbolType::Empty) in visitDeclaration()
142 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration() local
143 const TType &type = variable->getType(); in visitDeclaration()
180 const ImmutableString &name = symbol->variable().name(); in visitSymbol()
182 (*mSink) << HashName(&symbol->variable(), mHashFunction, mNameMap) in visitSymbol()
269 TIntermAggregate *aggregate = in RotateAndFlipBuiltinVariable() local
271 TIntermBinary *assignment = new TIntermBinary(EOpInitialize, flippedBuiltinRef, aggregate); in RotateAndFlipBuiltinVariable()
343 if (!ReplaceVariable(&compiler, &root, &(glFragDepthExt->variable()), in AddFragDepthEXTDeclaration()
393 if (!ReplaceVariable(&compiler, &root, &(originalGLFragData->variable()), glFragDataGlobal)) in AddFragDataDeclaration()
DIntermNode.cpp565 TIntermSymbol::TIntermSymbol(const TVariable *variable) : TIntermTyped(), mVariable(variable) {} in TIntermSymbol() argument
569 return variable().getConstPointer() != nullptr; in hasConstantValue()
574 return variable().getConstPointer(); in getConstantValue()
3416 TConstantUnion *TIntermConstantUnion::FoldAggregateBuiltIn(TIntermAggregate *aggregate, in FoldAggregateBuiltIn() argument
3419 const TOperator op = aggregate->getOp(); in FoldAggregateBuiltIn()
3420 const TFunction *function = aggregate->getFunction(); in FoldAggregateBuiltIn()
3421 TIntermSequence *arguments = aggregate->getSequence(); in FoldAggregateBuiltIn()
3444 if (!(*arguments)[0]->getAsTyped()->isMatrix() && aggregate->getOp() != EOpOuterProduct) in FoldAggregateBuiltIn()
4058 if (aggregate->getBasicType() == EbtInt) in FoldAggregateBuiltIn()
4064 ASSERT(aggregate->getBasicType() == EbtUInt); in FoldAggregateBuiltIn()
[all …]
DIntermNode.h285 TIntermSymbol(const TVariable *variable);
298 const TVariable &variable() const { return *mVariable; } in variable() function
400 static TConstantUnion *FoldAggregateBuiltIn(TIntermAggregate *aggregate,
/third_party/python/Misc/
DSpecialBuilds.txt8 to define them in the EXTRA_CFLAGS make variable;
15 Turn on aggregate reference counting. This arranges that extern _Py_RefTotal
96 frame's code it checks the frame's global namespace for a variable
97 "__ltrace__". If such a variable is found, mounds of information about what
/third_party/selinux/libselinux/src/
DMakefile90 -Werror -Wno-aggregate-return -Wno-redundant-decls \
106 SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCCallingConv.td235 // to assign vector arguments which belong to the variable portion of the
236 // parameter list of a variable argument function.
263 // Helper "calling convention" to handle aggregate by value arguments.
264 // Aggregate by value arguments are always placed in the local variable space
268 // Still, the address of the aggregate copy in the callers stack frame is passed
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp480 const TVariable* variable; in handleVariable() local
486 variable = anon->getAnonContainer().getAsVariable(); in handleVariable()
487 TIntermTyped* container = intermediate.addSymbol(*variable, loc); in handleVariable()
491 node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type); in handleVariable()
499 variable = symbol ? symbol->getAsVariable() : nullptr; in handleVariable()
500 if (variable) { in handleVariable()
501 if (variable->getType().isUnusableName()) { in handleVariable()
503 variable = nullptr; in handleVariable()
506 if (language == EShLangMesh && variable) { in handleVariable()
508 …if ((variable->getMangledName() == "gl_PrimitiveTriangleIndicesEXT" && primitiveType != ElgTriangl… in handleVariable()
[all …]
/third_party/json/cmake/
Dci.cmake114 # -Wno-aggregate-return The library uses aggregate returns.
131 -Wno-aggregate-return \
370 -Wunused-but-set-variable \
371 -Wunused-const-variable=2 \
379 -Wunused-variable \
/third_party/elfutils/tests/
DChangeLog49 (dwfl_report_offline_memory_LDADD): New variable.
153 * Makefile.am (EXTRA_NLIST_CFLAGS): New variable depends on
204 (nvidia_extended_linemap_libdw_LDADD): New variable.
396 All files source debuginfod-subr.sh and use the $base variable to find ports.
559 (valgrind_cmd): Unquote variable.
571 * Makefile.am (TESTS_ENVIRONMENT): export CC variable
691 (read_unaligned_LDADD): New variable.
697 (leb128_LDADD): New variable.
835 (test_nlist_CFLAGS): New variable.
900 (getphdrnum_LDADD): New variable.
[all …]
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.tessellation.txt48 + Passing per-patch and per-vertex simple and aggregate user-defined data
93 The cases testing gl_PrimitiveID and gl_PatchVerticesIn read the variable in
/third_party/libffi/
Dconfigure.ac92 # Also AC_SUBST this variable for ffi.h.
335 AC_DEFINE(FFI_NO_STRUCTS, 1, [Define this if you do not want support for aggregate types.])
/third_party/elfutils/backends/
DChangeLog311 * Makefile.am (m68k_corenote_no_Wpacked_not_aligned): New variable.
809 (aarch64_SRCS): New variable.
915 (tilegx_SRCS): New variable.
982 * linux-core-note.c (vmcoreinfo_items): New static const variable.
1106 * ppc_corenote.c (spe_regs): New const variable.
1133 * ppc_corenote.c (altivec_regs): New variable.
1329 (ppc64_return_value_location): Use registers for aggregate conditional
1332 (ppc_return_value_location): Use registers for aggregate conditional

123