Home
last modified time | relevance | path

Searched refs:SubExpr (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachORelocationInfo.cpp25 const MCExpr *createExprForCAPIVariantKind(const MCExpr *SubExpr, in createExprForCAPIVariantKind() argument
29 return ARMMCExpr::createUpper16(SubExpr, Ctx); in createExprForCAPIVariantKind()
31 return ARMMCExpr::createLower16(SubExpr, Ctx); in createExprForCAPIVariantKind()
33 return MCRelocationInfo::createExprForCAPIVariantKind(SubExpr, in createExprForCAPIVariantKind()
/external/clang/include/clang/AST/
DExprCXX.h534 Stmt *SubExpr; variable
537 : Expr(CXXStdInitializerListExprClass, Empty), SubExpr(nullptr) {} in CXXStdInitializerListExpr()
540 CXXStdInitializerListExpr(QualType Ty, Expr *SubExpr) in CXXStdInitializerListExpr() argument
542 Ty->isDependentType(), SubExpr->isValueDependent(), in CXXStdInitializerListExpr()
543 SubExpr->isInstantiationDependent(), in CXXStdInitializerListExpr()
544 SubExpr->containsUnexpandedParameterPack()), in CXXStdInitializerListExpr()
545 SubExpr(SubExpr) {} in CXXStdInitializerListExpr()
547 Expr *getSubExpr() { return static_cast<Expr*>(SubExpr); } in getSubExpr()
548 const Expr *getSubExpr() const { return static_cast<const Expr*>(SubExpr); } in getSubExpr()
551 return SubExpr->getLocStart(); in getLocStart()
[all …]
DExprObjC.h95 Stmt *SubExpr; variable
104 SubExpr(E), BoxingMethod(method), Range(R) {} in ObjCBoxedExpr()
108 Expr *getSubExpr() { return cast<Expr>(SubExpr); } in getSubExpr()
109 const Expr *getSubExpr() const { return cast<Expr>(SubExpr); } in getSubExpr()
128 child_range children() { return child_range(&SubExpr, &SubExpr+1); } in children()
133 return reinterpret_cast<Stmt const * const*>(&SubExpr); in arg_begin()
136 return reinterpret_cast<Stmt const * const*>(&SubExpr + 1); in arg_end()
/external/llvm/lib/MC/MCDisassembler/
DMCRelocationInfo.cpp24 MCRelocationInfo::createExprForCAPIVariantKind(const MCExpr *SubExpr, in createExprForCAPIVariantKind() argument
28 return SubExpr; in createExprForCAPIVariantKind()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorSyclPlaceHolderExpr.h89 template <template <class, class... > class Category, typename OP, typename... SubExpr, size_t N>\
90 struct PlaceHolderExpression<CVQual Category<OP, SubExpr...>, N>{\
91 …typedef CVQual typename CategoryHelper<Category, OP, typename CalculateIndex<N, SubExpr...>::ArgsT…
/external/clang/lib/Sema/
DTreeTransform.h1999 ExprResult RebuildParenExpr(Expr *SubExpr, SourceLocation LParen, in RebuildParenExpr() argument
2001 return getSema().ActOnParenExpr(LParen, RParen, SubExpr); in RebuildParenExpr()
2023 Expr *SubExpr) { in RebuildUnaryOperator() argument
2024 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr); in RebuildUnaryOperator()
2056 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
2060 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait()
2190 Expr *SubExpr) { in RebuildCStyleCastExpr() argument
2192 SubExpr); in RebuildCStyleCastExpr()
2279 Expr *SubExpr, TypeSourceInfo *TInfo, in RebuildVAArgExpr() argument
2282 SubExpr, TInfo, in RebuildVAArgExpr()
[all …]
DSemaExprObjC.cpp4231 Expr *SubExpr) { in BuildObjCBridgedCast() argument
4232 ExprResult SubResult = UsualUnaryConversions(SubExpr); in BuildObjCBridgedCast()
4234 SubExpr = SubResult.get(); in BuildObjCBridgedCast()
4237 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast()
4242 if (T->isDependentType() || SubExpr->isTypeDependent()) { in BuildObjCBridgedCast()
4260 << SubExpr->getSourceRange() in BuildObjCBridgedCast()
4286 SubExpr = maybeUndoReclaimObject(SubExpr); in BuildObjCBridgedCast()
4291 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
4293 SubExpr, nullptr, VK_RValue); in BuildObjCBridgedCast()
4303 << SubExpr->getSourceRange() in BuildObjCBridgedCast()
[all …]
DSemaExprCXX.cpp5740 Sema::MaybeCreateExprWithCleanups(ExprResult SubExpr) { in MaybeCreateExprWithCleanups() argument
5741 if (SubExpr.isInvalid()) in MaybeCreateExprWithCleanups()
5744 return MaybeCreateExprWithCleanups(SubExpr.get()); in MaybeCreateExprWithCleanups()
5747 Expr *Sema::MaybeCreateExprWithCleanups(Expr *SubExpr) { in MaybeCreateExprWithCleanups() argument
5748 assert(SubExpr && "subexpression can't be null!"); in MaybeCreateExprWithCleanups()
5757 return SubExpr; in MaybeCreateExprWithCleanups()
5763 Context, SubExpr, Cleanup.cleanupsHaveSideEffects(), Cleanups); in MaybeCreateExprWithCleanups()
5807 ExprResult SubExpr = ActOnDecltypeExpression(PE->getSubExpr()); in ActOnDecltypeExpression() local
5808 if (SubExpr.isInvalid()) in ActOnDecltypeExpression()
5810 if (SubExpr.get() == PE->getSubExpr()) in ActOnDecltypeExpression()
[all …]
DSemaCast.cpp2629 auto *SubExpr = Op.SrcExpr.get(); in BuildCXXFunctionalCastExpr() local
2630 if (auto *BindExpr = dyn_cast<CXXBindTemporaryExpr>(SubExpr)) in BuildCXXFunctionalCastExpr()
2631 SubExpr = BindExpr->getSubExpr(); in BuildCXXFunctionalCastExpr()
2632 if (auto *ConstructExpr = dyn_cast<CXXConstructExpr>(SubExpr)) in BuildCXXFunctionalCastExpr()
DSemaExpr.cpp8999 Expr *SubExpr = UO->getSubExpr()->IgnoreImpCasts(); in diagnoseLogicalNotOnLHSofComparison() local
9000 if (SubExpr->isKnownToHaveBooleanValue()) return; in diagnoseLogicalNotOnLHSofComparison()
9007 SourceLocation FirstOpen = SubExpr->getLocStart(); in diagnoseLogicalNotOnLHSofComparison()
11099 SourceLocation OpLoc, Expr *SubExpr) { in DiagnoseBitwiseOpInBitwiseOp() argument
11100 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(SubExpr)) { in DiagnoseBitwiseOpInBitwiseOp()
11114 Expr *SubExpr, StringRef Shift) { in DiagnoseAdditionInShift() argument
11115 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(SubExpr)) { in DiagnoseAdditionInShift()
14403 Expr *SubExpr, ConditionKind CK) { in ActOnCondition() argument
14405 if (!SubExpr) in ActOnCondition()
14411 Cond = CheckBooleanCondition(Loc, SubExpr); in ActOnCondition()
[all …]
DSemaOverload.cpp12971 Expr *SubExpr = FixOverloadedFunctionReference(PE->getSubExpr(), in FixOverloadedFunctionReference() local
12973 if (SubExpr == PE->getSubExpr()) in FixOverloadedFunctionReference()
12976 return new (Context) ParenExpr(PE->getLParen(), PE->getRParen(), SubExpr); in FixOverloadedFunctionReference()
12980 Expr *SubExpr = FixOverloadedFunctionReference(ICE->getSubExpr(), in FixOverloadedFunctionReference() local
12983 SubExpr->getType()) && in FixOverloadedFunctionReference()
12986 if (SubExpr == ICE->getSubExpr()) in FixOverloadedFunctionReference()
12991 SubExpr, nullptr, in FixOverloadedFunctionReference()
13006 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference() local
13008 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
13011 assert(isa<DeclRefExpr>(SubExpr) in FixOverloadedFunctionReference()
[all …]
DSemaChecking.cpp6700 const Expr* SubExpr = cast<CastExpr>(E)->getSubExpr(); in EvalAddr() local
6711 return EvalAddr(SubExpr, refVars, ParentDecl); in EvalAddr()
6714 return EvalVal(SubExpr, refVars, ParentDecl); in EvalAddr()
6717 if (SubExpr->getType()->isAnyPointerType() || in EvalAddr()
6718 SubExpr->getType()->isBlockPointerType() || in EvalAddr()
6719 SubExpr->getType()->isObjCQualifiedIdType()) in EvalAddr()
6720 return EvalAddr(SubExpr, refVars, ParentDecl); in EvalAddr()
8550 Expr *SubExpr = BO->getLHS()->IgnoreParenImpCasts(); in AnalyzeImplicitConversions() local
8551 if (!IsLogicalAndOperator || !isa<StringLiteral>(SubExpr)) in AnalyzeImplicitConversions()
8552 ::CheckBoolLikeConversion(S, SubExpr, BO->getExprLoc()); in AnalyzeImplicitConversions()
[all …]
DAnalysisBasedWarnings.cpp133 if (const Expr *SubExpr = dyn_cast_or_null<Expr>(SubStmt)) in HasMacroID() local
134 if (HasMacroID(SubExpr)) in HasMacroID()
/external/llvm/include/llvm/MC/MCDisassembler/
DMCRelocationInfo.h45 virtual const MCExpr *createExprForCAPIVariantKind(const MCExpr *SubExpr,
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp128 const MCExpr *SubExpr = in evaluateAsRelocatableImpl() local
131 if (!SubExpr->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl()
/external/clang/lib/AST/
DExprConstant.cpp5112 const Expr* SubExpr = E->getSubExpr(); in VisitCastExpr() local
5123 if (!Visit(SubExpr)) in VisitCastExpr()
5130 if (SubExpr->getType()->isVoidPointerType()) in VisitCastExpr()
5132 << 3 << SubExpr->getType(); in VisitCastExpr()
5166 if (!EvaluateIntegerOrLValue(SubExpr, Value, Info)) in VisitCastExpr()
5185 if (SubExpr->isGLValue()) { in VisitCastExpr()
5186 if (!EvaluateLValue(SubExpr, Result, Info)) in VisitCastExpr()
5189 Result.set(SubExpr, Info.CurrentCall->Index); in VisitCastExpr()
5190 if (!EvaluateInPlace(Info.CurrentCall->createTemporary(SubExpr, false), in VisitCastExpr()
5191 Info, Result, SubExpr)) in VisitCastExpr()
[all …]
DExpr.cpp1606 Expr *SubExpr = nullptr; in getSubExprAsWritten() local
1609 SubExpr = E->getSubExpr(); in getSubExprAsWritten()
1613 = dyn_cast<MaterializeTemporaryExpr>(SubExpr)) in getSubExprAsWritten()
1614 SubExpr = Materialize->GetTemporaryExpr(); in getSubExprAsWritten()
1617 if (CXXBindTemporaryExpr *Binder = dyn_cast<CXXBindTemporaryExpr>(SubExpr)) in getSubExprAsWritten()
1618 SubExpr = Binder->getSubExpr(); in getSubExprAsWritten()
1623 SubExpr = cast<CXXConstructExpr>(SubExpr)->getArg(0); in getSubExprAsWritten()
1625 assert((isa<CXXMemberCallExpr>(SubExpr) || in getSubExprAsWritten()
1626 isa<BlockExpr>(SubExpr)) && in getSubExprAsWritten()
1628 if (isa<CXXMemberCallExpr>(SubExpr)) in getSubExprAsWritten()
[all …]
DExprCXX.cpp711 Expr* SubExpr) { in Create() argument
712 assert((SubExpr->getType()->isRecordType() || in Create()
713 SubExpr->getType()->isArrayType()) && in Create()
716 return new (C) CXXBindTemporaryExpr(Temp, SubExpr); in Create()
1033 SubExpr(subexpr) { in ExprWithCleanups()
DASTImporter.cpp5344 Expr *SubExpr = Importer.Import(E->getSubExpr()); in VisitVAArgExpr() local
5345 if (!SubExpr && E->getSubExpr()) in VisitVAArgExpr()
5353 Importer.Import(E->getBuiltinLoc()), SubExpr, TInfo, in VisitVAArgExpr()
5571 Expr *SubExpr = Importer.Import(E->getSubExpr()); in VisitParenExpr() local
5572 if (!SubExpr) in VisitParenExpr()
5578 SubExpr); in VisitParenExpr()
5611 Expr *SubExpr = Importer.Import(E->getSubExpr()); in VisitUnaryOperator() local
5612 if (!SubExpr) in VisitUnaryOperator()
5615 return new (Importer.getToContext()) UnaryOperator(SubExpr, E->getOpcode(), in VisitUnaryOperator()
5636 Expr *SubExpr = Importer.Import(E->getArgumentExpr()); in VisitUnaryExprOrTypeTraitExpr() local
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp130 EvalResult unexpectedToken(StringRef TokenStart, StringRef SubExpr, in unexpectedToken() argument
134 if (SubExpr != "") { in unexpectedToken()
136 ErrorMsg += SubExpr; in unexpectedToken()
/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp67 void checkPreStmt(const ArraySubscriptExpr *SubExpr, CheckerContext &C) const;
/external/clang/lib/CodeGen/
DCGObjC.cpp64 const Expr *SubExpr = E->getSubExpr(); in EmitObjCBoxedExpr() local
82 const QualType ValueType(SubExpr->getType().getCanonicalType()); in EmitObjCBoxedExpr()
86 Address Temporary = CreateMemTemp(SubExpr->getType()); in EmitObjCBoxedExpr()
87 EmitAnyExprToMem(SubExpr, Temporary, Qualifiers(), /*isInit*/ true); in EmitObjCBoxedExpr()
103 Args.add(EmitAnyExpr(SubExpr), ArgQT); in EmitObjCBoxedExpr()
DCGException.cpp405 if (const Expr *SubExpr = E->getSubExpr()) { in EmitCXXThrowExpr() local
406 QualType ThrowType = SubExpr->getType(); in EmitCXXThrowExpr()
/external/clang/lib/Parse/
DParseExpr.cpp2282 ExprResult SubExpr = ParseCastExpression(/*isUnaryExpression=*/false); in ParseParenExpression() local
2284 if (Ty.isInvalid() || SubExpr.isInvalid()) in ParseParenExpression()
2289 RParenLoc, SubExpr.get()); in ParseParenExpression()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2472 const SCEV *SubExpr = *I; in getExprBase() local
2473 if (SubExpr->getSCEVType() == scAddExpr) in getExprBase()
2474 return getExprBase(SubExpr); in getExprBase()
2476 if (SubExpr->getSCEVType() != scMulExpr) in getExprBase()
2477 return SubExpr; in getExprBase()

12