Home
last modified time | relevance | path

Searched refs:UnaryOp (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DPostfixExpression.h37 UnaryOp, enumerator
139 : Node(UnaryOp), m_op_type(op_type), m_operand(&operand) {} in UnaryOpNode()
146 static bool classof(const Node *node) { return node->GetKind() == UnaryOp; } in classof()
188 case Node::UnaryOp: in Dispatch()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtProfile.cpp1686 UnaryOperatorKind &UnaryOp, in DecodeOperatorCall() argument
1702 UnaryOp = UO_Plus; in DecodeOperatorCall()
1711 UnaryOp = UO_Minus; in DecodeOperatorCall()
1720 UnaryOp = UO_Deref; in DecodeOperatorCall()
1741 UnaryOp = UO_AddrOf; in DecodeOperatorCall()
1753 UnaryOp = UO_Not; in DecodeOperatorCall()
1757 UnaryOp = UO_LNot; in DecodeOperatorCall()
1849 UnaryOp = NumArgs == 1 ? UO_PreInc : UO_PostInc; in DecodeOperatorCall()
1854 UnaryOp = NumArgs == 1 ? UO_PreDec : UO_PostDec; in DecodeOperatorCall()
1873 UnaryOp = UO_Coawait; in DecodeOperatorCall()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyOps.def39 TIL_OPCODE_DEF(UnaryOp)
H A DThreadSafetyTIL.h1175 class UnaryOp : public SExpr {
1177 UnaryOp(TIL_UnaryOpcode Op, SExpr *E) : SExpr(COP_UnaryOp), Expr0(E) { in UnaryOp() function
1181 UnaryOp(const UnaryOp &U, SExpr *E) : SExpr(U), Expr0(E) { Flags = U.Flags; } in UnaryOp() function
1199 typename C::CType compare(const UnaryOp* E, C& Cmp) const { in compare()
H A DThreadSafetyTraverse.h238 R_SExpr reduceUnaryOp(UnaryOp &Orig, R_SExpr E0) { return E0; } in reduceUnaryOp()
776 void printUnaryOp(const UnaryOp *E, StreamType &SS) { in printUnaryOp()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp755 const auto *UnaryOp = dyn_cast_or_null<UnaryOperator>(S); in isInAddressOf() local
756 return UnaryOp && UnaryOp->getOpcode() == UO_AddrOf; in isInAddressOf()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp506 til::UnaryOp(til::UOP_Minus, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
509 til::UnaryOp(til::UOP_BitNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
512 til::UnaryOp(til::UOP_LogicNot, translate(UO->getSubExpr(), Ctx)); in translateUnaryOperator()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h838 enum UnaryOp : uint8_t { enum
855 UnOpInit(UnaryOp opc, Init *lhs, RecTy *Type) in UnOpInit()
866 static UnOpInit *get(UnaryOp opc, Init *lhs, RecTy *Type);
884 UnaryOp getOpcode() const { return (UnaryOp)Opc; } in getOpcode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp1648 if (auto *UnaryOp = dyn_cast<UnaryOperator>(&Inst)) in createShadowValueWithOperandsAvailable() local
1649 return Builder.CreateUnOp(UnaryOp->getOpcode(), in createShadowValueWithOperandsAvailable()
1650 Map.getShadow(UnaryOp->getOperand(0))); in createShadowValueWithOperandsAvailable()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp779 UnOpInit *UnOpInit::get(UnaryOp Opc, Init *LHS, RecTy *Type) { in get()
H A DTGParser.cpp1201 UnOpInit::UnaryOp Code; in ParseOperation()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp8699 if (const UnaryOperator *UnaryOp = dyn_cast<UnaryOperator>(Dest)) in CheckMemaccessArguments() local
8700 if (UnaryOp->getOpcode() == UO_AddrOf) in CheckMemaccessArguments()
H A DSemaDeclCXX.cpp17111 if (const auto *UnaryOp = dyn_cast<UnaryOperator>(E)) in UsefulToPrintExpr() local
17112 return UsefulToPrintExpr(UnaryOp->getSubExpr()); in UsefulToPrintExpr()