/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 156 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/ |
D | MipsSEISelDAGToDAG.cpp | 483 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()
|
D | MipsSEISelLowering.cpp | 606 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/ |
D | SelectionDAG.cpp | 6794 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()
|
D | DAGCombiner.cpp | 695 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/ |
D | BBVectorize.cpp | 1065 Constant *SplatValue = cast<Constant>(IOp)->getSplatValue(); in areInstsCompatible() local 1066 if (SplatValue != nullptr && in areInstsCompatible() 1067 SplatValue == cast<Constant>(JOp)->getSplatValue()) in areInstsCompatible()
|
D | LoopVectorize.cpp | 5063 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/ |
D | SelectionDAGNodes.h | 1608 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7716 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/ |
D | X86ISelLowering.cpp | 22187 APInt SplatValue, SplatUndef; in VectorZextCombine() local 22190 if (!Vector->isConstantSplat(SplatValue, SplatUndef, in VectorZextCombine() 22197 (SplatValue + 1).exactLogBase2() != (int)SrcSize) in VectorZextCombine()
|