/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCExpr.cpp | 129 cast<MipsMCExpr>(cast<MipsMCExpr>(getSubExpr())->getSubExpr()) in evaluateAsRelocatableImpl() 130 ->getSubExpr(); in evaluateAsRelocatableImpl() 139 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl() 206 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr() 212 fixELFSymbolsInTLSFixupsImpl(cast<MipsMCExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl() 230 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl() 263 if (const MipsMCExpr *E = dyn_cast<const MipsMCExpr>(getSubExpr())) in fixELFSymbolsInTLSFixups() 270 fixELFSymbolsInTLSFixupsImpl(getSubExpr(), Asm); in fixELFSymbolsInTLSFixups() 277 if (const MipsMCExpr *S1 = dyn_cast<const MipsMCExpr>(getSubExpr())) { in isGpOff() 278 if (const MipsMCExpr *S2 = dyn_cast<const MipsMCExpr>(S1->getSubExpr())) { in isGpOff()
|
D | MipsMCExpr.h | 67 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 74 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
|
/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, MAI); in printImpl() 40 getSubExpr()->print(OS, MAI); 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()->findAssociatedFragment(); in findAssociatedFragment()
|
/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() 1199 CEE = UO->getSubExpr()->IgnoreParenCasts(); in getCalleeDecl() 1252 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()); in getBuiltinCallee() 1497 assert(getSubExpr()->getType()->isPointerType()); in CastConsistency() 1502 assert(getSubExpr()->getType()->isBlockPointerType()); in CastConsistency() 1507 assert(getSubExpr()->getType()->isMemberPointerType()); in CastConsistency() 1516 getSubExpr()->getType()->isObjCObjectPointerType()); in CastConsistency() [all …]
|
D | ExprConstant.cpp | 4237 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitParenExpr() 4239 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitUnaryExtension() 4241 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitUnaryPlus() 4259 { return StmtVisitorTy::Visit(E->getSubExpr()); } in VisitExprWithCleanups() 4485 if (!EvaluateAtomic(E->getSubExpr(), AtomicVal, Info)) in VisitCastExpr() 4492 return StmtVisitorTy::Visit(E->getSubExpr()); in VisitCastExpr() 4496 if (!EvaluateLValue(E->getSubExpr(), LVal, Info)) in VisitCastExpr() 4500 if (!handleLValueToRValueConversion(Info, E, E->getSubExpr()->getType(), in VisitCastExpr() 4521 if (!EvaluateLValue(UO->getSubExpr(), LVal, Info)) in VisitUnaryPostIncDec() 4524 if (!handleIncDec(this->Info, UO, LVal, UO->getSubExpr()->getType(), in VisitUnaryPostIncDec() [all …]
|
D | ExprClassification.cpp | 227 return ClassifyInternal(Ctx, cast<UnaryOperator>(E)->getSubExpr()); in ClassifyInternal() 233 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal() 269 return ClassifyInternal(Ctx, cast<ParenExpr>(E)->getSubExpr()); in ClassifyInternal() 316 return ClassifyInternal(Ctx, cast<CXXBindTemporaryExpr>(E)->getSubExpr()); in ClassifyInternal() 320 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal() 591 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
|
D | StmtPrinter.cpp | 1384 PrintExpr(Node->getSubExpr()); in VisitImaginaryLiteral() 1393 PrintExpr(Node->getSubExpr()); in VisitParenExpr() 1411 if (isa<UnaryOperator>(Node->getSubExpr())) in VisitUnaryOperator() 1416 PrintExpr(Node->getSubExpr()); in VisitUnaryOperator() 1578 PrintExpr(Node->getSubExpr()); in VisitCStyleCastExpr() 1588 PrintExpr(Node->getSubExpr()); in VisitImplicitCastExpr() 1749 PrintExpr(Node->getSubExpr()); in VisitVAArgExpr() 1869 PrintExpr(Node->getSubExpr()); in VisitCXXNamedCastExpr() 1987 if (!Node->getSubExpr()) in VisitCXXThrowExpr() 1991 PrintExpr(Node->getSubExpr()); in VisitCXXThrowExpr() [all …]
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCExpr.cpp | 85 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr() 95 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl() 128 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl() 144 fixELFSymbolsInTLSFixupsImpl(getSubExpr(), Asm); in fixELFSymbolsInTLSFixups()
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCExpr.cpp | 41 const MCExpr *Expr = getSubExpr(); in printImpl() 47 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr() 53 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl()
|
D | LanaiMCExpr.h | 37 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 44 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCExpr.cpp | 37 const MCExpr *Expr = getSubExpr(); in printImpl() 162 return getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup); in evaluateAsRelocatableImpl() 188 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl() 216 fixELFSymbolsInTLSFixupsImpl(getSubExpr(), Asm); in fixELFSymbolsInTLSFixups() 220 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
|
D | SparcMCExpr.h | 82 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function 94 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 29 const MCExpr *Expr = getSubExpr(); in PrintImpl() 66 AddValueSymbols_(cast<MCUnaryExpr>(Value)->getSubExpr(), Asm); in AddValueSymbols_() 72 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/CodeGen/ |
D | CGExprAgg.cpp | 110 void VisitParenExpr(ParenExpr *PE) { Visit(PE->getSubExpr()); } in VisitParenExpr() 114 void VisitUnaryExtension(UnaryOperator *E) { Visit(E->getSubExpr()); } in VisitUnaryExtension() 320 LValue Array = CGF.EmitLValue(E->getSubExpr()); in VisitCXXStdInitializerListExpr() 325 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr() 567 return castE->getSubExpr(); in findPeephole() 582 LValue LV = CGF.EmitCheckedLValue(E->getSubExpr(), in VisitCastExpr() 598 CGF.EmitAnyExpr(E->getSubExpr(), AggValueSlot::ignored(), in VisitCastExpr() 604 QualType Ty = E->getSubExpr()->getType(); in VisitCastExpr() 607 EmitInitializationToLValue(E->getSubExpr(), in VisitCastExpr() 624 QualType atomicType = E->getSubExpr()->getType(); 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() 159 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr() 167 LValue LV = CGF.EmitLValue(E->getSubExpr()); in VisitPrePostIncDec() 186 return Visit(E->getSubExpr()); in VisitUnaryPlus() 192 return Visit(E->getSubExpr()); in VisitUnaryExtension() 204 return Visit(E->getSubExpr()); in VisitExprWithCleanups() 374 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral() 508 ComplexPairTy Op = Visit(E->getSubExpr()); in VisitUnaryMinus() 525 ComplexPairTy Op = Visit(E->getSubExpr()); in VisitUnaryNot()
|
/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() 121 return Visit(E->getSubExpr()); in VisitImplicitCastExpr() 125 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 | 164 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl() 170 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl() 176 CXXBindTemporaryExpr *Ex6 = dyn_cast<CXXBindTemporaryExpr>(Ex5->getSubExpr()); in VisitVarDecl()
|
/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()->findAssociatedFragment(); in findAssociatedFragment()
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 176 AttrExp = UO->getSubExpr(); in translateAttrExpr() 237 return translate(cast<ParenExpr>(S)->getSubExpr(), Ctx); in translate() 239 return translate(cast<ExprWithCleanups>(S)->getSubExpr(), Ctx); in translate() 241 return translate(cast<CXXBindTemporaryExpr>(S)->getSubExpr(), Ctx); in translate() 416 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator() 426 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator() 432 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator() 436 til::UnaryOp(til::UOP_Minus, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator() 439 til::UnaryOp(til::UOP_BitNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator() 442 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()
|