Home
last modified time | relevance | path

Searched refs:NewVT (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp197 MVT NewVT = TLI->getRegisterTypeForCallingConv( in handleAssignments() local
206 if (NewVT.getSizeInBits() * NumParts != CurVT.getSizeInBits()) in handleAssignments()
221 if (Handler.assignArg(i, NewVT, NewVT, CCValAssign::Full, Args[i], in handleAssignments()
231 LLT NewLLT = getLLTForMVT(NewVT); in handleAssignments()
248 if (Handler.assignArg(i + Part, NewVT, NewVT, CCValAssign::Full, in handleAssignments()
263 LLT SmallTy = LLT::scalar(NewVT.getSizeInBits()); in handleAssignments()
281 if (Handler.assignArg(i + PartIdx, NewVT, NewVT, CCValAssign::Full, in handleAssignments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp963 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); in getVectorTypeBreakdownMVT() local
964 if (!TLI->isTypeLegal(NewVT)) in getVectorTypeBreakdownMVT()
965 NewVT = EltTy; in getVectorTypeBreakdownMVT()
966 IntermediateVT = NewVT; in getVectorTypeBreakdownMVT()
968 unsigned NewVTSize = NewVT.getSizeInBits(); in getVectorTypeBreakdownMVT()
974 MVT DestVT = TLI->getRegisterType(NewVT); in getVectorTypeBreakdownMVT()
976 if (EVT(DestVT).bitsLT(NewVT)) // Value is expanded, e.g. i64 -> i16. in getVectorTypeBreakdownMVT()
1419 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); in getVectorTypeBreakdown() local
1420 if (!isTypeLegal(NewVT)) in getVectorTypeBreakdown()
1421 NewVT = EltTy; in getVectorTypeBreakdown()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp213 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandRes_EXTRACT_VECTOR_ELT() local
226 NewVT, 2*OldElts), in ExpandRes_EXTRACT_VECTOR_ELT()
233 Lo = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, NewVT, NewVec, Idx); in ExpandRes_EXTRACT_VECTOR_ELT()
237 Hi = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, NewVT, NewVec, Idx); in ExpandRes_EXTRACT_VECTOR_ELT()
371 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandOp_BUILD_VECTOR() local
391 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NewElts.size()); in ExpandOp_BUILD_VECTOR()
DLegalizeVectorTypes.cpp281 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() local
283 NewVT, Op); in ScalarizeVecRes_BITCAST()
303 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() local
306 NewVT, Op, N->getOperand(1)); in ScalarizeVecRes_FP_ROUND()
1775 EVT NewVT = Inputs[0].getValueType(); in SplitVecRes_VECTOR_SHUFFLE() local
1776 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE()
1833 EVT EltVT = NewVT.getVectorElementType(); in SplitVecRes_VECTOR_SHUFFLE()
1860 Output = DAG.getBuildVector(NewVT, dl, SVOps); in SplitVecRes_VECTOR_SHUFFLE()
1863 Output = DAG.getUNDEF(NewVT); in SplitVecRes_VECTOR_SHUFFLE()
1868 DAG.getUNDEF(NewVT) : Inputs[InputUsed[1]]; in SplitVecRes_VECTOR_SHUFFLE()
[all …]
DDAGCombiner.cpp4094 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), SimpleSize*2); in visitMULHS() local
4095 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHS()
4096 N0 = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N0); in visitMULHS()
4097 N1 = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N1); in visitMULHS()
4098 N1 = DAG.getNode(ISD::MUL, DL, NewVT, N0, N1); in visitMULHS()
4099 N1 = DAG.getNode(ISD::SRL, DL, NewVT, N1, in visitMULHS()
4150 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), SimpleSize*2); in visitMULHU() local
4151 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHU()
4152 N0 = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N0); in visitMULHU()
4153 N1 = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N1); in visitMULHU()
[all …]
DTargetLowering.cpp230 EVT NewVT = VT; in findOptimalMemOpLowering() local
235 NewVT = (VT.getSizeInBits() > 64) ? MVT::i64 : MVT::i32; in findOptimalMemOpLowering()
236 if (isOperationLegalOrCustom(ISD::STORE, NewVT) && in findOptimalMemOpLowering()
237 isSafeMemOpType(NewVT.getSimpleVT())) in findOptimalMemOpLowering()
239 else if (NewVT == MVT::i64 && in findOptimalMemOpLowering()
243 NewVT = MVT::f64; in findOptimalMemOpLowering()
250 NewVT = (MVT::SimpleValueType)(NewVT.getSimpleVT().SimpleTy - 1); in findOptimalMemOpLowering()
251 if (NewVT == MVT::i8) in findOptimalMemOpLowering()
253 } while (!isSafeMemOpType(NewVT.getSimpleVT())); in findOptimalMemOpLowering()
255 NewVTSize = NewVT.getSizeInBits() / 8; in findOptimalMemOpLowering()
[all …]
DLegalizeDAG.cpp3053 EVT NewVT = in ExpandNode() local
3056 assert(NewVT.bitsEq(VT)); in ExpandNode()
3059 Op0 = DAG.getNode(ISD::BITCAST, dl, NewVT, Op0); in ExpandNode()
3060 Op1 = DAG.getNode(ISD::BITCAST, dl, NewVT, Op1); in ExpandNode()
3064 NewVT.getVectorNumElements()/VT.getVectorNumElements(); in ExpandNode()
3080 VT = NewVT; in ExpandNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp299 MVT NewVT = TLI.getRegisterTypeForCallingConv(Ctx, CC, SplitEVTs[i]); in lowerReturn() local
300 if (EVT(NewVT) != SplitEVTs[i]) { in lowerReturn()
309 LLT NewLLT(NewVT); in lowerReturn()
311 CurArgInfo.Ty = EVT(NewVT).getTypeForEVT(Ctx); in lowerReturn()
314 if (NewVT.isVector()) { in lowerReturn()
DAArch64ISelLowering.h395 EVT NewVT) const override;
DAArch64ISelLowering.cpp2562 MVT NewVT = MVT::getVectorVT(MVT::f32, NumElts); in LowerVectorFP_TO_INT() local
2566 DAG.getNode(ISD::FP_EXTEND, dl, NewVT, Op.getOperand(0))); in LowerVectorFP_TO_INT()
2766 EVT NewVT = getExtensionTo64Bits(OrigTy); in addRequiredExtensionForVectorMULL() local
2768 return DAG.getNode(ExtOpcode, SDLoc(N), NewVT, N); in addRequiredExtensionForVectorMULL()
8810 EVT NewVT) const { in shouldReduceLoadWidth()
8812 if (!TargetLoweringBase::shouldReduceLoadWidth(Load, ExtTy, NewVT)) in shouldReduceLoadWidth()
10516 MVT NewVT = MVT::getVectorVT(ElementTy, NumElems * 2); in tryExtendDUPToExtractHigh() local
10520 DAG.getNode(N->getOpcode(), dl, NewVT, N->ops()), in tryExtendDUPToExtractHigh()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.h122 EVT NewVT) const override { in shouldReduceLoadWidth() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h317 EVT NewVT) const override;
DHexagonISelLowering.cpp3280 ISD::LoadExtType ExtTy, EVT NewVT) const { in shouldReduceLoadWidth()
3282 if (!TargetLoweringBase::shouldReduceLoadWidth(Load, ExtTy, NewVT)) in shouldReduceLoadWidth()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp637 EVT NewVT) const { in shouldReduceLoadWidth()
639 if (!TargetLoweringBase::shouldReduceLoadWidth(N, ExtTy, NewVT)) in shouldReduceLoadWidth()
642 unsigned NewSize = NewVT.getStoreSizeInBits(); in shouldReduceLoadWidth()
2915 EVT NewVT = getEquivalentMemType(*DAG.getContext(), VT); in performLoadCombine() local
2918 = DAG.getLoad(NewVT, SL, LN->getChain(), in performLoadCombine()
2966 EVT NewVT = getEquivalentMemType(*DAG.getContext(), VT); in performStoreCombine() local
2972 SDValue CastVal = DAG.getNode(ISD::BITCAST, SL, NewVT, Val); in performStoreCombine()
DR600ISelLowering.cpp1820 EVT NewVT = MVT::v4i32; in constBufferLoad() local
1823 NewVT = VT; in constBufferLoad()
1826 SDValue Result = DAG.getBuildVector(NewVT, DL, makeArrayRef(Slots, NumElements)); in constBufferLoad()
DSIISelLowering.cpp4345 EVT NewVT = getEquivalentMemType(*DAG.getContext(), VT); in ReplaceNodeResults() local
4346 SDValue LHS = DAG.getNode(ISD::BITCAST, SL, NewVT, N->getOperand(1)); in ReplaceNodeResults()
4347 SDValue RHS = DAG.getNode(ISD::BITCAST, SL, NewVT, N->getOperand(2)); in ReplaceNodeResults()
4349 EVT SelectVT = NewVT; in ReplaceNodeResults()
4350 if (NewVT.bitsLT(MVT::i32)) { in ReplaceNodeResults()
4359 if (NewVT != SelectVT) in ReplaceNodeResults()
4360 NewSelect = DAG.getNode(ISD::TRUNCATE, SL, NewVT, NewSelect); in ReplaceNodeResults()
5559 EVT NewVT = NumVDataDwords > 1 ? in lowerImage() local
5563 ResultTypes[0] = NewVT; in lowerImage()
9373 EVT NewVT = getEquivalentMemType(*DAG.getContext(), VecVT); in performExtractVectorEltCombine() local
[all …]
DAMDGPUISelDAGToDAG.cpp918 MVT NewVT = Opc == AMDGPUISD::CVT_PKRTZ_F16_F32 ? MVT::v2f16 : MVT::v2i16; in Select() local
919 N = CurDAG->MorphNodeTo(N, N->getOpcode(), CurDAG->getVTList(NewVT), in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp5025 EVT NewVT) const { in shouldReduceLoadWidth()
8989 MVT NewVT = V0_LO.getSimpleValueType(); in ExpandHorizontalBinOp() local
8991 SDValue LO = DAG.getUNDEF(NewVT); in ExpandHorizontalBinOp()
8992 SDValue HI = DAG.getUNDEF(NewVT); in ExpandHorizontalBinOp()
8997 LO = DAG.getNode(X86Opcode, DL, NewVT, V0_LO, V0_HI); in ExpandHorizontalBinOp()
8999 HI = DAG.getNode(X86Opcode, DL, NewVT, V1_LO, V1_HI); in ExpandHorizontalBinOp()
9003 LO = DAG.getNode(X86Opcode, DL, NewVT, V0_LO, V1_LO); in ExpandHorizontalBinOp()
9006 HI = DAG.getNode(X86Opcode, DL, NewVT, V0_HI, V1_HI); in ExpandHorizontalBinOp()
12435 MVT NewVT = V.getSimpleValueType(); in getScalarValueForVectorElement() local
12436 if (!NewVT.isVector() || NewVT.getScalarSizeInBits() != VT.getScalarSizeInBits()) in getScalarValueForVectorElement()
[all …]
DX86ISelLowering.h1134 EVT NewVT) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1363 EVT NewVT) const { in shouldReduceLoadWidth() argument
1366 if (NewVT.isVector() && !Load->hasOneUse()) in shouldReduceLoadWidth()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp3364 VectorType *NewVT = cast<VectorType>(II->getType()); in visitCallInst() local
3367 CV0 = ConstantExpr::getIntegerCast(CV0, NewVT, /*isSigned=*/!Zext); in visitCallInst()
3368 CV1 = ConstantExpr::getIntegerCast(CV1, NewVT, /*isSigned=*/!Zext); in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp7791 EVT NewVT = getVectorTyFromPredicateVector(VT); in PromoteMVEPredVector() local
7809 return DAG.getNode(ISD::BITCAST, dl, NewVT, PredAsVector); in PromoteMVEPredVector()
7840 EVT NewVT = PredAsVector.getValueType(); in LowerVECTOR_SHUFFLE_i1() local
7843 SDValue Shuffled = DAG.getVectorShuffle(NewVT, dl, PredAsVector, in LowerVECTOR_SHUFFLE_i1()
7844 DAG.getUNDEF(NewVT), ShuffleMask); in LowerVECTOR_SHUFFLE_i1()
8273 EVT NewVT = NewV.getValueType(); in LowerCONCAT_VECTORS_i1() local
8275 for (unsigned i = 0, e = NewVT.getVectorNumElements(); i < e; i++, j++) { in LowerCONCAT_VECTORS_i1()
8461 EVT NewVT = getExtensionTo64Bits(OrigTy); in AddRequiredExtensionForVMULL() local
8463 return DAG.getNode(ExtOpcode, SDLoc(N), NewVT, N); in AddRequiredExtensionForVMULL()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp13015 EVT NewVT = TargetVT == MVT::v2i64 ? MVT::v2f64 : MVT::v4f32; in combineElementTruncationToVectorTruncation() local
13016 SDValue BV = DAG.getBuildVector(NewVT, dl, Ops); in combineElementTruncationToVectorTruncation()