Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td351 def OpImage: UnOp<"OpImage", 100>;
431 def OpBitcast : UnOp<"OpBitcast", 124>;
454 def OpSNegate: UnOp<"OpSNegate", 126>;
501 def OpNot: UnOp<"OpNot", 200>;
522 def OpIsNan: UnOp<"OpIsNan", 156>;
523 def OpIsInf: UnOp<"OpIsInf", 157>;
524 def OpIsFinite: UnOp<"OpIsFinite", 158>;
525 def OpIsNormal: UnOp<"OpIsNormal", 159>;
569 def OpDPdx: UnOp<"OpDPdx", 207>;
570 def OpDPdy: UnOp<"OpDPdy", 208>;
[all …]
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3230 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
3231 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
3232 E = UnOp->getSubExpr(); in isImplicitCXXThis()
4067 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) in getSourceBitField() local
4068 if (UnOp->isPrefix() && UnOp->isIncrementDecrementOp()) in getSourceBitField()
4069 return UnOp->getSubExpr()->getSourceBitField(); in getSourceBitField()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h1757 Instruction *UnOp = UnaryOperator::Create(Opc, V);
1758 if (isa<FPMathOperator>(UnOp))
1759 setFPAttrs(UnOp, FPMathTag, FMF);
1760 return Insert(UnOp, Name);
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp6829 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6830 UnaryOperatorKind UnOpKind = UnOp->getOpcode(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6834 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6837 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6893 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6894 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6895 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6897 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
7117 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
7118 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
[all …]
H A DSemaOverload.cpp16145 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
16146 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
16160 if (SubExpr.get() == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
16161 return UnOp; in FixOverloadedFunctionReference()
16163 if (CheckUseOfCXXMethodAsAddressOfOperand(UnOp->getBeginLoc(), in FixOverloadedFunctionReference()
16181 (void)isCompleteType(UnOp->getOperatorLoc(), MemPtrType); in FixOverloadedFunctionReference()
16185 UnOp->getOperatorLoc(), false, in FixOverloadedFunctionReference()
16190 FixOverloadedFunctionReference(UnOp->getSubExpr(), Found, Fn); in FixOverloadedFunctionReference()
16193 if (SubExpr.get() == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
16194 return UnOp; in FixOverloadedFunctionReference()
[all …]
H A DSemaExpr.cpp7284 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) { in BuildCallExpr() local
7285 if (UnOp->getOpcode() == UO_AddrOf) { in BuildCallExpr()
7287 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in BuildCallExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp141 if (const auto *UnOp = dyn_cast<UnaryOperator>(E)) in isFixedPointOp() local
142 return UnOp->getSubExpr()->getType()->isFixedPointType(); in isFixedPointOp()
3927 } else if (const auto *UnOp = dyn_cast<UnaryOperator>(op.E)) { in EmitFixedPointBinOp() local
3928 LHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
3929 RHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1016 if (auto *UnOp = dyn_cast<UnaryOperator>(Inst)) in Visit() local
1017 Changed |= VisitUnaryOperator(UnOp); in Visit()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1024 if (const auto *UnOp = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in getIntegerLiteralSubexpressionValue() local
1027 const Expr *SubExpr = UnOp->getSubExpr()->IgnoreParens(); in getIntegerLiteralSubexpressionValue()
1034 switch (UnOp->getOpcode()) { in getIntegerLiteralSubexpressionValue()