Home
last modified time | relevance | path

Searched refs:currentFunction (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DAnalyzeCallDepth.cpp108 currentFunction(0) in AnalyzeCallDepth()
173 currentFunction = findFunctionByName(node->getName()); in visitAggregate()
175 if(!currentFunction) in visitAggregate()
177 currentFunction = new FunctionNode(node); in visitAggregate()
178 functions.push_back(currentFunction); in visitAggregate()
183 currentFunction = 0; in visitAggregate()
204 if(currentFunction) in visitAggregate()
206 currentFunction->addCallee(function); in visitAggregate()
DAnalyzeCallDepth.h61 FunctionNode *currentFunction; variable
DOutputASM.h374 int currentFunction; variable
DOutputASM.cpp516 currentFunction = 0; in OutputASM()
1298 currentFunction = function->label; in visitAggregate()
1980 copy(functionArray[currentFunction].ret, value); in visitBranch()
/external/angle/src/compiler/translator/
DCompiler.cpp1369 int currentFunction = static_cast<int>(i); in checkCallDepth() local
1372 while (currentFunction != -1) in checkCallDepth()
1376 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth()
1379 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth()
1388 currentFunction = nextFunction; in checkCallDepth()
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp67 Function::ID currentFunction; local
221 ASSERT(currentFunction.value() != 0);
225 functions[currentFunction].blocks[currentBlock] = Block(blockStart, blockEnd);
423 …ASSERT_MSG(currentFunction == 0, "Functions %d and %d overlap", currentFunction.value(), functionI…
424 currentFunction = functionId;
437 ASSERT_MSG(function.entry != 0, "Function<%d> has no label", currentFunction.value());
442 currentFunction = 0;
/external/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp243 return fConditionMask & fLoopMask & ~currentFunction().fReturned; in mask()
316 Function& currentFunction() { return fFunctionStack.back(); } in currentFunction() function in SkSL::SkVMGenerator
1218 ScopedCondition m(this, ~currentFunction().fReturned); in writeFunctionCall()
1554 for (skvm::Val& slot : currentFunction().fReturnValue) { in writeReturnStatement()
1560 currentFunction().fReturned |= returnsHere; in writeReturnStatement()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DGlslangToSpv.cpp243 spv::Function* currentFunction; member in __anon254bf0060111::TGlslangToSpvTraverser
1502 shaderEntry(nullptr), currentFunction(nullptr), in TGlslangToSpvTraverser()
2741 currentFunction = shaderEntry; in visitAggregate()
3792 if (builder.getTypeId(returnId) != currentFunction->getReturnType() || in visitBranch()
3793 … TranslatePrecisionDecoration(glslangReturnType) != currentFunction->getReturnPrecision()) { in visitBranch()
3795 spv::Id copyId = builder.createVariable(currentFunction->getReturnPrecision(), in visitBranch()
3796 spv::StorageClassFunction, currentFunction->getReturnType()); in visitBranch()
3799 returnId = builder.createLoad(copyId, currentFunction->getReturnPrecision()); in visitBranch()
5093 currentFunction = functionMap[node->getName().c_str()]; in handleFunctionEntry()
5094 spv::Block* functionBlock = currentFunction->getEntryBlock(); in handleFunctionEntry()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp241 spv::Function* currentFunction; member in __anon8d85e2390111::TGlslangToSpvTraverser
1449 shaderEntry(nullptr), currentFunction(nullptr), in TGlslangToSpvTraverser()
2553 currentFunction = shaderEntry; in visitAggregate()
3552 if (builder.getTypeId(returnId) != currentFunction->getReturnType() || in visitBranch()
3553 … TranslatePrecisionDecoration(glslangReturnType) != currentFunction->getReturnPrecision()) { in visitBranch()
3555 spv::Id copyId = builder.createVariable(currentFunction->getReturnPrecision(), in visitBranch()
3556 spv::StorageClassFunction, currentFunction->getReturnType()); in visitBranch()
3559 returnId = builder.createLoad(copyId, currentFunction->getReturnPrecision()); in visitBranch()
4757 currentFunction = functionMap[node->getName().c_str()]; in handleFunctionEntry()
4758 spv::Block* functionBlock = currentFunction->getEntryBlock(); in handleFunctionEntry()