/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachORelocationInfo.cpp | 25 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/ |
D | ExprCXX.h | 497 Stmt *SubExpr; variable 500 : Expr(CXXStdInitializerListExprClass, Empty), SubExpr(nullptr) {} in CXXStdInitializerListExpr() 503 CXXStdInitializerListExpr(QualType Ty, Expr *SubExpr) in CXXStdInitializerListExpr() argument 505 Ty->isDependentType(), SubExpr->isValueDependent(), in CXXStdInitializerListExpr() 506 SubExpr->isInstantiationDependent(), in CXXStdInitializerListExpr() 507 SubExpr->containsUnexpandedParameterPack()), in CXXStdInitializerListExpr() 508 SubExpr(SubExpr) {} in CXXStdInitializerListExpr() 510 Expr *getSubExpr() { return static_cast<Expr*>(SubExpr); } in getSubExpr() 511 const Expr *getSubExpr() const { return static_cast<const Expr*>(SubExpr); } in getSubExpr() 514 return SubExpr->getLocStart(); in getLocStart() [all …]
|
D | ExprObjC.h | 95 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/ |
D | MCRelocationInfo.cpp | 30 MCRelocationInfo::createExprForCAPIVariantKind(const MCExpr *SubExpr, in createExprForCAPIVariantKind() argument 34 return SubExpr; in createExprForCAPIVariantKind()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 1926 ExprResult RebuildParenExpr(Expr *SubExpr, SourceLocation LParen, in RebuildParenExpr() argument 1928 return getSema().ActOnParenExpr(LParen, RParen, SubExpr); in RebuildParenExpr() 1950 Expr *SubExpr) { in RebuildUnaryOperator() argument 1951 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr); in RebuildUnaryOperator() 1983 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument 1987 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait() 2117 Expr *SubExpr) { in RebuildCStyleCastExpr() argument 2119 SubExpr); in RebuildCStyleCastExpr() 2206 Expr *SubExpr, TypeSourceInfo *TInfo, in RebuildVAArgExpr() argument 2209 SubExpr, TInfo, in RebuildVAArgExpr() [all …]
|
D | SemaExprObjC.cpp | 4182 Expr *SubExpr) { in BuildObjCBridgedCast() argument 4183 ExprResult SubResult = UsualUnaryConversions(SubExpr); in BuildObjCBridgedCast() 4185 SubExpr = SubResult.get(); in BuildObjCBridgedCast() 4188 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() 4193 if (T->isDependentType() || SubExpr->isTypeDependent()) { in BuildObjCBridgedCast() 4211 << SubExpr->getSourceRange() in BuildObjCBridgedCast() 4237 SubExpr = maybeUndoReclaimObject(SubExpr); in BuildObjCBridgedCast() 4242 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast() 4244 SubExpr, nullptr, VK_RValue); in BuildObjCBridgedCast() 4254 << SubExpr->getSourceRange() in BuildObjCBridgedCast() [all …]
|
D | SemaExprCXX.cpp | 5466 Sema::MaybeCreateExprWithCleanups(ExprResult SubExpr) { in MaybeCreateExprWithCleanups() argument 5467 if (SubExpr.isInvalid()) in MaybeCreateExprWithCleanups() 5470 return MaybeCreateExprWithCleanups(SubExpr.get()); in MaybeCreateExprWithCleanups() 5473 Expr *Sema::MaybeCreateExprWithCleanups(Expr *SubExpr) { in MaybeCreateExprWithCleanups() argument 5474 assert(SubExpr && "subexpression can't be null!"); in MaybeCreateExprWithCleanups() 5482 return SubExpr; in MaybeCreateExprWithCleanups() 5487 Expr *E = ExprWithCleanups::Create(Context, SubExpr, Cleanups); in MaybeCreateExprWithCleanups() 5531 ExprResult SubExpr = ActOnDecltypeExpression(PE->getSubExpr()); in ActOnDecltypeExpression() local 5532 if (SubExpr.isInvalid()) in ActOnDecltypeExpression() 5534 if (SubExpr.get() == PE->getSubExpr()) in ActOnDecltypeExpression() [all …]
|
D | SemaCast.cpp | 2497 auto *SubExpr = Op.SrcExpr.get(); in BuildCXXFunctionalCastExpr() local 2498 if (auto *BindExpr = dyn_cast<CXXBindTemporaryExpr>(SubExpr)) in BuildCXXFunctionalCastExpr() 2499 SubExpr = BindExpr->getSubExpr(); in BuildCXXFunctionalCastExpr() 2500 if (auto *ConstructExpr = dyn_cast<CXXConstructExpr>(SubExpr)) in BuildCXXFunctionalCastExpr()
|
D | SemaExpr.cpp | 8563 Expr *SubExpr = UO->getSubExpr()->IgnoreImpCasts(); in diagnoseLogicalNotOnLHSofComparison() local 8564 if (SubExpr->isKnownToHaveBooleanValue()) return; in diagnoseLogicalNotOnLHSofComparison() 8571 SourceLocation FirstOpen = SubExpr->getLocStart(); in diagnoseLogicalNotOnLHSofComparison() 10572 SourceLocation OpLoc, Expr *SubExpr) { in DiagnoseBitwiseOpInBitwiseOp() argument 10573 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(SubExpr)) { in DiagnoseBitwiseOpInBitwiseOp() 10587 Expr *SubExpr, StringRef Shift) { in DiagnoseAdditionInShift() argument 10588 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(SubExpr)) { in DiagnoseAdditionInShift() 13954 Expr *SubExpr) { in ActOnBooleanCondition() argument 13955 if (!SubExpr) in ActOnBooleanCondition() 13958 return CheckBooleanCondition(SubExpr, Loc); in ActOnBooleanCondition() [all …]
|
D | SemaChecking.cpp | 5809 Expr* SubExpr = cast<CastExpr>(E)->getSubExpr(); in EvalAddr() local 5820 return EvalAddr(SubExpr, refVars, ParentDecl); in EvalAddr() 5823 return EvalVal(SubExpr, refVars, ParentDecl); in EvalAddr() 5826 if (SubExpr->getType()->isAnyPointerType() || in EvalAddr() 5827 SubExpr->getType()->isBlockPointerType() || in EvalAddr() 5828 SubExpr->getType()->isObjCQualifiedIdType()) in EvalAddr() 5829 return EvalAddr(SubExpr, refVars, ParentDecl); in EvalAddr() 7548 Expr *SubExpr = BO->getLHS()->IgnoreParenImpCasts(); in AnalyzeImplicitConversions() local 7549 if (!IsLogicalAndOperator || !isa<StringLiteral>(SubExpr)) in AnalyzeImplicitConversions() 7550 ::CheckBoolLikeConversion(S, SubExpr, BO->getExprLoc()); in AnalyzeImplicitConversions() [all …]
|
D | SemaOverload.cpp | 12714 Expr *SubExpr = FixOverloadedFunctionReference(PE->getSubExpr(), in FixOverloadedFunctionReference() local 12716 if (SubExpr == PE->getSubExpr()) in FixOverloadedFunctionReference() 12719 return new (Context) ParenExpr(PE->getLParen(), PE->getRParen(), SubExpr); in FixOverloadedFunctionReference() 12723 Expr *SubExpr = FixOverloadedFunctionReference(ICE->getSubExpr(), in FixOverloadedFunctionReference() local 12726 SubExpr->getType()) && in FixOverloadedFunctionReference() 12729 if (SubExpr == ICE->getSubExpr()) in FixOverloadedFunctionReference() 12734 SubExpr, nullptr, in FixOverloadedFunctionReference() 12749 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference() local 12751 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference() 12754 assert(isa<DeclRefExpr>(SubExpr) in FixOverloadedFunctionReference() [all …]
|
D | AnalysisBasedWarnings.cpp | 133 if (const Expr *SubExpr = dyn_cast_or_null<Expr>(SubStmt)) in HasMacroID() local 134 if (HasMacroID(SubExpr)) in HasMacroID()
|
D | SemaInit.cpp | 2393 Expr *SubExpr = StructuredList->getInit(0)->IgnoreParens(); in CheckDesignatedInitializer() local 2404 if (StringLiteral *SL = dyn_cast<StringLiteral>(SubExpr)) { in CheckDesignatedInitializer() 2416 Context, CodeUnit, PromotedCharTy, SubExpr->getExprLoc()); in CheckDesignatedInitializer() 2423 ObjCEncodeExpr *E = cast<ObjCEncodeExpr>(SubExpr); in CheckDesignatedInitializer() 2438 Context, CodeUnit, PromotedCharTy, SubExpr->getExprLoc()); in CheckDesignatedInitializer()
|
/external/llvm/include/llvm/MC/ |
D | MCRelocationInfo.h | 49 virtual const MCExpr *createExprForCAPIVariantKind(const MCExpr *SubExpr,
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 4956 const Expr* SubExpr = E->getSubExpr(); in VisitCastExpr() local 4967 if (!Visit(SubExpr)) in VisitCastExpr() 4974 if (SubExpr->getType()->isVoidPointerType()) in VisitCastExpr() 4976 << 3 << SubExpr->getType(); in VisitCastExpr() 5010 if (!EvaluateIntegerOrLValue(SubExpr, Value, Info)) in VisitCastExpr() 5029 if (SubExpr->isGLValue()) { in VisitCastExpr() 5030 if (!EvaluateLValue(SubExpr, Result, Info)) in VisitCastExpr() 5033 Result.set(SubExpr, Info.CurrentCall->Index); in VisitCastExpr() 5034 if (!EvaluateInPlace(Info.CurrentCall->createTemporary(SubExpr, false), in VisitCastExpr() 5035 Info, Result, SubExpr)) in VisitCastExpr() [all …]
|
D | ExprCXX.cpp | 766 ParmVarDecl *Param, Expr *SubExpr) { in Create() argument 769 SubExpr); in Create() 790 Expr* SubExpr) { in Create() argument 791 assert((SubExpr->getType()->isRecordType() || in Create() 792 SubExpr->getType()->isArrayType()) && in Create() 795 return new (C) CXXBindTemporaryExpr(Temp, SubExpr); in Create() 1123 SubExpr(subexpr) { in ExprWithCleanups()
|
D | Expr.cpp | 1728 Expr *SubExpr = nullptr; in getSubExprAsWritten() local 1731 SubExpr = E->getSubExpr(); in getSubExprAsWritten() 1735 = dyn_cast<MaterializeTemporaryExpr>(SubExpr)) in getSubExprAsWritten() 1736 SubExpr = Materialize->GetTemporaryExpr(); in getSubExprAsWritten() 1739 if (CXXBindTemporaryExpr *Binder = dyn_cast<CXXBindTemporaryExpr>(SubExpr)) in getSubExprAsWritten() 1740 SubExpr = Binder->getSubExpr(); in getSubExprAsWritten() 1745 SubExpr = cast<CXXConstructExpr>(SubExpr)->getArg(0); in getSubExprAsWritten() 1747 SubExpr = cast<CXXMemberCallExpr>(SubExpr)->getImplicitObjectArgument(); in getSubExprAsWritten() 1751 } while ((E = dyn_cast<ImplicitCastExpr>(SubExpr))); in getSubExprAsWritten() 1753 return SubExpr; in getSubExprAsWritten()
|
D | ASTImporter.cpp | 5088 Expr *SubExpr = Importer.Import(E->getSubExpr()); in VisitParenExpr() local 5089 if (!SubExpr) in VisitParenExpr() 5095 SubExpr); in VisitParenExpr() 5103 Expr *SubExpr = Importer.Import(E->getSubExpr()); in VisitUnaryOperator() local 5104 if (!SubExpr) in VisitUnaryOperator() 5107 return new (Importer.getToContext()) UnaryOperator(SubExpr, E->getOpcode(), in VisitUnaryOperator() 5128 Expr *SubExpr = Importer.Import(E->getArgumentExpr()); in VisitUnaryExprOrTypeTraitExpr() local 5129 if (!SubExpr) in VisitUnaryExprOrTypeTraitExpr() 5133 SubExpr, ResultType, in VisitUnaryExprOrTypeTraitExpr() 5200 Expr *SubExpr = Importer.Import(E->getSubExpr()); in VisitImplicitCastExpr() local [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 128 EvalResult unexpectedToken(StringRef TokenStart, StringRef SubExpr, in unexpectedToken() argument 132 if (SubExpr != "") { in unexpectedToken() 134 ErrorMsg += SubExpr; in unexpectedToken()
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 64 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()
|
D | CGException.cpp | 405 if (const Expr *SubExpr = E->getSubExpr()) { in EmitCXXThrowExpr() local 406 QualType ThrowType = SubExpr->getType(); in EmitCXXThrowExpr()
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 2234 ExprResult SubExpr = ParseCastExpression(/*isUnaryExpression=*/false); in ParseParenExpression() local 2236 if (Ty.isInvalid() || SubExpr.isInvalid()) in ParseParenExpression() 2241 RParenLoc, SubExpr.get()); in ParseParenExpression()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 966 E->SubExpr = Reader.ReadSubStmt(); in VisitObjCBoxedExpr() 1285 E->SubExpr = Reader.ReadSubExpr(); in VisitCXXStdInitializerListExpr() 1448 E->SubExpr = Reader.ReadSubExpr(); in VisitExprWithCleanups() 3195 Expr *SubExpr = ReadSubExpr(); in ReadStmtFromStream() local 3197 SubExpr); in ReadStmtFromStream()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 2488 const SCEV *SubExpr = *I; in getExprBase() local 2489 if (SubExpr->getSCEVType() == scAddExpr) in getExprBase() 2490 return getExprBase(SubExpr); in getExprBase() 2492 if (SubExpr->getSCEVType() != scMulExpr) in getExprBase() 2493 return SubExpr; in getExprBase()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 2681 const Expr *SubExpr = ICE->IgnoreParenImpCasts(); in RewriteObjCBoxedExpr() local 2683 if (SubExpr->getType()->isIntegralType(*Context) && type->isBooleanType()) in RewriteObjCBoxedExpr() 3476 const Expr *SubExpr = ICE->IgnoreParenImpCasts(); in SynthMessageExpr() local 3478 if (SubExpr->getType()->isIntegralType(*Context) && in SynthMessageExpr() 3482 if (SubExpr->getType()->isBlockPointerType()) { in SynthMessageExpr() 3484 } else if (SubExpr->getType()->isPointerType()) { in SynthMessageExpr()
|