Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp79 Expr *ValueExpr = A.getArgAsExpr(3); in handleLoopHintAttr() local
110 if (ValueExpr) { in handleLoopHintAttr()
111 if (!ValueExpr->isValueDependent()) { in handleLoopHintAttr()
112 auto Value = ValueExpr->EvaluateKnownConstInt(S.getASTContext()); in handleLoopHintAttr()
125 if (ValueExpr) in handleLoopHintAttr()
148 assert((ValueExpr || (StateLoc && StateLoc->getIdentifierInfo())) && in handleLoopHintAttr()
150 if (ValueExpr && S.CheckLoopHintExpr(ValueExpr, St->getBeginLoc(), in handleLoopHintAttr()
161 assert(ValueExpr && "Attribute must have a valid value expression."); in handleLoopHintAttr()
162 if (S.CheckLoopHintExpr(ValueExpr, St->getBeginLoc(), in handleLoopHintAttr()
188 return LoopHintAttr::CreateImplicit(S.Context, Option, State, ValueExpr, A); in handleLoopHintAttr()
H A DSemaExprObjC.cpp507 ExprResult SemaObjC::BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in BuildObjCBoxedExpr() argument
509 if (ValueExpr->isTypeDependent()) { in BuildObjCBoxedExpr()
511 new (Context) ObjCBoxedExpr(ValueExpr, Context.DependentTy, nullptr, SR); in BuildObjCBoxedExpr()
517 ExprResult RValue = SemaRef.DefaultFunctionArrayLvalueConversion(ValueExpr); in BuildObjCBoxedExpr()
522 ValueExpr = RValue.get(); in BuildObjCBoxedExpr()
523 QualType ValueType(ValueExpr->getType()); in BuildObjCBoxedExpr()
540 if (auto *CE = dyn_cast<ImplicitCastExpr>(ValueExpr)) in BuildObjCBoxedExpr()
614 dyn_cast<CharacterLiteral>(ValueExpr->IgnoreParens())) { in BuildObjCBoxedExpr()
644 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
723 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
[all …]
H A DTreeTransform.h3785 ExprResult RebuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in RebuildObjCBoxedExpr() argument
3786 return getSema().ObjC().BuildObjCBoxedExpr(SR, ValueExpr); in RebuildObjCBoxedExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp167 const Stmt *ValueExpr = nullptr,
172 const Stmt *ValueExpr = nullptr) const { in reportBug() argument
178 if (ValueExpr) { in reportBug()
179 R->addRange(ValueExpr->getSourceRange()); in reportBug()
183 if (const auto *Ex = dyn_cast<Expr>(ValueExpr)) in reportBug()
480 const MemRegion *Region, CheckerContext &C, const Stmt *ValueExpr, in reportBugIfInvariantHolds() argument
491 reportBug(Msg, Error, BT, N, Region, C.getBugReporter(), ValueExpr); in reportBugIfInvariantHolds()
1282 const Expr *ValueExpr = matchValueExprForBind(S); in checkBind() local
1283 if (ValueExpr) { in checkBind()
1285 getNullabilityAnnotation(lookThroughImplicitCasts(ValueExpr)->getType()); in checkBind()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DLoopHint.h35 Expr *ValueExpr = nullptr; member
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGLoopInfo.cpp632 auto *ValueExpr = LH->getValue(); in push() local
633 if (ValueExpr) { in push()
634 llvm::APSInt ValueAPS = ValueExpr->EvaluateKnownConstInt(Ctx); in push()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp3045 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCBoxedExpr() local
3049 if (ValueExpr.isInvalid()) in ParseObjCBoxedExpr()
3055 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get()); in ParseObjCBoxedExpr()
3057 ValueExpr.get()); in ParseObjCBoxedExpr()
3122 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCDictionaryLiteral() local
3123 if (ValueExpr.isInvalid()) { in ParseObjCDictionaryLiteral()
3128 return ValueExpr; in ParseObjCDictionaryLiteral()
3140 ObjCDictionaryElement Element = {KeyExpr.get(), ValueExpr.get(), in ParseObjCDictionaryLiteral()
H A DParsePragma.cpp1563 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
1589 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
H A DParseStmt.cpp2354 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp1578 const MCExpr *ValueExpr; in parseDirectiveAttribute() local
1579 if (Parser.parseExpression(ValueExpr)) in parseDirectiveAttribute()
1582 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveAttribute()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp699 const MCExpr *ValueExpr; in parseDirectiveAttribute() local
700 if (Parser.parseExpression(ValueExpr)) in parseDirectiveAttribute()
703 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveAttribute()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h669 ExprResult BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3383 auto *ValueExpr = ValueToExpression.lookup(SE->getStoreInst()); in verifyStoreExpressions() local
3384 assert(ValueExpr && ValueExpr->equals(*SE) && in verifyStoreExpressions()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp3275 const MCExpr *ValueExpr; in parseDirectiveAttribute() local
3276 if (Parser.parseExpression(ValueExpr)) in parseDirectiveAttribute()
3279 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveAttribute()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp11917 const MCExpr *ValueExpr; in parseDirectiveEabiAttr() local
11919 if (Parser.parseExpression(ValueExpr)) in parseDirectiveEabiAttr()
11922 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()