Home
last modified time | relevance | path

Searched refs:getSubExpr (Results 1 – 25 of 131) sorted by relevance

123456

/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp129 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()
DMipsMCExpr.h67 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function
74 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp95 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/
DPPCMCExpr.cpp37 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()
DPPCMCExpr.h72 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function
86 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
/external/clang/lib/AST/
DExpr.cpp65 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 …]
DExprConstant.cpp4237 { 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 …]
DExprClassification.cpp227 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()
DStmtPrinter.cpp1384 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/
DAArch64MCExpr.cpp85 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/
DLanaiMCExpr.cpp41 const MCExpr *Expr = getSubExpr(); in printImpl()
47 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
53 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) in evaluateAsRelocatableImpl()
DLanaiMCExpr.h37 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function
44 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp37 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()
DSparcMCExpr.h82 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function
94 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.cpp29 const MCExpr *Expr = getSubExpr(); in PrintImpl()
66 AddValueSymbols_(cast<MCUnaryExpr>(Value)->getSubExpr(), Asm); in AddValueSymbols_()
72 AddValueSymbols_(getSubExpr(), Asm); in AddValueSymbols()
DARMMCExpr.h55 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function
64 return getSubExpr()->FindAssociatedSection(); in FindAssociatedSection()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp110 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 …]
DCGExprComplex.cpp107 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/
DMallocSizeofChecker.cpp74 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()
DTestAfterDivZeroChecker.cpp237 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()
DLLVMConventionsChecker.cpp164 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/
DARMMCExpr.cpp31 const MCExpr *Expr = getSubExpr(); in printImpl()
40 Streamer.visitUsedExpr(*getSubExpr()); in visitUsedExpr()
DARMMCExpr.h55 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() function
67 return getSubExpr()->findAssociatedFragment(); in findAssociatedFragment()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp176 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 …]
DReachableCode.cpp173 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()

123456