Lines Matching refs:phases

161 phases::ID Driver::getFinalPhase(const DerivedArgList &DAL,  in getFinalPhase()
164 phases::ID FinalPhase; in getFinalPhase()
171 FinalPhase = phases::Preprocess; in getFinalPhase()
183 FinalPhase = phases::Compile; in getFinalPhase()
187 FinalPhase = phases::Backend; in getFinalPhase()
191 FinalPhase = phases::Assemble; in getFinalPhase()
195 FinalPhase = phases::Link; in getFinalPhase()
1487 phases::ID FinalPhase = getFinalPhase(Args, &FinalPhaseArg); in BuildActions()
1489 if (FinalPhase == phases::Link && Args.hasArg(options::OPT_emit_llvm)) { in BuildActions()
1586 llvm::SmallVector<phases::ID, phases::MaxNumberOfPhases> PL; in BuildActions()
1596 phases::ID InitialPhase = PL[0]; in BuildActions()
1612 else if (InitialPhase == phases::Compile && in BuildActions()
1613 FinalPhase == phases::Preprocess && in BuildActions()
1628 if (FinalPhase >= phases::Compile) { in BuildActions()
1629 llvm::SmallVector<phases::ID, phases::MaxNumberOfPhases> PCHPL; in BuildActions()
1635 for (phases::ID Phase : PCHPL) in BuildActions()
1645 phases::ID CudaInjectionPhase = in BuildActions()
1646 (phases::Compile < FinalPhase && in BuildActions()
1647 llvm::find(PL, phases::Compile) != PL.end()) in BuildActions()
1648 ? phases::Compile in BuildActions()
1653 for (SmallVectorImpl<phases::ID>::iterator i = PL.begin(), e = PL.end(); in BuildActions()
1655 phases::ID Phase = *i; in BuildActions()
1662 if (Phase == phases::Link) { in BuildActions()
1672 if (Phase == phases::Assemble && Current->getType() != types::TY_PP_Asm) in BuildActions()
1700 if (FinalPhase == phases::Link && PL.size() == 1) { in BuildActions()
1715 phases::ID Phase, Action *Input) const { in ConstructPhaseAction()
1719 case phases::Link: in ConstructPhaseAction()
1721 case phases::Preprocess: { in ConstructPhaseAction()
1737 case phases::Precompile: { in ConstructPhaseAction()
1745 case phases::Compile: { in ConstructPhaseAction()
1765 case phases::Backend: { in ConstructPhaseAction()
1778 case phases::Assemble: in ConstructPhaseAction()