Home
last modified time | relevance | path

Searched refs:BVN (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2324 static bool isCommonSplatElement(BuildVectorSDNode *BVN) { in isCommonSplatElement() argument
2325 unsigned NElts = BVN->getNumOperands(); in isCommonSplatElement()
2326 SDValue V0 = BVN->getOperand(0); in isCommonSplatElement()
2329 if (BVN->getOperand(i) != V0) in isCommonSplatElement()
2339 BuildVectorSDNode *BVN = 0; in LowerVECTOR_SHIFT() local
2346 if ((BVN = dyn_cast<BuildVectorSDNode>(V1.getNode())) && in LowerVECTOR_SHIFT()
2347 isCommonSplatElement(BVN)) in LowerVECTOR_SHIFT()
2349 else if ((BVN = dyn_cast<BuildVectorSDNode>(V2.getNode())) && in LowerVECTOR_SHIFT()
2350 isCommonSplatElement(BVN)) in LowerVECTOR_SHIFT()
2355 SDValue CommonSplat = BVN->getOperand(0); in LowerVECTOR_SHIFT()
[all …]
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp901 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Node); in trySelect() local
906 EVT ResVecTy = BVN->getValueType(0); in trySelect()
909 if (!Subtarget->hasMSA() || !BVN->getValueType(0).is128BitVector()) in trySelect()
912 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
DMipsSEISelLowering.cpp626 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(N); in isVectorAllOnes() local
628 if (!BVN) in isVectorAllOnes()
637 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4003 static bool tryBuildVectorByteMask(BuildVectorSDNode *BVN, uint64_t &Mask) { in tryBuildVectorByteMask() argument
4004 EVT ElemVT = BVN->getValueType(0).getVectorElementType(); in tryBuildVectorByteMask()
4006 for (unsigned I = 0, E = BVN->getNumOperands(); I != E; ++I) { in tryBuildVectorByteMask()
4007 SDValue Op = BVN->getOperand(I); in tryBuildVectorByteMask()
4073 BuildVectorSDNode *BVN) { in tryBuildVectorShuffle() argument
4074 EVT VT = BVN->getValueType(0); in tryBuildVectorShuffle()
4085 SDValue Op = BVN->getOperand(I); in tryBuildVectorShuffle()
4097 ResidueOps.push_back(BVN->getOperand(I)); in tryBuildVectorShuffle()
4111 Op = DAG.getBuildVector(VT, SDLoc(BVN), ResidueOps); in tryBuildVectorShuffle()
4116 return GS.getNode(DAG, SDLoc(BVN)); in tryBuildVectorShuffle()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp3928 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local
3935 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
4497 SDNode *BVN = N->getOperand(0).getNode(); in isExtendedBUILD_VECTOR() local
4498 if (BVN->getValueType(0) != MVT::v4i32 || in isExtendedBUILD_VECTOR()
4499 BVN->getOpcode() != ISD::BUILD_VECTOR) in isExtendedBUILD_VECTOR()
4503 ConstantSDNode *Lo0 = dyn_cast<ConstantSDNode>(BVN->getOperand(LoElt)); in isExtendedBUILD_VECTOR()
4504 ConstantSDNode *Hi0 = dyn_cast<ConstantSDNode>(BVN->getOperand(HiElt)); in isExtendedBUILD_VECTOR()
4505 ConstantSDNode *Lo1 = dyn_cast<ConstantSDNode>(BVN->getOperand(LoElt+2)); in isExtendedBUILD_VECTOR()
4506 ConstantSDNode *Hi1 = dyn_cast<ConstantSDNode>(BVN->getOperand(HiElt+2)); in isExtendedBUILD_VECTOR()
4576 SDNode *BVN = N->getOperand(0).getNode(); in SkipExtension() local
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5730 static bool resolveBuildVector(BuildVectorSDNode *BVN, APInt &CnstBits, in resolveBuildVector() argument
5732 EVT VT = BVN->getValueType(0); in resolveBuildVector()
5736 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
5754 BuildVectorSDNode *BVN = in LowerVectorAND() local
5760 if (!BVN) in LowerVectorAND()
5765 if (resolveBuildVector(BVN, CnstBits, UndefBits)) { in LowerVectorAND()
5952 BuildVectorSDNode *BVN = in LowerVectorOR() local
5959 if (!BVN) { in LowerVectorOR()
5961 BVN = dyn_cast<BuildVectorSDNode>(Op.getOperand(1).getNode()); in LowerVectorOR()
5963 if (!BVN) in LowerVectorOR()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5649 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local
5656 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
6441 SDNode *BVN = N->getOperand(0).getNode(); in isExtendedBUILD_VECTOR() local
6442 if (BVN->getValueType(0) != MVT::v4i32 || in isExtendedBUILD_VECTOR()
6443 BVN->getOpcode() != ISD::BUILD_VECTOR) in isExtendedBUILD_VECTOR()
6447 ConstantSDNode *Lo0 = dyn_cast<ConstantSDNode>(BVN->getOperand(LoElt)); in isExtendedBUILD_VECTOR()
6448 ConstantSDNode *Hi0 = dyn_cast<ConstantSDNode>(BVN->getOperand(HiElt)); in isExtendedBUILD_VECTOR()
6449 ConstantSDNode *Lo1 = dyn_cast<ConstantSDNode>(BVN->getOperand(LoElt+2)); in isExtendedBUILD_VECTOR()
6450 ConstantSDNode *Hi1 = dyn_cast<ConstantSDNode>(BVN->getOperand(HiElt+2)); in isExtendedBUILD_VECTOR()
6587 SDNode *BVN = N->getOperand(0).getNode(); in SkipExtensionForVMULL() local
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7089 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local
7090 assert(BVN && "Expected a BuildVectorSDNode in LowerBUILD_VECTOR"); in LowerBUILD_VECTOR()
7103 assert(BVN->getNumOperands() == 4 && in LowerBUILD_VECTOR()
7108 if (BVN->getOperand(i).isUndef()) continue; in LowerBUILD_VECTOR()
7109 if (!isa<ConstantSDNode>(BVN->getOperand(i))) { in LowerBUILD_VECTOR()
7123 if (BVN->getOperand(i).isUndef()) in LowerBUILD_VECTOR()
7125 else if (isNullConstant(BVN->getOperand(i))) in LowerBUILD_VECTOR()
7144 if (BVN->getOperand(i).isUndef()) continue; in LowerBUILD_VECTOR()
7150 unsigned StoreSize = BVN->getOperand(i).getValueType().getStoreSize(); in LowerBUILD_VECTOR()
7153 BVN->getOperand(i), Idx, in LowerBUILD_VECTOR()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp3956 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local
3957 assert(BVN != 0 && "Expected a BuildVectorSDNode in LowerBUILD_VECTOR"); in LowerBUILD_VECTOR()
3963 if (! BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()