Searched refs:SplatValue (Results 1 - 8 of 8) sorted by relevance

/external/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp419 APInt SplatValue, SplatUndef;
423 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize,
428 Imm = SplatValue;
809 APInt SplatValue, SplatUndef; local
819 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize,
845 if (!SplatValue.isSignedIntN(10))
848 SDValue Imm = CurDAG->getTargetConstant(SplatValue,
H A DMipsSEISelLowering.cpp603 APInt SplatValue, SplatUndef;
607 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs,
611 Imm = SplatValue;
628 APInt SplatValue, SplatUndef;
634 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs))
635 return SplatValue.isAllOnesValue();
848 APInt SplatValue, SplatUndef; local
858 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs,
861 (SplatValue.getZExtValue() >= EltSize))
865 DAG.getConstant(SplatValue
1402 getBuildVectorSplat(EVT VecTy, SDValue SplatValue, bool BigEndian, SelectionDAG &DAG) argument
2323 APInt SplatValue, SplatUndef; local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp154 Value *SplatValue, Instruction *TheStore,
952 Value *SplatValue = isBytewiseValue(StoredVal); local
959 if (SplatValue && TLI->has(LibFunc::memset) &&
962 CurLoop->isLoopInvariant(SplatValue)) {
963 // Keep and use SplatValue.
970 SplatValue = nullptr;
1022 if (SplatValue) {
1024 SplatValue,
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp1069 Constant *SplatValue = cast<Constant>(IOp)->getSplatValue(); local
1070 if (SplatValue != nullptr &&
1071 SplatValue == cast<Constant>(JOp)->getSplatValue())
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6620 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, argument
6632 SplatValue = APInt(sz, 0);
6637 // in SplatValue. If any of the values are not constant, give up and return
6651 SplatValue |= CN->getAPIntValue().zextOrTrunc(EltBitSize).
6654 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos;
6666 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize);
6667 APInt LowValue = SplatValue.trunc(HalfSize);
6676 SplatValue = HighValue | LowValue;
H A DDAGCombiner.cpp627 static bool isConstantSplatVector(SDNode *N, APInt& SplatValue) { argument
636 return (C->isConstantSplat(SplatValue, SplatUndef, SplatBitSize,
2680 APInt SplatValue, SplatUndef; local
2683 bool IsSplat = Vector->isConstantSplat(SplatValue, SplatUndef,
2688 SplatValue |= SplatUndef;
2701 for (SplatValue = SplatValue.zextOrTrunc(BitWidth);
2704 SplatValue |= SplatValue.shl(SplatBitSize);
2708 Constant &= SplatValue
[all...]
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1577 /// Returns the splat element value in SplatValue. Any undefined bits in
1582 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp7024 APInt SplatValue, SplatUndef; local
7027 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize,
7032 ShiftAmount = SplatValue.getSExtValue();

Completed in 360 milliseconds