Lines Matching refs:pft
187 void run(Fortran::lower::pft::Program &pft) { in run() argument
196 lowerCommonBlocks(pft.getCommonBlocks()); in run()
203 for (Fortran::lower::pft::Program::Units &u : pft.getUnits()) { in run()
205 [&](Fortran::lower::pft::FunctionLikeUnit &f) { in run()
208 [&](Fortran::lower::pft::ModuleLikeUnit &m) { in run()
210 for (Fortran::lower::pft::FunctionLikeUnit &f : in run()
214 [&](Fortran::lower::pft::BlockDataUnit &b) {}, in run()
215 [&](Fortran::lower::pft::CompilerDirectiveUnit &d) {}, in run()
221 for (Fortran::lower::pft::Program::Units &u : pft.getUnits()) { in run()
224 [&](Fortran::lower::pft::FunctionLikeUnit &f) { lowerFunc(f); }, in run()
225 [&](Fortran::lower::pft::ModuleLikeUnit &m) { lowerMod(m); }, in run()
226 [&](Fortran::lower::pft::BlockDataUnit &b) {}, in run()
227 [&](Fortran::lower::pft::CompilerDirectiveUnit &d) { in run()
245 void declareFunction(Fortran::lower::pft::FunctionLikeUnit &funit) { in declareFunction()
264 for (Fortran::lower::pft::FunctionLikeUnit &f : funit.nestedFunctions) in declareFunction()
269 for (Fortran::lower::pft::FunctionLikeUnit &f : funit.nestedFunctions) in declareFunction()
277 Fortran::lower::pft::FunctionLikeUnit &funit, in collectHostAssociatedVariables()
310 Fortran::lower::pft::visitAllSymbols(funit, addToListIfEscapee); in collectHostAssociatedVariables()
356 Fortran::lower::pft::LabelSet &labelSet) override final { in lookupLabelSet()
357 Fortran::lower::pft::FunctionLikeUnit &owningProc = in lookupLabelSet()
366 Fortran::lower::pft::Evaluation *
367 lookupLabel(Fortran::lower::pft::Label label) override final { in lookupLabel()
368 Fortran::lower::pft::FunctionLikeUnit &owningProc = in lookupLabel()
404 mlir::Type genType(const Fortran::lower::pft::Variable &var) override final { in genType()
556 Fortran::lower::pft::Evaluation &eval, in collectSymbolSet()
566 Fortran::lower::pft::visitAllSymbols(eval, addToList); in collectSymbolSet()
742 mlir::Block *blockOfLabel(Fortran::lower::pft::Evaluation &eval, in blockOfLabel()
744 const Fortran::lower::pft::LabelEvalMap &labelEvaluationMap = in blockOfLabel()
768 Fortran::lower::pft::Evaluation *trueTarget, in genFIRConditionalBranch()
769 Fortran::lower::pft::Evaluation *falseTarget) { in genFIRConditionalBranch()
782 Fortran::lower::pft::Evaluation *trueTarget, in genFIRConditionalBranch()
783 Fortran::lower::pft::Evaluation *falseTarget) { in genFIRConditionalBranch()
844 void genFIRProcedureExit(Fortran::lower::pft::FunctionLikeUnit &funit, in genFIRProcedureExit()
898 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
928 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
950 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
1007 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
1008 const Fortran::lower::pft::SymbolLabelMap &symbolLabelMap = in genFIR()
1083 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
1085 Fortran::lower::pft::Evaluation &doStmtEval = in genFIR()
1167 for (Fortran::lower::pft::Evaluation &e : eval.getNestedEvaluations()) in genFIR()
1359 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
1363 for (Fortran::lower::pft::Evaluation &e : eval.getNestedEvaluations()) { in genFIR()
1390 for (Fortran::lower::pft::Evaluation &e : eval.getNestedEvaluations()) { in genFIR()
1414 for (Fortran::lower::pft::Evaluation &e : getEval().getNestedEvaluations()) in genFIR()
1626 for (Fortran::lower::pft::Evaluation &e : getEval().getNestedEvaluations()) in genFIR()
1634 for (Fortran::lower::pft::Evaluation &e : getEval().getNestedEvaluations()) in genFIR()
1653 Fortran::lower::pft::Evaluation *curEval = &getEval(); in genFIR()
1667 for (Fortran::lower::pft::Evaluation &e : curEval->getNestedEvaluations()) in genFIR()
1680 for (Fortran::lower::pft::Evaluation &e : getEval().getNestedEvaluations()) in genFIR()
1688 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
1734 for (Fortran::lower::pft::Evaluation *e = eval.controlSuccessor; e; in genFIR()
1875 Fortran::lower::pft::Evaluation &eval = getEval(); in genFIR()
1876 for (Fortran::lower::pft::Evaluation &e : eval.getNestedEvaluations()) { in genFIR()
2005 void genIoConditionBranches(Fortran::lower::pft::Evaluation &eval, in genIoConditionBranches()
2526 Fortran::lower::pft::FunctionLikeUnit *funit = in genFIR()
2594 void genFIR(Fortran::lower::pft::Evaluation &eval, in genFIR()
2610 Fortran::lower::pft::Evaluation *successor{}; in genFIR()
2625 void mapDummiesAndResults(Fortran::lower::pft::FunctionLikeUnit &funit, in mapDummiesAndResults()
2664 void instantiateVar(const Fortran::lower::pft::Variable &var, in instantiateVar()
2674 void startNewFunction(Fortran::lower::pft::FunctionLikeUnit &funit) { in startNewFunction()
2687 llvm::SmallVector<Fortran::lower::pft::Variable> deferredFuncResultList; in startNewFunction()
2703 if (auto *module = Fortran::lower::pft::getAncestor< in startNewFunction()
2704 Fortran::lower::pft::ModuleLikeUnit>(funit)) in startNewFunction()
2705 for (const Fortran::lower::pft::Variable &var : in startNewFunction()
2710 for (const Fortran::lower::pft::Variable &var : in startNewFunction()
2745 for (const Fortran::lower::pft::Variable &altResult : in startNewFunction()
2781 if (Fortran::lower::pft::Evaluation *alternateEntryEval = in startNewFunction()
2797 std::list<Fortran::lower::pft::Evaluation> &evaluationList) { in createEmptyBlocks()
2799 for (Fortran::lower::pft::Evaluation &eval : evaluationList) { in createEmptyBlocks()
2807 Fortran::lower::pft::Evaluation &constructStmt = in createEmptyBlocks()
2845 void endNewFunction(Fortran::lower::pft::FunctionLikeUnit &funit) { in endNewFunction()
2846 setCurrentPosition(Fortran::lower::pft::stmtSourceLoc(funit.endStmt)); in endNewFunction()
2888 void lowerBlockData(Fortran::lower::pft::BlockDataUnit &bdunit) { in lowerBlockData()
2893 Fortran::lower::pft::Variable var(*sym, true); in lowerBlockData()
2908 void lowerFunc(Fortran::lower::pft::FunctionLikeUnit &funit) { in lowerFunc()
2922 for (Fortran::lower::pft::Evaluation &eval : funit.evaluationList) in lowerFunc()
2927 for (Fortran::lower::pft::FunctionLikeUnit &f : funit.nestedFunctions) in lowerFunc()
2933 void lowerModuleDeclScope(Fortran::lower::pft::ModuleLikeUnit &mod) { in lowerModuleDeclScope()
2936 for (const Fortran::lower::pft::Variable &var : in lowerModuleDeclScope()
2949 void lowerMod(Fortran::lower::pft::ModuleLikeUnit &mod) { in lowerMod()
2950 for (Fortran::lower::pft::FunctionLikeUnit &f : mod.nestedFunctions) in lowerMod()
2978 void setCurrentEval(Fortran::lower::pft::Evaluation &eval) { in setCurrentEval()
2981 Fortran::lower::pft::Evaluation &getEval() { in getEval()
3200 Fortran::lower::pft::Evaluation *evalPtr = nullptr;
3225 std::unique_ptr<Fortran::lower::pft::Program> pft = in lower() local
3228 Fortran::lower::dumpPFT(llvm::errs(), *pft); in lower()
3230 converter.run(*pft); in lower()