Home
last modified time | relevance | path

Searched refs:TVariable (Results 1 – 25 of 28) sorted by relevance

12

/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.h81 void assignToInterface(TVariable& variable);
88 …d remapEntryPointIO(TFunction& function, TVariable*& returnValue, TVector<TVariable*>& inputs, TVe…
177 void pushImplicitThis(TVariable* thisParameter) { implicitThisStack.push_back(thisParameter); } in pushImplicitThis()
179TVariable* getImplicitThis(int thisDepth) const { return implicitThisStack[implicitThisStack.size(… in getImplicitThis()
225 TVector<TVariable*> members; // individual flattened variables
233 TVariable* makeInternalVariable(const char* name, const TType&) const;
234 TVariable* makeInternalVariable(const TString& name, const TType& type) const { in makeInternalVariable()
238TVariable* declareNonArray(const TSourceLoc&, const TString& identifier, const TType&, bool track);
240 …TIntermNode* executeInitializer(const TSourceLoc&, TIntermTyped* initializer, TVariable* variable);
256 …int addFlattenedMember(const TVariable&, const TType&, TFlattenData&, const TString& name, bool l…
[all …]
DhlslParseHelper.cpp660 const TVariable* variable = nullptr; in handleVariable()
702 variable = new TVariable(string, TType(EbtVoid)); in handleVariable()
1104 TVariable* ioVar = makeInternalVariable(baseName + "." + memberType.getFieldName(), memberType); in splitBuiltIn()
1128 void HlslParseContext::split(const TVariable& variable) in split()
1176 void HlslParseContext::flatten(const TVariable& variable, bool linkage) in flatten()
1219 int HlslParseContext::flatten(const TVariable& variable, const TType& type, in flatten()
1238 int HlslParseContext::addFlattenedMember(const TVariable& variable, const TType& type, TFlattenData… in addFlattenedMember()
1245 TVariable* memberVariable = makeInternalVariable(memberName, type); in addFlattenedMember()
1280 int HlslParseContext::flattenStruct(const TVariable& variable, const TType& type, in flattenStruct()
1316 int HlslParseContext::flattenArray(const TVariable& variable, const TType& type, in flattenArray()
[all …]
/external/v8/src/builtins/
Dgrowable-fixed-array-gen.h31 TVariable<FixedArray>* var_array() { return &var_array_; } in var_array()
32 TVariable<IntPtrT>* var_length() { return &var_length_; } in var_length()
33 TVariable<IntPtrT>* var_capacity() { return &var_capacity_; } in var_capacity()
48 TVariable<FixedArray> var_array_;
49 TVariable<IntPtrT> var_length_;
50 TVariable<IntPtrT> var_capacity_;
Dbuiltins-collections-gen.cc20 using TVariable = compiler::TypedCodeAssemblerVariable<T>; typedef
39 TVariable<Object>* var_exception = nullptr);
133 TVariable<Object>* key, TVariable<Object>* value,
136 TVariable<Object>* var_exception = nullptr);
143 TVariable<Object>* var_exception) { in AddConstructorEntry()
519 TNode<Context> context, TNode<Object> maybe_array, TVariable<Object>* key, in LoadKeyValue()
520 TVariable<Object>* value, Label* if_may_have_side_effects, in LoadKeyValue()
521 Label* if_exception, TVariable<Object>* var_exception) { in LoadKeyValue()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DSymbolTable.h78 class TVariable; variable
100 virtual TVariable* getAsVariable() { return 0; } in getAsVariable()
101 virtual const TVariable* getAsVariable() const { return 0; } in getAsVariable()
152 class TVariable : public TSymbol {
154 TVariable(const TString *name, const TType& t, bool uT = false )
159 virtual TVariable* clone() const;
160 virtual ~TVariable() { } in ~TVariable()
162 virtual TVariable* getAsVariable() { return this; } in getAsVariable()
163 virtual const TVariable* getAsVariable() const { return this; } in getAsVariable()
178 explicit TVariable(const TVariable&);
[all …]
DSymbolTable.cpp177 void TVariable::dump(TInfoSink& infoSink) const in dump()
286 TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf) in TVariable() function in glslang::TVariable
305 TVariable* TVariable::clone() const in clone()
307 TVariable *variable = new TVariable(*this); in clone()
365 TVariable* container = anon->getAnonContainer().clone(); in clone()
DParseHelper.h216 TVariable* globalUniformBlock; // the actual block, inserted into the symbol table
223 virtual void finalizeGlobalUniformBlockLayout(TVariable&) { } in finalizeGlobalUniformBlockLayout() argument
229 virtual TVariable* getEditableVariable(const char* name);
433 TVariable* makeInternalVariable(const char* name, const TType&) const;
434 TVariable* declareNonArray(const TSourceLoc&, const TString& identifier, const TType&);
438 …TIntermNode* executeInitializer(const TSourceLoc&, TIntermTyped* initializer, TVariable* variable);
DParseHelper.cpp310 const TVariable* variable; in handleVariable()
346 variable = new TVariable(string, TType(EbtVoid)); in handleVariable()
1002 TVariable *variable = new TVariable(param.name, *param.type); in handleFunctionDefinition()
1476 TVariable* tempRet = nullptr; in addOutputArgumentConversions()
1493 TVariable* tempArg = makeInternalVariable("tempArg", *function[i].type); in addOutputArgumentConversions()
2318 TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat)); in variableCheck()
3709 symbol = new TVariable(&identifier, type); in declareArray()
6208 TVariable* variable = symbol->getAsVariable(); in declareVariable()
6247 TVariable* TParseContext::makeInternalVariable(const char* name, const TType& type) const in makeInternalVariable()
6250 TVariable* variable = new TVariable(nameString, type); in makeInternalVariable()
[all …]
DParseContextBase.cpp293 TVariable* TParseContextBase::getEditableVariable(const char* name) in getEditableVariable()
580 globalUniformBlock = new TVariable(NewPoolTString(""), blockType, true); in growGlobalUniformBlock()
Dlocalintermediate.h209 class TVariable; variable
449 TIntermSymbol* addSymbol(const TVariable&);
450 TIntermSymbol* addSymbol(const TVariable&, const TSourceLoc&);
DIntermediate.cpp89 TIntermSymbol* TIntermediate::addSymbol(const TVariable& variable) in addSymbol()
97 TIntermSymbol* TIntermediate::addSymbol(const TVariable& variable, const TSourceLoc& loc) in addSymbol()
2666 const TVariable* variable = symbol.getAsVariable(); in addSymbolLinkageNode()
DScan.cpp1620 if (const TVariable* variable = parserToken->sType.lex.symbol->getAsVariable()) { in identifierOrType()
Dglslang.y3178 if (const TVariable* variable = ($1.symbol)->getAsVariable()) {
3210 TVariable* userTypeDef = new TVariable($2.string, *structure, true);
/external/swiftshader/src/OpenGL/compiler/
DInitialize.cpp454 TVariable *depthRangeParameters = new TVariable(&depthRangeStruct->name(), depthRangeStruct, true); in InsertBuiltInFunctions()
456 TVariable *depthRange = new TVariable(NewPoolTString("gl_DepthRange"), TType(depthRangeStruct)); in InsertBuiltInFunctions()
488 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_FragCoord"), TType(EbtFloat, … in IdentifyBuiltIns()
489 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_FrontFacing"), TType(EbtBool,… in IdentifyBuiltIns()
490 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_PointCoord"), TType(EbtFloat,… in IdentifyBuiltIns()
491 …symbolTable.insert(ESSL1_BUILTINS, new TVariable(NewPoolTString("gl_FragColor"), TType(EbtFloat, E… in IdentifyBuiltIns()
492 …symbolTable.insert(ESSL1_BUILTINS, new TVariable(NewPoolTString("gl_FragData[gl_MaxDrawBuffers]"),… in IdentifyBuiltIns()
493 …symbolTable.insert(ESSL3_BUILTINS, new TVariable(NewPoolTString("gl_FragDepth"), TType(EbtFloat, E… in IdentifyBuiltIns()
496 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_Position"), TType(EbtFloat, E… in IdentifyBuiltIns()
497 …symbolTable.insert(COMMON_BUILTINS, new TVariable(NewPoolTString("gl_PointSize"), TType(EbtFloat, … in IdentifyBuiltIns()
[all …]
DParseHelper.cpp900 TVariable* variable = static_cast<TVariable*>(symbol); in arraySetMaxSize()
911 int fragDataValue = static_cast<TVariable*>(fragData)->getConstPointer()[0].getIConst(); in arraySetMaxSize()
1009 TVariable **variable) in declareVariable()
1016 const TVariable *maxDrawBuffers = in declareVariable()
1017 static_cast<const TVariable *>(symbolTable.findBuiltIn("gl_MaxDrawBuffers", mShaderVersion)); in declareVariable()
1028 (*variable) = new TVariable(&identifier, type); in declareVariable()
1146 const TVariable *TParseContext::getNamedVariable(const TSourceLoc &location, in getNamedVariable()
1150 const TVariable *variable = nullptr; in getNamedVariable()
1164 variable = static_cast<const TVariable*>(symbol); in getNamedVariable()
1196 TVariable *fakeVariable = new TVariable(name, type); in getNamedVariable()
[all …]
DSymbolTable.h84 class TVariable : public TSymbol
87TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userTyp… in TSymbol()
88 virtual ~TVariable() { } in ~TVariable()
348TVariable *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr… in insertConstInt()
DParseHelper.h114 …const TVariable *getNamedVariable(const TSourceLoc &location, const TString *name, const TSymbol *…
243 …riable(const TSourceLoc &line, const TString &identifier, const TType &type, TVariable **variable);
Dglslang.l427 TVariable* variable = static_cast<TVariable*>(symbol); in check_type()
Dglslang.y231 const TVariable *variable = context->getNamedVariable(@1, $1.string, $1.symbol);
1318 TType& structure = static_cast<TVariable*>($1.symbol)->getType();
Dglslang_lex.cpp3659 TVariable* variable = static_cast<TVariable*>(symbol); in check_type()
Dglslang_tab.cpp2373 …const TVariable *variable = context->getNamedVariable((yylsp[0]), (yyvsp[0].lex).string, (yyvsp[0]… in yyparse()
4287 TType& structure = static_cast<TVariable*>((yyvsp[0].lex).symbol)->getType(); in yyparse()
/external/v8/src/ic/
Daccessor-assembler.h53 Label* if_handler, TVariable<MaybeObject>* var_handler,
138 TVariable<MaybeObject>* var_handler, Label* if_handler,
162 TVariable<MaybeObject>* var_handler,
166 TVariable<MaybeObject>* var_handler,
304 TVariable<MaybeObject>* var_handler,
Daccessor-assembler.cc66 TVariable<MaybeObject>* var_handler, Label* if_miss) { in TryMonomorphicCase()
97 TVariable<MaybeObject>* var_handler, Label* if_miss, in HandlePolymorphicCase()
2289 TVariable<MaybeObject>* var_handler, Label* if_miss) { in TryProbeStubCacheTable()
2332 TVariable<MaybeObject>* var_handler, in TryProbeStubCache()
2469 TVariable<MaybeObject>* var_handler, in LoadIC_Noninlined()
/external/v8/src/
Dcode-stub-assembler.h182 TVariable<type> name(CSA_DEBUG_INFO(name), __VA_ARGS__)
190 #define TYPED_VARIABLE_DEF(type, name, ...) TVariable<type> name(__VA_ARGS__)
938 TVariable<Object>* extracted);
1231 TVariable<IntPtrT>* arg_index, Label* bailout);
1657 void TryHeapNumberToSmi(TNode<HeapNumber> number, TVariable<Smi>& output,
1659 void TryFloat64ToSmi(TNode<Float64T> number, TVariable<Smi>& output,
2286 TVariable<IntPtrT>* var_name_index,
2296 TVariable<IntPtrT>* var_entry,
2309 TVariable<IntPtrT>* var_key_index);
2413 TVariable<HeapObject>* var_meta_storage,
[all …]
Dcode-stub-assembler.cc1825 TVariable<Object>* extracted) { in DispatchMaybeObject()
2884 TVariable<IntPtrT>* arg_index, in BuildAppendJSArray()
4834 TVariable<Smi>& var_result_smi, in TryHeapNumberToSmi()
4841 TVariable<Smi>& var_result_smi, in TryFloat64ToSmi()
7636 TVariable<IntPtrT>* var_name_index, Label* if_not_found, int inlined_probes, in NameDictionaryLookup()
7706 TNode<NameDictionary>, TNode<Name>, Label*, TVariable<IntPtrT>*, Label*,
7709 TNode<GlobalDictionary>, TNode<Name>, Label*, TVariable<IntPtrT>*, Label*,
7732 Label* if_found, TVariable<IntPtrT>* var_entry, Label* if_not_found) { in NumberDictionaryLookup()
7848 TVariable<IntPtrT>* var_key_index) { in FindInsertionEntry()
7855 TVariable<IntPtrT>* var_key_index) { in FindInsertionEntry()
[all …]

12