Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp156 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR() local
160 if (EltVT.isInteger()) in ScalarizeVecRes_BUILD_VECTOR()
161 return DAG.getNode(ISD::TRUNCATE, N->getDebugLoc(), EltVT, InOp); in ScalarizeVecRes_BUILD_VECTOR()
199 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT() local
200 if (Op.getValueType() != EltVT) in ScalarizeVecRes_INSERT_VECTOR_ELT()
202 Op = DAG.getNode(ISD::TRUNCATE, N->getDebugLoc(), EltVT, Op); in ScalarizeVecRes_INSERT_VECTOR_ELT()
234 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp() local
237 return DAG.getNode(N->getOpcode(), N->getDebugLoc(), EltVT, in ScalarizeVecRes_InregOp()
244 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_SCALAR_TO_VECTOR() local
246 if (InOp.getValueType() != EltVT) in ScalarizeVecRes_SCALAR_TO_VECTOR()
[all …]
DLegalizeVectorOps.cpp328 EVT EltVT = VT.getVectorElementType(); in PromoteVectorOpINT_TO_FP() local
329 EltVT = EVT::getIntegerVT(*DAG.getContext(), 2 * EltVT.getSizeInBits()); in PromoteVectorOpINT_TO_FP()
330 assert(EltVT.isSimple() && "Promoting to a non-simple vector type!"); in PromoteVectorOpINT_TO_FP()
333 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in PromoteVectorOpINT_TO_FP()
596 EVT EltVT = VT.getVectorElementType(); in UnrollVSETCC() local
608 Ops[i] = DAG.getNode(ISD::SELECT, dl, EltVT, Ops[i], in UnrollVSETCC()
610 (EltVT.getSizeInBits()), EltVT), in UnrollVSETCC()
611 DAG.getConstant(0, EltVT)); in UnrollVSETCC()
DSelectionDAG.cpp826 EVT EltVT = N->getValueType(0).getVectorElementType(); in VerifyNodeCommon() local
828 assert((I->getValueType() == EltVT || in VerifyNodeCommon()
829 (EltVT.isInteger() && I->getValueType().isInteger() && in VerifyNodeCommon()
830 EltVT.bitsLE(I->getValueType()))) && in VerifyNodeCommon()
971 EVT EltVT = VT.getScalarType(); in getNOT() local
973 getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT); in getNOT()
978 EVT EltVT = VT.getScalarType(); in getConstant() local
979 assert((EltVT.getSizeInBits() >= 64 || in getConstant()
980 (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) + 1 < 2) && in getConstant()
982 return getConstant(APInt(EltVT.getSizeInBits(), Val), VT, isT); in getConstant()
[all …]
DLegalizeDAG.cpp582 EVT EltVT = VT.getVectorElementType(); in PerformInsertVectorEltInMemory() local
598 unsigned EltSize = EltVT.getSizeInBits()/8; in PerformInsertVectorEltInMemory()
602 Ch = DAG.getTruncStore(Ch, dl, Tmp2, StackPtr2, MachinePointerInfo(), EltVT, in PerformInsertVectorEltInMemory()
617 EVT EltVT = Vec.getValueType().getVectorElementType(); in ExpandINSERT_VECTOR_ELT() local
618 if (Val.getValueType() == EltVT || in ExpandINSERT_VECTOR_ELT()
619 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT()
1435 EVT EltVT = VT.getVectorElementType(); in ExpandVectorBuildThroughStack() local
1443 unsigned TypeByteSize = EltVT.getSizeInBits() / 8; in ExpandVectorBuildThroughStack()
1456 if (EltVT.bitsLT(Node->getOperand(i).getValueType().getScalarType())) { in ExpandVectorBuildThroughStack()
1460 EltVT, false, false, 0)); in ExpandVectorBuildThroughStack()
[all …]
DLegalizeTypes.cpp983 SDValue DAGTypeLegalizer::GetVectorElementPointer(SDValue VecPtr, EVT EltVT, in GetVectorElementPointer() argument
993 unsigned EltSize = EltVT.getSizeInBits() / 8; // FIXME: should be ABI size. in GetVectorElementPointer()
DSelectionDAGBuilder.cpp1096 EVT EltVT = ValueVTs[i]; in getValueImpl() local
1098 Constants[i] = DAG.getUNDEF(EltVT); in getValueImpl()
1099 else if (EltVT.isFloatingPoint()) in getValueImpl()
1100 Constants[i] = DAG.getConstantFP(0, EltVT); in getValueImpl()
1102 Constants[i] = DAG.getConstant(0, EltVT); in getValueImpl()
1123 EVT EltVT = TLI.getValueType(VecTy->getElementType()); in getValueImpl() local
1126 if (EltVT.isFloatingPoint()) in getValueImpl()
1127 Op = DAG.getConstantFP(0, EltVT); in getValueImpl()
1129 Op = DAG.getConstant(0, EltVT); in getValueImpl()
3007 EVT EltVT = VT.getVectorElementType(); in visitShuffleVector() local
[all …]
DLegalizeTypes.h159 SDValue GetVectorElementPointer(SDValue VecPtr, EVT EltVT, SDValue Index);
DTargetLowering.cpp821 EVT EltVT = VT.getVectorElementType(); in computeRegisterProperties() local
831 if (SVT.getVectorElementType().getSizeInBits() > EltVT.getSizeInBits() in computeRegisterProperties()
848 if (SVT.getVectorElementType() == EltVT && in computeRegisterProperties()
DDAGCombiner.cpp3021 EVT EltVT = VT.isVector() ? VT.getVectorElementType() : VT; in visitOR() local
3022 return DAG.getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT); in visitOR()
4705 EVT EltVT = VT.getVectorElementType(); in visitZERO_EXTEND() local
4707 DAG.getConstant(1, EltVT)); in visitZERO_EXTEND()
6421 EVT EltVT = Op.getValueType(); in visitFNEG() local
6422 SDValue FoldOp = DAG.getNode(ISD::FNEG, N0.getDebugLoc(), EltVT, Op); in visitFNEG()
8406 EVT EltVT = RVT.getVectorElementType(); in XformToShuffleWithZero() local
8408 DAG.getConstant(0, EltVT)); in XformToShuffleWithZero()
/external/llvm/include/llvm/Target/
DTargetLowering.h1980 EVT EltVT = VT.getVectorElementType(); in getTypeConversion() local
1984 return LegalizeKind(TypeScalarizeVector, EltVT); in getTypeConversion()
1987 if (EltVT.isInteger()) { in getTypeConversion()
1992 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion()
1997 LegalizeKind LK = getTypeConversion(Context, EltVT); in getTypeConversion()
2003 EVT::getVectorVT(Context, EltVT, NumElts / 2)); in getTypeConversion()
2012 EltVT = EVT::getIntegerVT(Context, 1 + EltVT.getSizeInBits() in getTypeConversion()
2018 if (!EltVT.isSimple()) break; in getTypeConversion()
2021 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); in getTypeConversion()
2025 EVT::getVectorVT(Context, EltVT, NumElts)); in getTypeConversion()
[all …]
/external/llvm/lib/Target/CellSPU/
DSPUISelLowering.cpp1660 EVT EltVT = VT.getVectorElementType(); in LowerBUILD_VECTOR() local
1664 unsigned minSplatBits = EltVT.getSizeInBits(); in LowerBUILD_VECTOR()
1714 SDValue T = DAG.getConstant(Value16, EltVT); in LowerBUILD_VECTOR()
1850 EVT EltVT = VecVT.getVectorElementType(); in LowerVECTOR_SHUFFLE() local
1862 if (EltVT == MVT::i8) { in LowerVECTOR_SHUFFLE()
1865 } else if (EltVT == MVT::i16) { in LowerVECTOR_SHUFFLE()
1868 } else if (EltVT == MVT::i32 || EltVT == MVT::f32) { in LowerVECTOR_SHUFFLE()
1871 } else if (EltVT == MVT::i64 || EltVT == MVT::f64) { in LowerVECTOR_SHUFFLE()
1888 V2EltOffset = (SrcElt - V2EltIdx0) * (EltVT.getSizeInBits()/8); in LowerVECTOR_SHUFFLE()
1936 rotamt *= EltVT.getSizeInBits()/8; in LowerVECTOR_SHUFFLE()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp4457 EVT EltVT = SrcVT.getVectorElementType(); in PromoteSplat() local
4458 if (EltVT == MVT::i8 || EltVT == MVT::i16) in PromoteSplat()
4944 EVT EltVT = VT.getVectorElementType(); in EltsFromConsecutiveLoads() local
4970 if (!DAG.isConsecutiveLoad(LD, LDBase, EltVT.getSizeInBits()/8, i)) in EltsFromConsecutiveLoads()
6165 MVT EltVT = VT.getVectorElementType().getSimpleVT(); in LowerVECTOR_SHUFFLE_256() local
6166 EVT NVT = MVT::getVectorVT(EltVT, NumLaneElems); in LowerVECTOR_SHUFFLE_256()
6223 SVOps.push_back(DAG.getUNDEF(EltVT)); in LowerVECTOR_SHUFFLE_256()
6234 SVOps.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, in LowerVECTOR_SHUFFLE_256()
6697 EVT EltVT = VT.getVectorElementType(); in LowerVECTOR_SHUFFLE() local
6698 ShAmt *= EltVT.getSizeInBits(); in LowerVECTOR_SHUFFLE()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp837 EVT EltVT = VVT.getVectorElementType(); in LowerCONCAT_VECTORS() local
840 Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, SubOp, in LowerCONCAT_VECTORS()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp4276 EVT EltVT = EVT::getFloatingPointVT(EltSize); in LowerBUILD_VECTOR() local
4277 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumElts); in LowerBUILD_VECTOR()
4280 Ops.push_back(DAG.getNode(ISD::BITCAST, dl, EltVT, Op.getOperand(i))); in LowerBUILD_VECTOR()
4690 EVT EltVT = EVT::getFloatingPointVT(EltSize); in LowerVECTOR_SHUFFLE() local
4691 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumElts); in LowerVECTOR_SHUFFLE()
4697 Ops.push_back(DAG.getUNDEF(EltVT)); in LowerVECTOR_SHUFFLE()
4699 Ops.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, in LowerVECTOR_SHUFFLE()
8787 EVT EltVT = N0.getValueType(); in PerformExtendCombine() local
8791 (EltVT == MVT::i8 || EltVT == MVT::i16) && in PerformExtendCombine()
DARMISelDAGToDAG.cpp2785 EVT EltVT = VecVT.getVectorElementType(); in Select() local
2787 if (EltVT == MVT::f64) { in Select()
2791 assert(EltVT == MVT::f32 && "unexpected type for BUILD_VECTOR"); in Select()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4433 EVT EltVT = V1.getValueType().getVectorElementType(); in LowerVECTOR_SHUFFLE() local
4434 unsigned BytesPerElement = EltVT.getSizeInBits()/8; in LowerVECTOR_SHUFFLE()