/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 74 Expr *castExpr = E->getSubExpr(); in VisitCastExpr() 110 if (E->getSubExpr()->getType()->isPointerType()) { in transformNonObjCToObjCCast() 130 ento::cocoa::isRefType(E->getSubExpr()->getType(), "CF", in transformNonObjCToObjCCast() 145 const Expr *sub = ICE->getSubExpr(); in transformNonObjCToObjCCast() 217 SourceLocation insertLoc = E->getSubExpr()->getLocStart(); in rewriteToBridgedCast() 224 if (isa<ParenExpr>(E->getSubExpr())) { in rewriteToBridgedCast() 236 Expr *WrapE = E->getSubExpr(); in rewriteToBridgedCast() 266 if (isSelf(E->getSubExpr())) in transformObjCToNonObjCCast() 273 ObjCMethodFamily family = getFamilyOfMessage(E->getSubExpr()); in transformObjCToNonObjCCast() 285 E->getSubExpr()->getSourceRange()); in transformObjCToNonObjCCast() [all …]
|
/external/clang/lib/AST/ |
D | Expr.cpp | 66 return UO->getSubExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue() 75 return CE->getSubExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue() 1011 CEE = UO->getSubExpr()->IgnoreParenCasts(); in getCalleeDecl() 1064 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()); in isBuiltinCall() 1278 assert(getSubExpr()->getType()->isPointerType()); in CheckCastConsistency() 1283 assert(getSubExpr()->getType()->isBlockPointerType()); in CheckCastConsistency() 1288 assert(getSubExpr()->getType()->isMemberPointerType()); in CheckCastConsistency() 1297 getSubExpr()->getType()->isObjCObjectPointerType()); in CheckCastConsistency() 1299 getSubExpr()->getType()->isBlockPointerType()); in CheckCastConsistency() 1305 assert(getSubExpr()->getType()->isAnyPointerType() && in CheckCastConsistency() [all …]
|
D | ExprConstant.cpp | 2378 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitParenExpr() 2380 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitUnaryExtension() 2382 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitUnaryPlus() 2394 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitExprWithCleanups() 2616 return StmtVisitorTy::Visit(E->getSubExpr()); in VisitCastExpr() 2620 if (!EvaluateLValue(E->getSubExpr(), LVal, Info)) in VisitCastExpr() 2624 if (!HandleLValueToRValueConversion(Info, E, E->getSubExpr()->getType(), in VisitCastExpr() 2729 if (!this->Visit(E->getSubExpr())) in VisitCastExpr() 2734 QualType Type = E->getSubExpr()->getType(); in VisitCastExpr() 2808 if (!Visit(E->getSubExpr())) in VisitCastExpr() [all …]
|
D | StmtPrinter.cpp | 744 PrintExpr(Node->getSubExpr()); in VisitImaginaryLiteral() 753 PrintExpr(Node->getSubExpr()); in VisitParenExpr() 771 if (isa<UnaryOperator>(Node->getSubExpr())) in VisitUnaryOperator() 776 PrintExpr(Node->getSubExpr()); in VisitUnaryOperator() 911 PrintExpr(Node->getSubExpr()); in VisitCStyleCastExpr() 919 PrintExpr(Node->getSubExpr()); in VisitImplicitCastExpr() 1046 PrintExpr(Node->getSubExpr()); in VisitVAArgExpr() 1156 PrintExpr(Node->getSubExpr()); in VisitCXXNamedCastExpr() 1242 if (Node->getSubExpr() == 0) in VisitCXXThrowExpr() 1246 PrintExpr(Node->getSubExpr()); in VisitCXXThrowExpr() [all …]
|
D | ExprClassification.cpp | 220 return ClassifyInternal(Ctx, cast<UnaryOperator>(E)->getSubExpr()); in ClassifyInternal() 226 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal() 262 return ClassifyInternal(Ctx, cast<ParenExpr>(E)->getSubExpr()); in ClassifyInternal() 302 return ClassifyInternal(Ctx, cast<CXXBindTemporaryExpr>(E)->getSubExpr()); in ClassifyInternal() 306 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal() 560 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 29 const MCExpr *Expr = getSubExpr(); in PrintImpl() 65 AddValueSymbols_(cast<MCUnaryExpr>(Value)->getSubExpr(), Asm); in AddValueSymbols_() 71 AddValueSymbols_(getSubExpr(), Asm); in AddValueSymbols()
|
D | ARMMCExpr.h | 55 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 64 return getSubExpr()->FindAssociatedSection(); in FindAssociatedSection()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocSizeofChecker.cpp | 74 return Visit(E->getSubExpr()); in VisitCastExpr() 79 Visit(E->getSubExpr()).second); in VisitExplicitCastExpr() 83 return Visit(E->getSubExpr()); in VisitParenExpr() 122 return Visit(E->getSubExpr()); in VisitImplicitCastExpr() 126 return Visit(E->getSubExpr()); in VisitParenExpr()
|
D | LLVMConventionsChecker.cpp | 160 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl() 166 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl() 172 CXXBindTemporaryExpr *Ex6 = dyn_cast<CXXBindTemporaryExpr>(Ex5->getSubExpr()); in VisitVarDecl()
|
D | DeadStoresChecker.cpp | 301 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt() 326 E = exprClean->getSubExpr(); in observeStmt() 401 Expr *E = U->getSubExpr()->IgnoreParenCasts(); in VisitUnaryOperator()
|
D | CastToStructChecker.cpp | 36 const Expr *E = CE->getSubExpr(); in checkPreStmt()
|
D | CastSizeChecker.cpp | 33 const Expr *E = CE->getSubExpr(); in checkPreStmt()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 103 ComplexPairTy VisitParenExpr(ParenExpr *PE) { return Visit(PE->getSubExpr());} in VisitParenExpr() 149 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr() 152 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr() 160 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec() 179 return Visit(E->getSubExpr()); in VisitUnaryPlus() 185 return Visit(E->getSubExpr()); in VisitUnaryExtension() 193 return Visit(E->getSubExpr()); in VisitExprWithCleanups() 336 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral() 458 ComplexPairTy Op = Visit(E->getSubExpr()); in VisitUnaryMinus() 475 ComplexPairTy Op = Visit(E->getSubExpr()); in VisitUnaryNot() [all …]
|
D | CGExprAgg.cpp | 105 void VisitParenExpr(ParenExpr *PE) { Visit(PE->getSubExpr()); } in VisitParenExpr() 109 void VisitUnaryExtension(UnaryOperator *E) { Visit(E->getSubExpr()); } in VisitUnaryExtension() 554 LValue LV = CGF.EmitCheckedLValue(E->getSubExpr(), in VisitCastExpr() 571 QualType Ty = E->getSubExpr()->getType(); in VisitCastExpr() 575 EmitInitializationToLValue(E->getSubExpr(), in VisitCastExpr() 590 if (E->getSubExpr()->getType().isVolatileQualified()) { in VisitCastExpr() 592 return Visit(E->getSubExpr()); in VisitCastExpr() 601 assert(CGF.getContext().hasSameUnqualifiedType(E->getSubExpr()->getType(), in VisitCastExpr() 604 Visit(E->getSubExpr()); in VisitCastExpr() 740 return isBlockVarRef(cast->getSubExpr()); in isBlockVarRef() [all …]
|
D | CGExpr.cpp | 265 return EmitExprForReferenceBinding(CGF, EWC->getSubExpr(), in EmitExprForReferenceBinding() 347 E = CE->getSubExpr(); in EmitExprForReferenceBinding() 355 E = CE->getSubExpr(); in EmitExprForReferenceBinding() 730 return EmitLValue(cast<ParenExpr>(E)->getSubExpr()); in EmitLValue() 755 return EmitLValue(cleanups->getSubExpr()); in EmitLValue() 1569 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1574 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1593 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1598 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1603 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() [all …]
|
D | CGCUDARuntime.cpp | 41 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in EmitCUDAKernelCallExpr()
|
D | CGExprScalar.cpp | 163 return Visit(PE->getSubExpr()); in VisitParenExpr() 280 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPostDec() 284 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPostInc() 288 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPreDec() 292 LValue LV = EmitLValue(E->getSubExpr()); in VisitUnaryPreInc() 309 return EmitLValue(E->getSubExpr()).getAddress(); in VisitUnaryAddrOf() 313 return Visit(E->getSubExpr()); // the actual value should be unused in VisitUnaryDeref() 319 return Visit(E->getSubExpr()); in VisitUnaryPlus() 327 return Visit(E->getSubExpr()); in VisitUnaryExtension() 345 return Visit(E->getSubExpr()); in VisitExprWithCleanups() [all …]
|
D | CGObjC.cpp | 61 const Expr *SubExpr = E->getSubExpr(); in EmitObjCBoxedExpr() 233 receiver = ice->getSubExpr()->IgnoreParens(); in shouldExtendReceiverForInnerPointerMessage() 244 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage() 2403 return shouldEmitSeparateBlockRetain(cast->getSubExpr()); in shouldEmitSeparateBlockRetain() 2474 return tryEmitARCRetainScalarExpr(CGF, cleanups->getSubExpr()); in tryEmitARCRetainScalarExpr() 2490 e = ce->getSubExpr(); in tryEmitARCRetainScalarExpr() 2495 = tryEmitARCRetainLoadOfScalar(CGF, ce->getSubExpr()); in tryEmitARCRetainScalarExpr() 2513 e = ce->getSubExpr(); in tryEmitARCRetainScalarExpr() 2520 llvm::Value *result = CGF.EmitScalarExpr(ce->getSubExpr()); in tryEmitARCRetainScalarExpr() 2533 if (shouldEmitSeparateBlockRetain(ce->getSubExpr())) { in tryEmitARCRetainScalarExpr() [all …]
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 196 R1 = UO->getSubExpr()->getSourceRange(); in GetUnreachableLoc() 224 R1 = CSC->getSubExpr()->getSourceRange(); in GetUnreachableLoc() 229 R1 = CE->getSubExpr()->getSourceRange(); in GetUnreachableLoc() 237 R1 = CSC->getSubExpr()->getSourceRange(); in GetUnreachableLoc()
|
D | ThreadSafety.cpp | 383 return buildSExpr(UOE->getSubExpr(), CallCtx, NDeref); in buildSExpr() 386 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UOE->getSubExpr())) { in buildSExpr() 397 return buildSExpr(UOE->getSubExpr(), CallCtx, NDeref); in buildSExpr() 400 unsigned Sz = buildSExpr(UOE->getSubExpr(), CallCtx); in buildSExpr() 425 return buildSExpr(CE->getSubExpr(), CallCtx, NDeref); in buildSExpr() 427 return buildSExpr(PE->getSubExpr(), CallCtx, NDeref); in buildSExpr() 429 return buildSExpr(EWC->getSubExpr(), CallCtx, NDeref); in buildSExpr() 431 return buildSExpr(E->getSubExpr(), CallCtx, NDeref); in buildSExpr() 1565 return getStaticBooleanValue(CE->getSubExpr(), TCond); in getStaticBooleanValue() 1584 return getTrylockCallExpr(PE->getSubExpr(), C, Negate); in getTrylockCallExpr() [all …]
|
D | LiveVariables.cpp | 241 S = EWC->getSubExpr(); in LookThroughStmt() 319 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit() 323 S = cast<CXXBindTemporaryExpr>(S)->getSubExpr(); in Visit() 444 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator()
|
D | UninitializedValues.cpp | 268 Ex = CE->getSubExpr(); in stripCasts() 378 classify(UO->getSubExpr(), Use); in VisitUnaryOperator() 393 classify(CE->getSubExpr(), Use); in VisitCastExpr() 399 classify(CSE->getSubExpr(), Ignore); in VisitCastExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Environment.cpp | 94 E = cast<ExprWithCleanups>(E)->getSubExpr(); in getSVal() 97 E = cast<CXXBindTemporaryExpr>(E)->getSubExpr(); in getSVal()
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 697 return VisitExpr(expr->getSubExpr(), env); in DECL_VISIT_EXPR() 720 return VisitExpr(expr->getSubExpr(), env); in DECL_VISIT_EXPR() 724 return VisitExpr(expr->getSubExpr(), env); in DECL_VISIT_EXPR() 740 return VisitExpr(expr->getSubExpr(), env); in DECL_VISIT_EXPR() 756 if (IsRawPointerVar(expr->getSubExpr(), &var_name)) { in DECL_VISIT_EXPR() 760 return VisitExpr(expr->getSubExpr(), env); in DECL_VISIT_EXPR() 764 return VisitExpr(expr->getSubExpr(), env); in DECL_VISIT_EXPR()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 337 Writer.AddStmt(E->getSubExpr()); in VisitImaginaryLiteral() 372 Writer.AddStmt(E->getSubExpr()); in VisitParenExpr() 388 Writer.AddStmt(E->getSubExpr()); in VisitUnaryOperator() 509 Writer.AddStmt(E->getSubExpr()); in VisitObjCIndirectCopyRestoreExpr() 525 Writer.AddStmt(E->getSubExpr()); in VisitCastExpr() 637 Writer.AddStmt(E->getSubExpr(I)); in VisitDesignatedInitExpr() 677 Writer.AddStmt(E->getSubExpr()); in VisitVAArgExpr() 790 Writer.AddStmt(E->getSubExpr()); in VisitObjCBoxedExpr() 1193 Writer.AddStmt(E->getSubExpr()); in VisitCXXThrowExpr() 1215 Writer.AddStmt(E->getSubExpr()); in VisitCXXBindTemporaryExpr() [all …]
|