/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 95 Expr *castExpr = E->getSubExpr(); in VisitCastExpr() 127 if (E->getSubExpr()->getType()->isPointerType()) { in transformNonObjCToObjCCast() 147 ento::cocoa::isRefType(E->getSubExpr()->getType(), "CF", in transformNonObjCToObjCCast() 162 const Expr *sub = ICE->getSubExpr(); in transformNonObjCToObjCCast() 234 SourceLocation insertLoc = E->getSubExpr()->getLocStart(); in rewriteToBridgedCast() 241 if (isa<ParenExpr>(E->getSubExpr())) { in rewriteToBridgedCast() 253 Expr *WrapE = E->getSubExpr(); in rewriteToBridgedCast() 288 SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange(); in getBlockMacroRanges() 354 if (isSelf(E->getSubExpr())) in transformObjCToNonObjCCast() 361 ObjCMethodFamily family = getFamilyOfMessage(E->getSubExpr()); in transformObjCToNonObjCCast() [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCExpr.cpp | 37 getSubExpr()->print(OS); in PrintImpl() 40 getSubExpr()->print(OS); in PrintImpl() 59 if (!getSubExpr()->EvaluateAsRelocatable(Value, nullptr, nullptr)) in EvaluateAsConstant() 98 if (!getSubExpr()->EvaluateAsRelocatable(Value, Layout, Fixup)) in EvaluateAsRelocatableImpl() 149 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
|
D | PPCMCExpr.h | 72 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 86 return getSubExpr()->FindAssociatedSection(); in FindAssociatedSection()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCExpr.cpp | 86 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr() 96 if (!getSubExpr()->EvaluateAsRelocatable(Res, Layout, Fixup)) in EvaluateAsRelocatableImpl() 130 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl() 146 fixELFSymbolsInTLSFixupsImpl(getSubExpr(), Asm); in fixELFSymbolsInTLSFixups()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCExpr.cpp | 41 const MCExpr *Expr = getSubExpr(); in PrintImpl() 166 return getSubExpr()->EvaluateAsRelocatable(Res, Layout, Fixup); in EvaluateAsRelocatableImpl() 193 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl() 221 fixELFSymbolsInTLSFixupsImpl(getSubExpr(), Asm); in fixELFSymbolsInTLSFixups() 225 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
|
D | SparcMCExpr.h | 82 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 94 return getSubExpr()->FindAssociatedSection(); in FindAssociatedSection()
|
D | SparcMCCodeEmitter.cpp | 153 assert(SExpr && SExpr->getSubExpr()->getKind() == MCExpr::SymbolRef && in getCallTargetOpValue() 155 const MCSymbolRefExpr *SymExpr = cast<MCSymbolRefExpr>(SExpr->getSubExpr()); in getCallTargetOpValue()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 65 E = CE->getSubExpr(); in skipRValueSubobjectAdjustments() 73 E = CE->getSubExpr(); in skipRValueSubobjectAdjustments() 123 return UO->getSubExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue() 134 return CE->getSubExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue() 1174 CEE = UO->getSubExpr()->IgnoreParenCasts(); in getCalleeDecl() 1227 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()); in getBuiltinCallee() 1474 assert(getSubExpr()->getType()->isPointerType()); in CastConsistency() 1479 assert(getSubExpr()->getType()->isBlockPointerType()); in CastConsistency() 1484 assert(getSubExpr()->getType()->isMemberPointerType()); in CastConsistency() 1493 getSubExpr()->getType()->isObjCObjectPointerType()); in CastConsistency() [all …]
|
D | ExprConstant.cpp | 3986 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitParenExpr() 3988 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitUnaryExtension() 3990 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitUnaryPlus() 4008 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitExprWithCleanups() 4227 if (!EvaluateAtomic(E->getSubExpr(), AtomicVal, Info)) in VisitCastExpr() 4234 return StmtVisitorTy::Visit(E->getSubExpr()); in VisitCastExpr() 4238 if (!EvaluateLValue(E->getSubExpr(), LVal, Info)) in VisitCastExpr() 4242 if (!handleLValueToRValueConversion(Info, E, E->getSubExpr()->getType(), in VisitCastExpr() 4263 if (!EvaluateLValue(UO->getSubExpr(), LVal, Info)) in VisitUnaryPostIncDec() 4266 if (!handleIncDec(this->Info, UO, LVal, UO->getSubExpr()->getType(), in VisitUnaryPostIncDec() [all …]
|
D | StmtPrinter.cpp | 1114 PrintExpr(Node->getSubExpr()); in VisitImaginaryLiteral() 1123 PrintExpr(Node->getSubExpr()); in VisitParenExpr() 1141 if (isa<UnaryOperator>(Node->getSubExpr())) in VisitUnaryOperator() 1146 PrintExpr(Node->getSubExpr()); in VisitUnaryOperator() 1292 PrintExpr(Node->getSubExpr()); in VisitCStyleCastExpr() 1302 PrintExpr(Node->getSubExpr()); in VisitImplicitCastExpr() 1443 PrintExpr(Node->getSubExpr()); in VisitVAArgExpr() 1563 PrintExpr(Node->getSubExpr()); in VisitCXXNamedCastExpr() 1674 if (!Node->getSubExpr()) in VisitCXXThrowExpr() 1678 PrintExpr(Node->getSubExpr()); in VisitCXXThrowExpr() [all …]
|
D | ExprClassification.cpp | 222 return ClassifyInternal(Ctx, cast<UnaryOperator>(E)->getSubExpr()); in ClassifyInternal() 228 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal() 264 return ClassifyInternal(Ctx, cast<ParenExpr>(E)->getSubExpr()); in ClassifyInternal() 311 return ClassifyInternal(Ctx, cast<CXXBindTemporaryExpr>(E)->getSubExpr()); in ClassifyInternal() 315 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal() 582 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 109 void VisitParenExpr(ParenExpr *PE) { Visit(PE->getSubExpr()); } in VisitParenExpr() 113 void VisitUnaryExtension(UnaryOperator *E) { Visit(E->getSubExpr()); } in VisitUnaryExtension() 319 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr() 324 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr() 560 return castE->getSubExpr(); in findPeephole() 573 LValue LV = CGF.EmitCheckedLValue(E->getSubExpr(), in VisitCastExpr() 590 QualType Ty = E->getSubExpr()->getType(); in VisitCastExpr() 594 EmitInitializationToLValue(E->getSubExpr(), in VisitCastExpr() 611 QualType atomicType = E->getSubExpr()->getType(); in VisitCastExpr() 622 return Visit(E->getSubExpr()); in VisitCastExpr() [all …]
|
D | CGExprComplex.cpp | 107 ComplexPairTy VisitParenExpr(ParenExpr *PE) { return Visit(PE->getSubExpr());} in VisitParenExpr() 154 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr() 157 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr() 165 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec() 184 return Visit(E->getSubExpr()); in VisitUnaryPlus() 190 return Visit(E->getSubExpr()); in VisitUnaryExtension() 202 return Visit(E->getSubExpr()); in VisitExprWithCleanups() 374 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral() 507 ComplexPairTy Op = Visit(E->getSubExpr()); in VisitUnaryMinus() 524 ComplexPairTy Op = Visit(E->getSubExpr()); in VisitUnaryNot() [all …]
|
D | CGExpr.cpp | 686 !isFlexibleArrayMemberExpr(CE->getSubExpr())) { in getArrayIndexingBound() 687 IndexedType = CE->getSubExpr()->getType(); in getArrayIndexingBound() 862 return EmitLValue(cast<ParenExpr>(E)->getSubExpr()); in EmitLValue() 889 return EmitLValue(cleanups->getSubExpr()); in EmitLValue() 1766 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1771 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1790 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1795 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 1800 setObjCGCLValueClass(Ctx, Exp->getSubExpr(), LV, IsMemberAccess); in setObjCGCLValueClass() 2040 return EmitLValue(E->getSubExpr()); in EmitUnaryOpLValue() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocSizeofChecker.cpp | 75 return Visit(E->getSubExpr()); in VisitCastExpr() 80 Visit(E->getSubExpr()).second); in VisitExplicitCastExpr() 84 return Visit(E->getSubExpr()); in VisitParenExpr() 122 return Visit(E->getSubExpr()); in VisitImplicitCastExpr() 126 return Visit(E->getSubExpr()); in VisitParenExpr()
|
D | TestAfterDivZeroChecker.cpp | 237 dyn_cast<ImplicitCastExpr>(U->getSubExpr())) in checkBranchCondition() 238 Val = C.getSVal(I->getSubExpr()); in checkBranchCondition() 243 Val = C.getSVal(U->getSubExpr()); in checkBranchCondition() 250 SVal Val = C.getSVal(IE->getSubExpr()); in checkBranchCondition()
|
D | LLVMConventionsChecker.cpp | 165 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl() 171 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl() 177 CXXBindTemporaryExpr *Ex6 = dyn_cast<CXXBindTemporaryExpr>(Ex5->getSubExpr()); in VisitVarDecl()
|
D | DeadStoresChecker.cpp | 308 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt() 331 E = exprClean->getSubExpr(); in observeStmt() 410 const Expr *E = U->getSubExpr()->IgnoreParenCasts(); in operator ()()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 31 const MCExpr *Expr = getSubExpr(); in PrintImpl() 40 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
|
D | ARMMCExpr.h | 55 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 67 return getSubExpr()->FindAssociatedSection(); in FindAssociatedSection()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCExpr.h | 47 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 55 return getSubExpr()->FindAssociatedSection(); in FindAssociatedSection()
|
D | MipsMCExpr.cpp | 85 return getSubExpr()->EvaluateAsRelocatable(Res, Layout, Fixup); in EvaluateAsRelocatableImpl() 89 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 179 AttrExp = UO->getSubExpr(); in translateAttrExpr() 242 return translate(cast<ParenExpr>(S)->getSubExpr(), Ctx); in translate() 244 return translate(cast<ExprWithCleanups>(S)->getSubExpr(), Ctx); in translate() 246 return translate(cast<CXXBindTemporaryExpr>(S)->getSubExpr(), Ctx); in translate() 427 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator() 437 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator() 443 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator() 447 til::UnaryOp(til::UOP_Minus, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator() 450 til::UnaryOp(til::UOP_BitNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator() 453 til::UnaryOp(til::UOP_LogicNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator() [all …]
|
D | ReachableCode.cpp | 173 return isConfigurationValue(PE->getSubExpr(), PP, SilenceableCondVal, in isConfigurationValue() 222 isConfigurationValue(UO->getSubExpr(), PP, SilenceableCondVal, in isConfigurationValue() 519 R1 = UO->getSubExpr()->getSourceRange(); in GetUnreachableLoc() 547 R1 = CSC->getSubExpr()->getSourceRange(); in GetUnreachableLoc() 552 R1 = CE->getSubExpr()->getSourceRange(); in GetUnreachableLoc() 560 R1 = CSC->getSubExpr()->getSourceRange(); in GetUnreachableLoc()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Environment.cpp | 32 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs() 35 E = cast<CXXBindTemporaryExpr>(E)->getSubExpr(); in ignoreTransparentExprs()
|