/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 139 const UnaryOperator *UO = cast<UnaryOperator>(Head); local 142 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); 149 switch (UO->getOpcode()) {
|
H A D | ReachableCode.cpp | 218 const UnaryOperator *UO = cast<UnaryOperator>(S); local 220 *SilenceableCondVal = UO->getSourceRange(); 221 return UO->getOpcode() == UO_LNot && 222 isConfigurationValue(UO->getSubExpr(), PP, SilenceableCondVal, 518 const UnaryOperator *UO = cast<UnaryOperator>(S); local 519 R1 = UO->getSubExpr()->getSourceRange(); 520 return UO->getOperatorLoc();
|
H A D | ThreadSafetyCommon.cpp | 232 til::SExpr *SExprBuilder::translateUnaryOperator(const UnaryOperator *UO, argument 234 switch (UO->getOpcode()) { 239 return new (Arena) til::Undefined(UO); 245 return translate(UO->getSubExpr(), Ctx); 249 til::UnaryOp(til::UOP_Minus, translate(UO->getSubExpr(), Ctx)); 252 til::UnaryOp(til::UOP_BitNot, translate(UO->getSubExpr(), Ctx)); 255 til::UnaryOp(til::UOP_LogicNot, translate(UO->getSubExpr(), Ctx)); 261 return new (Arena) til::Undefined(UO); 263 return new (Arena) til::Undefined(UO);
|
H A D | LiveVariables.cpp | 213 void VisitUnaryOperator(UnaryOperator *UO); 421 void TransferFunctions::VisitUnaryOperator(UnaryOperator *UO) { argument 428 switch (UO->getOpcode()) { 438 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens()))
|
H A D | BodyFarm.cpp | 241 UnaryOperator *UO = new (C) UnaryOperator(LValToRval, UO_LNot, C.IntTy, local 246 IfStmt *If = new (C) IfStmt(C, SourceLocation(), nullptr, UO, CS);
|
H A D | UninitializedValues.cpp | 327 void VisitUnaryOperator(UnaryOperator *UO); 396 void ClassifyRefs::VisitUnaryOperator(UnaryOperator *UO) { argument 399 if (UO->isIncrementDecrementOp()) 400 classify(UO->getSubExpr(), Use);
|
H A D | ThreadSafety.cpp | 1832 void VisitUnaryOperator(UnaryOperator *UO); 1906 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Exp)) { 1908 if (UO->getOpcode() == clang::UO_Deref) 1909 checkPtAccess(UO->getSubExpr(), AK); 2113 void BuildLockset::VisitUnaryOperator(UnaryOperator *UO) { argument 2114 switch (UO->getOpcode()) { 2119 checkAccess(UO->getSubExpr(), AK_Written);
|
/external/clang/lib/Sema/ |
H A D | SemaFixItUtils.cpp | 106 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Expr)) { 107 if (UO->getOpcode() == UO_AddrOf) { 140 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Expr)) { 141 if (UO->getOpcode() == UO_Deref) {
|
H A D | SemaExpr.cpp | 478 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParenCasts())) 479 if (UO->getOpcode() == UO_Deref && 480 UO->getSubExpr()->IgnoreParenCasts()-> 482 !UO->getType().isVolatileQualified()) { 483 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, 485 << UO->getSubExpr()->getSourceRange()); 486 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, 7807 UnaryOperator *UO 8866 UnaryOperator *UO = cast<UnaryOperator>(E); local [all...] |
H A D | SemaExprMember.cpp | 1359 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(BaseExp)) 1360 if (UO->getOpcode() == UO_Deref) 1361 BaseExp = UO->getSubExpr()->IgnoreParenCasts();
|
H A D | SemaOpenMP.cpp | 1535 if (auto UO = dyn_cast<UnaryOperator>(S)) { 1536 if (UO->isIncrementDecrementOp() && GetInitVarDecl(UO->getSubExpr()) == Var) 1538 SemaRef.ActOnIntegerConstant(UO->getLocStart(), 1539 (UO->isDecrementOp() ? -1 : 1)).get(),
|
H A D | SemaStmt.cpp | 1463 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(Statement)) { 1464 switch (UO->getOpcode()) { 1475 DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr());
|
H A D | SemaChecking.cpp | 5217 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 5218 switch (UO->getOpcode()) { 5229 return GetExprRange(C, UO->getSubExpr(), MaxWidth); 6273 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 6274 if (UO->getOpcode() != UO_AddrOf) 6277 E = UO->getSubExpr(); 6579 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 6580 if (Mod && (UO->getOpcode() == UO_PreInc || UO->getOpcode() == UO_PreDec)) 6581 return getObject(UO 6743 VisitUnaryPreInc(UnaryOperator *UO) argument 6744 VisitUnaryPreDec(UnaryOperator *UO) argument 6745 VisitUnaryPreIncDec(UnaryOperator *UO) argument 6758 VisitUnaryPostInc(UnaryOperator *UO) argument 6759 VisitUnaryPostDec(UnaryOperator *UO) argument 6760 VisitUnaryPostIncDec(UnaryOperator *UO) argument 7216 const UnaryOperator *UO = cast<UnaryOperator>(expr); local 7945 const UnaryOperator *UO = cast<UnaryOperator>(TypeExpr); local [all...] |
/external/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 503 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); local 505 if (UO) { 506 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { 579 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); local 581 if (UO) { 582 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) { 642 ErrorOr<std::unique_ptr<ObjectFile>> UO = I->getAsObjectFile(); local 644 if (UO) { 645 if (ObjectFile *o = dyn_cast<ObjectFile>(&*UO.get())) {
|
/external/clang/lib/AST/ |
H A D | Expr.cpp | 120 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 121 switch (UO->getOpcode()) { 123 return UO->getSubExpr()->isKnownToHaveBooleanValue(); 1161 } else if (UnaryOperator *UO = dyn_cast<UnaryOperator>(CEE)) { 1162 if (UO->getOpcode() == UO_Deref) 1163 CEE = UO->getSubExpr()->IgnoreParenCasts(); 1988 const UnaryOperator *UO = cast<UnaryOperator>(this); local 1990 switch (UO->getOpcode()) { 2006 if (Ctx.getCanonicalType(UO->getSubExpr()->getType()) 2011 return UO [all...] |
H A D | ExprConstant.cpp | 4139 bool VisitUnaryPostInc(const UnaryOperator *UO) { 4140 return VisitUnaryPostIncDec(UO); 4142 bool VisitUnaryPostDec(const UnaryOperator *UO) { 4143 return VisitUnaryPostIncDec(UO); 4145 bool VisitUnaryPostIncDec(const UnaryOperator *UO) { 4147 return Error(UO); 4150 if (!EvaluateLValue(UO->getSubExpr(), LVal, Info)) 4153 if (!handleIncDec(this->Info, UO, LVal, UO->getSubExpr()->getType(), 4154 UO [all...] |
H A D | ASTDiagnostic.cpp | 1544 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) 1545 if (UO->getOpcode() == UO_Minus) 1546 if (isa<IntegerLiteral>(UO->getSubExpr()))
|
H A D | MicrosoftMangle.cpp | 1070 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 1071 if (UO->getOpcode() == UO_AddrOf) 1072 UE = dyn_cast<CXXUuidofExpr>(UO->getSubExpr());
|
H A D | ItaniumMangle.cpp | 2930 const UnaryOperator *UO = cast<UnaryOperator>(E); local 2931 mangleOperatorName(UnaryOperator::getOverloadedOperator(UO->getOpcode()), 2933 mangleExpression(UO->getSubExpr());
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyCommon.h | 270 til::SExpr *translateUnaryOperator(const UnaryOperator *UO,
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 1263 const UnaryOperator *UO = cast<UnaryOperator>(Ex); local 1264 if (UO->getOpcode() == UO_LNot) { 1266 Ex = UO->getSubExpr();
|
/external/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 2003 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 2004 if (UO->getOpcode() == UO_Extension) { 2005 E = UO->getSubExpr();
|
H A D | CGExprCXX.cpp | 1628 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParens())) 1629 if (UO->getOpcode() == UO_Deref)
|
H A D | CGExprScalar.cpp | 850 const UnaryOperator *UO = dyn_cast<UnaryOperator>(Info.E); local 851 if (UO && UO->getOpcode() == UO_Minus) { 853 StaticData.push_back(CGF.EmitCheckTypeDescriptor(UO->getType()));
|
H A D | CGBuiltin.cpp | 1827 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Addr)) { 1828 if (UO->getOpcode() == UO_AddrOf) { 1829 LValue LV = EmitLValue(UO->getSubExpr()); 1834 QualType PtTy = UO->getSubExpr()->getType();
|