Home
last modified time | relevance | path

Searched refs:InputVector (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp12545 SDValue InputVector = N->getOperand(0); in PerformEXTRACT_VECTOR_ELTCombine() local
12548 if (InputVector.getNode()->getOpcode() == llvm::ISD::BITCAST && in PerformEXTRACT_VECTOR_ELTCombine()
12549 InputVector.getNode()->getOperand(0).getValueType() == MVT::x86mmx && in PerformEXTRACT_VECTOR_ELTCombine()
12550 InputVector.hasOneUse() && N->getValueType(0) == MVT::i32) in PerformEXTRACT_VECTOR_ELTCombine()
12551 return DAG.getNode(X86ISD::MMX_MOVD2W, InputVector.getDebugLoc(), in PerformEXTRACT_VECTOR_ELTCombine()
12553 InputVector.getNode()->getOperand(0)); in PerformEXTRACT_VECTOR_ELTCombine()
12557 if (InputVector.getValueType() != MVT::v4i32) in PerformEXTRACT_VECTOR_ELTCombine()
12565 for (SDNode::use_iterator UI = InputVector.getNode()->use_begin(), in PerformEXTRACT_VECTOR_ELTCombine()
12566 UE = InputVector.getNode()->use_end(); UI != UE; ++UI) { in PerformEXTRACT_VECTOR_ELTCombine()
12567 if (UI.getUse().getResNo() != InputVector.getResNo()) in PerformEXTRACT_VECTOR_ELTCombine()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp32313 SDValue InputVector = N->getOperand(0); in combineExtractVectorElt() local
32316 EVT SrcVT = InputVector.getValueType(); in combineExtractVectorElt()
32318 SDLoc dl(InputVector); in combineExtractVectorElt()
32321 if (InputVector.getOpcode() == ISD::BITCAST && InputVector.hasOneUse() && in combineExtractVectorElt()
32323 SDValue MMXSrc = InputVector.getOperand(0); in combineExtractVectorElt()
32327 return DAG.getBitcast(VT, InputVector); in combineExtractVectorElt()
32331 if (InputVector.getOpcode() == ISD::BITCAST && InputVector.hasOneUse() && in combineExtractVectorElt()
32333 SDValue MMXSrc = InputVector.getOperand(0); in combineExtractVectorElt()
32340 if (VT == MVT::i1 && InputVector.getOpcode() == ISD::BITCAST && in combineExtractVectorElt()
32342 isa<ConstantSDNode>(InputVector.getOperand(0))) { in combineExtractVectorElt()
[all …]