Lines Matching refs:ExprDependence
24 ExprDependence clang::computeDependence(FullExpr *E) { in computeDependence()
28 ExprDependence clang::computeDependence(OpaqueValueExpr *E) { in computeDependence()
32 assert(!(D & ExprDependence::UnexpandedPack)); in computeDependence()
36 ExprDependence clang::computeDependence(ParenExpr *E) { in computeDependence()
40 ExprDependence clang::computeDependence(UnaryOperator *E, in computeDependence()
42 ExprDependence Dep = in computeDependence()
58 !(Dep & ExprDependence::Value)) { in computeDependence()
69 Dep |= ExprDependence::Value; in computeDependence()
77 ExprDependence clang::computeDependence(UnaryExprOrTypeTraitExpr *E) { in computeDependence()
85 auto Deps = ArgDeps & ~ExprDependence::TypeValue; in computeDependence()
87 if (ArgDeps & ExprDependence::Type) in computeDependence()
88 Deps |= ExprDependence::Value; in computeDependence()
94 if ((Deps & ExprDependence::Value) && (Deps & ExprDependence::Instantiation)) in computeDependence()
107 Deps |= ExprDependence::Error; in computeDependence()
109 Deps |= ExprDependence::ValueInstantiation; in computeDependence()
114 ExprDependence clang::computeDependence(ArraySubscriptExpr *E) { in computeDependence()
118 ExprDependence clang::computeDependence(MatrixSubscriptExpr *E) { in computeDependence()
121 : ExprDependence::None); in computeDependence()
124 ExprDependence clang::computeDependence(CompoundLiteralExpr *E) { in computeDependence()
131 ExprDependence clang::computeDependence(ImplicitCastExpr *E) { in computeDependence()
135 ExprDependence D = in computeDependence()
138 D |= S->getDependence() & ~ExprDependence::Type; in computeDependence()
142 ExprDependence clang::computeDependence(ExplicitCastExpr *E) { in computeDependence()
151 ExprDependence D = in computeDependence()
156 D |= S->getDependence() & ~ExprDependence::Type; in computeDependence()
160 ExprDependence clang::computeDependence(BinaryOperator *E) { in computeDependence()
164 ExprDependence clang::computeDependence(ConditionalOperator *E) { in computeDependence()
173 ExprDependence clang::computeDependence(BinaryConditionalOperator *E) { in computeDependence()
177 ExprDependence clang::computeDependence(StmtExpr *E, unsigned TemplateDepth) { in computeDependence()
188 D |= ExprDependence::ValueInstantiation; in computeDependence()
190 return D & ~ExprDependence::UnexpandedPack; in computeDependence()
193 ExprDependence clang::computeDependence(ConvertVectorExpr *E) { in computeDependence()
198 D &= ~ExprDependence::Type; in computeDependence()
202 ExprDependence clang::computeDependence(ChooseExpr *E) { in computeDependence()
204 return ExprDependence::TypeValueInstantiation | in computeDependence()
215 return (Active & ExprDependence::TypeValue) | in computeDependence()
216 ((Cond | Active | Inactive) & ~ExprDependence::TypeValue); in computeDependence()
219 ExprDependence clang::computeDependence(ParenListExpr *P) { in computeDependence()
220 auto D = ExprDependence::None; in computeDependence()
226 ExprDependence clang::computeDependence(VAArgExpr *E) { in computeDependence()
229 (E->getSubExpr()->getDependence() & ~ExprDependence::Type); in computeDependence()
233 ExprDependence clang::computeDependence(NoInitExpr *E) { in computeDependence()
235 (ExprDependence::Instantiation | ExprDependence::Error); in computeDependence()
238 ExprDependence clang::computeDependence(ArrayInitLoopExpr *E) { in computeDependence()
240 E->getSubExpr()->getDependence() | ExprDependence::Instantiation; in computeDependence()
242 D &= ~ExprDependence::Instantiation; in computeDependence()
246 ExprDependence clang::computeDependence(ImplicitValueInitExpr *E) { in computeDependence()
248 ExprDependence::Instantiation; in computeDependence()
251 ExprDependence clang::computeDependence(ExtVectorElementExpr *E) { in computeDependence()
255 ExprDependence clang::computeDependence(BlockExpr *E) { in computeDependence()
258 D |= ExprDependence::Instantiation; in computeDependence()
262 ExprDependence clang::computeDependence(AsTypeExpr *E) { in computeDependence()
268 D &= ~ExprDependence::Type; in computeDependence()
272 ExprDependence clang::computeDependence(CXXRewrittenBinaryOperator *E) { in computeDependence()
276 ExprDependence clang::computeDependence(CXXStdInitializerListExpr *E) { in computeDependence()
282 ExprDependence clang::computeDependence(CXXTypeidExpr *E) { in computeDependence()
283 auto D = ExprDependence::None; in computeDependence()
290 return D & ~ExprDependence::Type; in computeDependence()
293 ExprDependence clang::computeDependence(MSPropertyRefExpr *E) { in computeDependence()
294 return E->getBaseExpr()->getDependence() & ~ExprDependence::Type; in computeDependence()
297 ExprDependence clang::computeDependence(MSPropertySubscriptExpr *E) { in computeDependence()
301 ExprDependence clang::computeDependence(CXXUuidofExpr *E) { in computeDependence()
309 ExprDependence clang::computeDependence(CXXThisExpr *E) { in computeDependence()
321 D |= ExprDependence::Type; in computeDependence()
323 assert(!(D & ExprDependence::UnexpandedPack)); in computeDependence()
327 ExprDependence clang::computeDependence(CXXThrowExpr *E) { in computeDependence()
330 return ExprDependence::None; in computeDependence()
331 return Op->getDependence() & ~ExprDependence::TypeValue; in computeDependence()
334 ExprDependence clang::computeDependence(CXXBindTemporaryExpr *E) { in computeDependence()
338 ExprDependence clang::computeDependence(CXXScalarValueInitExpr *E) { in computeDependence()
345 ExprDependence clang::computeDependence(CXXDeleteExpr *E) { in computeDependence()
349 ExprDependence clang::computeDependence(ArrayTypeTraitExpr *E) { in computeDependence()
356 ExprDependence clang::computeDependence(ExpressionTraitExpr *E) { in computeDependence()
358 auto D = E->getQueriedExpression()->getDependence() & ~ExprDependence::Type; in computeDependence()
361 D |= ExprDependence::Value; in computeDependence()
365 ExprDependence clang::computeDependence(CXXNoexceptExpr *E, CanThrowResult CT) { in computeDependence()
366 auto D = E->getOperand()->getDependence() & ~ExprDependence::TypeValue; in computeDependence()
368 D |= ExprDependence::ValueInstantiation; in computeDependence()
372 ExprDependence clang::computeDependence(PackExpansionExpr *E) { in computeDependence()
373 return (E->getPattern()->getDependence() & ~ExprDependence::UnexpandedPack) | in computeDependence()
374 ExprDependence::TypeValueInstantiation; in computeDependence()
377 ExprDependence clang::computeDependence(PackIndexingExpr *E) { in computeDependence()
379 ExprDependence PatternDep = E->getPackIdExpression()->getDependence() & in computeDependence()
380 ~ExprDependence::UnexpandedPack; in computeDependence()
382 ExprDependence D = E->getIndexExpr()->getDependence(); in computeDependence()
383 if (D & ExprDependence::TypeValueInstantiation) in computeDependence()
385 ExprDependence::Instantiation; in computeDependence()
389 D |= PatternDep | ExprDependence::Instantiation; in computeDependence()
399 ExprDependence clang::computeDependence(SubstNonTypeTemplateParmExpr *E) { in computeDependence()
403 ExprDependence clang::computeDependence(CoroutineSuspendExpr *E) { in computeDependence()
406 (ExprDependence::TypeValue | ExprDependence::Error)) | in computeDependence()
407 (E->getCommonExpr()->getDependence() & ~ExprDependence::TypeValue); in computeDependence()
409 ExprDependence::TypeValueInstantiation; in computeDependence()
412 ExprDependence clang::computeDependence(DependentCoawaitExpr *E) { in computeDependence()
414 ExprDependence::TypeValueInstantiation; in computeDependence()
417 ExprDependence clang::computeDependence(ObjCBoxedExpr *E) { in computeDependence()
421 ExprDependence clang::computeDependence(ObjCEncodeExpr *E) { in computeDependence()
425 ExprDependence clang::computeDependence(ObjCIvarRefExpr *E) { in computeDependence()
429 ExprDependence clang::computeDependence(ObjCPropertyRefExpr *E) { in computeDependence()
431 return E->getBase()->getDependence() & ~ExprDependence::Type; in computeDependence()
435 ~ExprDependence::TypeValue; in computeDependence()
437 return ExprDependence::None; in computeDependence()
440 ExprDependence clang::computeDependence(ObjCSubscriptRefExpr *E) { in computeDependence()
444 ExprDependence clang::computeDependence(ObjCIsaExpr *E) { in computeDependence()
445 return E->getBase()->getDependence() & ~ExprDependence::Type & in computeDependence()
446 ~ExprDependence::UnexpandedPack; in computeDependence()
449 ExprDependence clang::computeDependence(ObjCIndirectCopyRestoreExpr *E) { in computeDependence()
453 ExprDependence clang::computeDependence(ArraySectionExpr *E) { in computeDependence()
467 ExprDependence clang::computeDependence(OMPArrayShapingExpr *E) { in computeDependence()
475 ExprDependence clang::computeDependence(OMPIteratorExpr *E) { in computeDependence()
498 ExprDependence clang::computeDependence(DeclRefExpr *E, const ASTContext &Ctx) { in computeDependence()
499 auto Deps = ExprDependence::None; in computeDependence()
515 Deps |= ExprDependence::UnexpandedPack; in computeDependence()
517 ExprDependence::Error; in computeDependence()
533 Deps |= ExprDependence::TypeValueInstantiation; in computeDependence()
535 Deps |= ExprDependence::Instantiation; in computeDependence()
540 Deps |= ExprDependence::Type; in computeDependence()
547 return Deps | ExprDependence::TypeValueInstantiation; in computeDependence()
550 Deps |= ExprDependence::Instantiation; in computeDependence()
569 return Deps | ExprDependence::ValueInstantiation; in computeDependence()
576 Deps |= ExprDependence::Error; in computeDependence()
580 Deps |= ExprDependence::ValueInstantiation; in computeDependence()
591 Deps |= ExprDependence::TypeValueInstantiation; in computeDependence()
593 Deps |= ExprDependence::ValueInstantiation; in computeDependence()
609 Deps |= ExprDependence::ValueInstantiation; in computeDependence()
615 ExprDependence clang::computeDependence(RecoveryExpr *E) { in computeDependence()
623 ExprDependence::ErrorDependent; in computeDependence()
631 ExprDependence clang::computeDependence(SYCLUniqueStableNameExpr *E) { in computeDependence()
636 ExprDependence clang::computeDependence(PredefinedExpr *E) { in computeDependence()
640 ExprDependence clang::computeDependence(CallExpr *E, in computeDependence()
644 D |= ExprDependence::Type; in computeDependence()
654 ExprDependence clang::computeDependence(OffsetOfExpr *E) { in computeDependence()
662 static inline ExprDependence getDependenceInExpr(DeclarationNameInfo Name) { in getDependenceInExpr()
663 auto D = ExprDependence::None; in getDependenceInExpr()
665 D |= ExprDependence::Instantiation; in getDependenceInExpr()
667 D |= ExprDependence::UnexpandedPack; in getDependenceInExpr()
671 ExprDependence clang::computeDependence(MemberExpr *E) { in computeDependence()
690 D &= ~ExprDependence::Type; in computeDependence()
695 D |= ExprDependence::Type; in computeDependence()
701 ExprDependence clang::computeDependence(InitListExpr *E) { in computeDependence()
702 auto D = ExprDependence::None; in computeDependence()
708 ExprDependence clang::computeDependence(ShuffleVectorExpr *E) { in computeDependence()
715 ExprDependence clang::computeDependence(GenericSelectionExpr *E, in computeDependence()
717 auto D = ContainsUnexpandedPack ? ExprDependence::UnexpandedPack in computeDependence()
718 : ExprDependence::None; in computeDependence()
720 D |= AE->getDependence() & ExprDependence::Error; in computeDependence()
723 D |= E->getControllingExpr()->getDependence() & ExprDependence::Error; in computeDependence()
729 return D | ExprDependence::TypeValueInstantiation; in computeDependence()
731 ~ExprDependence::UnexpandedPack); in computeDependence()
734 ExprDependence clang::computeDependence(DesignatedInitExpr *E) { in computeDependence()
737 auto DesignatorDeps = ExprDependence::None; in computeDependence()
744 if (DesignatorDeps & ExprDependence::TypeValue) in computeDependence()
745 Deps |= ExprDependence::TypeValueInstantiation; in computeDependence()
750 ExprDependence clang::computeDependence(PseudoObjectExpr *O) { in computeDependence()
757 ExprDependence clang::computeDependence(AtomicExpr *A) { in computeDependence()
758 auto D = ExprDependence::None; in computeDependence()
764 ExprDependence clang::computeDependence(CXXNewExpr *E) { in computeDependence()
778 ExprDependence clang::computeDependence(CXXPseudoDestructorExpr *E) { in computeDependence()
791 ExprDependence
795 auto Deps = ExprDependence::None; in computeDependence()
797 Deps |= ExprDependence::TypeValue; in computeDependence()
799 Deps |= ExprDependence::Instantiation; in computeDependence()
801 Deps |= ExprDependence::UnexpandedPack; in computeDependence()
809 Deps |= ExprDependence::TypeValueInstantiation; in computeDependence()
819 ExprDependence clang::computeDependence(DependentScopeDeclRefExpr *E) { in computeDependence()
820 auto D = ExprDependence::TypeValue; in computeDependence()
829 ExprDependence clang::computeDependence(CXXConstructExpr *E) { in computeDependence()
830 ExprDependence D = in computeDependence()
833 D |= A->getDependence() & ~ExprDependence::Type; in computeDependence()
837 ExprDependence clang::computeDependence(CXXTemporaryObjectExpr *E) { in computeDependence()
844 ExprDependence clang::computeDependence(CXXDefaultInitExpr *E) { in computeDependence()
848 ExprDependence clang::computeDependence(CXXDefaultArgExpr *E) { in computeDependence()
852 ExprDependence clang::computeDependence(LambdaExpr *E, in computeDependence()
856 D |= ExprDependence::UnexpandedPack; in computeDependence()
860 ExprDependence clang::computeDependence(CXXUnresolvedConstructExpr *E) { in computeDependence()
861 auto D = ExprDependence::ValueInstantiation; in computeDependence()
866 (ExprDependence::UnexpandedPack | ExprDependence::Error); in computeDependence()
870 ExprDependence clang::computeDependence(CXXDependentScopeMemberExpr *E) { in computeDependence()
871 auto D = ExprDependence::TypeValueInstantiation; in computeDependence()
882 ExprDependence clang::computeDependence(MaterializeTemporaryExpr *E) { in computeDependence()
886 ExprDependence clang::computeDependence(CXXFoldExpr *E) { in computeDependence()
887 auto D = ExprDependence::TypeValueInstantiation; in computeDependence()
890 D |= C->getDependence() & ~ExprDependence::UnexpandedPack; in computeDependence()
895 ExprDependence clang::computeDependence(CXXParenListInitExpr *E) { in computeDependence()
896 auto D = ExprDependence::None; in computeDependence()
902 ExprDependence clang::computeDependence(TypeTraitExpr *E) { in computeDependence()
903 auto D = ExprDependence::None; in computeDependence()
906 ~ExprDependence::Type; in computeDependence()
910 ExprDependence clang::computeDependence(ConceptSpecializationExpr *E, in computeDependence()
922 ExprDependence D = in computeDependence()
923 ValueDependent ? ExprDependence::Value : ExprDependence::None; in computeDependence()
926 Res |= ExprDependence::Error; in computeDependence()
930 ExprDependence clang::computeDependence(ObjCArrayLiteral *E) { in computeDependence()
931 auto D = ExprDependence::None; in computeDependence()
938 ExprDependence clang::computeDependence(ObjCDictionaryLiteral *E) { in computeDependence()
939 auto Deps = ExprDependence::None; in computeDependence()
945 KVDeps &= ~ExprDependence::UnexpandedPack; in computeDependence()
951 ExprDependence clang::computeDependence(ObjCMessageExpr *E) { in computeDependence()
952 auto D = ExprDependence::None; in computeDependence()