Searched refs:UO (Results 1 - 25 of 29) sorted by relevance

12

/external/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp139 const UnaryOperator *UO = cast<UnaryOperator>(Head); local
142 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts());
149 switch (UO->getOpcode()) {
H A DReachableCode.cpp218 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 DThreadSafetyCommon.cpp232 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 DLiveVariables.cpp213 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 DBodyFarm.cpp241 UnaryOperator *UO = new (C) UnaryOperator(LValToRval, UO_LNot, C.IntTy, local
246 IfStmt *If = new (C) IfStmt(C, SourceLocation(), nullptr, UO, CS);
H A DUninitializedValues.cpp327 void VisitUnaryOperator(UnaryOperator *UO);
396 void ClassifyRefs::VisitUnaryOperator(UnaryOperator *UO) { argument
399 if (UO->isIncrementDecrementOp())
400 classify(UO->getSubExpr(), Use);
H A DThreadSafety.cpp1832 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 DSemaFixItUtils.cpp106 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 DSemaExpr.cpp478 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 DSemaExprMember.cpp1359 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(BaseExp))
1360 if (UO->getOpcode() == UO_Deref)
1361 BaseExp = UO->getSubExpr()->IgnoreParenCasts();
H A DSemaOpenMP.cpp1535 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 DSemaStmt.cpp1463 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(Statement)) {
1464 switch (UO->getOpcode()) {
1475 DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr());
H A DSemaChecking.cpp5217 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 Dllvm-size.cpp503 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 DExpr.cpp120 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 DExprConstant.cpp4139 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 DASTDiagnostic.cpp1544 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E))
1545 if (UO->getOpcode() == UO_Minus)
1546 if (isa<IntegerLiteral>(UO->getSubExpr()))
H A DMicrosoftMangle.cpp1070 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
1071 if (UO->getOpcode() == UO_AddrOf)
1072 UE = dyn_cast<CXXUuidofExpr>(UO->getSubExpr());
H A DItaniumMangle.cpp2930 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 DThreadSafetyCommon.h270 til::SExpr *translateUnaryOperator(const UnaryOperator *UO,
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1263 const UnaryOperator *UO = cast<UnaryOperator>(Ex); local
1264 if (UO->getOpcode() == UO_LNot) {
1266 Ex = UO->getSubExpr();
/external/clang/lib/CodeGen/
H A DCGClass.cpp2003 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
2004 if (UO->getOpcode() == UO_Extension) {
2005 E = UO->getSubExpr();
H A DCGExprCXX.cpp1628 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParens()))
1629 if (UO->getOpcode() == UO_Deref)
H A DCGExprScalar.cpp850 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 DCGBuiltin.cpp1827 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();

Completed in 1243 milliseconds

12