Home
last modified time | relevance | path

Searched refs:IsConstexpr (Results 1 – 21 of 21) sorted by relevance

/external/v8/src/torque/
Dtypes.h133 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 …]
Dtype-visitor.cc80 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()
Dcc-generator.cc123 if (type->IsConstexpr()) { in ProcessArgumentsCommon()
189 if (parameter_types.size() != 1 || !parameter_types[0]->IsConstexpr()) { in EmitInstruction()
194 if (return_type->IsConstexpr()) { in EmitInstruction()
Dcsa-generator.cc161 if (type->IsConstexpr()) { in ProcessArgumentsCommon()
256 if (parameter_types.size() != 1 || !parameter_types[0]->IsConstexpr()) { in EmitInstruction()
261 if (return_type->IsConstexpr()) { in EmitInstruction()
Dtypes.cc171 if (result.empty() || IsConstexpr()) { in GetGeneratedTNodeTypeName()
497 return IsConstexpr() ? GetGeneratedTNodeTypeName() in GetGeneratedTypeNameImpl()
1059 if (type->IsConstexpr()) return; in AppendLoweredTypes()
Dtype-oracle.h31 DCHECK(ptr->IsConstexpr()); in GetAbstractType()
Dimplementation-visitor.cc293 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()
Ddeclaration-visitor.cc254 if (!type->IsConstexpr()) { in Visit()
Dast.h870 bool IsConstexpr() const { return flags & AbstractTypeFlag::kConstexpr; } in IsConstexpr() function
/external/clang/lib/Parse/
DParseStmt.cpp1113 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/
DDecl.h892 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()
DStmt.h100 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/
DStmt.cpp766 IfStmt::IfStmt(const ASTContext &C, SourceLocation IL, bool IsConstexpr, in IfStmt() argument
770 setConstexpr(IsConstexpr); in IfStmt()
/external/clang/lib/Sema/
DSemaStmt.cpp507 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()
DSemaExprCXX.cpp3118 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()
DSemaChecking.cpp9369 bool IsConstexpr) { in CheckCompletedExpr() argument
9372 if (!IsConstexpr && !E->isValueDependent()) in CheckCompletedExpr()
DTreeTransform.h1176 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument
1179 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, Init, Cond, Then, in RebuildIfStmt()
DSemaExpr.cpp14372 bool IsConstexpr) { in CheckBooleanCondition() argument
14383 return CheckCXXBooleanCondition(E, IsConstexpr); // C++ 6.4p4 in CheckBooleanCondition()
/external/clang/include/clang/Sema/
DSema.h3399 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/
DASTReaderDecl.cpp776 FD->IsConstexpr = Record[Idx++]; in VisitFunctionDecl()
1223 VD->NonParmVarDeclBits.IsConstexpr = Record[Idx++]; in VisitVarDeclImpl()
DASTWriterDecl.cpp528 Record.push_back(D->IsConstexpr); in VisitFunctionDecl()