/external/v8/src/torque/ |
D | types.h | 133 virtual bool IsConstexpr() const { in IsConstexpr() function 134 if (parent()) DCHECK(!parent()->IsConstexpr()); in IsConstexpr() 162 if (IsConstexpr()) return this; in ConstexprVersion() 271 return IsConstexpr() ? generated_type_ : "TNode<" + generated_type_ + ">"; in GetGeneratedTypeNameImpl() 274 bool IsConstexpr() const final { in IsConstexpr() function 282 if (!IsConstexpr()) return this; in NonConstexprVersion() 302 if (parent) DCHECK_EQ(parent->IsConstexpr(), IsConstexpr()); in AbstractType() 303 DCHECK_EQ(IsConstexprName(name), IsConstexpr()); in AbstractType() 304 DCHECK_IMPLIES(non_constexpr_version_ != nullptr, IsConstexpr()); in AbstractType() 305 DCHECK(!(IsConstexpr() && (flags_ & AbstractTypeFlag::kTransient))); in AbstractType() [all …]
|
D | type-visitor.cc | 80 ComputeGeneratesType(decl->generates, !decl->IsConstexpr()); in ComputeType() 93 if (decl->IsConstexpr() && decl->IsTransient()) { in ComputeType() 98 if (decl->IsConstexpr()) { in ComputeType() 204 if (field_type->IsConstexpr()) { in ComputeType()
|
D | cc-generator.cc | 123 if (type->IsConstexpr()) { in ProcessArgumentsCommon() 189 if (parameter_types.size() != 1 || !parameter_types[0]->IsConstexpr()) { in EmitInstruction() 194 if (return_type->IsConstexpr()) { in EmitInstruction()
|
D | csa-generator.cc | 161 if (type->IsConstexpr()) { in ProcessArgumentsCommon() 256 if (parameter_types.size() != 1 || !parameter_types[0]->IsConstexpr()) { in EmitInstruction() 261 if (return_type->IsConstexpr()) { in EmitInstruction()
|
D | types.cc | 171 if (result.empty() || IsConstexpr()) { in GetGeneratedTNodeTypeName() 497 return IsConstexpr() ? GetGeneratedTNodeTypeName() in GetGeneratedTypeNameImpl() 1059 if (type->IsConstexpr()) return; in AppendLoweredTypes()
|
D | type-oracle.h | 31 DCHECK(ptr->IsConstexpr()); in GetAbstractType()
|
D | implementation-visitor.cc | 293 if (!return_type->IsConstexpr()) { in InlineMacro() 405 if (type->IsConstexpr()) { in VisitMacroCommon() 684 if ((*type)->IsConstexpr() && !stmt->const_qualified) { in Visit() 693 if ((*type)->IsConstexpr()) { in Visit() 1264 if (type->IsConstexpr()) { in Visit() 2302 if (constant->type()->IsConstexpr()) { in GetLocationReference() 2686 if (return_type->IsConstexpr()) { in GenerateCall() 2854 if (!return_type->IsConstexpr()) { in GenerateCall() 2933 if (arguments.parameters[0].type()->IsConstexpr()) { in Visit() 2935 } else if (arguments.parameters[1].type()->IsConstexpr()) { in Visit()
|
D | declaration-visitor.cc | 254 if (!type->IsConstexpr()) { in Visit()
|
D | ast.h | 870 bool IsConstexpr() const { return flags & AbstractTypeFlag::kConstexpr; } in IsConstexpr() function
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1113 bool IsConstexpr = false; in ParseIfStatement() local 1117 IsConstexpr = true; in ParseIfStatement() 1147 IsConstexpr ? Sema::ConditionKind::ConstexprIf in ParseIfStatement() 1152 if (IsConstexpr) in ParseIfStatement() 1247 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, InitStmt.get(), Cond, in ParseIfStatement()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 892 unsigned IsConstexpr : 1; variable 1277 return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.IsConstexpr; in isConstexpr() 1281 NonParmVarDeclBits.IsConstexpr = IC; in setConstexpr() 1601 unsigned IsConstexpr : 1; variable 1694 IsConstexpr(isConstexprSpecified), UsesSEHTry(false), in FunctionDecl() 1883 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() 1884 void setConstexpr(bool IC) { IsConstexpr = IC; } in setConstexpr()
|
D | Stmt.h | 100 unsigned IsConstexpr : 1; in LLVM_ALIGNAS() local 890 bool IsConstexpr, Stmt *init, VarDecl *var, Expr *cond, 933 bool isConstexpr() const { return IfStmtBits.IsConstexpr; } in isConstexpr() 934 void setConstexpr(bool C) { IfStmtBits.IsConstexpr = C; } in setConstexpr()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 766 IfStmt::IfStmt(const ASTContext &C, SourceLocation IL, bool IsConstexpr, in IfStmt() argument 770 setConstexpr(IsConstexpr); in IfStmt()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 507 Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, Stmt *InitStmt, in ActOnIfStmt() argument 528 return BuildIfStmt(IfLoc, IsConstexpr, InitStmt, Cond, thenStmt, ElseLoc, in ActOnIfStmt() 532 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt() argument 539 if (IsConstexpr) in BuildIfStmt() 546 IfStmt(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
|
D | SemaExprCXX.cpp | 3118 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument 3129 return (IsConstexpr && !CondExpr->isValueDependent()) in CheckCXXBooleanCondition() 6980 bool IsConstexpr, in ActOnFinishFullExpr() argument 7028 CheckCompletedExpr(FullExpr.get(), CC, IsConstexpr); in ActOnFinishFullExpr()
|
D | SemaChecking.cpp | 9369 bool IsConstexpr) { in CheckCompletedExpr() argument 9372 if (!IsConstexpr && !E->isValueDependent()) in CheckCompletedExpr()
|
D | TreeTransform.h | 1176 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument 1179 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, Init, Cond, Then, in RebuildIfStmt()
|
D | SemaExpr.cpp | 14372 bool IsConstexpr) { in CheckBooleanCondition() argument 14383 return CheckCXXBooleanCondition(E, IsConstexpr); // C++ 6.4p4 in CheckBooleanCondition()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3399 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, 3403 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, 4904 bool IsConstexpr = false, 8980 bool IsConstexpr) in ConditionResult() argument 8982 HasKnownValue(IsConstexpr && Condition.get() && in ConditionResult() 9034 bool IsConstexpr = false); 9045 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false); 9469 bool IsConstexpr = false);
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 776 FD->IsConstexpr = Record[Idx++]; in VisitFunctionDecl() 1223 VD->NonParmVarDeclBits.IsConstexpr = Record[Idx++]; in VisitVarDeclImpl()
|
D | ASTWriterDecl.cpp | 528 Record.push_back(D->IsConstexpr); in VisitFunctionDecl()
|