Lines Matching full:auto
29 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
30 if (auto *S = E->getSourceExpr()) in computeDependence()
65 auto *VD = Result.Val.getLValueBase().dyn_cast<const ValueDecl *>(); in computeDependence()
67 auto *VarD = dyn_cast<VarDecl>(VD); in computeDependence()
84 auto ArgDeps = E->getArgumentExpr()->getDependence(); in computeDependence()
85 auto Deps = ArgDeps & ~ExprDependence::TypeValue; in computeDependence()
91 auto ExprKind = E->getKind(); in computeDependence()
97 auto *NoParens = E->getArgumentExpr()->IgnoreParens(); in computeDependence()
99 if (const auto *DRE = dyn_cast<DeclRefExpr>(NoParens)) in computeDependence()
101 else if (const auto *ME = dyn_cast<MemberExpr>(NoParens)) in computeDependence()
105 for (const auto *I : D->specific_attrs<AlignedAttr>()) { in computeDependence()
137 if (auto *S = E->getSubExpr()) in computeDependence()
155 if (auto *S = E->getSubExpr()) in computeDependence()
178 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
180 if (const auto *CompoundExprResult = in computeDependence()
194 auto D = toExprDependenceAsWritten( in computeDependence()
208 auto Cond = E->getCond()->getDependence(); in computeDependence()
209 auto Active = E->getLHS()->getDependence(); in computeDependence()
210 auto Inactive = E->getRHS()->getDependence(); in computeDependence()
220 auto D = ExprDependence::None; in computeDependence()
221 for (auto *E : P->exprs()) in computeDependence()
227 auto D = toExprDependenceAsWritten( in computeDependence()
239 auto D = E->getCommonExpr()->getDependence() | in computeDependence()
256 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
265 auto D = toExprDependenceAsWritten(E->getType()->getDependence()) | in computeDependence()
277 auto D = turnTypeToValueDependence(E->getSubExpr()->getDependence()); in computeDependence()
283 auto D = ExprDependence::None; in computeDependence()
312 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
328 auto *Op = E->getSubExpr(); in computeDependence()
339 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
340 if (auto *TSI = E->getTypeSourceInfo()) in computeDependence()
350 auto D = toExprDependenceAsWritten(E->getQueriedType()->getDependence()); in computeDependence()
351 if (auto *Dim = E->getDimensionExpression()) in computeDependence()
358 auto D = E->getQueriedExpression()->getDependence() & ~ExprDependence::Type; in computeDependence()
366 auto D = E->getOperand()->getDependence() & ~ExprDependence::TypeValue; in computeDependence()
404 if (auto *Resume = E->getResumeExpr()) in computeDependence()
454 auto D = E->getBase()->getDependence(); in computeDependence()
455 if (auto *LB = E->getLowerBound()) in computeDependence()
457 if (auto *Len = E->getLength()) in computeDependence()
461 if (auto *Stride = E->getStride()) in computeDependence()
468 auto D = E->getBase()->getDependence(); in computeDependence()
476 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
478 if (auto *DD = cast_or_null<DeclaratorDecl>(E->getIteratorDecl(I))) { in computeDependence()
480 if (auto *TSI = DD->getTypeSourceInfo()) { in computeDependence()
499 auto Deps = ExprDependence::None; in computeDependence()
501 if (auto *NNS = E->getQualifier()) in computeDependence()
505 if (auto *FirstArg = E->getTemplateArgs()) { in computeDependence()
507 for (auto *Arg = FirstArg, *End = FirstArg + NumArgs; Arg < End; ++Arg) in computeDependence()
511 auto *Decl = E->getDecl(); in computeDependence()
512 auto Type = E->getType(); in computeDependence()
573 if (const auto *Var = dyn_cast<VarDecl>(Decl)) { in computeDependence()
607 if (auto *MD = dyn_cast<CXXMethodDecl>(Decl)) { in computeDependence()
622 auto D = toExprDependenceAsWritten(E->getType()->getDependence()) | in computeDependence()
626 for (auto *S : E->subExpressions()) in computeDependence()
642 auto D = E->getCallee()->getDependence(); in computeDependence()
645 for (auto *A : llvm::ArrayRef(E->getArgs(), E->getNumArgs())) { in computeDependence()
649 for (auto *A : PreArgs) in computeDependence()
655 auto D = turnTypeToValueDependence(toExprDependenceAsWritten( in computeDependence()
663 auto D = ExprDependence::None; in getDependenceInExpr()
672 auto D = E->getBase()->getDependence(); in computeDependence()
675 if (auto *NNS = E->getQualifier()) in computeDependence()
679 for (const auto &A : E->template_arguments()) in computeDependence()
682 auto *MemberDecl = E->getMemberDecl(); in computeDependence()
702 auto D = ExprDependence::None; in computeDependence()
703 for (auto *A : E->inits()) in computeDependence()
709 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
710 for (auto *C : llvm::ArrayRef(E->getSubExprs(), E->getNumSubExprs())) in computeDependence()
717 auto D = ContainsUnexpandedPack ? ExprDependence::UnexpandedPack in computeDependence()
719 for (auto *AE : E->getAssocExprs()) in computeDependence()
735 auto Deps = E->getInit()->getDependence(); in computeDependence()
736 for (const auto &D : E->designators()) { in computeDependence()
737 auto DesignatorDeps = ExprDependence::None; in computeDependence()
751 auto D = O->getSyntacticForm()->getDependence(); in computeDependence()
752 for (auto *E : O->semantics()) in computeDependence()
758 auto D = ExprDependence::None; in computeDependence()
759 for (auto *E : llvm::ArrayRef(A->getSubExprs(), A->getNumSubExprs())) in computeDependence()
765 auto D = toExprDependenceAsWritten( in computeDependence()
768 auto Size = E->getArraySize(); in computeDependence()
771 if (auto *I = E->getInitializer()) in computeDependence()
773 for (auto *A : E->placement_arguments()) in computeDependence()
779 auto D = E->getBase()->getDependence(); in computeDependence()
780 if (auto *TSI = E->getDestroyedTypeInfo()) in computeDependence()
782 if (auto *ST = E->getScopeTypeInfo()) in computeDependence()
785 if (auto *Q = E->getQualifier()) in computeDependence()
795 auto Deps = ExprDependence::None; in computeDependence()
803 if (auto *Q = E->getQualifier()) in computeDependence()
806 for (auto *D : E->decls()) { in computeDependence()
814 for (const auto &A : E->template_arguments()) in computeDependence()
820 auto D = ExprDependence::TypeValue; in computeDependence()
822 if (auto *Q = E->getQualifier()) in computeDependence()
824 for (const auto &A : E->template_arguments()) in computeDependence()
832 for (auto *A : E->arguments()) in computeDependence()
854 auto D = toExprDependenceForImpliedType(E->getType()->getDependence()); in computeDependence()
861 auto D = ExprDependence::ValueInstantiation; in computeDependence()
864 for (auto *A : E->arguments()) in computeDependence()
871 auto D = ExprDependence::TypeValueInstantiation; in computeDependence()
874 if (auto *Q = E->getQualifier()) in computeDependence()
877 for (const auto &A : E->template_arguments()) in computeDependence()
887 auto D = ExprDependence::TypeValueInstantiation; in computeDependence()
888 for (const auto *C : {E->getLHS(), E->getRHS()}) { in computeDependence()
896 auto D = ExprDependence::None; in computeDependence()
897 for (const auto *A : E->getInitExprs()) in computeDependence()
903 auto D = ExprDependence::None; in computeDependence()
904 for (const auto *A : E->getArgs()) in computeDependence()
912 auto TA = TemplateArgumentDependence::None; in computeDependence()
913 const auto InterestingDeps = TemplateArgumentDependence::Instantiation | in computeDependence()
924 auto Res = D | toExprDependence(TA); in computeDependence()
931 auto D = ExprDependence::None; in computeDependence()
939 auto Deps = ExprDependence::None; in computeDependence()
941 auto KV = E->getKeyValueElement(I); in computeDependence()
942 auto KVDeps = turnTypeToValueDependence(KV.Key->getDependence() | in computeDependence()
952 auto D = ExprDependence::None; in computeDependence()
953 if (auto *R = E->getInstanceReceiver()) in computeDependence()
957 for (auto *A : E->arguments()) in computeDependence()