Searched refs:UnaryOperator (Results 1 - 25 of 135) sorted by relevance

123456

/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DStmtVisitor.h85 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) {
87 case UO_PostInc: DISPATCH(UnaryPostInc, UnaryOperator);
88 case UO_PostDec: DISPATCH(UnaryPostDec, UnaryOperator);
89 case UO_PreInc: DISPATCH(UnaryPreInc, UnaryOperator);
90 case UO_PreDec: DISPATCH(UnaryPreDec, UnaryOperator);
91 case UO_AddrOf: DISPATCH(UnaryAddrOf, UnaryOperator);
92 case UO_Deref: DISPATCH(UnaryDeref, UnaryOperator);
93 case UO_Plus: DISPATCH(UnaryPlus, UnaryOperator);
94 case UO_Minus: DISPATCH(UnaryMinus, UnaryOperator);
[all...]
H A DIgnoreExpr.h153 if (auto *UO = dyn_cast<UnaryOperator>(E)) {
H A DComputeDependence.h28 class UnaryOperator;
115 ExprDependence computeDependence(UnaryOperator *E, const ASTContext &Ctx);
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedAssignmentChecker.cpp65 if (const UnaryOperator *U = dyn_cast<UnaryOperator>(StoreE)) {
H A DInvalidatedIteratorChecker.cpp29 : public Checker<check::PreCall, check::PreStmt<UnaryOperator>,
43 void checkPreStmt(const UnaryOperator *UO, CheckerContext &C) const;
75 void InvalidatedIteratorChecker::checkPreStmt(const UnaryOperator *UO,
H A DPointerArithChecker.cpp45 check::PreStmt<BinaryOperator>, check::PreStmt<UnaryOperator>,
63 void checkPreStmt(const UnaryOperator *UOp, CheckerContext &C) const;
296 void PointerArithChecker::checkPreStmt(const UnaryOperator *UOp,
H A DCastToStructChecker.cpp73 const auto *U = dyn_cast<UnaryOperator>(E);
H A DDeadStoresChecker.cpp358 else if (const UnaryOperator* U = dyn_cast<UnaryOperator>(S)) {
491 const UnaryOperator *U = dyn_cast<UnaryOperator>(S);
H A DIteratorRangeChecker.cpp30 : public Checker<check::PreCall, check::PreStmt<UnaryOperator>,
52 void checkPreStmt(const UnaryOperator *UO, CheckerContext &C) const;
144 void IteratorRangeChecker::checkPreStmt(const UnaryOperator *UO,
H A DIdenticalExprChecker.cpp492 const UnaryOperator *UnaryOp1 = cast<UnaryOperator>(Stmt1);
493 const UnaryOperator *UnaryOp2 = cast<UnaryOperator>(Stmt2);
H A DTestAfterDivZeroChecker.cpp231 } else if (const UnaryOperator *U = dyn_cast<UnaryOperator>(Condition)) {
H A DDereferenceChecker.cpp201 const UnaryOperator *U = cast<UnaryOperator>(S);
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaFixItUtils.cpp88 isa<UnaryOperator>(Expr))
105 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Expr)) {
143 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Expr)) {
H A DSemaPseudoObject.cpp127 if (UnaryOperator *uop = dyn_cast<UnaryOperator>(e)) {
130 return UnaryOperator::Create(
489 assert(UnaryOperator::isIncrementDecrementOp(opcode));
500 if (UnaryOperator::isPostfix(opcode) &&
511 if (UnaryOperator::isIncrementOp(opcode)) {
520 result = buildSet(result.get(), opcLoc, UnaryOperator::isPrefix(opcode) &&
524 if (UnaryOperator::isPrefix(opcode) && !captureSetValueAsResult() &&
529 UnaryOperator *syntactic =
530 UnaryOperator
[all...]
/openbsd-current/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp36 if (isa<UnaryOperator>(Expr) || isa<BinaryOperator>(Expr) ||
87 if (const auto *Op = dyn_cast<UnaryOperator>(&E))
110 if (const auto *Op = dyn_cast<UnaryOperator>(&E))
133 if (const auto *Op = llvm::dyn_cast<UnaryOperator>(&E))
159 if (const auto *Op = llvm::dyn_cast<UnaryOperator>(&E))
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp69 if (auto *unaryOp = dyn_cast<UnaryOperator>(E)) {
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGExprComplex.cpp126 ComplexPairTy VisitUnaryCoawait(const UnaryOperator *E) {
191 ComplexPairTy VisitPrePostIncDec(const UnaryOperator *E,
196 ComplexPairTy VisitUnaryPostDec(const UnaryOperator *E) {
199 ComplexPairTy VisitUnaryPostInc(const UnaryOperator *E) {
202 ComplexPairTy VisitUnaryPreDec(const UnaryOperator *E) {
205 ComplexPairTy VisitUnaryPreInc(const UnaryOperator *E) {
210 ComplexPairTy VisitUnaryPlus(const UnaryOperator *E,
212 ComplexPairTy VisitPlus(const UnaryOperator *E, QualType PromotionType);
213 ComplexPairTy VisitUnaryMinus(const UnaryOperator *E,
215 ComplexPairTy VisitMinus(const UnaryOperator *
[all...]
H A DCGExprScalar.cpp141 if (const auto *UnOp = dyn_cast<UnaryOperator>(E))
176 assert((isa<UnaryOperator>(Op.E) || isa<BinaryOperator>(Op.E)) &&
185 if (const auto *UO = dyn_cast<UnaryOperator>(Op.E))
446 Value *VisitUnaryCoawait(const UnaryOperator *E) {
589 Value *VisitUnaryPostDec(const UnaryOperator *E) {
593 Value *VisitUnaryPostInc(const UnaryOperator *E) {
597 Value *VisitUnaryPreDec(const UnaryOperator *E) {
601 Value *VisitUnaryPreInc(const UnaryOperator *E) {
606 llvm::Value *EmitIncDecConsiderOverflowBehavior(const UnaryOperator *E,
610 llvm::Value *EmitScalarPrePostIncDec(const UnaryOperator *
[all...]
/openbsd-current/gnu/llvm/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp217 const UnaryOperator *Op;
222 Op(Result.Nodes.getNodeAs<UnaryOperator>(OpTag)) {}
235 const UnaryOperator *getBaseStmt() const override { return Op; }
252 const UnaryOperator *Op;
257 Op(Result.Nodes.getNodeAs<UnaryOperator>(OpTag)) {}
270 const UnaryOperator *getBaseStmt() const override { return Op; }
H A DReachableCode.cpp250 const UnaryOperator *UO = cast<UnaryOperator>(S);
565 const UnaryOperator *UO = cast<UnaryOperator>(S);
H A DBodyFarm.cpp69 /// Create a new UnaryOperator representing a dereference.
70 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty);
153 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) {
154 return UnaryOperator::Create(C, const_cast<Expr *>(Arg), UO_Deref, Ty,
479 UnaryOperator *FlagCheck = UnaryOperator::Create(
552 UnaryOperator::Create(C, M.makeIntegerLiteral(0, C.LongTy), UO_Not,
/openbsd-current/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h330 UnaryOperator::Opcode Op;
334 UnarySymExpr(const SymExpr *In, UnaryOperator::Opcode Op, QualType T)
353 UnaryOperator::Opcode getOpcode() const { return Op; }
359 UnaryOperator::Opcode Op, QualType T) {
554 UnaryOperator::Opcode op, QualType t);
H A DSValBuilder.h122 SVal evalUnaryOp(ProgramStateRef state, UnaryOperator::Opcode opc,
322 NonLoc makeNonLoc(const SymExpr *operand, UnaryOperator::Opcode op,
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/
H A DInstrTypes.h97 // UnaryOperator Class
100 class UnaryOperator : public UnaryInstruction { class in namespace:llvm
104 UnaryOperator(UnaryOps iType, Value *S, Type *Ty,
106 UnaryOperator(UnaryOps iType, Value *S, Type *Ty,
112 UnaryOperator *cloneImpl() const;
121 static UnaryOperator *Create(UnaryOps Op, Value *S,
129 static UnaryOperator *Create(UnaryOps Op, Value *S,
137 static UnaryOperator *Create##OPC(Value *V, const Twine &Name = "") {\
142 static UnaryOperator *Create##OPC(Value *V, const Twine &Name, \
148 static UnaryOperator *Creat
[all...]
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DExpr.cpp145 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
1389 StringRef UnaryOperator::getOpcodeStr(Opcode Op) {
1398 UnaryOperator::getOverloadedOpcode(OverloadedOperatorKind OO, bool Postfix) {
1413 OverloadedOperatorKind UnaryOperator::getOverloadedOperator(Opcode Opc) {
1544 } else if (UnaryOperator *UO = dyn_cast<UnaryOperator>(CEE)) {
2528 if (auto *UO = dyn_cast<UnaryOperator>(E))
2600 const UnaryOperator *UO = cast<UnaryOperator>(thi
4676 UnaryOperator::UnaryOperator(const ASTContext &Ctx, Expr *input, Opcode opc, function in class:UnaryOperator
[all...]

Completed in 407 milliseconds

123456