Home
last modified time | relevance | path

Searched refs:SplatValue (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp156 Value *SplatValue, Instruction *TheStore,
909 Value *SplatValue = isBytewiseValue(StoredVal); in processLoopStridedStore() local
916 if (SplatValue && TLI->has(LibFunc::memset) && in processLoopStridedStore()
919 CurLoop->isLoopInvariant(SplatValue)) { in processLoopStridedStore()
926 SplatValue = nullptr; in processLoopStridedStore()
978 if (SplatValue) { in processLoopStridedStore()
980 SplatValue, in processLoopStridedStore()
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp483 APInt SplatValue, SplatUndef; in selectVSplat() local
487 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in selectVSplat()
492 Imm = SplatValue; in selectVSplat()
875 APInt SplatValue, SplatUndef; in selectNode() local
885 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in selectNode()
911 if (!SplatValue.isSignedIntN(10)) in selectNode()
914 SDValue Imm = CurDAG->getTargetConstant(SplatValue, in selectNode()
DMipsSEISelLowering.cpp606 APInt SplatValue, SplatUndef; in isVSplat() local
610 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
614 Imm = SplatValue; in isVSplat()
631 APInt SplatValue, SplatUndef; in isVectorAllOnes() local
637 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
638 return SplatValue.isAllOnesValue(); in isVectorAllOnes()
851 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local
861 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
864 (SplatValue.getZExtValue() >= EltSize)) in performDSPShiftCombine()
868 DAG.getConstant(SplatValue.getZExtValue(), MVT::i32)); in performDSPShiftCombine()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6794 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, in isConstantSplat() argument
6806 SplatValue = APInt(sz, 0); in isConstantSplat()
6825 SplatValue |= CN->getAPIntValue().zextOrTrunc(EltBitSize). in isConstantSplat()
6828 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos; in isConstantSplat()
6840 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat()
6841 APInt LowValue = SplatValue.trunc(HalfSize); in isConstantSplat()
6850 SplatValue = HighValue | LowValue; in isConstantSplat()
DDAGCombiner.cpp695 static bool isConstantSplatVector(SDNode *N, APInt& SplatValue) { in isConstantSplatVector() argument
704 return (C->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in isConstantSplatVector()
2893 APInt SplatValue, SplatUndef; in visitAND() local
2896 bool IsSplat = Vector->isConstantSplat(SplatValue, SplatUndef, in visitAND()
2901 SplatValue |= SplatUndef; in visitAND()
2914 for (SplatValue = SplatValue.zextOrTrunc(BitWidth); in visitAND()
2917 SplatValue |= SplatValue.shl(SplatBitSize); in visitAND()
2924 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1065 Constant *SplatValue = cast<Constant>(IOp)->getSplatValue(); in areInstsCompatible() local
1066 if (SplatValue != nullptr && in areInstsCompatible()
1067 SplatValue == cast<Constant>(JOp)->getSplatValue()) in areInstsCompatible()
DLoopVectorize.cpp5063 Constant *SplatValue = cast<Constant>(Op2)->getSplatValue(); in getInstructionCost() local
5064 if (SplatValue) { in getInstructionCost()
5065 ConstantInt *CInt = dyn_cast<ConstantInt>(SplatValue); in getInstructionCost()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1608 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7716 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local
7719 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
7724 ShiftAmount = SplatValue.getSExtValue(); in tryCombineShiftImm()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp22187 APInt SplatValue, SplatUndef; in VectorZextCombine() local
22190 if (!Vector->isConstantSplat(SplatValue, SplatUndef, in VectorZextCombine()
22197 (SplatValue + 1).exactLogBase2() != (int)SrcSize) in VectorZextCombine()