Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp208 HexagonTargetLowering::getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops, in getInt() argument
214 return DAG.getNode(ISD::INTRINSIC_WO_CHAIN, dl, ResTy, IntOps); in getInt()
330 MVT ResTy = tyVector(OpTy, MVT::i8); in getByteShuffle() local
344 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle()
345 return DAG.getVectorShuffle(ResTy, dl, opCastElem(Op0, MVT::i8, DAG), in getByteShuffle()
665 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementReg() argument
689 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementPred() argument
691 assert(ResTy == MVT::i1); in extractHvxElementPred()
769 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxSubvectorReg() argument
789 if (VecTy == ResTy) in extractHvxSubvectorReg()
[all …]
DHexagonISelLowering.h349 MVT ValTy, MVT ResTy, SelectionDAG &DAG) const;
373 SDValue getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops,
423 MVT ResTy, SelectionDAG &DAG) const;
425 MVT ResTy, SelectionDAG &DAG) const;
431 MVT ResTy, SelectionDAG &DAG) const;
433 MVT ResTy, SelectionDAG &DAG) const;
438 SDValue extendHvxVectorPred(SDValue VecV, const SDLoc &dl, MVT ResTy,
DHexagonISelDAGToDAGHVX.cpp860 bool scalarizeShuffle(ArrayRef<int> Mask, const SDLoc &dl, MVT ResTy,
1362 MVT ResTy, SDValue Va, SDValue Vb, in scalarizeShuffle() argument
1365 MVT ElemTy = ResTy.getVectorElementType(); in scalarizeShuffle()
1430 LV = DAG.getNode(ISD::CONCAT_VECTORS, dl, ResTy, {L0, L1}); in scalarizeShuffle()
1432 SDValue BV = DAG.getBuildVector(ResTy, dl, Ops); in scalarizeShuffle()
1507 MVT ResTy = getSingleVT(MVT::i8); in contracting() local
1550 Results.push(Hexagon::V6_vdealb4w, ResTy, {Vb, Va}); in contracting()
1580 Res.Ty = ResTy; in contracting()
1610 Res.Ty = ResTy; in contracting()
1950 MVT ResTy = getSingleVT(MVT::i8); in butterfly() local
[all …]
DHexagonISelDAGToDAG.h127 SDValue selectUndef(const SDLoc &dl, MVT ResTy) { in selectUndef() argument
128 SDNode *U = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy); in selectUndef()
DHexagonISelDAGToDAG.cpp772 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectVAlign() local
773 if (HST->isHVXVectorType(ResTy, true)) in SelectVAlign()
777 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign()
796 SDValue E = CurDAG->getTargetExtractSubreg(Hexagon::isub_lo, dl, ResTy, in SelectVAlign()
803 SDNode *VA = CurDAG->getMachineNode(Hexagon::S2_valignrb, dl, ResTy, in SelectVAlign()
834 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectP2D() local
835 SDNode *T = CurDAG->getMachineNode(Hexagon::C2_mask, SDLoc(N), ResTy, in SelectP2D()
842 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectD2P() local
844 SDNode *T = CurDAG->getMachineNode(Hexagon::A4_vcmpbgtui, dl, ResTy, in SelectD2P()
851 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectV2Q() local
[all …]
DHexagonISelLowering.cpp869 MVT ResTy = ty(Op); in LowerSETCC() local
877 return DAG.getSetCC(dl, ResTy, in LowerSETCC()
883 if (ResTy.isVector()) in LowerSETCC()
915 return DAG.getSetCC(dl, ResTy, in LowerSETCC()
2135 MVT ResTy = ty(Op); in LowerBITCAST() local
2138 assert(ResTy.getSizeInBits() == InpTy.getSizeInBits()); in LowerBITCAST()
2142 if (ResTy == MVT::v8i1) { in LowerBITCAST()
2145 return getInstr(Hexagon::C2_tfrrp, dl, ResTy, Ext, DAG); in LowerBITCAST()
2327 const SDLoc &dl, MVT ValTy, MVT ResTy, in extractVector() argument
2382 return DAG.getNode(HexagonISD::D2P, dl, ResTy, T1); in extractVector()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp413 EVT ResTy = Op->getValueType(0); in lowerSELECT() local
420 return DAG.getNode(MipsISD::FSELECT, DL, ResTy, Tmp, Op->getOperand(1), in lowerSELECT()
1366 EVT ResTy = Op->getValueType(0); in lowerMSACopyIntr() local
1369 SDValue Result = DAG.getNode(Opc, DL, ResTy, Vec, Idx, in lowerMSACopyIntr()
1510 EVT ResTy = Op->getValueType(0); in truncateVecElts() local
1513 MVT ResEltTy = ResTy == MVT::v2i64 ? MVT::i64 : MVT::i32; in truncateVecElts()
1516 SDValue SplatVec = getBuildVectorSplat(ResTy, ConstValue, BigEndian, DAG); in truncateVecElts()
1518 return DAG.getNode(ISD::AND, DL, ResTy, Vec, SplatVec); in truncateVecElts()
1522 EVT ResTy = Op->getValueType(0); in lowerMSABitClear() local
1524 SDValue One = DAG.getConstant(1, DL, ResTy); in lowerMSABitClear()
[all …]
DMipsSEISelDAGToDAG.cpp905 MVT ResTy = Node->getSimpleValueType(0); in trySelect() local
916 if (ResTy != MVT::i32 && ResTy != MVT::i64) in trySelect()
920 if (ResTy == MVT::i32) { in trySelect()
937 ReplaceNode(Node, CurDAG->getMachineNode(Opcode, DL, ResTy, Ops)); in trySelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp744 OperandMatchResultTy ResTy = parseSparcAsmOperand(Offset); in parseMEMOperand() local
745 if (ResTy != MatchOperand_Success || !Offset) in parseMEMOperand()
804 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
809 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand()
810 return ResTy; in parseOperand()
831 ResTy = MatchOperand_Success; in parseOperand()
833 ResTy = parseMEMOperand(Operands); in parseOperand()
836 if (ResTy != MatchOperand_Success) in parseOperand()
837 return ResTy; in parseOperand()
849 ResTy = parseSparcAsmOperand(Op, false); in parseOperand()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp540 LLT ResTy = getMRI()->getType(Res); in buildSequence() local
551 if (MaybeMerge && Ops.size() * OpSize == ResTy.getSizeInBits()) { in buildSequence()
556 Register ResIn = getMRI()->createGenericVirtualRegister(ResTy); in buildSequence()
562 : getMRI()->createGenericVirtualRegister(ResTy); in buildSequence()
929 void MachineIRBuilder::validateSelectOp(const LLT &ResTy, const LLT &TstTy, in validateSelectOp() argument
932 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp()
934 assert((ResTy == Op0Ty && ResTy == Op1Ty) && "type mismatch"); in validateSelectOp()
935 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp1063 OperandMatchResultTy ResTy; in ParseDirectiveInsn() local
1065 ResTy = parseAnyReg(Operands); in ParseDirectiveInsn()
1067 ResTy = parseBDXAddr64(Operands); in ParseDirectiveInsn()
1069 ResTy = parseBDAddr64(Operands); in ParseDirectiveInsn()
1071 ResTy = parsePCRel32(Operands); in ParseDirectiveInsn()
1073 ResTy = parsePCRel16(Operands); in ParseDirectiveInsn()
1087 ResTy = MatchOperand_Success; in ParseDirectiveInsn()
1090 if (ResTy != MatchOperand_Success) in ParseDirectiveInsn()
1187 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
1189 if (ResTy == MatchOperand_Success) in parseOperand()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstrNEON.td2519 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode>
2522 [(set DPR:$Vd, (ResTy (OpNode (OpTy DPR:$Vm))))]>;
2525 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode>
2528 [(set QPR:$Vd, (ResTy (OpNode (OpTy QPR:$Vm))))]>;
2534 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2537 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>;
2541 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2544 [(set QPR:$Vd, (ResTy (IntOp (OpTy QPR:$Vm))))]>;
2549 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2552 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>;
[all …]
DARMISelDAGToDAG.cpp2047 EVT ResTy; in SelectVLD() local
2049 ResTy = VT; in SelectVLD()
2054 ResTy = EVT::getVectorVT(*CurDAG->getContext(), MVT::i64, ResTyElts); in SelectVLD()
2057 ResTys.push_back(ResTy); in SelectVLD()
2100 SDValue(CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy), 0); in SelectVLD()
2103 ResTy, AddrTy, MVT::Other, OpsA); in SelectVLD()
2740 EVT ResTy = EVT::getVectorVT(*CurDAG->getContext(), MVT::i64, ResTyElts); in SelectVLDDup() local
2743 ResTys.push_back(ResTy); in SelectVLDDup()
2786 SDValue(CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy), 0); in SelectVLDDup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp6148 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
6149 if (ResTy == MatchOperand_Success) in parseOperand()
6154 if (ResTy == MatchOperand_ParseFail) in parseOperand()
6206 OperandMatchResultTy ResTy = parseAnyRegister(Operands); in ParseRegister() local
6207 if (ResTy == MatchOperand_Success) { in ParseRegister()
6386 OperandMatchResultTy ResTy = in searchSymbolAlias() local
6388 if (ResTy == MatchOperand_Success) { in searchSymbolAlias()
6392 if (ResTy == MatchOperand_ParseFail) in searchSymbolAlias()
6402 OperandMatchResultTy ResTy = in searchSymbolAlias() local
6404 if (ResTy == MatchOperand_Success) { in searchSymbolAlias()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2813 Type *ResTy = isX86_MMX ? IntegerType::get(*MS.C, 64) : I.getType(); in handleVectorSadIntrinsic() local
2815 ResTy->getScalarSizeInBits() - SignificantBitsPerResultElement; in handleVectorSadIntrinsic()
2819 S = IRB.CreateBitCast(S, ResTy); in handleVectorSadIntrinsic()
2820 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorSadIntrinsic()
2821 ResTy); in handleVectorSadIntrinsic()
2832 Type *ResTy = isX86_MMX ? getMMXVectorTy(EltSizeInBits * 2) : I.getType(); in handleVectorPmaddIntrinsic() local
2835 S = IRB.CreateBitCast(S, ResTy); in handleVectorPmaddIntrinsic()
2836 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorPmaddIntrinsic()
2837 ResTy); in handleVectorPmaddIntrinsic()
2848 Type *ResTy = getShadowTy(&I); in handleVectorComparePackedIntrinsic() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp830 Type *ResTy = GEP->getType(); in SymbolicallyEvaluateGEP() local
834 if (Constant *C = CastGEPIndices(SrcElemTy, Ops, ResTy, in SymbolicallyEvaluateGEP()
859 Res = ConstantExpr::getIntToPtr(Res, ResTy); in SymbolicallyEvaluateGEP()
913 return ConstantExpr::getIntToPtr(C, ResTy); in SymbolicallyEvaluateGEP()
1007 C = FoldBitCast(C, ResTy, DL); in SymbolicallyEvaluateGEP()
DScalarEvolutionExpander.cpp1439 Type *ResTy = Result->getType(); in expandAddRecExprLiterally() local
1441 if (ResTy != SE.getEffectiveSCEVType(ResTy)) in expandAddRecExprLiterally()
1442 Result = InsertNoopCastOfTo(Result, SE.getEffectiveSCEVType(ResTy)); in expandAddRecExprLiterally()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp554 Type *ResTy = II.getType(); in simplifyX86pack() local
558 return UndefValue::get(ResTy); in simplifyX86pack()
561 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128; in simplifyX86pack()
563 assert(ResTy->getVectorNumElements() == (2 * NumSrcElts) && in simplifyX86pack()
567 unsigned DstScalarSizeInBits = ResTy->getScalarSizeInBits(); in simplifyX86pack()
613 return Builder.CreateTrunc(Shuffle, ResTy); in simplifyX86pack()
619 Type *ResTy = II.getType(); in simplifyX86movmsk() local
624 return Constant::getNullValue(ResTy); in simplifyX86movmsk()
642 Res = Builder.CreateZExtOrTrunc(Res, ResTy); in simplifyX86movmsk()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1945 LLT ResTy = MRI.getType(Res); in legalizeFastUnsafeFDIV() local
1953 if (!MF.getTarget().Options.UnsafeFPMath && ResTy == S64) in legalizeFastUnsafeFDIV()
1956 if (!Unsafe && ResTy == S32 && in legalizeFastUnsafeFDIV()
1973 auto FNeg = B.buildFNeg(ResTy, RHS, Flags); in legalizeFastUnsafeFDIV()
1985 auto RCP = B.buildIntrinsic(Intrinsic::amdgcn_rcp, {ResTy}, false) in legalizeFastUnsafeFDIV()
DAMDGPURegisterBankInfo.cpp760 LLT ResTy = MRI.getType(Def.getReg()); in executeInWaterfallLoop() local
763 Register InitReg = B.buildUndef(ResTy).getReg(0); in executeInWaterfallLoop()
764 Register PhiReg = MRI.createGenericVirtualRegister(ResTy); in executeInWaterfallLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3933 Type *ResTy = flattenPointerTypes(FullTy); in parseFunctionBody() local
3935 if (Opc == -1 || !ResTy) in parseFunctionBody()
3938 if ((I = UpgradeBitCastInst(Opc, Op, ResTy, Temp))) { in parseFunctionBody()
3946 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
3948 I = CastInst::Create(CastOp, Op, ResTy); in parseFunctionBody()
5094 Type *ResTy = flattenPointerTypes(FullTy); in parseFunctionBody() local
5095 if (!OpTy || !Op || !ResTy) in parseFunctionBody()
5097 I = new VAArgInst(Op, ResTy); in parseFunctionBody()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp4455 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
4463 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail || in parseOperand()
4465 return ResTy; in parseOperand()
4473 ResTy = parseReg(Operands); in parseOperand()
4474 if (ResTy != MatchOperand_Success) in parseOperand()
4475 return ResTy; in parseOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp2123 Type *ResTy; in insertSinCosCall() local
2133 ResTy = T.getArch() == Triple::x86_64 in insertSinCosCall()
2138 ResTy = StructType::get(ArgTy, ArgTy); in insertSinCosCall()
2143 M->getOrInsertFunction(Name, OrigCallee->getAttributes(), ResTy, ArgTy); in insertSinCosCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h231 void validateSelectOp(const LLT &ResTy, const LLT &TstTy, const LLT &Op0Ty,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp9981 MVT ResTy; in performFpToIntCombine() local
9987 ResTy = FloatBits == 32 ? MVT::v2i32 : MVT::v2i64; in performFpToIntCombine()
9990 ResTy = FloatBits == 32 ? MVT::v4i32 : MVT::v4i64; in performFpToIntCombine()
9994 if (ResTy == MVT::v4i64 && DCI.isBeforeLegalizeOps()) in performFpToIntCombine()
9997 assert((ResTy != MVT::v4i64 || DCI.isBeforeLegalizeOps()) && in performFpToIntCombine()
10005 DAG.getNode(ISD::INTRINSIC_WO_CHAIN, DL, ResTy, in performFpToIntCombine()
10054 MVT ResTy; in performFDivCombine() local
10060 ResTy = FloatBits == 32 ? MVT::v2i32 : MVT::v2i64; in performFDivCombine()
10063 ResTy = FloatBits == 32 ? MVT::v4i32 : MVT::v4i64; in performFDivCombine()
10067 if (ResTy == MVT::v4i64 && DCI.isBeforeLegalizeOps()) in performFDivCombine()
[all …]

12