Home
last modified time | relevance | path

Searched refs:UnOp (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp59 if (auto UnOp = dyn_cast<MCUnaryExpr>(Expr)) in getFixupSection() local
60 return getFixupSection(UnOp->getSubExpr()); in getFixupSection()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtVisitor.h85 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) { in Visit()
86 switch (UnOp->getOpcode()) { in Visit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp3052 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
3053 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
3054 E = UnOp->getSubExpr(); in isImplicitCXXThis()
3882 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) in getSourceBitField() local
3883 if (UnOp->isPrefix() && UnOp->isIncrementDecrementOp()) in getSourceBitField()
3884 return UnOp->getSubExpr()->getSourceBitField(); in getSourceBitField()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplate.cpp6419 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6420 UnaryOperatorKind UnOpKind = UnOp->getOpcode(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6424 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6427 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6483 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6484 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6485 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6487 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6700 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
6701 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
[all …]
H A DSemaOverload.cpp15038 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
15039 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
15049 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
15051 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
15052 return UnOp; in FixOverloadedFunctionReference()
15068 (void)isCompleteType(UnOp->getOperatorLoc(), MemPtrType); in FixOverloadedFunctionReference()
15072 UnOp->getOperatorLoc(), false, CurFPFeatureOverrides()); in FixOverloadedFunctionReference()
15075 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
15077 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
15078 return UnOp; in FixOverloadedFunctionReference()
[all …]
H A DSemaExpr.cpp6473 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) { in BuildCallExpr() local
6474 if (UnOp->getOpcode() == UO_AddrOf) { in BuildCallExpr()
6476 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in BuildCallExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIRBuilder.h1606 Instruction *UnOp = UnaryOperator::Create(Opc, V);
1607 if (isa<FPMathOperator>(UnOp))
1608 setFPAttrs(UnOp, FPMathTag, FMF);
1609 return Insert(UnOp, Name);
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1517 if (const UnaryOperator *UnOp = dyn_cast<UnaryOperator>(C->IgnoreParens())) in isInstrumentedCondition() local
1518 if (UnOp->getOpcode() == UO_LNot) in isInstrumentedCondition()
1519 C = UnOp->getSubExpr(); in isInstrumentedCondition()
H A DCGExprScalar.cpp145 if (const auto *UnOp = dyn_cast<UnaryOperator>(E)) in isFixedPointOp() local
146 return UnOp->getSubExpr()->getType()->isFixedPointType(); in isFixedPointOp()
3635 } else if (const auto *UnOp = dyn_cast<UnaryOperator>(op.E)) { in EmitFixedPointBinOp() local
3636 LHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
3637 RHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp726 if (auto *UnOp = dyn_cast<UnaryOperator>(Inst)) in Visit() local
727 Changed |= VisitUnaryOperator(UnOp); in Visit()