37 references to PlanCompilerPhase
System.Data.Entity (37)
System\Data\Query\PlanCompiler\PlanCompiler.cs (27)
94private PlanCompilerPhase m_phase; 241internal bool IsPhaseNeeded(PlanCompilerPhase phase) 250internal void MarkPhaseAsNeeded(PlanCompilerPhase phase) 291m_neededPhases = (1 << (int)PlanCompilerPhase.PreProcessor) | 295(1 << (int)PlanCompilerPhase.ProjectionPruning) | 297(1 << (int)PlanCompilerPhase.Transformations) | 299(1 << (int)PlanCompilerPhase.CodeGen); 304beforePreProcessor = SwitchToPhase(PlanCompilerPhase.PreProcessor); 308if (IsPhaseNeeded(PlanCompilerPhase.AggregatePushdown)) 310beforeAggregatePushdown = SwitchToPhase(PlanCompilerPhase.AggregatePushdown); 314if (IsPhaseNeeded(PlanCompilerPhase.Normalization)) 316beforeNormalization = SwitchToPhase(PlanCompilerPhase.Normalization); 321if (IsPhaseNeeded(PlanCompilerPhase.NTE)) 323beforeNTE = SwitchToPhase(PlanCompilerPhase.NTE); 328if (IsPhaseNeeded(PlanCompilerPhase.ProjectionPruning)) 330beforeProjectionPruning1 = SwitchToPhase(PlanCompilerPhase.ProjectionPruning); 335if (IsPhaseNeeded(PlanCompilerPhase.NestPullup)) 337beforeNestPullup = SwitchToPhase(PlanCompilerPhase.NestPullup); 342beforeProjectionPruning2 = SwitchToPhase(PlanCompilerPhase.ProjectionPruning); 347if (IsPhaseNeeded(PlanCompilerPhase.Transformations)) 353beforeProjectionPruning3 = SwitchToPhase(PlanCompilerPhase.ProjectionPruning); 360if (IsPhaseNeeded(PlanCompilerPhase.JoinElimination)) 362beforeJoinElimination1 = SwitchToPhase(PlanCompilerPhase.JoinElimination); 367beforeJoinElimination2 = SwitchToPhase(PlanCompilerPhase.JoinElimination); 377beforeCodeGen = SwitchToPhase(PlanCompilerPhase.CodeGen); 412dumpString = SwitchToPhase(PlanCompilerPhase.Transformations); 423private string SwitchToPhase(PlanCompilerPhase newPhase)
System\Data\Query\PlanCompiler\PreProcessor.cs (9)
193m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.NTE); 1108m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.Normalization); 1176m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.NestPullup); 1177m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.Normalization); 2061m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.NestPullup); 2188m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.JoinElimination); 2194m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.Normalization); 2207m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.JoinElimination); 2389this.m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.AggregatePushdown);
System\Data\Query\PlanCompiler\SubqueryTrackingVisitor.cs (1)
176m_compilerState.MarkPhaseAsNeeded(PlanCompilerPhase.JoinElimination);