Home
last modified time | relevance | path

Searched refs:UO (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/lib/Sema/
DSemaFixItUtils.cpp106 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Expr)) { in tryToFixConversion() local
107 if (UO->getOpcode() == UO_AddrOf) { in tryToFixConversion()
140 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Expr)) { in tryToFixConversion() local
141 if (UO->getOpcode() == UO_Deref) { in tryToFixConversion()
DSemaChecking.cpp5919 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in GetExprRange() local
5920 switch (UO->getOpcode()) { in GetExprRange()
5931 return GetExprRange(C, UO->getSubExpr(), MaxWidth); in GetExprRange()
7050 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in DiagnoseAlwaysNonNullPointer() local
7051 if (UO->getOpcode() != UO_AddrOf) in DiagnoseAlwaysNonNullPointer()
7054 E = UO->getSubExpr(); in DiagnoseAlwaysNonNullPointer()
7396 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in getObject() local
7397 if (Mod && (UO->getOpcode() == UO_PreInc || UO->getOpcode() == UO_PreDec)) in getObject()
7398 return getObject(UO->getSubExpr(), Mod); in getObject()
7560 void VisitUnaryPreInc(UnaryOperator *UO) { VisitUnaryPreIncDec(UO); } in VisitUnaryPreInc() argument
[all …]
DSemaExpr.cpp526 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParenCasts())) in CheckForNullPointerDereference() local
527 if (UO->getOpcode() == UO_Deref && in CheckForNullPointerDereference()
528 UO->getSubExpr()->IgnoreParenCasts()-> in CheckForNullPointerDereference()
530 !UO->getType().isVolatileQualified()) { in CheckForNullPointerDereference()
531 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
533 << UO->getSubExpr()->getSourceRange()); in CheckForNullPointerDereference()
534 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
8299 UnaryOperator *UO = dyn_cast<UnaryOperator>(LHS.get()->IgnoreImpCasts()); in diagnoseLogicalNotOnLHSofComparison() local
8300 if (!UO || UO->getOpcode() != UO_LNot) return; in diagnoseLogicalNotOnLHSofComparison()
8306 Expr *SubExpr = UO->getSubExpr()->IgnoreImpCasts(); in diagnoseLogicalNotOnLHSofComparison()
[all …]
DSemaExprMember.cpp1376 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(BaseExp)) in LookupMemberExpr() local
1377 if (UO->getOpcode() == UO_Deref) in LookupMemberExpr()
1378 BaseExp = UO->getSubExpr()->IgnoreParenCasts(); in LookupMemberExpr()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp139 const UnaryOperator *UO = cast<UnaryOperator>(Head); in RunAnalysis() local
142 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); in RunAnalysis()
149 switch (UO->getOpcode()) { in RunAnalysis()
DThreadSafetyCommon.cpp176 else if (auto *UO = dyn_cast<UnaryOperator>(AttrExp)) { in translateAttrExpr() local
177 if (UO->getOpcode() == UO_LNot) { in translateAttrExpr()
179 AttrExp = UO->getSubExpr(); in translateAttrExpr()
415 til::SExpr *SExprBuilder::translateUnaryOperator(const UnaryOperator *UO, in translateUnaryOperator() argument
417 switch (UO->getOpcode()) { in translateUnaryOperator()
422 return new (Arena) til::Undefined(UO); in translateUnaryOperator()
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()
[all …]
DReachableCode.cpp218 const UnaryOperator *UO = cast<UnaryOperator>(S); in isConfigurationValue() local
220 *SilenceableCondVal = UO->getSourceRange(); in isConfigurationValue()
221 return UO->getOpcode() == UO_LNot && in isConfigurationValue()
222 isConfigurationValue(UO->getSubExpr(), PP, SilenceableCondVal, in isConfigurationValue()
518 const UnaryOperator *UO = cast<UnaryOperator>(S); in GetUnreachableLoc() local
519 R1 = UO->getSubExpr()->getSourceRange(); in GetUnreachableLoc()
520 return UO->getOperatorLoc(); in GetUnreachableLoc()
DUninitializedValues.cpp328 void VisitUnaryOperator(UnaryOperator *UO);
429 void ClassifyRefs::VisitUnaryOperator(UnaryOperator *UO) { in VisitUnaryOperator() argument
432 if (UO->isIncrementDecrementOp()) in VisitUnaryOperator()
433 classify(UO->getSubExpr(), Use); in VisitUnaryOperator()
464 const UnaryOperator *UO = dyn_cast<UnaryOperator>(Ex); in VisitCallExpr() local
465 if (UO && UO->getOpcode() == UO_AddrOf) in VisitCallExpr()
466 Ex = UO->getSubExpr(); in VisitCallExpr()
DLiveVariables.cpp212 void VisitUnaryOperator(UnaryOperator *UO);
417 void TransferFunctions::VisitUnaryOperator(UnaryOperator *UO) { in VisitUnaryOperator() argument
424 switch (UO->getOpcode()) { in VisitUnaryOperator()
434 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator()
DBodyFarm.cpp240 UnaryOperator *UO = new (C) UnaryOperator(LValToRval, UO_LNot, C.IntTy, in create_dispatch_once() local
245 IfStmt *If = new (C) IfStmt(C, SourceLocation(), nullptr, UO, CS); in create_dispatch_once()
DThreadSafety.cpp1493 void VisitUnaryOperator(UnaryOperator *UO);
1608 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Exp)) { in checkAccess() local
1610 if (UO->getOpcode() == clang::UO_Deref) in checkAccess()
1611 checkPtAccess(UO->getSubExpr(), AK, POK); in checkAccess()
1835 void BuildLockset::VisitUnaryOperator(UnaryOperator *UO) { in VisitUnaryOperator() argument
1836 switch (UO->getOpcode()) { in VisitUnaryOperator()
1841 checkAccess(UO->getSubExpr(), AK_Written); in VisitUnaryOperator()
/external/llvm/tools/llvm-size/
Dllvm-size.cpp486 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in PrintFileSectionSizes() local
487 if (UO) { in PrintFileSectionSizes()
488 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in PrintFileSectionSizes()
563 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in PrintFileSectionSizes() local
564 if (UO) { in PrintFileSectionSizes()
565 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in PrintFileSectionSizes()
627 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in PrintFileSectionSizes() local
628 if (UO) { in PrintFileSectionSizes()
629 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in PrintFileSectionSizes()
/external/clang/lib/AST/
DASTDiagnostic.cpp965 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in NeedsAddressOf() local
966 if (UO->getOpcode() == UO_AddrOf) { in NeedsAddressOf()
1264 UnaryOperator *UO = dyn_cast<UnaryOperator>(ArgExpr->IgnoreParens()); in GetValueDecl() local
1265 if (!UO) in GetValueDecl()
1267 DRE = cast<DeclRefExpr>(UO->getSubExpr()); in GetValueDecl()
1666 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) in HasExtraInfo() local
1667 if (UO->getOpcode() == UO_Minus) in HasExtraInfo()
1668 if (isa<IntegerLiteral>(UO->getSubExpr())) in HasExtraInfo()
DExpr.cpp120 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in isKnownToHaveBooleanValue() local
121 switch (UO->getOpcode()) { in isKnownToHaveBooleanValue()
123 return UO->getSubExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue()
1172 } else if (UnaryOperator *UO = dyn_cast<UnaryOperator>(CEE)) { in getCalleeDecl() local
1173 if (UO->getOpcode() == UO_Deref) in getCalleeDecl()
1174 CEE = UO->getSubExpr()->IgnoreParenCasts(); in getCalleeDecl()
2038 const UnaryOperator *UO = cast<UnaryOperator>(this); in isUnusedResultAWarning() local
2040 switch (UO->getOpcode()) { in isUnusedResultAWarning()
2056 if (Ctx.getCanonicalType(UO->getSubExpr()->getType()) in isUnusedResultAWarning()
2061 return UO->getSubExpr()->isUnusedResultAWarning(WarnE, Loc, R1, R2, Ctx); in isUnusedResultAWarning()
[all …]
DExprConstant.cpp4252 bool VisitUnaryPostInc(const UnaryOperator *UO) { in VisitUnaryPostInc() argument
4253 return VisitUnaryPostIncDec(UO); in VisitUnaryPostInc()
4255 bool VisitUnaryPostDec(const UnaryOperator *UO) { in VisitUnaryPostDec() argument
4256 return VisitUnaryPostIncDec(UO); in VisitUnaryPostDec()
4258 bool VisitUnaryPostIncDec(const UnaryOperator *UO) { in VisitUnaryPostIncDec() argument
4260 return Error(UO); in VisitUnaryPostIncDec()
4263 if (!EvaluateLValue(UO->getSubExpr(), LVal, Info)) in VisitUnaryPostIncDec()
4266 if (!handleIncDec(this->Info, UO, LVal, UO->getSubExpr()->getType(), in VisitUnaryPostIncDec()
4267 UO->isIncrementOp(), &RVal)) in VisitUnaryPostIncDec()
4269 return DerivedSuccess(RVal, UO); in VisitUnaryPostIncDec()
[all …]
DMicrosoftMangle.cpp1096 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in mangleExpression() local
1097 if (UO->getOpcode() == UO_AddrOf) in mangleExpression()
1098 UE = dyn_cast<CXXUuidofExpr>(UO->getSubExpr()); in mangleExpression()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/en-US/
Den-US_lh0_kdt_lfz5.pkb54 …��[<H2_ ^�Q&��+�B����1F-�8E�Dv%��� s�2 N��{T'/Iמ�a�6�K�pZ�[�]��A�UO!�Z��W�1�,�1�\(…
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/it-IT/
Dit-IT_cm0_kdt_lfz3.pkb104 �S���G��*UO/=��mv��w�����p�P�|,�����L�+F�ND�#��G[tP�gV� 1�'M$v��
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp1255 const UnaryOperator *UO = cast<UnaryOperator>(Ex); in VisitTrueTest() local
1256 if (UO->getOpcode() == UO_LNot) { in VisitTrueTest()
1258 Ex = UO->getSubExpr(); in VisitTrueTest()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h379 til::SExpr *translateUnaryOperator(const UnaryOperator *UO,
/external/jpeg/
Dtestimg.ppm4UO�XO�]R�aT�jSWZ/:M7FTa)~�P��o��y��x��s~�ah�L\mCYdBT]BHP9?D0:=,@C2<@1:>0<C3:C0AN2Rd>]sBg�Hp�Ko�K…
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/en-GB/
Den-GB_kh0_kdt_dur.pkb66 ���k����#�q#Q��p���c�2`:`u����m���{��#���<$5�A@�:�1�����f�xP��AטT�UOm�j?��> t���H�6y�ױ…
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/de-DE/
Dde-DE_kdt_posd.pkb100 …B��/@$!�����B����I`"����ES�S��f����X ��� !����o���Q@����M����M���RӲ�UO <�����|,6�&t�̞�ą…
/external/clang/lib/CodeGen/
DCGClass.cpp2229 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in skipNoOpCastsAndParens() local
2230 if (UO->getOpcode() == UO_Extension) { in skipNoOpCastsAndParens()
2231 E = UO->getSubExpr(); in skipNoOpCastsAndParens()
DCGExprCXX.cpp1662 if (const auto *UO = dyn_cast<UnaryOperator>(E)) in isGLValueFromPointerDeref() local
1663 if (UO->getOpcode() == UO_Deref) in isGLValueFromPointerDeref()

12