Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td347 def OpImage: UnOp<"OpImage", 100>;
427 def OpBitcast : UnOp<"OpBitcast", 124>;
450 def OpSNegate: UnOp<"OpSNegate", 126>;
497 def OpNot: UnOp<"OpNot", 200>;
518 def OpIsNan: UnOp<"OpIsNan", 156>;
519 def OpIsInf: UnOp<"OpIsInf", 157>;
520 def OpIsFinite: UnOp<"OpIsFinite", 158>;
521 def OpIsNormal: UnOp<"OpIsNormal", 159>;
565 def OpDPdx: UnOp<"OpDPdx", 207>;
566 def OpDPdy: UnOp<"OpDPdy", 208>;
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp60 if (auto UnOp = dyn_cast<MCUnaryExpr>(Expr)) in getTargetSection() local
61 return getTargetSection(UnOp->getSubExpr()); in getTargetSection()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExpr.cpp3236 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
3237 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
3238 E = UnOp->getSubExpr(); in isImplicitCXXThis()
4068 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) in getSourceBitField() local
4069 if (UnOp->isPrefix() && UnOp->isIncrementDecrementOp()) in getSourceBitField()
4070 return UnOp->getSubExpr()->getSourceBitField(); in getSourceBitField()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplate.cpp6653 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6654 UnaryOperatorKind UnOpKind = UnOp->getOpcode(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6658 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6661 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6717 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6718 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6719 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6721 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6941 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
6942 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
[all …]
H A DSemaOverload.cpp15435 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
15436 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
15446 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
15448 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
15449 return UnOp; in FixOverloadedFunctionReference()
15465 (void)isCompleteType(UnOp->getOperatorLoc(), MemPtrType); in FixOverloadedFunctionReference()
15469 UnOp->getOperatorLoc(), false, CurFPFeatureOverrides()); in FixOverloadedFunctionReference()
15472 Expr *SubExpr = FixOverloadedFunctionReference(UnOp->getSubExpr(), in FixOverloadedFunctionReference()
15474 if (SubExpr == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
15475 return UnOp; in FixOverloadedFunctionReference()
[all …]
H A DSemaExpr.cpp6981 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) { in BuildCallExpr() local
6982 if (UnOp->getOpcode() == UO_AddrOf) { in BuildCallExpr()
6984 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in BuildCallExpr()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DIRBuilder.h1673 Instruction *UnOp = UnaryOperator::Create(Opc, V);
1674 if (isa<FPMathOperator>(UnOp))
1675 setFPAttrs(UnOp, FPMathTag, FMF);
1676 return Insert(UnOp, Name);
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1614 if (const UnaryOperator *UnOp = dyn_cast<UnaryOperator>(C->IgnoreParens())) in isInstrumentedCondition() local
1615 if (UnOp->getOpcode() == UO_LNot) in isInstrumentedCondition()
1616 C = UnOp->getSubExpr(); in isInstrumentedCondition()
H A DCGExprScalar.cpp141 if (const auto *UnOp = dyn_cast<UnaryOperator>(E)) in isFixedPointOp() local
142 return UnOp->getSubExpr()->getType()->isFixedPointType(); in isFixedPointOp()
3882 } else if (const auto *UnOp = dyn_cast<UnaryOperator>(op.E)) { in EmitFixedPointBinOp() local
3883 LHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
3884 RHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1001 if (auto *UnOp = dyn_cast<UnaryOperator>(Inst)) in Visit() local
1002 Changed |= VisitUnaryOperator(UnOp); in Visit()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp1027 if (const auto *UnOp = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in getIntegerLiteralSubexpressionValue() local
1030 const Expr *SubExpr = UnOp->getSubExpr()->IgnoreParens(); in getIntegerLiteralSubexpressionValue()
1037 switch (UnOp->getOpcode()) { in getIntegerLiteralSubexpressionValue()