Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td86 class UnOp<string name, bits<16> opCode, list<dag> pattern=[]>
358 def OpImage: UnOp<"OpImage", 100>;
359 def OpImageQueryFormat: UnOp<"OpImageQueryFormat", 101>;
360 def OpImageQueryOrder: UnOp<"OpImageQueryOrder", 102>;
362 def OpImageQuerySize: UnOp<"OpImageQuerySize", 104>;
364 def OpImageQueryLevels: UnOp<"OpImageQueryLevels", 106>;
365 def OpImageQuerySamples: UnOp<"OpImageQuerySamples", 107>;
405 def OpImageSparseTexelsResident: UnOp<"OpImageSparseTexelsResident", 316>;
417 def OpConvertFToU : UnOp<"OpConvertFToU", 109>;
418 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.h87 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) { in Visit()
88 switch (UnOp->getOpcode()) { in Visit()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValues.def89 DEF_INSTR(UnOp, OPCODES( \
H A DInstruction.h1950 static Opcode getUnaryOpcode(llvm::Instruction::UnaryOps UnOp) { in getUnaryOpcode() argument
1951 switch (UnOp) { in getUnaryOpcode()
1960 : UnaryInstruction(ClassID::UnOp, getUnaryOpcode(UO->getOpcode()), UO, in UnaryOperator()
1973 return From->getSubclassID() == ClassID::UnOp; in classof()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3286 if (const UnaryOperator* UnOp = dyn_cast<UnaryOperator>(E)) { in isImplicitCXXThis() local
3287 if (UnOp->getOpcode() == UO_Extension) { in isImplicitCXXThis()
3288 E = UnOp->getSubExpr(); in isImplicitCXXThis()
4169 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) in getSourceBitField() local
4170 if (UnOp->isPrefix() && UnOp->isIncrementDecrementOp()) in getSourceBitField()
4171 return UnOp->getSubExpr()->getSourceBitField(); in getSourceBitField()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp6542 while (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6543 UnaryOperatorKind UnOpKind = UnOp->getOpcode(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6547 Arg = UnOp->getSubExpr()->IgnoreParenCasts(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6550 FirstOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6603 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentAddressOfObjectOrFunction() local
6604 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6605 Arg = UnOp->getSubExpr(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6607 AddrOpLoc = UnOp->getOperatorLoc(); in CheckTemplateArgumentAddressOfObjectOrFunction()
6824 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(Arg)) { in CheckTemplateArgumentPointerToMember() local
6825 if (UnOp->getOpcode() == UO_AddrOf) { in CheckTemplateArgumentPointerToMember()
[all …]
H A DSemaOverload.cpp16956 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(E)) { in FixOverloadedFunctionReference() local
16957 assert(UnOp->getOpcode() == UO_AddrOf && in FixOverloadedFunctionReference()
16968 FixOverloadedFunctionReference(UnOp->getSubExpr(), Found, Fn); in FixOverloadedFunctionReference()
16971 if (SubExpr.get() == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
16972 return UnOp; in FixOverloadedFunctionReference()
16974 if (CheckUseOfCXXMethodAsAddressOfOperand(UnOp->getBeginLoc(), in FixOverloadedFunctionReference()
16993 (void)isCompleteType(UnOp->getOperatorLoc(), MemPtrType); in FixOverloadedFunctionReference()
16997 UnOp->getOperatorLoc(), false, in FixOverloadedFunctionReference()
17002 FixOverloadedFunctionReference(UnOp->getSubExpr(), Found, Fn); in FixOverloadedFunctionReference()
17005 if (SubExpr.get() == UnOp->getSubExpr()) in FixOverloadedFunctionReference()
[all …]
H A DSemaExpr.cpp6679 if (UnaryOperator *UnOp = dyn_cast<UnaryOperator>(NakedFn)) { in BuildCallExpr() local
6680 if (UnOp->getOpcode() == UO_AddrOf) { in BuildCallExpr()
6682 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in BuildCallExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h1819 Instruction *UnOp = UnaryOperator::Create(Opc, V);
1820 if (isa<FPMathOperator>(UnOp))
1821 setFPAttrs(UnOp, FPMathTag, FMF);
1822 return Insert(UnOp, Name);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp150 if (const auto *UnOp = dyn_cast<UnaryOperator>(E)) in isFixedPointOp() local
151 return UnOp->getSubExpr()->getType()->isFixedPointType(); in isFixedPointOp()
4520 } else if (const auto *UnOp = dyn_cast<UnaryOperator>(op.E)) { in EmitFixedPointBinOp() local
4521 LHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
4522 RHSTy = UnOp->getSubExpr()->getType(); in EmitFixedPointBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1178 else if (auto *UnOp = dyn_cast<UnaryOperator>(Inst)) in Visit() local
1179 Result = VisitUnaryOperator(UnOp, SI, Builder); in Visit()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1052 if (const auto *UnOp = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in getIntegerLiteralSubexpressionValue() local
1055 const Expr *SubExpr = UnOp->getSubExpr()->IgnoreParens(); in getIntegerLiteralSubexpressionValue()
1062 switch (UnOp->getOpcode()) { in getIntegerLiteralSubexpressionValue()