Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Parse/
H A DLoopHint.h35 Expr *ValueExpr; member
39 ValueExpr(nullptr) {} in LoopHint()
/llvm-project-15.0.7/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.cpp501 if (ValueExpr->isTypeDependent()) { 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()
639 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
721 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
731 << ValueType << ValueExpr->getSourceRange(); in BuildObjCBoxedExpr()
741 ValueExpr); in BuildObjCBoxedExpr()
748 ValueExpr); in BuildObjCBoxedExpr()
753 ValueExpr = ConvertedValueExpr.get(); in BuildObjCBoxedExpr()
[all …]
H A DTreeTransform.h3495 ExprResult RebuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { in RebuildObjCBoxedExpr() argument
3496 return getSema().BuildObjCBoxedExpr(SR, ValueExpr); in RebuildObjCBoxedExpr()
/llvm-project-15.0.7/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()
1143 if (ValueExpr) in checkBind()
[all …]
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp3404 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCBoxedExpr() local
3408 if (ValueExpr.isInvalid()) in ParseObjCBoxedExpr()
3414 ValueExpr = Actions.ActOnParenExpr(LPLoc, RPLoc, ValueExpr.get()); in ParseObjCBoxedExpr()
3416 ValueExpr.get()); in ParseObjCBoxedExpr()
3486 ExprResult ValueExpr(ParseAssignmentExpression()); in ParseObjCDictionaryLiteral() local
3487 if (ValueExpr.isInvalid()) { in ParseObjCDictionaryLiteral()
3492 return ValueExpr; in ParseObjCDictionaryLiteral()
3497 ValueExpr = Actions.CorrectDelayedTyposInExpr(ValueExpr.get()); in ParseObjCDictionaryLiteral()
3498 if (KeyExpr.isInvalid() || ValueExpr.isInvalid()) in ParseObjCDictionaryLiteral()
3511 KeyExpr.get(), ValueExpr.get(), EllipsisLoc, None in ParseObjCDictionaryLiteral()
H A DParsePragma.cpp1417 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
1442 Hint.ValueExpr = R.get(); in HandlePragmaLoopHint()
H A DParseStmt.cpp2389 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp1673 const MCExpr *ValueExpr; in parseDirectiveAttribute() local
1674 if (Parser.parseExpression(ValueExpr)) in parseDirectiveAttribute()
1677 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveAttribute()
/llvm-project-15.0.7/bolt/lib/Target/X86/
H A DX86MCPlusBuilder.cpp2627 const MCExpr *ValueExpr = Fixup.getValue(); in createRelocation() local
2628 if (ValueExpr->getKind() == MCExpr::Binary) { in createRelocation()
2629 const auto *BinaryExpr = cast<MCBinaryExpr>(ValueExpr); in createRelocation()
2639 assert(ValueExpr->getKind() == MCExpr::SymbolRef && "unexpected value"); in createRelocation()
2640 Symbol = const_cast<MCSymbol *>(this->getTargetSymbol(ValueExpr)); in createRelocation()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp2204 const MCExpr *ValueExpr; in parseDirectiveAttribute() local
2205 if (Parser.parseExpression(ValueExpr)) in parseDirectiveAttribute()
2208 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveAttribute()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3347 auto *ValueExpr = ValueToExpression.lookup(SE->getStoreInst()); in verifyStoreExpressions() local
3348 assert(ValueExpr && ValueExpr->equals(*SE) && in verifyStoreExpressions()
/llvm-project-15.0.7/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp11426 const MCExpr *ValueExpr; in parseDirectiveEabiAttr() local
11428 if (Parser.parseExpression(ValueExpr)) in parseDirectiveEabiAttr()
11431 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h7229 ExprResult BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr);