Home
last modified time | relevance | path

Searched refs:ValueExpr (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmtAttr.cpp76 Expr *ValueExpr = A.getArgAsExpr(3); in handleLoopHintAttr() local
106 if (ValueExpr) in handleLoopHintAttr()
114 if (ValueExpr) in handleLoopHintAttr()
137 assert((ValueExpr || (StateLoc && StateLoc->Ident)) && in handleLoopHintAttr()
139 if (ValueExpr && S.CheckLoopHintExpr(ValueExpr, St->getBeginLoc())) in handleLoopHintAttr()
148 assert(ValueExpr && "Attribute must have a valid value expression."); in handleLoopHintAttr()
149 if (S.CheckLoopHintExpr(ValueExpr, St->getBeginLoc())) in handleLoopHintAttr()
173 return LoopHintAttr::CreateImplicit(S.Context, Option, State, ValueExpr, A); in handleLoopHintAttr()
H A DSemaExprObjC.cpp500 ExprResult Sema::BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in BuildObjCBoxedExpr() argument
501 if (ValueExpr->isTypeDependent()) { in BuildObjCBoxedExpr()
503 new (Context) ObjCBoxedExpr(ValueExpr, Context.DependentTy, nullptr, SR); in BuildObjCBoxedExpr()
509 ExprResult RValue = DefaultFunctionArrayLvalueConversion(ValueExpr); in BuildObjCBoxedExpr()
514 ValueExpr = RValue.get(); in BuildObjCBoxedExpr()
515 QualType ValueType(ValueExpr->getType()); in BuildObjCBoxedExpr()
532 if (auto *CE = dyn_cast<ImplicitCastExpr>(ValueExpr)) in BuildObjCBoxedExpr()
609 dyn_cast<CharacterLiteral>(ValueExpr->IgnoreParens())) { in BuildObjCBoxedExpr()
639 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
721 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
[all …]
H A DTreeTransform.h3411 ExprResult RebuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in RebuildObjCBoxedExpr() argument
3412 return getSema().BuildObjCBoxedExpr(SR, ValueExpr); in RebuildObjCBoxedExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DLoopHint.h35 Expr *ValueExpr; member
39 ValueExpr(nullptr) {} in LoopHint()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp163 const Stmt *ValueExpr = nullptr,
168 const Stmt *ValueExpr = nullptr) const { in reportBug() argument
175 if (ValueExpr) { in reportBug()
176 R->addRange(ValueExpr->getSourceRange()); in reportBug()
180 if (const auto *Ex = dyn_cast<Expr>(ValueExpr)) in reportBug()
439 const MemRegion *Region, CheckerContext &C, const Stmt *ValueExpr, in reportBugIfInvariantHolds() argument
450 reportBug(Msg, Error, CK, N, Region, C.getBugReporter(), ValueExpr); in reportBugIfInvariantHolds()
1124 const Expr *ValueExpr = matchValueExprForBind(S); in checkBind() local
1125 if (ValueExpr) { in checkBind()
1127 getNullabilityAnnotation(lookThroughImplicitCasts(ValueExpr)->getType()); in checkBind()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseObjc.cpp3395 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCBoxedExpr() local
3399 if (ValueExpr.isInvalid()) in ParseObjCBoxedExpr()
3405 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get()); in ParseObjCBoxedExpr()
3407 ValueExpr.get()); in ParseObjCBoxedExpr()
3477 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCDictionaryLiteral() local
3478 if (ValueExpr.isInvalid()) { in ParseObjCDictionaryLiteral()
3483 return ValueExpr; in ParseObjCDictionaryLiteral()
3488 ValueExpr = Actions.CorrectDelayedTyposInExpr(ValueExpr.get()); in ParseObjCDictionaryLiteral()
3489 if (KeyExpr.isInvalid() || ValueExpr.isInvalid()) in ParseObjCDictionaryLiteral()
3502 KeyExpr.get(), ValueExpr.get(), EllipsisLoc, None in ParseObjCDictionaryLiteral()
H A DParsePragma.cpp1265 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
1290 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
H A DParseStmt.cpp2233 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGLoopInfo.cpp629 auto *ValueExpr = LH->getValue(); in push() local
630 if (ValueExpr) { in push()
631 llvm::APSInt ValueAPS = ValueExpr->EvaluateKnownConstInt(Ctx); in push()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp2008 const MCExpr *ValueExpr; in parseDirectiveAttribute() local
2009 if (Parser.parseExpression(ValueExpr)) in parseDirectiveAttribute()
2012 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveAttribute()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3315 auto *ValueExpr = ValueToExpression.lookup(SE->getStoreInst()); in verifyStoreExpressions() local
3316 assert(ValueExpr && ValueExpr->equals(*SE) && in verifyStoreExpressions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp11372 const MCExpr *ValueExpr; in parseDirectiveEabiAttr() local
11374 if (Parser.parseExpression(ValueExpr)) in parseDirectiveEabiAttr()
11377 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h6862 ExprResult BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr);