Lines Matching refs:UO
173 else if (auto *UO = dyn_cast<UnaryOperator>(AttrExp)) { in translateAttrExpr() local
174 if (UO->getOpcode() == UO_LNot) { in translateAttrExpr()
176 AttrExp = UO->getSubExpr(); in translateAttrExpr()
404 til::SExpr *SExprBuilder::translateUnaryOperator(const UnaryOperator *UO, in translateUnaryOperator() argument
406 switch (UO->getOpcode()) { in translateUnaryOperator()
411 return new (Arena) til::Undefined(UO); in translateUnaryOperator()
416 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator()
426 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator()
432 return translate(UO->getSubExpr(), Ctx); in translateUnaryOperator()
436 til::UnaryOp(til::UOP_Minus, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
439 til::UnaryOp(til::UOP_BitNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
442 til::UnaryOp(til::UOP_LogicNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
449 return new (Arena) til::Undefined(UO); in translateUnaryOperator()
451 return new (Arena) til::Undefined(UO); in translateUnaryOperator()