Home
last modified time | relevance | path

Searched refs:UOp (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp63 void checkPreStmt(const UnaryOperator *UOp, CheckerContext &C) const;
296 void PointerArithChecker::checkPreStmt(const UnaryOperator *UOp, in checkPreStmt() argument
298 if (!UOp->isIncrementDecrementOp() || !UOp->getType()->isPointerType()) in checkPreStmt()
300 reportPointerArithMisuse(UOp->getSubExpr(), C, true); in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp65 void checkPreStmt(const UnaryOperator *UOp, CheckerContext &C) const;
299 void PointerArithChecker::checkPreStmt(const UnaryOperator *UOp, in checkPreStmt() argument
301 if (!UOp->isIncrementDecrementOp() || !UOp->getType()->isPointerType()) in checkPreStmt()
303 reportPointerArithMisuse(UOp->getSubExpr(), C, true); in checkPreStmt()
/external/libcxx/test/std/numerics/numeric.ops/transform.reduce/
Dtransform_reduce_iter_iter_init_bop_uop.pass.cpp43 template <class Iter1, class T, class BOp, class UOp>
45 test(Iter1 first1, Iter1 last1, T init, BOp bOp, UOp uOp, T x) in test()
/external/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/
Dtransform_inclusive_scan_bop_uop.pass.cpp39 template <class Iter1, class BOp, class UOp, class Iter2>
41 test(Iter1 first, Iter1 last, BOp bop, UOp uop, Iter2 rFirst, Iter2 rLast) in test()
Dtransform_inclusive_scan_bop_uop_init.pass.cpp38 template <class Iter1, class BOp, class UOp, class T, class Iter2>
40 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, Iter2 rFirst, Iter2 rLast) in test()
/external/llvm-project/libcxx/test/std/numerics/numeric.ops/transform.reduce/
Dtransform_reduce_iter_iter_init_bop_uop.pass.cpp46 template <class Iter1, class T, class BOp, class UOp>
48 test(Iter1 first1, Iter1 last1, T init, BOp bOp, UOp uOp, T x) in test()
/external/llvm-project/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/
Dtransform_inclusive_scan_bop_uop.pass.cpp46 template <class Iter1, class BOp, class UOp, class Iter2>
48 test(Iter1 first, Iter1 last, BOp bop, UOp uop, Iter2 rFirst, Iter2 rLast) in test()
Dtransform_inclusive_scan_bop_uop_init.pass.cpp46 template <class Iter1, class BOp, class UOp, class T, class Iter2>
48 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, Iter2 rFirst, Iter2 rLast) in test()
/external/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/
Dtransform_exclusive_scan_init_bop_uop.pass.cpp38 template <class Iter1, class BOp, class UOp, class T, class Iter2>
40 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, Iter2 rFirst, Iter2 rLast) in test()
/external/llvm-project/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/
Dtransform_exclusive_scan_init_bop_uop.pass.cpp45 template <class Iter1, class BOp, class UOp, class T, class Iter2>
47 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, Iter2 rFirst, Iter2 rLast) in test()
/external/llvm-project/clang/lib/Analysis/
DConsumed.cpp513 void VisitUnaryOperator(const UnaryOperator *UOp);
896 void ConsumedStmtVisitor::VisitUnaryOperator(const UnaryOperator *UOp) { in VisitUnaryOperator() argument
897 InfoEntry Entry = findInfo(UOp->getSubExpr()); in VisitUnaryOperator()
900 switch (UOp->getOpcode()) { in VisitUnaryOperator()
902 PropagationMap.insert(PairType(UOp, Entry->second)); in VisitUnaryOperator()
907 PropagationMap.insert(PairType(UOp, Entry->second.invertTest())); in VisitUnaryOperator()
/external/clang/lib/Analysis/
DConsumed.cpp510 void VisitUnaryOperator(const UnaryOperator *UOp);
912 void ConsumedStmtVisitor::VisitUnaryOperator(const UnaryOperator *UOp) { in VisitUnaryOperator() argument
913 InfoEntry Entry = findInfo(UOp->getSubExpr()); in VisitUnaryOperator()
916 switch (UOp->getOpcode()) { in VisitUnaryOperator()
918 PropagationMap.insert(PairType(UOp, Entry->second)); in VisitUnaryOperator()
923 PropagationMap.insert(PairType(UOp, Entry->second.invertTest())); in VisitUnaryOperator()
/external/skqp/src/sksl/
DSkSLJIT.cpp546 #define COMPARE(SFunc, SOp, UFunc, UOp, FFunc, FOp) { \ in compileBinary() argument
554 return UFunc(builder, UOp, left, right, "binary"); \ in compileBinary()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp556 if (UnaryOperator *UOp = dyn_cast<UnaryOperator>(ArgExp)) in checkAttrArgsAreCapabilityObjs() local
557 if (UOp->getOpcode() == UO_AddrOf) in checkAttrArgsAreCapabilityObjs()
558 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(UOp->getSubExpr())) in checkAttrArgsAreCapabilityObjs()
DSemaChecking.cpp7853 if (UnaryOperator *UOp = dyn_cast<UnaryOperator>(InnerE)) in DiagnoseFloatingImpCast() local
7854 if (UOp->getOpcode() == UO_Minus || UOp->getOpcode() == UO_Plus) in DiagnoseFloatingImpCast()
7855 InnerE = UOp->getSubExpr()->IgnoreParenImpCasts(); in DiagnoseFloatingImpCast()
/external/llvm-project/clang/lib/Sema/
DSemaDeclAttr.cpp685 if (const auto *UOp = dyn_cast<UnaryOperator>(ArgExp)) in checkAttrArgsAreCapabilityObjs() local
686 if (UOp->getOpcode() == UO_AddrOf) in checkAttrArgsAreCapabilityObjs()
687 if (const auto *DRE = dyn_cast<DeclRefExpr>(UOp->getSubExpr())) in checkAttrArgsAreCapabilityObjs()
DSemaChecking.cpp11566 if (UnaryOperator *UOp = dyn_cast<UnaryOperator>(InnerE)) in DiagnoseFloatingImpCast() local
11567 if (UOp->getOpcode() == UO_Minus || UOp->getOpcode() == UO_Plus) in DiagnoseFloatingImpCast()
11568 InnerE = UOp->getSubExpr()->IgnoreParenImpCasts(); in DiagnoseFloatingImpCast()