Lines Matching defs:Uop
220 if (const auto *Uop = dyn_cast<UnaryOperator>(E))
221 return Uop->getOpcode() == UO_Deref ? Uop->getSubExpr() : nullptr;
319 /// Returns true when Uop is a dereference of IndexVar.
326 static bool isDereferenceOfUop(const UnaryOperator *Uop,
328 return Uop->getOpcode() == UO_Deref &&
329 exprReferencesVariable(IndexVar, Uop->getSubExpr());
502 bool ForLoopIndexUseVisitor::TraverseUnaryOperator(UnaryOperator *Uop) {
505 if (isDereferenceOfUop(Uop, IndexVar)) {
506 addUsage(Usage(Uop));
510 return VisitorBase::TraverseUnaryOperator(Uop);