Home
last modified time | relevance | path

Searched refs:getFunction (Results 1 – 25 of 40) sorted by relevance

12

/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_ops/
DArrayReturnValueToOutParameter.cpp69 ASSERT(originalCall->getFunction()); in createReplacementCall()
70 const TSymbolUniqueId &originalId = originalCall->getFunction()->uniqueId(); in createReplacementCall()
113 const TSymbolUniqueId &functionId = node->getFunction()->uniqueId(); in visitFunctionPrototype()
122 TFunction *func = new TFunction(mSymbolTable, node->getFunction()->name(), in visitFunctionPrototype()
123 node->getFunction()->symbolType(), in visitFunctionPrototype()
125 for (size_t i = 0; i < node->getFunction()->getParamCount(); ++i) in visitFunctionPrototype()
127 func->addParameter(node->getFunction()->getParam(i)); in visitFunctionPrototype()
191 mFunctionWithArrayReturnValue->getFunction()->uniqueId(); in visitBranch()
DRewriteAtomicCounters.cpp188 const TFunction *function = node->getFunction(); in visitFunctionPrototype()
578 if (node->getFunction()->name() == "memoryBarrierAtomicCounter") in convertBuiltinFunction()
587 if (!node->getFunction()->isAtomicCounterFunction()) in convertBuiltinFunction()
592 const ImmutableString &functionName = node->getFunction()->name(); in convertBuiltinFunction()
DRewriteTexelFetchOffset.cpp85 ASSERT(node->getFunction()->symbolType() == SymbolType::BuiltIn); in visitAggregate()
86 if (node->getFunction()->name() != "texelFetchOffset") in visitAggregate()
DRewriteDfdy.cpp126 TIntermUnary *dFdx = new TIntermUnary(EOpDFdx, operand->deepCopy(), node->getFunction()); in visitUnary()
127 TIntermUnary *dFdy = new TIntermUnary(EOpDFdy, operand->deepCopy(), node->getFunction()); in visitUnary()
DRewriteStructSamplers.cpp424 const TFunction *function = node->getFunction(); in visitFunctionPrototype()
473 const TFunction *function = node->getFunction(); in visitAggregate()
1065 const TFunction *function = node->getFunction(); in visitFunctionPrototype()
1090 const TFunction *function = node->getFunction(); in visitFunctionDefinition()
1097 const TFunction *replacementFunction = replacementPrototype->getFunction(); in visitFunctionDefinition()
1101 ASSERT(replacementPrototype->getFunction()->getParamCount() == numParameters); in visitFunctionDefinition()
1179 const TFunction *function = node->getFunction(); in visitAggregate()
DRewriteExpressionsWithShaderStorageBlock.cpp295 if (node->getFunction() != nullptr) in visitAggregate()
297 TQualifier qual = node->getFunction()->getParam(i)->getType().getQualifier(); in visitAggregate()
DRemoveUnreferencedVariables.cpp113 size_t paramCount = node->getFunction()->getParamCount(); in visitFunctionPrototype()
116 incrementStructTypeRefCount(node->getFunction()->getParam(i)->getType()); in visitFunctionPrototype()
DRemoveAtomicCounterBuiltins.cpp59 node->getFunction()->isAtomicCounterFunction())); in visitAggregate()
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/
DCallDAG.cpp104 mCurrentFunction = &mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionDefinition()
108 mCurrentFunction->name == node->getFunction()->name()); in visitFunctionDefinition()
109 mCurrentFunction->name = node->getFunction()->name(); in visitFunctionDefinition()
122 auto &record = mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionPrototype()
123 record.name = node->getFunction()->name(); in visitFunctionPrototype()
132 auto it = mFunctions.find(node->getFunction()->uniqueId().get()); in visitAggregate()
DOutputTree.cpp380 OutputFunction(mOut, "Function Prototype", node->getFunction()); in visitFunctionPrototype()
383 size_t paramCount = node->getFunction()->getParamCount(); in visitFunctionPrototype()
386 const TVariable *param = node->getFunction()->getParam(i); in visitFunctionPrototype()
408 OutputFunction(mOut, "Call a user-defined function", node->getFunction()); in visitAggregate()
412 node->getFunction()); in visitAggregate()
415 OutputFunction(mOut, "Call a built-in function", node->getFunction()); in visitAggregate()
DBuiltInFunctionEmulator.cpp25 if (node->getFunction()) in visitUnary()
27 bool needToEmulate = mEmulator.setFunctionCalled(node->getFunction()); in visitUnary()
42 bool needToEmulate = mEmulator.setFunctionCalled(node->getFunction()); in visitAggregate()
DASTMetadataHLSL.cpp123 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
133 if (mGradientBuiltinFunctions.find(node->getFunction()->name()) != in visitAggregate()
291 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
369 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
DVersionGLSL.cpp117 size_t paramCount = node->getFunction()->getParamCount(); in visitFunctionPrototype()
120 const TVariable *param = node->getFunction()->getParam(i); in visitFunctionPrototype()
DOutputHLSL.cpp2194 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitFunctionDefinition()
2198 const TFunction *func = node->getFunction(); in visitFunctionDefinition()
2262 ASSERT(!node->getFunction()->isMain()); in visitFunctionDefinition()
2350 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitFunctionPrototype()
2357 const TFunction *func = node->getFunction(); in visitFunctionPrototype()
2406 size_t index = mCallDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
2410 out << DecorateFunctionIfNeeded(node->getFunction()); in visitAggregate()
2418 out << DecorateFunctionIfNeeded(node->getFunction()) << "("; in visitAggregate()
2420 else if (node->getFunction()->isImageFunction()) in visitAggregate()
2422 const ImmutableString &name = node->getFunction()->name(); in visitAggregate()
[all …]
DOutputGLSLBase.cpp984 writeVariableType(type, node->getFunction(), false); in visitFunctionPrototype()
988 out << " " << hashFunctionNameIfNeeded(node->getFunction()); in visitFunctionPrototype()
991 writeFunctionParameters(node->getFunction()); in visitFunctionPrototype()
1009 out << translateTextureFunction(node->getFunction()->name(), mCompileOptions); in visitAggregate()
1013 out << hashFunctionNameIfNeeded(node->getFunction()); in visitAggregate()
DIntermNode.h544 const TFunction *getFunction() const { return mFunction; } in getFunction() function
631 const TFunction *getFunction() const { return mFunction; } in getFunction() function
732 const TFunction *getFunction() const { return mFunction; } in getFunction() function
761 const TFunction *getFunction() const { return mPrototype->getFunction(); } in getFunction() function
DCompiler.cpp1245 << record.node->getFunction()->name(); in checkCallDepth()
1254 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth()
1284 if (mCallDag.getRecordFromIndex(i).node->getFunction()->isMain()) in tagUsedFunctions()
1327 func = asFunctionDefinition->getFunction(); in operator ()()
1331 func = asFunctionPrototype->getFunction(); in operator ()()
DValidateMaxParameters.cpp22 definition->getFunctionPrototype()->getFunction()->getParamCount() > maxParameters) in ValidateMaxParameters()
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp121 if (mGralloc1Device == nullptr || mGralloc1Device->getFunction == nullptr) { in GrallocHalWrapper()
127 mPfnRetain = (GRALLOC1_PFN_RETAIN)(mGralloc1Device->getFunction(mGralloc1Device, in GrallocHalWrapper()
129 mPfnRelease = (GRALLOC1_PFN_RELEASE)(mGralloc1Device->getFunction(mGralloc1Device, in GrallocHalWrapper()
131 mPfnLock = (GRALLOC1_PFN_LOCK)(mGralloc1Device->getFunction(mGralloc1Device, in GrallocHalWrapper()
133 mPfnUnlock = (GRALLOC1_PFN_UNLOCK)(mGralloc1Device->getFunction(mGralloc1Device, in GrallocHalWrapper()
136 (mGralloc1Device->getFunction(mGralloc1Device, in GrallocHalWrapper()
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_util/
DFindMain.cpp24 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMainIndex()
37 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMain()
DIntermTraverse.cpp611 if (node->getFunction()) in traverseAggregate()
615 ASSERT(paramIndex < node->getFunction()->getParamCount()); in traverseAggregate()
617 node->getFunction()->getParam(paramIndex)->getType().getQualifier(); in traverseAggregate()
DReplaceShadowingVariables.cpp57 const TFunction *func = node->getFunctionPrototype()->getFunction(); in visitFunctionDefinition()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/d3d/
DShaderExecutableD3D.h28 const uint8_t *getFunction() const;
DShaderExecutableD3D.cpp25 const uint8_t *ShaderExecutableD3D::getFunction() const in getFunction() function in rx::ShaderExecutableD3D
/device/generic/opengl-transport/host/libs/virglrenderer/include/hardware/
Dgralloc1.h67 gralloc1_function_pointer_t (*getFunction)(gralloc1_device_t*, int32_t); member

12