Home
last modified time | relevance | path

Searched refs:ResTy (Results 1 – 25 of 50) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp314 HexagonTargetLowering::getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops, in getInt() argument
319 return DAG.getNode(ISD::INTRINSIC_WO_CHAIN, dl, ResTy, IntOps); in getInt()
466 MVT ResTy = tyVector(OpTy, MVT::i8); in getByteShuffle() local
480 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle()
481 return DAG.getVectorShuffle(ResTy, dl, opCastElem(Op0, MVT::i8, DAG), in getByteShuffle()
807 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementReg() argument
831 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementPred() argument
833 assert(ResTy == MVT::i1); in extractHvxElementPred()
911 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxSubvectorReg() argument
931 if (VecTy == ResTy) in extractHvxSubvectorReg()
[all …]
H A DHexagonISelLowering.h357 MVT ValTy, MVT ResTy, SelectionDAG &DAG) const;
365 SDValue appendUndef(SDValue Val, MVT ResTy, SelectionDAG &DAG) const;
382 SDValue getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops,
439 MVT ResTy, SelectionDAG &DAG) const;
441 MVT ResTy, SelectionDAG &DAG) const;
447 MVT ResTy, SelectionDAG &DAG) const;
449 MVT ResTy, SelectionDAG &DAG) const;
454 SDValue extendHvxVectorPred(SDValue VecV, const SDLoc &dl, MVT ResTy,
456 SDValue compressHvxPred(SDValue VecQ, const SDLoc &dl, MVT ResTy,
H A DHexagonISelDAGToDAGHVX.cpp867 bool scalarizeShuffle(ArrayRef<int> Mask, const SDLoc &dl, MVT ResTy,
1418 MVT ResTy, SDValue Va, SDValue Vb, in scalarizeShuffle() argument
1421 MVT ElemTy = ResTy.getVectorElementType(); in scalarizeShuffle()
1481 LV = DAG.getNode(ISD::CONCAT_VECTORS, dl, ResTy, {L0, L1}); in scalarizeShuffle()
1483 SDValue BV = DAG.getBuildVector(ResTy, dl, Ops); in scalarizeShuffle()
1488 SDValue IS = DAG.getNode(HexagonISD::ISEL, dl, ResTy, LV); in scalarizeShuffle()
1510 MVT ResTy = getSingleVT(MVT::i8); in contracting() local
1553 Results.push(Hexagon::V6_vdealb4w, ResTy, {Vb, Va}); in contracting()
1583 Res.Ty = ResTy; in contracting()
1613 Res.Ty = ResTy; in contracting()
[all …]
H A DHexagonISelDAGToDAG.h125 SDValue selectUndef(const SDLoc &dl, MVT ResTy) { in selectUndef() argument
126 SDNode *U = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy); in selectUndef()
H A DHexagonISelDAGToDAG.cpp771 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectVAlign() local
772 if (HST->isHVXVectorType(ResTy, true)) in SelectVAlign()
776 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign()
803 SDValue E = CurDAG->getTargetExtractSubreg(Hexagon::isub_lo, dl, ResTy, in SelectVAlign()
810 SDNode *VA = CurDAG->getMachineNode(Hexagon::S2_valignrb, dl, ResTy, in SelectVAlign()
841 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectP2D() local
842 SDNode *T = CurDAG->getMachineNode(Hexagon::C2_mask, SDLoc(N), ResTy, in SelectP2D()
849 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectD2P() local
851 SDNode *T = CurDAG->getMachineNode(Hexagon::A4_vcmpbgtui, dl, ResTy, in SelectD2P()
858 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectV2Q() local
[all …]
H A DHexagonISelLowering.cpp1036 MVT ResTy = ty(Op); in LowerSETCC() local
1044 return DAG.getSetCC(dl, ResTy, in LowerSETCC()
1050 if (ResTy.isVector()) in LowerSETCC()
1082 return DAG.getSetCC(dl, ResTy, in LowerSETCC()
2309 MVT ResTy = ty(Op); in LowerBITCAST() local
2312 assert(ResTy.getSizeInBits() == InpTy.getSizeInBits()); in LowerBITCAST()
2317 if (ResTy == MVT::v8i1) { in LowerBITCAST()
2320 return getInstr(Hexagon::C2_tfrrp, dl, ResTy, Ext, DAG); in LowerBITCAST()
2502 const SDLoc &dl, MVT ValTy, MVT ResTy, in extractVector() argument
2557 return DAG.getNode(HexagonISD::D2P, dl, ResTy, T1); in extractVector()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp413 EVT ResTy = Op->getValueType(0); in lowerSELECT() local
420 return DAG.getNode(MipsISD::FSELECT, DL, ResTy, Tmp, Op->getOperand(1), in lowerSELECT()
1365 EVT ResTy = Op->getValueType(0); in lowerMSACopyIntr() local
1368 SDValue Result = DAG.getNode(Opc, DL, ResTy, Vec, Idx, in lowerMSACopyIntr()
1509 EVT ResTy = Op->getValueType(0); in truncateVecElts() local
1512 MVT ResEltTy = ResTy == MVT::v2i64 ? MVT::i64 : MVT::i32; in truncateVecElts()
1515 SDValue SplatVec = getBuildVectorSplat(ResTy, ConstValue, BigEndian, DAG); in truncateVecElts()
1517 return DAG.getNode(ISD::AND, DL, ResTy, Vec, SplatVec); in truncateVecElts()
1521 EVT ResTy = Op->getValueType(0); in lowerMSABitClear() local
1523 SDValue One = DAG.getConstant(1, DL, ResTy); in lowerMSABitClear()
[all …]
H A DMipsSEISelDAGToDAG.cpp978 MVT ResTy = Node->getSimpleValueType(0); in trySelect() local
989 if (ResTy != MVT::i32 && ResTy != MVT::i64) in trySelect()
993 if (ResTy == MVT::i32) { in trySelect()
1010 ReplaceNode(Node, CurDAG->getMachineNode(Opcode, DL, ResTy, Ops)); in trySelect()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp492 LLT ResTy = Res.getLLTTy(*getMRI()); in buildZExtInReg() local
494 ResTy, APInt::getLowBitsSet(ResTy.getScalarSizeInBits(), ImmOp)); in buildZExtInReg()
556 LLT ResTy = getMRI()->getType(Res); in buildSequence() local
567 if (MaybeMerge && Ops.size() * OpSize == ResTy.getSizeInBits()) { in buildSequence()
572 Register ResIn = getMRI()->createGenericVirtualRegister(ResTy); in buildSequence()
578 : getMRI()->createGenericVirtualRegister(ResTy); in buildSequence()
979 void MachineIRBuilder::validateSelectOp(const LLT ResTy, const LLT TstTy, in validateSelectOp() argument
982 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp()
984 assert((ResTy == Op0Ty && ResTy == Op1Ty) && "type mismatch"); in validateSelectOp()
985 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1256 OperandMatchResultTy ResTy; in ParseDirectiveInsn() local
1258 ResTy = parseAnyReg(Operands); in ParseDirectiveInsn()
1260 ResTy = parseVR128(Operands); in ParseDirectiveInsn()
1262 ResTy = parseBDXAddr64(Operands); in ParseDirectiveInsn()
1264 ResTy = parseBDAddr64(Operands); in ParseDirectiveInsn()
1266 ResTy = parseBDVAddr64(Operands); in ParseDirectiveInsn()
1268 ResTy = parsePCRel32(Operands); in ParseDirectiveInsn()
1270 ResTy = parsePCRel16(Operands); in ParseDirectiveInsn()
1284 ResTy = MatchOperand_Success; in ParseDirectiveInsn()
1287 if (ResTy != MatchOperand_Success) in ParseDirectiveInsn()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp928 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
933 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand()
934 return ResTy; in parseOperand()
955 ResTy = MatchOperand_Success; in parseOperand()
957 ResTy = parseMEMOperand(Operands); in parseOperand()
960 if (ResTy != MatchOperand_Success) in parseOperand()
961 return ResTy; in parseOperand()
973 ResTy = parseSparcAsmOperand(Op, false); in parseOperand()
974 if (ResTy != MatchOperand_Success || !Op) in parseOperand()
983 ResTy = parseSparcAsmOperand(Op, (Mnemonic == "call")); in parseOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMInstrNEON.td2474 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode>
2477 [(set DPR:$Vd, (ResTy (OpNode (OpTy DPR:$Vm))))]>;
2480 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode>
2483 [(set QPR:$Vd, (ResTy (OpNode (OpTy QPR:$Vm))))]>;
2489 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2492 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>;
2496 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2499 [(set QPR:$Vd, (ResTy (IntOp (OpTy QPR:$Vm))))]>;
2504 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2507 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>;
[all …]
H A DARMTargetTransformInfo.h263 Type *ResTy, VectorType *ValTy,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp1401 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
1406 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand()
1407 return ResTy; in parseOperand()
1444 ResTy = parseVEAsmOperand(Op); in parseOperand()
1445 if (ResTy != MatchOperand_Success || !Op) in parseOperand()
1460 ResTy = parseVEAsmOperand(Op2); in parseOperand()
1461 if (ResTy != MatchOperand_Success || !Op2) in parseOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp6340 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
6341 if (ResTy == MatchOperand_Success) in parseOperand()
6346 if (ResTy == MatchOperand_ParseFail) in parseOperand()
6404 OperandMatchResultTy ResTy = parseAnyRegister(Operands); in tryParseRegister() local
6405 if (ResTy == MatchOperand_Success) { in tryParseRegister()
6585 OperandMatchResultTy ResTy = in searchSymbolAlias() local
6587 if (ResTy == MatchOperand_Success) { in searchSymbolAlias()
6591 if (ResTy == MatchOperand_ParseFail) in searchSymbolAlias()
6601 OperandMatchResultTy ResTy = in searchSymbolAlias() local
6603 if (ResTy == MatchOperand_Success) { in searchSymbolAlias()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp442 Type *ResTy = II.getType(); in simplifyX86pack() local
446 return UndefValue::get(ResTy); in simplifyX86pack()
449 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128; in simplifyX86pack()
451 assert(cast<FixedVectorType>(ResTy)->getNumElements() == (2 * NumSrcElts) && in simplifyX86pack()
455 unsigned DstScalarSizeInBits = ResTy->getScalarSizeInBits(); in simplifyX86pack()
501 return Builder.CreateTrunc(Shuffle, ResTy); in simplifyX86pack()
507 Type *ResTy = II.getType(); in simplifyX86movmsk() local
511 return Constant::getNullValue(ResTy); in simplifyX86movmsk()
530 Res = Builder.CreateZExtOrTrunc(Res, ResTy); in simplifyX86movmsk()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp3067 LLT ResTy = MRI.getType(Res); in legalizeFastUnsafeFDIV() local
3089 auto FNeg = B.buildFNeg(ResTy, RHS, Flags); in legalizeFastUnsafeFDIV()
3100 auto RCP = B.buildIntrinsic(Intrinsic::amdgcn_rcp, {ResTy}, false) in legalizeFastUnsafeFDIV()
3116 LLT ResTy = MRI.getType(Res); in legalizeFastUnsafeFDIV64() local
3125 auto NegY = B.buildFNeg(ResTy, Y); in legalizeFastUnsafeFDIV64()
3126 auto One = B.buildFConstant(ResTy, 1.0); in legalizeFastUnsafeFDIV64()
3128 auto R = B.buildIntrinsic(Intrinsic::amdgcn_rcp, {ResTy}, false) in legalizeFastUnsafeFDIV64()
3132 auto Tmp0 = B.buildFMA(ResTy, NegY, R, One); in legalizeFastUnsafeFDIV64()
3133 R = B.buildFMA(ResTy, Tmp0, R, R); in legalizeFastUnsafeFDIV64()
3135 auto Tmp1 = B.buildFMA(ResTy, NegY, R, One); in legalizeFastUnsafeFDIV64()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1242 QualType ResTy = FD->getReturnType(); in BuildFunctionArgList() local
1247 ResTy = MD->getThisType(); in BuildFunctionArgList()
1249 ResTy = CGM.getContext().VoidPtrTy; in BuildFunctionArgList()
1277 CGM.getCXXABI().addImplicitStructorParams(*this, ResTy, Args); in BuildFunctionArgList()
1279 return ResTy; in BuildFunctionArgList()
1288 QualType ResTy = BuildFunctionArgList(GD, Args); in GenerateCode() local
1330 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode()
H A DCGExprScalar.cpp1415 llvm::Type *ResTy = DstTy; in EmitScalarConversion() local
1444 if (DstTy != ResTy) { in EmitScalarConversion()
1446 assert(ResTy->isIntegerTy(16) && "Only half FP requires extra conversion"); in EmitScalarConversion()
1451 Res = Builder.CreateFPTrunc(Res, ResTy, "conv"); in EmitScalarConversion()
4261 llvm::Type *ResTy = ConvertType(E->getType()); in VisitBinLAnd() local
4288 return Builder.CreateZExtOrBitCast(RHSCond, ResTy, "land.ext"); in VisitBinLAnd()
4293 return llvm::Constant::getNullValue(ResTy); in VisitBinLAnd()
4352 return Builder.CreateZExtOrBitCast(PN, ResTy, "land.ext"); in VisitBinLAnd()
4377 llvm::Type *ResTy = ConvertType(E->getType()); in VisitBinLOr() local
4404 return Builder.CreateZExtOrBitCast(RHSCond, ResTy, "lor.ext"); in VisitBinLOr()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp642 QualType ResTy = msg.getResultType(); in emitNilReceiverBug() local
649 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2944 Type *ResTy = isX86_MMX ? IntegerType::get(*MS.C, 64) : I.getType(); in handleVectorSadIntrinsic() local
2946 ResTy->getScalarSizeInBits() - SignificantBitsPerResultElement; in handleVectorSadIntrinsic()
2950 S = IRB.CreateBitCast(S, ResTy); in handleVectorSadIntrinsic()
2951 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorSadIntrinsic()
2952 ResTy); in handleVectorSadIntrinsic()
2963 Type *ResTy = isX86_MMX ? getMMXVectorTy(EltSizeInBits * 2) : I.getType(); in handleVectorPmaddIntrinsic() local
2966 S = IRB.CreateBitCast(S, ResTy); in handleVectorPmaddIntrinsic()
2967 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorPmaddIntrinsic()
2968 ResTy); in handleVectorPmaddIntrinsic()
2979 Type *ResTy = getShadowTy(&I); in handleVectorComparePackedIntrinsic() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp3474 QualType ResTy; in BuildPredefinedExpr() local
3477 ResTy = Context.DependentTy; in BuildPredefinedExpr()
3486 ResTy = in BuildPredefinedExpr()
3489 ConvertUTF8ToWideString(Context.getTypeSizeInChars(ResTy).getQuantity(), in BuildPredefinedExpr()
3491 ResTy = Context.getConstantArrayType(ResTy, LengthI, nullptr, in BuildPredefinedExpr()
3495 /*Pascal*/ false, ResTy, Loc); in BuildPredefinedExpr()
3497 ResTy = Context.adjustStringLiteralBaseType(Context.CharTy.withConst()); in BuildPredefinedExpr()
3498 ResTy = Context.getConstantArrayType(ResTy, LengthI, nullptr, in BuildPredefinedExpr()
3502 /*Pascal*/ false, ResTy, Loc); in BuildPredefinedExpr()
3506 return PredefinedExpr::Create(Context, Loc, ResTy, IK, SL); in BuildPredefinedExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1208 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty,
1665 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty,
2173 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty,
2175 return Impl.getExtendedAddReductionCost(IsMLA, IsUnsigned, ResTy, Ty,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp864 Type *ResTy = GEP->getType(); in SymbolicallyEvaluateGEP() local
868 if (Constant *C = CastGEPIndices(SrcElemTy, Ops, ResTy, in SymbolicallyEvaluateGEP()
893 Res = ConstantExpr::getIntToPtr(Res, ResTy); in SymbolicallyEvaluateGEP()
945 return ConstantExpr::getIntToPtr(C, ResTy); in SymbolicallyEvaluateGEP()
1039 C = FoldBitCast(C, ResTy, DL); in SymbolicallyEvaluateGEP()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp4406 Opcode opc, QualType ResTy, ExprValueKind VK, in BinaryOperator() argument
4409 : Expr(BinaryOperatorClass, ResTy, VK, OK) { in BinaryOperator()
4423 Opcode opc, QualType ResTy, ExprValueKind VK, in BinaryOperator() argument
4426 : Expr(CompoundAssignOperatorClass, ResTy, VK, OK) { in BinaryOperator()
4448 Expr *rhs, Opcode opc, QualType ResTy, in Create() argument
4457 BinaryOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures); in Create()
4470 Opcode opc, QualType ResTy, ExprValueKind VK, in Create() argument
4479 CompoundAssignOperator(C, lhs, rhs, opc, ResTy, VK, OK, opLoc, FPFeatures, in Create()

12