Searched refs:currentFunction (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | AnalyzeCallDepth.cpp | 108 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()
|
D | AnalyzeCallDepth.h | 61 FunctionNode *currentFunction; variable
|
D | OutputASM.h | 374 int currentFunction; variable
|
D | OutputASM.cpp | 516 currentFunction = 0; in OutputASM() 1298 currentFunction = function->label; in visitAggregate() 1980 copy(functionArray[currentFunction].ret, value); in visitBranch()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Compiler.cpp | 1172 int currentFunction = static_cast<int>(i); in checkCallDepth() local 1175 while (currentFunction != -1) in checkCallDepth() 1179 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth() 1182 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth() 1191 currentFunction = nextFunction; in checkCallDepth()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Compiler.cpp | 1431 int currentFunction = static_cast<int>(i); in checkCallDepth() local 1434 while (currentFunction != -1) in checkCallDepth() 1438 << mCallDag.getRecordFromIndex(currentFunction).node->getFunction()->name(); in checkCallDepth() 1441 for (const int &calleeIndex : mCallDag.getRecordFromIndex(currentFunction).callees) in checkCallDepth() 1450 currentFunction = nextFunction; in checkCallDepth()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SpirvShader.cpp | 65 Function::ID currentFunction; local 228 ASSERT(currentFunction != 0); 232 functions[currentFunction].blocks[currentBlock] = Block(blockStart, blockEnd); 436 …ASSERT_MSG(currentFunction == 0, "Functions %d and %d overlap", currentFunction.value(), functionI… 437 currentFunction = functionId; 450 ASSERT_MSG(function.entry != 0, "Function<%d> has no label", currentFunction.value()); 455 currentFunction = 0;
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.cpp | 202 result = result & ~currentFunction().fReturned; in mask() 285 Function& currentFunction() { return fFunctionStack.back(); } in currentFunction() function in SkSL::SkVMGenerator 1342 ScopedCondition m(this, ~currentFunction().fReturned); in writeFunctionCall() 1701 for (skvm::Val& slot : currentFunction().fReturnValue) { in writeReturnStatement() 1707 currentFunction().fReturned |= returnsHere; in writeReturnStatement()
|
/third_party/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 239 spv::Function* currentFunction; member in __anon082351f10111::TGlslangToSpvTraverser 1390 shaderEntry(nullptr), currentFunction(nullptr), in TGlslangToSpvTraverser() 2473 currentFunction = shaderEntry; in visitAggregate() 3454 if (builder.getTypeId(returnId) != currentFunction->getReturnType() || in visitBranch() 3455 … TranslatePrecisionDecoration(glslangReturnType) != currentFunction->getReturnPrecision()) { in visitBranch() 3457 spv::Id copyId = builder.createVariable(currentFunction->getReturnPrecision(), in visitBranch() 3458 spv::StorageClassFunction, currentFunction->getReturnType()); in visitBranch() 3461 returnId = builder.createLoad(copyId, currentFunction->getReturnPrecision()); in visitBranch() 4576 currentFunction = functionMap[node->getName().c_str()]; in handleFunctionEntry() 4577 spv::Block* functionBlock = currentFunction->getEntryBlock(); in handleFunctionEntry()
|