Lines Matching refs:UO
176 else if (auto *UO = dyn_cast<UnaryOperator>(AttrExp)) { in translateAttrExpr() local
177 if (UO->getOpcode() == UO_LNot) { in translateAttrExpr()
179 AttrExp = UO->getSubExpr(); in translateAttrExpr()
415 til::SExpr *SExprBuilder::translateUnaryOperator(const UnaryOperator *UO, in translateUnaryOperator() argument
417 switch (UO->getOpcode()) { in translateUnaryOperator()
422 return new (Arena) til::Undefined(UO); in translateUnaryOperator()
427 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator()
437 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator()
443 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator()
447 til::UnaryOp(til::UOP_Minus, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
450 til::UnaryOp(til::UOP_BitNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
453 til::UnaryOp(til::UOP_LogicNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
459 return new (Arena) til::Undefined(UO); in translateUnaryOperator()
461 return new (Arena) til::Undefined(UO); in translateUnaryOperator()