Searched refs:ExprDependence (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ComputeDependence.h | 113 ExprDependence computeDependence(FullExpr *E); 114 ExprDependence computeDependence(OpaqueValueExpr *E); 115 ExprDependence computeDependence(ParenExpr *E); 116 ExprDependence computeDependence(UnaryOperator *E, const ASTContext &Ctx); 117 ExprDependence computeDependence(UnaryExprOrTypeTraitExpr *E); 118 ExprDependence computeDependence(ArraySubscriptExpr *E); 119 ExprDependence computeDependence(MatrixSubscriptExpr *E); 120 ExprDependence computeDependence(CompoundLiteralExpr *E); 121 ExprDependence computeDependence(ImplicitCastExpr *E); 122 ExprDependence computeDependence(ExplicitCastExpr *E); [all …]
|
H A D | DependenceFlags.h | 17 enum ExprDependence : uint8_t { enum 49 using ExprDependence = ExprDependenceScope::ExprDependence; variable 154 Dependence(ExprDependence D) in LLVM_COMMON_DEPENDENCE() 155 : V(translate(D, ExprDependence::UnexpandedPack, UnexpandedPack) | in LLVM_COMMON_DEPENDENCE() 156 translate(D, ExprDependence::Instantiation, Instantiation) | in LLVM_COMMON_DEPENDENCE() 157 translate(D, ExprDependence::Type, Type) | in LLVM_COMMON_DEPENDENCE() 158 translate(D, ExprDependence::Value, Value) | in LLVM_COMMON_DEPENDENCE() 159 translate(D, ExprDependence::Error, Error)) {} in LLVM_COMMON_DEPENDENCE() 202 ExprDependence expr() const { in LLVM_COMMON_DEPENDENCE() 203 return translate(V, UnexpandedPack, ExprDependence::UnexpandedPack) | in LLVM_COMMON_DEPENDENCE() [all …]
|
H A D | Expr.h | 135 void setDependence(ExprDependence Deps) { in setDependence() 162 ExprDependence getDependence() const { in getDependence() 163 return static_cast<ExprDependence>(ExprBits.Dependent); in getDependence() 176 return static_cast<bool>(getDependence() & ExprDependence::Value); in isValueDependent() 193 return static_cast<bool>(getDependence() & ExprDependence::Type); in isTypeDependent() 222 return static_cast<bool>(getDependence() & ExprDependence::Instantiation); in isInstantiationDependent() 240 return static_cast<bool>(getDependence() & ExprDependence::UnexpandedPack); in containsUnexpandedParameterPack() 246 return static_cast<bool>(getDependence() & ExprDependence::Error); in containsErrors() 1601 setDependence(ExprDependence::None); in CharacterLiteral() 1722 setDependence(ExprDependence::None); in ImaginaryLiteral() [all …]
|
H A D | ExprCXX.h | 726 setDependence(ExprDependence::None); in CXXBoolLiteralExpr() 770 setDependence(ExprDependence::None); in CXXNullPtrLiteralExpr() 1765 setDependence(ExprDependence::None); in CXXInheritedCtorInitExpr() 4299 setDependence(Length ? ExprDependence::None in SizeOfPackExpr() 4300 : ExprDependence::ValueInstantiation); in SizeOfPackExpr()
|
H A D | Stmt.h | 361 LLVM_PREFERRED_TYPE(ExprDependence) 362 unsigned Dependent : llvm::BitWidth<ExprDependence>; 364 enum { NumExprBits = NumStmtBits + 5 + llvm::BitWidth<ExprDependence> };
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ComputeDependence.cpp | 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() [all …]
|
H A D | ExprCXX.cpp | 1769 setDependence(ExprDependence::TypeValueInstantiation | in SubstNonTypeTemplateParmPackExpr() 1770 ExprDependence::UnexpandedPack); in SubstNonTypeTemplateParmPackExpr() 1792 setDependence(ExprDependence::TypeValueInstantiation | in FunctionParmPackExpr() 1793 ExprDependence::UnexpandedPack); in FunctionParmPackExpr()
|
H A D | Expr.cpp | 973 setDependence(ExprDependence::None); in IntegerLiteral() 996 setDependence(ExprDependence::None); in FixedPointLiteral() 1068 setDependence(ExprDependence::None); in FloatingLiteral() 1180 setDependence(ExprDependence::None); in StringLiteral() 2249 ? ExprDependence::Value in SourceLocExpr() 2250 : ExprDependence::None); in SourceLocExpr() 2382 setDependence(ExprDependence::None); in EmbedExpr() 4719 setDependence(ExprDependence::None); in DesignatedInitUpdateExpr()
|
H A D | ASTImporter.cpp | 8576 (E->getDependence() & ExprDependence::TypeValue) == in VisitUnresolvedLookupExpr() 8577 ExprDependence::TypeValue; in VisitUnresolvedLookupExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmtAttr.cpp | 715 if (Assumption->getDependence() == ExprDependence::None) { in ActOnCXXAssumeAttr()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 788 } else if (E.get()->getDependence() != ExprDependence::None) { in HandlePragmaDump()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 534 E->setDependence(static_cast<ExprDependence>( in VisitExpr()
|