Home
last modified time | relevance | path

Searched refs:ScalarVT (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp887 MVT ScalarVT = SimpleVT.getScalarType(); in tryLoad() local
889 unsigned fromTypeWidth = std::max(8U, (unsigned)ScalarVT.getSizeInBits()); in tryLoad()
902 else if (ScalarVT.isFloatingPoint()) in tryLoad()
904 fromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoad()
1032 MVT ScalarVT = SimpleVT.getScalarType(); in tryLoadVector() local
1034 unsigned FromTypeWidth = std::max(8U, (unsigned)ScalarVT.getSizeInBits()); in tryLoadVector()
1041 else if (ScalarVT.isFloatingPoint()) in tryLoadVector()
1042 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector()
1750 MVT ScalarVT = SimpleVT.getScalarType(); in tryStore() local
1751 unsigned toTypeWidth = ScalarVT.getSizeInBits(); in tryStore()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstrMVE.td5915 EVT ScalarVT = Ld->getMemoryVT().getScalarType();
5916 return ScalarVT.isInteger() && Ld->getExtensionType() == ISD::EXTLOAD;
5921 EVT ScalarVT = Ld->getMemoryVT().getScalarType();
5922 return (ScalarVT == MVT::i16 || ScalarVT == MVT::f16) && Ld->getAlignment() >= 2;
5935 EVT ScalarVT = Ld->getMemoryVT().getScalarType();
5936 return ScalarVT.isInteger() && Ld->getExtensionType() == ISD::EXTLOAD;
5941 EVT ScalarVT = Ld->getMemoryVT().getScalarType();
5942 return (ScalarVT == MVT::i32 || ScalarVT == MVT::f32) && Ld->getAlignment() >= 4;
5952 EVT ScalarVT = St->getMemoryVT().getScalarType();
5953 return (ScalarVT == MVT::i16 || ScalarVT == MVT::f16) && St->getAlignment() >= 2;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp624 EVT ScalarVT = VT.getScalarType(); in isFPImmLegal() local
625 return (ScalarVT == MVT::f32 || ScalarVT == MVT::f64 || in isFPImmLegal()
626 (ScalarVT == MVT::f16 && Subtarget->has16BitInsts())); in isFPImmLegal()
631 EVT ScalarVT = VT.getScalarType(); in ShouldShrinkFPConstant() local
632 return (ScalarVT != MVT::f32 && ScalarVT != MVT::f64); in ShouldShrinkFPConstant()
985 EVT ScalarVT = EVT::getIntegerVT(State.getContext(), in analyzeFormalArgumentsCompute() local
987 MemVT = EVT::getVectorVT(State.getContext(), ScalarVT, NumElements); in analyzeFormalArgumentsCompute()
2759 MVT ScalarVT = VT.getScalarType(); in LowerSIGN_EXTEND_INREG() local
2773 Args[I] = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, ScalarVT, Args[I], VTOp); in LowerSIGN_EXTEND_INREG()
DSIISelLowering.cpp802 EVT ScalarVT = VT.getScalarType(); in getRegisterTypeForCallingConv() local
803 unsigned Size = ScalarVT.getSizeInBits(); in getRegisterTypeForCallingConv()
805 return ScalarVT.getSimpleVT(); in getRegisterTypeForCallingConv()
826 EVT ScalarVT = VT.getScalarType(); in getNumRegistersForCallingConv() local
827 unsigned Size = ScalarVT.getSizeInBits(); in getNumRegistersForCallingConv()
849 EVT ScalarVT = VT.getScalarType(); in getVectorTypeBreakdownForCallingConv() local
850 unsigned Size = ScalarVT.getSizeInBits(); in getVectorTypeBreakdownForCallingConv()
852 RegisterVT = ScalarVT.getSimpleVT(); in getVectorTypeBreakdownForCallingConv()
8034 EVT ScalarVT = VT.getScalarType(); in performUCharToFloatCombine() local
8035 if (ScalarVT != MVT::f32) in performUCharToFloatCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp17060 EVT ScalarVT = N->getValueType(0); in visitEXTRACT_VECTOR_ELT() local
17063 return DAG.getUNDEF(ScalarVT); in visitEXTRACT_VECTOR_ELT()
17073 return VecVT.isInteger() ? DAG.getAnyExtOrTrunc(Elt, DL, ScalarVT) : Elt; in visitEXTRACT_VECTOR_ELT()
17082 if (InOp.getValueType() != ScalarVT) { in visitEXTRACT_VECTOR_ELT()
17083 assert(InOp.getValueType().isInteger() && ScalarVT.isInteger()); in visitEXTRACT_VECTOR_ELT()
17084 return DAG.getSExtOrTrunc(InOp, DL, ScalarVT); in visitEXTRACT_VECTOR_ELT()
17093 return DAG.getUNDEF(ScalarVT); in visitEXTRACT_VECTOR_ELT()
17103 if (ScalarVT == InEltVT) in visitEXTRACT_VECTOR_ELT()
17122 return DAG.getNode(ISD::TRUNCATE, DL, ScalarVT, BCSrc); in visitEXTRACT_VECTOR_ELT()
17129 assert(X.getValueType().isScalarInteger() && ScalarVT.isScalarInteger() && in visitEXTRACT_VECTOR_ELT()
[all …]
DSelectionDAG.cpp5041 EVT ScalarVT = ScalarOp.getValueType(); in FoldConstantVectorArithmetic() local
5045 if (ScalarVT.isInteger() && ScalarVT.bitsGT(InSVT)) in FoldConstantVectorArithmetic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp4966 MVT ScalarVT = MVT::INVALID_SIMPLE_VALUE_TYPE; in getTgtMemIntrinsic() local
4968 ScalarVT = MVT::i8; in getTgtMemIntrinsic()
4970 ScalarVT = MVT::i16; in getTgtMemIntrinsic()
4972 ScalarVT = MVT::i32; in getTgtMemIntrinsic()
4974 Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements()); in getTgtMemIntrinsic()
5145 EVT ScalarVT = VecVT.getScalarType(); in shouldScalarizeBinop() local
5146 return isOperationLegalOrCustomOrPromote(Opc, ScalarVT); in shouldScalarizeBinop()
14727 MVT ScalarVT = VT.getVectorElementType(); in splitAndLowerShuffle() local
14728 MVT SplitVT = MVT::getVectorVT(ScalarVT, NumElements / 2); in splitAndLowerShuffle()
28314 MVT ScalarVT = VT.getScalarType(); in LowerMLOAD() local
[all …]
DX86InstrSSE.td2786 ValueType ScalarVT, X86MemOperand x86memop,
2852 ValueType ScalarVT, X86MemOperand x86memop,
2887 (ScalarVT (IMPLICIT_DEF)), RC:$src)>;
2890 def : Pat<(ScalarVT (OpNode (load addr:$src))),
2891 (!cast<Instruction>(NAME#m) (ScalarVT (IMPLICIT_DEF)),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp10047 EVT ScalarVT = Op.getValueType().getScalarType(), in LowerVectorLoad() local
10054 if (ScalarVT != ScalarMemVT) in LowerVectorLoad()
10055 Load = DAG.getExtLoad(LN->getExtensionType(), dl, ScalarVT, LoadChain, in LowerVectorLoad()
10061 Load = DAG.getLoad(ScalarVT, dl, LoadChain, BasePtr, in LowerVectorLoad()
10136 EVT ScalarVT = Value.getValueType().getScalarType(), in LowerVectorStore() local
10143 ISD::EXTRACT_VECTOR_ELT, dl, ScalarVT, Value, in LowerVectorStore()
10146 if (ScalarVT != ScalarMemVT) in LowerVectorStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7361 EVT ScalarVT = VT.getVectorElementType(); in LowerVECTOR_SHUFFLE() local
7363 if (ScalarVT.getSizeInBits() < 32 && ScalarVT.isInteger()) in LowerVECTOR_SHUFFLE()
7364 ScalarVT = MVT::i32; in LowerVECTOR_SHUFFLE()
7368 DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, ScalarVT, SrcVec, SrcLaneV), in LowerVECTOR_SHUFFLE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenDAGISel.inc65106 EVT ScalarVT = St->getMemoryVT().getScalarType();
65107 return (ScalarVT == MVT::i16 || ScalarVT == MVT::f16) && St->getAlignment() >= 2;
65144 EVT ScalarVT = St->getMemoryVT().getScalarType();
65145 return (ScalarVT == MVT::i32 || ScalarVT == MVT::f32) && St->getAlignment() >= 4;
65262 EVT ScalarVT = Ld->getMemoryVT().getScalarType();
65263 return (ScalarVT == MVT::i16 || ScalarVT == MVT::f16) && Ld->getAlignment() >= 2;
65273 EVT ScalarVT = Ld->getMemoryVT().getScalarType();
65274 return ScalarVT.isInteger() && Ld->getExtensionType() == ISD::EXTLOAD;
65301 EVT ScalarVT = Ld->getMemoryVT().getScalarType();
65302 return (ScalarVT == MVT::i32 || ScalarVT == MVT::f32) && Ld->getAlignment() >= 4;