Home
last modified time | relevance | path

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

123

/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp137 const UnaryOperator *UO = cast<UnaryOperator>(Head); in RunAnalysis() local
140 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); in RunAnalysis()
147 switch (UO->getOpcode()) { in RunAnalysis()
DThreadSafetyCommon.cpp173 else if (auto *UO = dyn_cast<UnaryOperator>(AttrExp)) { in translateAttrExpr() local
174 if (UO->getOpcode() == UO_LNot) { in translateAttrExpr()
176 AttrExp = UO->getSubExpr(); in translateAttrExpr()
404 til::SExpr *SExprBuilder::translateUnaryOperator(const UnaryOperator *UO, in translateUnaryOperator() argument
406 switch (UO->getOpcode()) { in translateUnaryOperator()
411 return new (Arena) til::Undefined(UO); in translateUnaryOperator()
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()
[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);
416 void TransferFunctions::VisitUnaryOperator(UnaryOperator *UO) { in VisitUnaryOperator() argument
423 switch (UO->getOpcode()) { in VisitUnaryOperator()
433 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator()
DBodyFarm.cpp237 UnaryOperator *UO = new (C) UnaryOperator(LValToRval, UO_LNot, C.IntTy, in create_dispatch_once() local
243 UO, CS); in create_dispatch_once()
DThreadSafety.cpp1490 void VisitUnaryOperator(UnaryOperator *UO);
1605 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Exp)) { in checkAccess() local
1607 if (UO->getOpcode() == clang::UO_Deref) in checkAccess()
1608 checkPtAccess(UO->getSubExpr(), AK, POK); in checkAccess()
1832 void BuildLockset::VisitUnaryOperator(UnaryOperator *UO) { in VisitUnaryOperator() argument
1833 switch (UO->getOpcode()) { in VisitUnaryOperator()
1838 checkAccess(UO->getSubExpr(), AK_Written); in VisitUnaryOperator()
/external/llvm/tools/llvm-size/
Dllvm-size.cpp570 Expected<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in printFileSectionSizes() local
571 if (UO) { in printFileSectionSizes()
572 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
590 UO.takeError())) { in printFileSectionSizes()
661 Expected<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in printFileSectionSizes() local
662 if (UO) { in printFileSectionSizes()
663 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { in printFileSectionSizes()
680 } else if (auto E = isNotObjectErrorInvalidFileType(UO.takeError())) { in printFileSectionSizes()
735 Expected<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); in printFileSectionSizes() local
736 if (UO) { in printFileSectionSizes()
[all …]
/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.cpp7305 if (const auto *UO = dyn_cast<UnaryOperator>(E)) { in GetExprRange() local
7306 switch (UO->getOpcode()) { in GetExprRange()
7317 return GetExprRange(C, UO->getSubExpr(), MaxWidth); in GetExprRange()
8667 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in DiagnoseAlwaysNonNullPointer() local
8668 if (UO->getOpcode() != UO_AddrOf) in DiagnoseAlwaysNonNullPointer()
8671 E = UO->getSubExpr(); in DiagnoseAlwaysNonNullPointer()
9047 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { in getObject() local
9048 if (Mod && (UO->getOpcode() == UO_PreInc || UO->getOpcode() == UO_PreDec)) in getObject()
9049 return getObject(UO->getSubExpr(), Mod); in getObject()
9212 void VisitUnaryPreInc(UnaryOperator *UO) { VisitUnaryPreIncDec(UO); } in VisitUnaryPreInc() argument
[all …]
DSemaExpr.cpp561 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParenCasts())) in CheckForNullPointerDereference() local
562 if (UO->getOpcode() == UO_Deref && in CheckForNullPointerDereference()
563 UO->getSubExpr()->IgnoreParenCasts()-> in CheckForNullPointerDereference()
565 !UO->getType().isVolatileQualified()) { in CheckForNullPointerDereference()
566 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
568 << UO->getSubExpr()->getSourceRange()); in CheckForNullPointerDereference()
569 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, in CheckForNullPointerDereference()
8992 UnaryOperator *UO = dyn_cast<UnaryOperator>(LHS.get()->IgnoreImpCasts()); in diagnoseLogicalNotOnLHSofComparison() local
8993 if (!UO || UO->getOpcode() != UO_LNot) return; in diagnoseLogicalNotOnLHSofComparison()
8999 Expr *SubExpr = UO->getSubExpr()->IgnoreImpCasts(); in diagnoseLogicalNotOnLHSofComparison()
[all …]
DSemaExprMember.cpp1468 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(BaseExp)) in LookupMemberExpr() local
1469 if (UO->getOpcode() == UO_Deref) in LookupMemberExpr()
1470 BaseExp = UO->getSubExpr()->IgnoreParenCasts(); in LookupMemberExpr()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp206 Value *UO = GetUnderlyingObject(LI->getPointerOperand(), in runOnFunction() local
208 if (Argument *Arg = dyn_cast<Argument>(UO)) { in runOnFunction()
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp854 MemoryAccess *UO = getDefiningAccess(); in print() local
857 if (UO && UO->getID()) in print()
858 OS << UO->getID(); in print()
893 MemoryAccess *UO = getDefiningAccess(); in print() local
895 if (UO && UO->getID()) in print()
896 OS << UO->getID(); in print()
/external/clang/lib/Index/
DIndexBody.cpp75 } else if (auto UO = dyn_cast<UnaryOperator>(Parent)) { in getRolesForRef() local
76 if (UO->isIncrementDecrementOp()) { in getRolesForRef()
79 } else if (UO->getOpcode() == UO_AddrOf) { in getRolesForRef()
/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/clang/lib/AST/
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()
1197 } else if (UnaryOperator *UO = dyn_cast<UnaryOperator>(CEE)) { in getCalleeDecl() local
1198 if (UO->getOpcode() == UO_Deref) in getCalleeDecl()
1199 CEE = UO->getSubExpr()->IgnoreParenCasts(); in getCalleeDecl()
1922 const UnaryOperator *UO = cast<UnaryOperator>(this); in isUnusedResultAWarning() local
1924 switch (UO->getOpcode()) { in isUnusedResultAWarning()
1943 if (Ctx.getCanonicalType(UO->getSubExpr()->getType()) in isUnusedResultAWarning()
1948 return UO->getSubExpr()->isUnusedResultAWarning(WarnE, Loc, R1, R2, Ctx); in isUnusedResultAWarning()
[all …]
DExprConstant.cpp4510 bool VisitUnaryPostInc(const UnaryOperator *UO) { in VisitUnaryPostInc() argument
4511 return VisitUnaryPostIncDec(UO); in VisitUnaryPostInc()
4513 bool VisitUnaryPostDec(const UnaryOperator *UO) { in VisitUnaryPostDec() argument
4514 return VisitUnaryPostIncDec(UO); in VisitUnaryPostDec()
4516 bool VisitUnaryPostIncDec(const UnaryOperator *UO) { in VisitUnaryPostIncDec() argument
4518 return Error(UO); in VisitUnaryPostIncDec()
4521 if (!EvaluateLValue(UO->getSubExpr(), LVal, Info)) in VisitUnaryPostIncDec()
4524 if (!handleIncDec(this->Info, UO, LVal, UO->getSubExpr()->getType(), in VisitUnaryPostIncDec()
4525 UO->isIncrementOp(), &RVal)) in VisitUnaryPostIncDec()
4527 return DerivedSuccess(RVal, UO); in VisitUnaryPostIncDec()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp955 MachineOperand &UO = PN->getOperand(1); in eliminatePhis() local
956 unsigned UseR = UO.getReg(), UseSR = UO.getSubReg(); in eliminatePhis()
/external/ImageMagick/PerlMagick/t/reference/write/filter/
DMedianFilter.miff43UO�g_��gr{_S^N<?354.11,/0+/,,/,,0,.0+-0-.3/0ecNlqo~�v�~�~�~v�p_eQLVF782230/0.20.20-2.,2-,.+,.+,…
DReduceNoise.miff43UO�g_��gr{_S^N<?354.11,/0+/,,/,,0,.0+-0-.3/0ecNlqo~�v�~�~�~v�p_eQLVF782230/0.20.20-2.,2-,.+,.+,…
DMinify.miff43 …Q�A@�<6�76�53�3.�1/�D@�Zj�H[qTBg�Op�Vr�Wo�Tg�QOG:ZPBe]dki�wz���ӱ�ƚ���ga�`\�UO�B5�<1�:1�8-�=5�GF�A@…
/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.cpp1312 const UnaryOperator *UO = cast<UnaryOperator>(Ex); in VisitTrueTest() local
1313 if (UO->getOpcode() == UO_LNot) { in VisitTrueTest()
1315 Ex = UO->getSubExpr(); in VisitTrueTest()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h381 til::SExpr *translateUnaryOperator(const UnaryOperator *UO,

123