Searched refs:fDeclaration (Results 1 – 25 of 26) sorted by relevance
12
22 , fDeclaration(std::move(decl)) {} in VarDeclarationsStatement()25 for (const auto& s : fDeclaration->fVars) { in isEmpty()34 std::unique_ptr<VarDeclarations> cloned((VarDeclarations*) fDeclaration->clone().release()); in clone()39 return fDeclaration->description() + ";"; in description()42 std::unique_ptr<VarDeclarations> fDeclaration; member
24 , fDeclaration(declaration) in FunctionDefinition()28 return std::unique_ptr<ProgramElement>(new FunctionDefinition(fOffset, fDeclaration, in clone()33 return fDeclaration.description() + " " + fBody->description(); in description()36 const FunctionDeclaration& fDeclaration; member
34 if ("appendStages" == f.fDeclaration.fName) { in run()50 for (int i = f.fDeclaration.fParameters.size() - 1; i >= 0; --i) { in run()51 current -= SizeOf(f.fDeclaration.fParameters[i]->fType); in run()52 fVars.back()[f.fDeclaration.fParameters[i]] = current; in run()163 for (const auto& decl :((const VarDeclarationsStatement&) stmt).fDeclaration->fVars) { in runStatement()249 if (&f.fDeclaration == in appendStage()
773 if ("main" == f.fDeclaration.fName) { in writeFunction()852 this->writeType(f.fDeclaration.fReturnType); in writeFunction()854 this->writeName(f.fDeclaration.fName); in writeFunction()856 if (this->requirements(f.fDeclaration) & kInputs_Requirement) { in writeFunction()860 if (this->requirements(f.fDeclaration) & kOutputs_Requirement) { in writeFunction()865 if (this->requirements(f.fDeclaration) & kUniforms_Requirement) { in writeFunction()870 if (this->requirements(f.fDeclaration) & kGlobals_Requirement) { in writeFunction()876 for (const auto& param : f.fDeclaration.fParameters) { in writeFunction()904 if ("main" == f.fDeclaration.fName) { in writeFunction()947 if ("main" == f.fDeclaration.fName) { in writeFunction()[all …]
852 if (&def.fDeclaration == &functionDecl) { in appendStage()1072 for (const auto& declStatement : decls.fDeclaration->fVars) { in compileVarDeclarations()1277 fVariables[f.fDeclaration.fParameters[1]] = LLVMBuildTrunc(builder, params.get()[3], fInt32Type, in compileStageFunctionLoop()1279 fVariables[f.fDeclaration.fParameters[2]] = color; in compileStageFunctionLoop()1285 fVariables[f.fDeclaration.fParameters[0]] = LLVMBuildAdd(builder, in compileStageFunctionLoop()1735 (String(f.fDeclaration.fName) + "$stage").c_str(), in compileStageFunction()1737 fColorParam = f.fDeclaration.fParameters[2]; in compileStageFunction()1757 if (this->hasStageSignature(f.fDeclaration)) { in compileFunction()1763 LLVMTypeRef returnType = this->getType(f.fDeclaration.fReturnType); in compileFunction()1765 for (const auto& p : f.fDeclaration.fParameters) { in compileFunction()[all …]
1039 this->writeTypePrecision(f.fDeclaration.fReturnType); in writeFunctionCall()1040 this->writeType(f.fDeclaration.fReturnType); in writeFunctionCall()1041 this->write(" " + f.fDeclaration.fName + "("); in writeFunctionCall()1043 for (const auto& param : f.fDeclaration.fParameters) { in writeFunctionCall()1298 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, false); in writeFunctionCall()
182 if (f.fDeclaration.fName == "main") { in writeFunction()
435 for (const auto& decl : vd->fDeclaration->fVars) { in compute_start_state()1201 VarDeclarations& decls = *((VarDeclarationsStatement&) s).fDeclaration; in scanCFG()1227 if (f.fDeclaration.fReturnType != *fContext->fVoid_Type) { in scanCFG()
2512 SpvId result = this->writeFunctionStart(f.fDeclaration, out); in writeFunction()2517 if (f.fDeclaration.fName == "main") { in writeFunction()2522 if (f.fDeclaration.fReturnType == *fContext.fVoid_Type) { in writeFunction()2788 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, out); in writeStatement()3082 fFunctionMap[&f.fDeclaration] = this->nextId(); in writeInstructions()
489 for (auto& stmt : decls.fDeclaration->fVars) { in addStatement()
476 if (f.fDeclaration.fName == "main") { in writeFunction()
2140 if (f.fDeclaration.fName == name) { in convertAppend()2142 std::vector<const FunctionDeclaration*> functions = { &f.fDeclaration }; in convertAppend()
627 if ("main" == f.fDeclaration.fName) { in writeFunction()708 this->writeType(f.fDeclaration.fReturnType); in writeFunction()710 this->writeName(f.fDeclaration.fName); in writeFunction()712 if (this->requirements(f.fDeclaration) & kInputs_Requirement) { in writeFunction()716 if (this->requirements(f.fDeclaration) & kOutputs_Requirement) { in writeFunction()721 if (this->requirements(f.fDeclaration) & kUniforms_Requirement) { in writeFunction()726 if (this->requirements(f.fDeclaration) & kGlobals_Requirement) { in writeFunction()732 for (const auto& param : f.fDeclaration.fParameters) { in writeFunction()760 if ("main" == f.fDeclaration.fName) { in writeFunction()803 if ("main" == f.fDeclaration.fName) { in writeFunction()[all …]
1020 this->writeTypePrecision(f.fDeclaration.fReturnType); in writeFunctionCall()1021 this->writeType(f.fDeclaration.fReturnType); in writeFunctionCall()1022 this->write(" " + f.fDeclaration.fName + "("); in writeFunctionCall()1024 for (const auto& param : f.fDeclaration.fParameters) { in writeFunctionCall()1271 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, false); in writeFunctionCall()
181 if (f.fDeclaration.fName == "main") { in writeFunction()
2524 SpvId result = this->writeFunctionStart(f.fDeclaration, out); in writeFunction()2529 if (f.fDeclaration.fName == "main") { in writeFunction()2534 if (f.fDeclaration.fReturnType == *fContext.fVoid_Type) { in writeFunction()2797 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, out); in writeStatement()3091 fFunctionMap[&f.fDeclaration] = this->nextId(); in writeInstructions()
488 for (auto& stmt : decls.fDeclaration->fVars) { in addStatement()
434 if (f.fDeclaration.fName == "main") { in writeFunction()
2076 if (f.fDeclaration.fName == name) { in convertAppend()2078 std::vector<const FunctionDeclaration*> functions = { &f.fDeclaration }; in convertAppend()
META-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ ...