Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp23 CachedTypes[Inc] = ResTy; in inferScalarTypeForRecipe()
25 return ResTy; in inferScalarTypeForRecipe()
35 CachedTypes[OtherV] = ResTy; in inferScalarTypeForRecipe()
36 return ResTy; in inferScalarTypeForRecipe()
43 CachedTypes[OtherV] = ResTy; in inferScalarTypeForRecipe()
44 return ResTy; in inferScalarTypeForRecipe()
85 return ResTy; in inferScalarTypeForRecipe()
118 CachedTypes[OtherV] = ResTy; in inferScalarTypeForRecipe()
119 return ResTy; in inferScalarTypeForRecipe()
151 return ResTy; in inferScalarTypeForRecipe()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DThreadPool.h119 template <typename ResTy>
120 static std::pair<std::function<void()>, std::future<ResTy>>
121 createTaskAndFuture(std::function<ResTy()> Task) { in createTaskAndFuture()
122 std::shared_ptr<std::promise<ResTy>> Promise = in createTaskAndFuture()
123 std::make_shared<std::promise<ResTy>>(); in createTaskAndFuture()
147 template <typename ResTy>
148 std::shared_future<ResTy> asyncImpl(std::function<ResTy()> Task, in asyncImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp1277 assert(ResTy.getSizeInBits() == 32 || ResTy.getSizeInBits() == 64); in extractHvxSubvectorReg()
1570 if (InpTy == ResTy) in resizeToWidth()
1839 MVT ResTy = ty(Op); in LowerHvxAnyExt() local
1849 MVT ResTy = ty(Op); in LowerHvxSignExt() local
1859 MVT ResTy = ty(Op); in LowerHvxZeroExt() local
1872 MVT ResTy = ty(Op); in LowerHvxCttz() local
1900 MVT ResTy = ty(Op); in LowerHvxMulh() local
1906 SDVTList ResTys = DAG.getVTList(ResTy, ResTy); in LowerHvxMulh()
1960 MVT ResTy = ty(Op); in LowerHvxBitcast() local
2402 MVT ResTy = ty(A); in emitHvxAddWithOverflow() local
[all …]
H A DHexagonISelLowering.h382 MVT ValTy, MVT ResTy, SelectionDAG &DAG) const;
384 MVT ValTy, MVT ResTy, SelectionDAG &DAG) const;
395 SDValue appendUndef(SDValue Val, MVT ResTy, SelectionDAG &DAG) const;
396 SDValue getCombine(SDValue Hi, SDValue Lo, const SDLoc &dl, MVT ResTy,
414 SDValue getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops,
499 MVT ResTy, SelectionDAG &DAG) const;
501 MVT ResTy, SelectionDAG &DAG) const;
510 MVT ResTy, SelectionDAG &DAG) const;
515 SDValue extendHvxVectorPred(SDValue VecV, const SDLoc &dl, MVT ResTy,
517 SDValue compressHvxPred(SDValue VecQ, const SDLoc &dl, MVT ResTy,
[all …]
H A DHexagonISelDAGToDAGHVX.cpp1850 MVT ElemTy = ResTy.getVectorElementType(); in scalarizeShuffle()
2517 MVT ResTy = getSingleVT(MVT::i8); in butterfly() local
2549 Results.push(Hexagon::V6_vrdelta, ResTy, in butterfly()
2597 assert(ResTy.isVector() && ResTy.getVectorElementType() == MVT::i8); in selectShuffle()
2608 assert(ResTy.getSizeInBits() / 8 == VecLen); in selectShuffle()
2638 assert(Vec0.getValueType() == ResTy && Vec1.getValueType() == ResTy); in selectShuffle()
2641 OpRef Va = OpRef::undef(ResTy); in selectShuffle()
2642 OpRef Vb = OpRef::undef(ResTy); in selectShuffle()
2825 EVT ResTy = N->getValueType(0); in ppHvxShuffleOfShuffle() local
2828 if (ResTy.getVectorNumElements() != HwLen) in ppHvxShuffleOfShuffle()
[all …]
H A DHexagonISelDAGToDAG.h124 SDValue selectUndef(const SDLoc &dl, MVT ResTy) { in selectUndef() argument
125 SDNode *U = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy); in selectUndef()
H A DHexagonISelDAGToDAG.cpp703 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectExtractSubvector() local
707 [[maybe_unused]] unsigned ResLen = ResTy.getVectorNumElements(); in SelectExtractSubvector()
710 assert(ResTy.getSizeInBits() == 32); in SelectExtractSubvector()
795 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectVAlign() local
796 if (HST->isHVXVectorType(ResTy, true)) in SelectVAlign()
800 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign()
865 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectP2D() local
873 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectD2P() local
882 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectV2Q() local
896 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectQ2V() local
[all …]
H A DHexagonISelLowering.cpp1033 MVT ResTy = ty(Op); in LowerSETCC() local
1041 return DAG.getSetCC(dl, ResTy, in LowerSETCC()
1047 if (ResTy.isVector()) in LowerSETCC()
1079 return DAG.getSetCC(dl, ResTy, in LowerSETCC()
2419 MVT ResTy = ty(Res); in LowerVECTOR_SHIFT() local
2436 if (ResTy.getSizeInBits() == 32) in LowerVECTOR_SHIFT()
2453 MVT ResTy = ty(Op); in LowerBITCAST() local
2461 if (ResTy == MVT::v8i1) { in LowerBITCAST()
2702 ExtV = DAG.getBitcast(ResTy, ExtV); in extractVector()
2914 return DAG.getBitcast(ResTy, Pair); in getCombine()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp405 EVT ResTy = Op->getValueType(0); in lowerSELECT() local
1353 EVT ResTy = Op->getValueType(0); in lowerMSACopyIntr() local
1497 EVT ResTy = Op->getValueType(0); in truncateVecElts() local
1509 EVT ResTy = Op->getValueType(0); in lowerMSABitClear() local
1520 EVT ResTy = Op->getValueType(0); in lowerMSABitClearImm() local
2287 EVT ResTy = Op->getValueType(0); in lowerMSALoadIntr() local
2400 EVT ResTy = Op->getValueType(0); in lowerEXTRACT_VECTOR_ELT() local
2407 if (ResTy.isInteger()) { in lowerEXTRACT_VECTOR_ELT()
2496 if (ViaVecTy != ResTy) in lowerBUILD_VECTOR()
2508 assert(ResTy.isVector()); in lowerBUILD_VECTOR()
[all …]
H A DMipsSEISelDAGToDAG.cpp956 MVT ResTy = Node->getSimpleValueType(0); in trySelect() local
957 assert((ResTy == MVT::f64 || ResTy == MVT::f32) && in trySelect()
960 if (ResTy == MVT::f64) in trySelect()
982 CurDAG->getMachineNode(Opc, DL, ResTy, Node->getOperand(0))); in trySelect()
1006 MVT ResTy = Node->getSimpleValueType(0); in trySelect() local
1017 if (ResTy != MVT::i32 && ResTy != MVT::i64) in trySelect()
1021 if (ResTy == MVT::i32) { in trySelect()
1038 ReplaceNode(Node, CurDAG->getMachineNode(Opcode, DL, ResTy, Ops)); in trySelect()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp238 LLT ResTy = Res.getLLTTy(*getMRI()); in buildPadVectorWithUndefElements() local
241 assert(ResTy.isVector() && "Res non vector type"); in buildPadVectorWithUndefElements()
254 assert((ResTy.getSizeInBits() > Op0Ty.getSizeInBits()) && in buildPadVectorWithUndefElements()
269 LLT ResTy = Res.getLLTTy(*getMRI()); in buildDeleteTrailingVectorElements() local
275 assert((ResTy.getNumElements() < Op0Ty.getNumElements()) && in buildDeleteTrailingVectorElements()
280 for (unsigned i = 0; i < ResTy.getNumElements(); ++i) in buildDeleteTrailingVectorElements()
568 LLT ResTy = Res.getLLTTy(*getMRI()); in buildZExtInReg() local
570 ResTy, APInt::getLowBitsSet(ResTy.getScalarSizeInBits(), ImmOp)); in buildZExtInReg()
1103 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp()
1105 assert((ResTy == Op0Ty && ResTy == Op1Ty) && "type mismatch"); in validateSelectOp()
[all …]
H A DInlineAsmLowering.cpp571 LLT ResTy = MRI->getType(ResRegs[i]); in lowerInlineAsm() local
572 if (ResTy.isScalar() && ResTy.getSizeInBits() < SrcSize) { in lowerInlineAsm()
580 } else if (ResTy.getSizeInBits() == SrcSize) { in lowerInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp453 EVT ResTy = Op->getValueType(0); in lowerBUILD_VECTOR() local
496 if (ViaVecTy != ResTy) in lowerBUILD_VECTOR()
509 EVT ResTy = Node->getValueType(0); in lowerBUILD_VECTOR() local
511 assert(ResTy.isVector()); in lowerBUILD_VECTOR()
2481 EVT ResTy = Node->getValueType(0); in lowerVectorSplatImm() local
2494 DL, ResTy); in lowerVectorSplatImm()
2499 EVT ResTy = Node->getValueType(0); in truncateVecElts() local
2507 EVT ResTy = Node->getValueType(0); in lowerVectorBitClear() local
2729 EVT ResTy = N->getValueType(0); in performINTRINSIC_WO_CHAINCombine() local
2742 EVT ResTy = N->getValueType(0); in performINTRINSIC_WO_CHAINCombine() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1251 ParseStatus ResTy; in ParseDirectiveInsn() local
1253 ResTy = parseAnyReg(Operands); in ParseDirectiveInsn()
1255 ResTy = parseVR128(Operands); in ParseDirectiveInsn()
1257 ResTy = parseBDXAddr64(Operands); in ParseDirectiveInsn()
1259 ResTy = parseBDAddr64(Operands); in ParseDirectiveInsn()
1261 ResTy = parseBDVAddr64(Operands); in ParseDirectiveInsn()
1263 ResTy = parsePCRel32(Operands); in ParseDirectiveInsn()
1265 ResTy = parsePCRel16(Operands); in ParseDirectiveInsn()
1279 ResTy = ParseStatus::Success; in ParseDirectiveInsn()
1282 if (!ResTy.isSuccess()) in ParseDirectiveInsn()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td2698 [(set (ResTy QPR:$Vd),
2699 (ResTy (ShOp (ResTy QPR:$Vn),
2712 (ResTy (ShOp (ResTy QPR:$Vn),
2820 (ResTy (IntOp (ResTy QPR:$Vn),
2832 (ResTy (IntOp (ResTy QPR:$Vn),
2902 (ResTy (ShOp (ResTy QPR:$src1),
2916 (ResTy (ShOp (ResTy QPR:$src1),
3024 (ResTy (IntOp (ResTy QPR:$src1),
3037 (ResTy (IntOp (ResTy QPR:$src1),
3193 [(set DPR:$Vd, (ResTy (IntOp (ResTy DPR:$src1), (OpTy DPR:$Vm))))]>;
[all …]
H A DARMTargetTransformInfo.h286 Type *ResTy, VectorType *ValTy,
289 InstructionCost getMulAccReductionCost(bool IsUnsigned, Type *ResTy,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp989 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost() argument
992 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
996 if (ResTy->getScalarSizeInBits() > ST->getELen()) in getExtendedReductionCost()
997 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
1001 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
1006 if (ResTy->getScalarSizeInBits() != 2 * LT.second.getScalarSizeInBits()) in getExtendedReductionCost()
1007 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
H A DRISCVTargetTransformInfo.h160 Type *ResTy, VectorType *ValTy,
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1475 bool IsUnsigned, Type *ResTy, VectorType *Ty,
1483 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty,
2039 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty,
2043 bool IsUnsigned, Type *ResTy, VectorType *Ty,
2694 getExtendedReductionCost(unsigned Opcode, bool IsUnsigned, Type *ResTy, in getExtendedReductionCost() argument
2697 return Impl.getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, in getExtendedReductionCost()
2701 getMulAccReductionCost(bool IsUnsigned, Type *ResTy, VectorType *Ty, in getMulAccReductionCost() argument
2703 return Impl.getMulAccReductionCost(IsUnsigned, ResTy, Ty, CostKind); in getMulAccReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp1113 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *Ty, in getExtendedReductionCost() argument
1115 return TTIImpl->getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, in getExtendedReductionCost()
1120 bool IsUnsigned, Type *ResTy, VectorType *Ty, in getMulAccReductionCost() argument
1122 return TTIImpl->getMulAccReductionCost(IsUnsigned, ResTy, Ty, CostKind); in getMulAccReductionCost()
/freebsd/contrib/llvm-project/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()
529 Res = Builder.CreateZExtOrTrunc(Res, ResTy); in simplifyX86movmsk()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1307 QualType ResTy = FD->getReturnType(); in BuildFunctionArgList() local
1312 ResTy = MD->getThisType(); in BuildFunctionArgList()
1314 ResTy = CGM.getContext().VoidPtrTy; in BuildFunctionArgList()
1342 CGM.getCXXABI().addImplicitStructorParams(*this, ResTy, Args); in BuildFunctionArgList()
1344 return ResTy; in BuildFunctionArgList()
1354 QualType ResTy = BuildFunctionArgList(GD, Args); in GenerateCode() local
1436 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp641 QualType ResTy = msg.getResultType(); in emitNilReceiverBug() local
648 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp4667 LLT ResTy = MRI.getType(Res); in legalizeFastUnsafeFDIV() local
4729 LLT ResTy = MRI.getType(Res); in legalizeFastUnsafeFDIV64() local
4738 auto NegY = B.buildFNeg(ResTy, Y); in legalizeFastUnsafeFDIV64()
4739 auto One = B.buildFConstant(ResTy, 1.0); in legalizeFastUnsafeFDIV64()
4745 auto Tmp0 = B.buildFMA(ResTy, NegY, R, One); in legalizeFastUnsafeFDIV64()
4746 R = B.buildFMA(ResTy, Tmp0, R, R); in legalizeFastUnsafeFDIV64()
4748 auto Tmp1 = B.buildFMA(ResTy, NegY, R, One); in legalizeFastUnsafeFDIV64()
4749 R = B.buildFMA(ResTy, Tmp1, R, R); in legalizeFastUnsafeFDIV64()
4751 auto Ret = B.buildFMul(ResTy, X, R); in legalizeFastUnsafeFDIV64()
6462 LLT ResTy = MRI->getType(ResultRegs[0]); in legalizeImageIntrinsic() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp3736 QualType ResTy; in BuildPredefinedExpr() local
3749 ResTy = in BuildPredefinedExpr()
3754 ResTy = Context.getConstantArrayType(ResTy, LengthI, nullptr, in BuildPredefinedExpr()
3761 ResTy = Context.getConstantArrayType(ResTy, LengthI, nullptr, in BuildPredefinedExpr()
9278 return ResTy; in CheckConditionalOperands()
9310 return ResTy; in CheckConditionalOperands()
9317 return ResTy; in CheckConditionalOperands()
9648 return ResTy; in computeConditionalNullability()
9685 return ResTy; in computeConditionalNullability()
9689 ResTy = ResTy.getSingleStepDesugaredType(Ctx); in computeConditionalNullability()
[all …]

123