Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td96 class UnOp<string name, bits<16> opCode, list<dag> pattern=[]>
380 def OpImage: UnOp<"OpImage", 100>;
381 def OpImageQueryFormat: UnOp<"OpImageQueryFormat", 101>;
382 def OpImageQueryOrder: UnOp<"OpImageQueryOrder", 102>;
384 def OpImageQuerySize: UnOp<"OpImageQuerySize", 104>;
386 def OpImageQueryLevels: UnOp<"OpImageQueryLevels", 106>;
387 def OpImageQuerySamples: UnOp<"OpImageQuerySamples", 107>;
427 def OpImageSparseTexelsResident: UnOp<"OpImageSparseTexelsResident", 316>;
439 def OpConvertFToU : UnOp<"OpConvertFToU", 109>;
440 def OpConvertFToS : UnOp<"OpConvertFToS", 110>;
[all …]
/freebsd/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/contrib/llvm-project/clang/include/clang/AST/
H A DStmtVisitor.h86 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) { in Visit()
87 switch (UnOp->getOpcode()) { in Visit()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3266 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
3267 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
3268 E = UnOp->getSubExpr(); in isImplicitCXXThis()
4142 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) in getSourceBitField() local
4143 if (UnOp->isPrefix() && UnOp->isIncrementDecrementOp()) in getSourceBitField()
4144 return UnOp->getSubExpr()->getSourceBitField(); in getSourceBitField()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp6106 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6107 UnaryOperatorKind UnOpKind = UnOp->getOpcode(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6111 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6114 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6170 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6171 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6172 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6174 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6394 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
6395 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
[all …]
H A DSemaOverload.cpp16139 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
16140 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
16151 FixOverloadedFunctionReference(UnOp->getSubExpr(), Found, Fn); in FixOverloadedFunctionReference()
16154 if (SubExpr.get() == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
16155 return UnOp; in FixOverloadedFunctionReference()
16157 if (CheckUseOfCXXMethodAsAddressOfOperand(UnOp->getBeginLoc(), in FixOverloadedFunctionReference()
16175 (void)isCompleteType(UnOp->getOperatorLoc(), MemPtrType); in FixOverloadedFunctionReference()
16179 UnOp->getOperatorLoc(), false, in FixOverloadedFunctionReference()
16184 FixOverloadedFunctionReference(UnOp->getSubExpr(), Found, Fn); in FixOverloadedFunctionReference()
16187 if (SubExpr.get() == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
[all …]
H A DSemaExpr.cpp6507 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) { in BuildCallExpr() local
6508 if (UnOp->getOpcode() == UO_AddrOf) { in BuildCallExpr()
6510 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in BuildCallExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h1763 Instruction *UnOp = UnaryOperator::Create(Opc, V);
1764 if (isa<FPMathOperator>(UnOp))
1765 setFPAttrs(UnOp, FPMathTag, FMF);
1766 return Insert(UnOp, Name);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp146 if (const auto *UnOp = dyn_cast<UnaryOperator>(E)) in isFixedPointOp() local
147 return UnOp->getSubExpr()->getType()->isFixedPointType(); in isFixedPointOp()
4215 } else if (const auto *UnOp = dyn_cast<UnaryOperator>(op.E)) { in EmitFixedPointBinOp() local
4216 LHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
4217 RHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1035 if (auto *UnOp = dyn_cast<UnaryOperator>(Inst)) in Visit() local
1036 Changed |= VisitUnaryOperator(UnOp); in Visit()
/freebsd/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()