Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp886 MVT ScalarVT = SimpleVT.getScalarType(); in tryLoad() local
888 unsigned fromTypeWidth = std::max(8U, ScalarVT.getSizeInBits()); in tryLoad()
901 else if (ScalarVT.isFloatingPoint()) in tryLoad()
903 fromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoad()
1032 MVT ScalarVT = SimpleVT.getScalarType(); in tryLoadVector() local
1034 unsigned FromTypeWidth = std::max(8U, ScalarVT.getSizeInBits()); in tryLoadVector()
1041 else if (ScalarVT.isFloatingPoint()) in tryLoadVector()
1042 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector()
1752 MVT ScalarVT = SimpleVT.getScalarType(); in tryStore() local
1753 unsigned toTypeWidth = ScalarVT.getSizeInBits(); in tryStore()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp722 MVT ScalarVT = SimpleVT.getScalarType(); in tryLoad() local
724 unsigned fromTypeWidth = std::max(8U, ScalarVT.getSizeInBits()); in tryLoad()
728 else if (ScalarVT.isFloatingPoint()) in tryLoad()
952 MVT ScalarVT = SimpleVT.getScalarType(); in tryLoadVector() local
954 unsigned FromTypeWidth = std::max(8U, ScalarVT.getSizeInBits()); in tryLoadVector()
961 else if (ScalarVT.isFloatingPoint()) in tryLoadVector()
2158 MVT ScalarVT = SimpleVT.getScalarType(); in tryStore() local
2159 unsigned toTypeWidth = ScalarVT.getSizeInBits(); in tryStore()
2161 if (ScalarVT.isFloatingPoint()) in tryStore()
2381 MVT ScalarVT = StoreVT.getSimpleVT().getScalarType(); in tryStoreVector() local
[all …]
/external/llvm/lib/Target/X86/InstPrinter/
DX86InstComments.cpp174 static MVT getRegOperandVectorVT(const MCInst *MI, const MVT &ScalarVT, in getRegOperandVectorVT() argument
177 return MVT::getVectorVT(ScalarVT, in getRegOperandVectorVT()
178 getVectorRegSize(OpReg)/ScalarVT.getSizeInBits()); in getRegOperandVectorVT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp641 EVT ScalarVT = VT.getScalarType(); in isFPImmLegal() local
642 return (ScalarVT == MVT::f32 || ScalarVT == MVT::f64 || in isFPImmLegal()
643 (ScalarVT == MVT::f16 && Subtarget->has16BitInsts())); in isFPImmLegal()
648 EVT ScalarVT = VT.getScalarType(); in ShouldShrinkFPConstant() local
649 return (ScalarVT != MVT::f32 && ScalarVT != MVT::f64); in ShouldShrinkFPConstant()
983 EVT ScalarVT = EVT::getIntegerVT(State.getContext(), in analyzeFormalArgumentsCompute() local
985 MemVT = EVT::getVectorVT(State.getContext(), ScalarVT, NumElements); in analyzeFormalArgumentsCompute()
2638 MVT ScalarVT = VT.getScalarType(); in LowerSIGN_EXTEND_INREG() local
2652 Args[I] = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, ScalarVT, Args[I], VTOp); in LowerSIGN_EXTEND_INREG()
DSIISelLowering.cpp702 EVT ScalarVT = VT.getScalarType(); in getRegisterTypeForCallingConv() local
703 unsigned Size = ScalarVT.getSizeInBits(); in getRegisterTypeForCallingConv()
705 return ScalarVT.getSimpleVT(); in getRegisterTypeForCallingConv()
724 EVT ScalarVT = VT.getScalarType(); in getNumRegistersForCallingConv() local
725 unsigned Size = ScalarVT.getSizeInBits(); in getNumRegistersForCallingConv()
747 EVT ScalarVT = VT.getScalarType(); in getVectorTypeBreakdownForCallingConv() local
748 unsigned Size = ScalarVT.getSizeInBits(); in getVectorTypeBreakdownForCallingConv()
750 RegisterVT = ScalarVT.getSimpleVT(); in getVectorTypeBreakdownForCallingConv()
6153 EVT ScalarVT = VT.getScalarType(); in performUCharToFloatCombine() local
6154 if (ScalarVT != MVT::f32) in performUCharToFloatCombine()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp502 EVT ScalarVT = VT.getScalarType(); in isFPImmLegal() local
503 return (ScalarVT == MVT::f32 || ScalarVT == MVT::f64); in isFPImmLegal()
508 EVT ScalarVT = VT.getScalarType(); in ShouldShrinkFPConstant() local
509 return (ScalarVT != MVT::f32 && ScalarVT != MVT::f64); in ShouldShrinkFPConstant()
2094 MVT ScalarVT = VT.getScalarType(); in LowerSIGN_EXTEND_INREG() local
2109 Args[I] = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, ScalarVT, Args[I], VTOp); in LowerSIGN_EXTEND_INREG()
DSIISelLowering.cpp2416 EVT ScalarVT = VT.getScalarType(); in performUCharToFloatCombine() local
2417 if (ScalarVT != MVT::f32) in performUCharToFloatCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp4634 MVT ScalarVT = MVT::INVALID_SIMPLE_VALUE_TYPE; in getTgtMemIntrinsic() local
4636 ScalarVT = MVT::i8; in getTgtMemIntrinsic()
4638 ScalarVT = MVT::i16; in getTgtMemIntrinsic()
4640 ScalarVT = MVT::i32; in getTgtMemIntrinsic()
4642 Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements()); in getTgtMemIntrinsic()
12930 MVT ScalarVT = VT.getVectorElementType(); in splitAndLowerVectorShuffle() local
12931 MVT SplitVT = MVT::getVectorVT(ScalarVT, NumElements / 2); in splitAndLowerVectorShuffle()
25101 MVT ScalarVT = VT.getScalarType(); in LowerMLOAD() local
25108 assert((!N->isExpandingLoad() || ScalarVT.getSizeInBits() >= 32) && in LowerMLOAD()
25114 assert((ScalarVT.getSizeInBits() >= 32 || in LowerMLOAD()
[all …]
DX86InstrSSE.td2704 ValueType ScalarVT, X86MemOperand x86memop,
2770 ValueType ScalarVT, X86MemOperand x86memop,
2805 (ScalarVT (IMPLICIT_DEF)), RC:$src)>;
2808 def : Pat<(ScalarVT (OpNode (load addr:$src))),
2809 (!cast<Instruction>(NAME#m) (ScalarVT (IMPLICIT_DEF)),
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7964 EVT ScalarVT = Op.getValueType().getScalarType(), in LowerVectorLoad() local
7971 if (ScalarVT != ScalarMemVT) in LowerVectorLoad()
7973 DAG.getExtLoad(LN->getExtensionType(), dl, ScalarVT, LoadChain, in LowerVectorLoad()
7981 DAG.getLoad(ScalarVT, dl, LoadChain, BasePtr, in LowerVectorLoad()
8058 EVT ScalarVT = Value.getValueType().getScalarType(), in LowerVectorStore() local
8065 ISD::EXTRACT_VECTOR_ELT, dl, ScalarVT, Value, in LowerVectorStore()
8068 if (ScalarVT != ScalarMemVT) in LowerVectorStore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9229 EVT ScalarVT = Op.getValueType().getScalarType(), in LowerVectorLoad() local
9236 if (ScalarVT != ScalarMemVT) in LowerVectorLoad()
9237 Load = DAG.getExtLoad(LN->getExtensionType(), dl, ScalarVT, LoadChain, in LowerVectorLoad()
9243 Load = DAG.getLoad(ScalarVT, dl, LoadChain, BasePtr, in LowerVectorLoad()
9318 EVT ScalarVT = Value.getValueType().getScalarType(), in LowerVectorStore() local
9325 ISD::EXTRACT_VECTOR_ELT, dl, ScalarVT, Value, in LowerVectorStore()
9328 if (ScalarVT != ScalarMemVT) in LowerVectorStore()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5694 EVT ScalarVT = VT.getVectorElementType(); in LowerVECTOR_SHUFFLE() local
5696 if (ScalarVT.getSizeInBits() < 32 && ScalarVT.isInteger()) in LowerVECTOR_SHUFFLE()
5697 ScalarVT = MVT::i32; in LowerVECTOR_SHUFFLE()
5701 DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, ScalarVT, SrcVec, SrcLaneV), in LowerVECTOR_SHUFFLE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6478 EVT ScalarVT = VT.getVectorElementType(); in LowerVECTOR_SHUFFLE() local
6480 if (ScalarVT.getSizeInBits() < 32 && ScalarVT.isInteger()) in LowerVECTOR_SHUFFLE()
6481 ScalarVT = MVT::i32; in LowerVECTOR_SHUFFLE()
6485 DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, ScalarVT, SrcVec, SrcLaneV), in LowerVECTOR_SHUFFLE()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3433 EVT ScalarVT = ScalarOp.getValueType(); in FoldConstantVectorArithmetic() local
3437 if (ScalarVT.isInteger() && ScalarVT.bitsGT(InSVT)) in FoldConstantVectorArithmetic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4382 EVT ScalarVT = ScalarOp.getValueType(); in FoldConstantVectorArithmetic() local
4386 if (ScalarVT.isInteger() && ScalarVT.bitsGT(InSVT)) in FoldConstantVectorArithmetic()
/external/llvm/lib/Target/X86/
DX86InstrSSE.td3274 ValueType vt, ValueType ScalarVT,
3329 ValueType vt, ValueType ScalarVT,
3366 (ScalarVT (IMPLICIT_DEF)), RC:$src)>;
3379 def : Pat<(ScalarVT (OpNode (load addr:$src))),
3380 (!cast<Instruction>("V"#NAME#Suffix##m) (ScalarVT (IMPLICIT_DEF)),