/freebsd-11.0-release/contrib/llvm/tools/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 | 173 else if (auto *UO = dyn_cast<UnaryOperator>(AttrExp)) { 174 if (UO->getOpcode() == UO_LNot) { 176 AttrExp = UO->getSubExpr(); 404 til::SExpr *SExprBuilder::translateUnaryOperator(const UnaryOperator *UO, argument 406 switch (UO->getOpcode()) { 411 return new (Arena) til::Undefined(UO); 416 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { 426 return translate(UO->getSubExpr(), Ctx); 432 return translate(UO->getSubExpr(), Ctx); 436 til::UnaryOp(til::UOP_Minus, translate(UO [all...] |
H A D | UninitializedValues.cpp | 328 void VisitUnaryOperator(UnaryOperator *UO); 429 void ClassifyRefs::VisitUnaryOperator(UnaryOperator *UO) { argument 432 if (UO->isIncrementDecrementOp()) 433 classify(UO->getSubExpr(), Use); 464 const UnaryOperator *UO = dyn_cast<UnaryOperator>(Ex); local 465 if (UO && UO->getOpcode() == UO_AddrOf) 466 Ex = UO->getSubExpr();
|
H A D | LiveVariables.cpp | 212 void VisitUnaryOperator(UnaryOperator *UO); 416 void TransferFunctions::VisitUnaryOperator(UnaryOperator *UO) { argument 423 switch (UO->getOpcode()) { 433 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens()))
|
H A D | BodyFarm.cpp | 237 UnaryOperator *UO = new (C) UnaryOperator(LValToRval, UO_LNot, C.IntTy, local 242 IfStmt *If = new (C) IfStmt(C, SourceLocation(), nullptr, UO, CS);
|
H A D | ThreadSafety.cpp | 1490 void VisitUnaryOperator(UnaryOperator *UO); 1605 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Exp)) { 1607 if (UO->getOpcode() == clang::UO_Deref) 1608 checkPtAccess(UO->getSubExpr(), AK, POK); 1832 void BuildLockset::VisitUnaryOperator(UnaryOperator *UO) { 1833 switch (UO->getOpcode()) { 1838 checkAccess(UO->getSubExpr(), AK_Written);
|
/freebsd-11.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerKernelArgs.cpp | 206 Value *UO = GetUnderlyingObject(LI->getPointerOperand(), local 208 if (Argument *Arg = dyn_cast<Argument>(UO)) {
|
/freebsd-11.0-release/contrib/llvm/tools/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 | 549 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParenCasts())) 550 if (UO->getOpcode() == UO_Deref && 551 UO->getSubExpr()->IgnoreParenCasts()-> 553 !UO->getType().isVolatileQualified()) { 554 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, 556 << UO->getSubExpr()->getSourceRange()); 557 S.DiagRuntimeBehavior(UO->getOperatorLoc(), UO, 8734 UnaryOperator *UO local 9954 UnaryOperator *UO = cast<UnaryOperator>(E); local [all...] |
H A D | SemaExprMember.cpp | 1386 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(BaseExp)) 1387 if (UO->getOpcode() == UO_Deref) 1388 BaseExp = UO->getSubExpr()->IgnoreParenCasts();
|
H A D | SemaStmt.cpp | 1484 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(Statement)) { 1485 switch (UO->getOpcode()) { 1496 DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr());
|
H A D | SemaOpenMP.cpp | 3137 if (auto UO = dyn_cast<UnaryOperator>(S)) { 3138 if (UO->isIncrementDecrementOp() && GetInitVarDecl(UO->getSubExpr()) == Var) 3140 SemaRef.ActOnIntegerConstant(UO->getLocStart(), 3141 (UO->isDecrementOp() ? -1 : 1)).get(),
|
/freebsd-11.0-release/contrib/llvm/tools/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(); 1198 } else if (UnaryOperator *UO = dyn_cast<UnaryOperator>(CEE)) { 1199 if (UO->getOpcode() == UO_Deref) 1200 CEE = UO->getSubExpr()->IgnoreParenCasts(); 2060 const UnaryOperator *UO = cast<UnaryOperator>(this); local 2062 switch (UO->getOpcode()) { 2081 if (Ctx.getCanonicalType(UO->getSubExpr()->getType()) 2086 return UO [all...] |
H A D | ExprConstant.cpp | 4363 bool VisitUnaryPostInc(const UnaryOperator *UO) { argument 4364 return VisitUnaryPostIncDec(UO); 4366 bool VisitUnaryPostDec(const UnaryOperator *UO) { argument 4367 return VisitUnaryPostIncDec(UO); 4369 bool VisitUnaryPostIncDec(const UnaryOperator *UO) { argument 4371 return Error(UO); 4374 if (!EvaluateLValue(UO->getSubExpr(), LVal, Info)) 4377 if (!handleIncDec(this->Info, UO, LVal, UO->getSubExpr()->getType(), 4378 UO 4587 VisitUnaryPreInc(const UnaryOperator *UO) argument 4590 VisitUnaryPreDec(const UnaryOperator *UO) argument 4805 VisitUnaryPreIncDec(const UnaryOperator *UO) argument [all...] |
H A D | ASTDiagnostic.cpp | 1772 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) 1773 if (UO->getOpcode() == UO_Minus) 1774 if (isa<IntegerLiteral>(UO->getSubExpr()))
|
H A D | MicrosoftMangle.cpp | 1134 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 1135 if (UO->getOpcode() == UO_AddrOf) 1136 UE = dyn_cast<CXXUuidofExpr>(UO->getSubExpr());
|
H A D | ItaniumMangle.cpp | 3233 const UnaryOperator *UO = cast<UnaryOperator>(E); local 3234 mangleOperatorName(UnaryOperator::getOverloadedOperator(UO->getOpcode()), 3236 mangleExpression(UO->getSubExpr());
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonEarlyIfConv.cpp | 957 MachineOperand &UO = PN->getOperand(1); local 958 unsigned UseR = UO.getReg(), UseSR = UO.getSubReg();
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyCommon.h | 381 til::SExpr *translateUnaryOperator(const UnaryOperator *UO,
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 1254 const UnaryOperator *UO = cast<UnaryOperator>(Ex); local 1255 if (UO->getOpcode() == UO_LNot) { 1257 Ex = UO->getSubExpr();
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 2611 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 2612 if (UO->getOpcode() == UO_Extension) { 2613 E = UO->getSubExpr();
|
H A D | CGExprCXX.cpp | 1769 if (const auto *UO = dyn_cast<UnaryOperator>(E)) 1770 if (UO->getOpcode() == UO_Deref)
|
H A D | CGExprScalar.cpp | 939 const UnaryOperator *UO = dyn_cast<UnaryOperator>(Info.E); local 940 if (UO && UO->getOpcode() == UO_Minus) { 942 StaticData.push_back(CGF.EmitCheckTypeDescriptor(UO->getType()));
|
H A D | CGExpr.cpp | 862 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) { 863 if (UO->getOpcode() == UO_AddrOf) { 864 LValue LV = EmitLValue(UO->getSubExpr());
|