Searched refs:ExprDependence (Results 1 – 11 of 11) sorted by relevance
/external/llvm-project/clang/include/clang/AST/ |
D | ComputeDependence.h | 107 ExprDependence computeDependence(FullExpr *E); 108 ExprDependence computeDependence(OpaqueValueExpr *E); 109 ExprDependence computeDependence(ParenExpr *E); 110 ExprDependence computeDependence(UnaryOperator *E); 111 ExprDependence computeDependence(UnaryExprOrTypeTraitExpr *E); 112 ExprDependence computeDependence(ArraySubscriptExpr *E); 113 ExprDependence computeDependence(MatrixSubscriptExpr *E); 114 ExprDependence computeDependence(CompoundLiteralExpr *E); 115 ExprDependence computeDependence(CastExpr *E); 116 ExprDependence computeDependence(BinaryOperator *E); [all …]
|
D | DependenceFlags.h | 17 enum ExprDependence : uint8_t { enum 49 using ExprDependence = ExprDependenceScope::ExprDependence; variable 143 Dependence(ExprDependence D) in LLVM_COMMON_DEPENDENCE() 144 : V(translate(D, ExprDependence::UnexpandedPack, UnexpandedPack) | in LLVM_COMMON_DEPENDENCE() 145 translate(D, ExprDependence::Instantiation, Instantiation) | in LLVM_COMMON_DEPENDENCE() 146 translate(D, ExprDependence::Type, Type) | in LLVM_COMMON_DEPENDENCE() 147 translate(D, ExprDependence::Value, Value) | in LLVM_COMMON_DEPENDENCE() 148 translate(D, ExprDependence::Error, Error)) {} in LLVM_COMMON_DEPENDENCE() 176 ExprDependence expr() const { in LLVM_COMMON_DEPENDENCE() 177 return translate(V, UnexpandedPack, ExprDependence::UnexpandedPack) | in LLVM_COMMON_DEPENDENCE() [all …]
|
D | ExprObjC.h | 60 setDependence(ExprDependence::None); in ObjCStringLiteral() 96 setDependence(ExprDependence::None); in ObjCBoolLiteralExpr() 463 setDependence(ExprDependence::None); in ObjCSelectorExpr() 516 setDependence(ExprDependence::None); in ObjCProtocolExpr() 1697 setDependence(ExprDependence::None); in ObjCAvailabilityCheckExpr()
|
D | Expr.h | 134 void setDependence(ExprDependence Deps) { in setDependence() 155 ExprDependence getDependence() const { in getDependence() 156 return static_cast<ExprDependence>(ExprBits.Dependent); in getDependence() 169 return static_cast<bool>(getDependence() & ExprDependence::Value); in isValueDependent() 186 return static_cast<bool>(getDependence() & ExprDependence::Type); in isTypeDependent() 215 return static_cast<bool>(getDependence() & ExprDependence::Instantiation); in isInstantiationDependent() 233 return static_cast<bool>(getDependence() & ExprDependence::UnexpandedPack); in containsUnexpandedParameterPack() 239 return static_cast<bool>(getDependence() & ExprDependence::Error); in containsErrors() 1594 setDependence(ExprDependence::None); in CharacterLiteral() 1711 setDependence(ExprDependence::None); in ImaginaryLiteral() [all …]
|
D | ExprCXX.h | 717 setDependence(ExprDependence::None); in CXXBoolLiteralExpr() 754 setDependence(ExprDependence::None); in CXXNullPtrLiteralExpr() 1250 setDependence(ExprDependence::None); in CXXDefaultArgExpr() 1667 setDependence(ExprDependence::None); in CXXInheritedCtorInitExpr() 4161 setDependence(Length ? ExprDependence::None in SizeOfPackExpr() 4162 : ExprDependence::ValueInstantiation); in SizeOfPackExpr()
|
D | Stmt.h | 314 unsigned /*ExprDependence*/ Dependent : llvm::BitWidth<ExprDependence>; 316 enum { NumExprBits = NumStmtBits + 5 + llvm::BitWidth<ExprDependence> };
|
/external/llvm-project/clang/lib/AST/ |
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() 45 ExprDependence clang::computeDependence(UnaryExprOrTypeTraitExpr *E) { in computeDependence() 53 auto Deps = ArgDeps & ~ExprDependence::TypeValue; in computeDependence() 55 if (ArgDeps & ExprDependence::Type) in computeDependence() 56 Deps |= ExprDependence::Value; in computeDependence() 62 if ((Deps & ExprDependence::Value) && (Deps & ExprDependence::Instantiation)) in computeDependence() [all …]
|
D | ExprConcepts.cpp | 103 ExprDependence D = ExprDependence::None; in ConceptSpecializationExpr() 105 D |= ExprDependence::Value; in ConceptSpecializationExpr() 107 D |= ExprDependence::Instantiation; in ConceptSpecializationExpr() 109 D |= ExprDependence::UnexpandedPack; in ConceptSpecializationExpr() 178 setDependence(getDependence() | ExprDependence::UnexpandedPack); in RequiresExpr() 184 setDependence(getDependence() | ExprDependence::ValueInstantiation); in RequiresExpr()
|
D | Expr.cpp | 818 setDependence(ExprDependence::None); in IntegerLiteral() 841 setDependence(ExprDependence::None); in FixedPointLiteral() 873 setDependence(ExprDependence::None); in FloatingLiteral() 973 setDependence(ExprDependence::None); in StringLiteral() 1532 Deps |= ExprDependence::TypeValueInstantiation; in Create() 1535 Deps |= ExprDependence::Instantiation; in Create() 1554 Deps |= ExprDependence::Instantiation; in Create() 2042 setDependence(ExprDependence::None); in SourceLocExpr() 4286 setDependence(ExprDependence::None); in DesignatedInitUpdateExpr()
|
D | ExprCXX.cpp | 1587 setDependence(ExprDependence::TypeValueInstantiation | in SubstNonTypeTemplateParmPackExpr() 1588 ExprDependence::UnexpandedPack); in SubstNonTypeTemplateParmPackExpr() 1604 setDependence(ExprDependence::TypeValueInstantiation | in FunctionParmPackExpr() 1605 ExprDependence::UnexpandedPack); in FunctionParmPackExpr()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 111 NumStmtFields + llvm::BitWidth<ExprDependence> + 3; 529 auto Deps = ExprDependence::None; in VisitExpr() 531 Deps |= ExprDependence::Type; in VisitExpr() 533 Deps |= ExprDependence::Value; in VisitExpr() 535 Deps |= ExprDependence::Instantiation; in VisitExpr() 537 Deps |= ExprDependence::UnexpandedPack; in VisitExpr() 539 Deps |= ExprDependence::Error; in VisitExpr()
|