Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/Parse/
DLoopHint.h35 Expr *ValueExpr; member
39 ValueExpr(nullptr) {} in LoopHint()
/external/clang/include/clang/Sema/
DLoopHint.h36 Expr *ValueExpr; member
40 ValueExpr(nullptr) {} in LoopHint()
DSema.h5225 ExprResult BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr);
/external/clang/lib/Sema/
DSemaStmtAttr.cpp61 Expr *ValueExpr = A.getArgAsExpr(3); in handleLoopHintAttr() local
88 if (ValueExpr) { in handleLoopHintAttr()
115 assert(ValueExpr && "Attribute must have a valid value expression."); in handleLoopHintAttr()
116 if (S.CheckLoopHintExpr(ValueExpr, St->getLocStart())) in handleLoopHintAttr()
139 ValueExpr, A.getRange()); in handleLoopHintAttr()
DSemaExprObjC.cpp499 ExprResult Sema::BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in BuildObjCBoxedExpr() argument
500 if (ValueExpr->isTypeDependent()) { in BuildObjCBoxedExpr()
502 new (Context) ObjCBoxedExpr(ValueExpr, Context.DependentTy, nullptr, SR); in BuildObjCBoxedExpr()
508 ExprResult RValue = DefaultFunctionArrayLvalueConversion(ValueExpr); in BuildObjCBoxedExpr()
513 ValueExpr = RValue.get(); in BuildObjCBoxedExpr()
514 QualType ValueType(ValueExpr->getType()); in BuildObjCBoxedExpr()
576 dyn_cast<CharacterLiteral>(ValueExpr->IgnoreParens())) { in BuildObjCBoxedExpr()
598 CheckForIntOverflow(ValueExpr); in BuildObjCBoxedExpr()
607 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
694 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
[all …]
DTreeTransform.h2825 ExprResult RebuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in RebuildObjCBoxedExpr() argument
2826 return getSema().BuildObjCBoxedExpr(SR, ValueExpr); in RebuildObjCBoxedExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp174 const Stmt *ValueExpr = nullptr,
179 const Stmt *ValueExpr = nullptr) const { in reportBug() argument
188 if (ValueExpr) { in reportBug()
189 R->addRange(ValueExpr->getSourceRange()); in reportBug()
193 bugreporter::trackNullOrUndefValue(N, ValueExpr, *R); in reportBug()
460 CheckerContext &C, const Stmt *ValueExpr, bool SuppressPath) const { in reportBugIfInvariantHolds() argument
470 reportBug(Msg, Error, N, Region, C.getBugReporter(), ValueExpr); in reportBugIfInvariantHolds()
1110 const Expr *ValueExpr = matchValueExprForBind(S); in checkBind() local
1111 if (ValueExpr) { in checkBind()
1113 getNullabilityAnnotation(lookThroughImplicitCasts(ValueExpr)->getType()); in checkBind()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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 …]
/external/llvm-project/clang/lib/Sema/
DSemaStmtAttr.cpp82 Expr *ValueExpr = A.getArgAsExpr(3); in handleLoopHintAttr() local
112 if (ValueExpr) in handleLoopHintAttr()
120 if (ValueExpr) in handleLoopHintAttr()
146 assert(ValueExpr && "Attribute must have a valid value expression."); in handleLoopHintAttr()
147 if (S.CheckLoopHintExpr(ValueExpr, St->getBeginLoc())) in handleLoopHintAttr()
171 return LoopHintAttr::CreateImplicit(S.Context, Option, State, ValueExpr, A); in handleLoopHintAttr()
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 …]
DTreeTransform.h3322 ExprResult RebuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in RebuildObjCBoxedExpr() argument
3323 return getSema().BuildObjCBoxedExpr(SR, ValueExpr); in RebuildObjCBoxedExpr()
/external/clang/lib/CodeGen/
DCGLoopInfo.cpp162 auto *ValueExpr = LH->getValue(); in push() local
163 if (ValueExpr) { in push()
164 llvm::APSInt ValueAPS = ValueExpr->EvaluateKnownConstInt(Ctx); in push()
/external/llvm-project/clang/lib/Parse/
DParseObjc.cpp3391 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCBoxedExpr() local
3395 if (ValueExpr.isInvalid()) in ParseObjCBoxedExpr()
3401 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get()); in ParseObjCBoxedExpr()
3403 ValueExpr.get()); in ParseObjCBoxedExpr()
3473 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCDictionaryLiteral() local
3474 if (ValueExpr.isInvalid()) { in ParseObjCDictionaryLiteral()
3479 return ValueExpr; in ParseObjCDictionaryLiteral()
3484 ValueExpr = Actions.CorrectDelayedTyposInExpr(ValueExpr.get()); in ParseObjCDictionaryLiteral()
3485 if (KeyExpr.isInvalid() || ValueExpr.isInvalid()) in ParseObjCDictionaryLiteral()
3498 KeyExpr.get(), ValueExpr.get(), EllipsisLoc, None in ParseObjCDictionaryLiteral()
DParseStmt.cpp2222 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint()
DParsePragma.cpp1214 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
/external/llvm-project/clang/lib/CodeGen/
DCGLoopInfo.cpp608 auto *ValueExpr = LH->getValue(); in push() local
609 if (ValueExpr) { in push()
610 llvm::APSInt ValueAPS = ValueExpr->EvaluateKnownConstInt(Ctx); in push()
/external/clang/lib/Parse/
DParseObjc.cpp3398 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCBoxedExpr() local
3402 if (ValueExpr.isInvalid()) in ParseObjCBoxedExpr()
3408 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get()); in ParseObjCBoxedExpr()
3410 ValueExpr.get()); in ParseObjCBoxedExpr()
3470 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCDictionaryLiteral() local
3471 if (ValueExpr.isInvalid()) { in ParseObjCDictionaryLiteral()
3476 return ValueExpr; in ParseObjCDictionaryLiteral()
3487 KeyExpr.get(), ValueExpr.get(), EllipsisLoc, None in ParseObjCDictionaryLiteral()
DParseStmt.cpp1919 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint()
DParsePragma.cpp896 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
/external/llvm-project/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp2029 const MCExpr *ValueExpr; in parseDirectiveAttribute() local
2030 if (Parser.parseExpression(ValueExpr)) in parseDirectiveAttribute()
2033 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveAttribute()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp3332 auto *ValueExpr = ValueToExpression.lookup(SE->getStoreInst()); in verifyStoreExpressions() local
3333 assert(ValueExpr && ValueExpr->equals(*SE) && in verifyStoreExpressions()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DNewGVN.cpp3285 auto *ValueExpr = ValueToExpression.lookup(SE->getStoreInst()); in verifyStoreExpressions() local
3286 assert(ValueExpr && ValueExpr->equals(*SE) && in verifyStoreExpressions()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp9381 const MCExpr *ValueExpr; in parseDirectiveEabiAttr() local
9383 if (Parser.parseExpression(ValueExpr)) { in parseDirectiveEabiAttr()
9388 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()
/external/llvm-project/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp11203 const MCExpr *ValueExpr; in parseDirectiveEabiAttr() local
11205 if (Parser.parseExpression(ValueExpr)) in parseDirectiveEabiAttr()
11208 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp10904 const MCExpr *ValueExpr; in parseDirectiveEabiAttr() local
10906 if (Parser.parseExpression(ValueExpr)) in parseDirectiveEabiAttr()
10909 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()

12