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

/external/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp491 APInt SplatValue, SplatUndef;
495 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs,
499 Imm = SplatValue;
885 APInt SplatValue, SplatUndef; local
895 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize,
921 if (!SplatValue.isSignedIntN(10))
924 SDValue Imm = CurDAG->getTargetConstant(SplatValue, DL,
H A DMipsSEISelLowering.cpp606 APInt SplatValue, SplatUndef;
610 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs,
614 Imm = SplatValue;
631 APInt SplatValue, SplatUndef;
637 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs))
638 return SplatValue.isAllOnesValue();
852 APInt SplatValue, SplatUndef; local
862 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs,
865 (SplatValue.getZExtValue() >= EltSize))
870 DAG.getConstant(SplatValue
1418 getBuildVectorSplat(EVT VecTy, SDValue SplatValue, bool BigEndian, SelectionDAG &DAG) argument
2348 APInt SplatValue, SplatUndef; local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp126 unsigned StoreAlignment, Value *SplatValue,
504 Value *SplatValue = isBytewiseValue(StoredVal); local
510 if (SplatValue && TLI->has(LibFunc::memset) &&
513 CurLoop->isLoopInvariant(SplatValue)) {
514 // Keep and use SplatValue.
520 SplatValue = nullptr;
574 if (SplatValue) {
576 Builder.CreateMemSet(BasePtr, SplatValue, NumBytes, StoreAlignment);
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp1073 Constant *SplatValue = cast<Constant>(IOp)->getSplatValue(); local
1074 if (SplatValue != nullptr &&
1075 SplatValue == cast<Constant>(JOp)->getSplatValue())
H A DLoopVectorize.cpp5391 Constant *SplatValue = cast<Constant>(Op2)->getSplatValue(); local
5392 if (SplatValue) {
5393 ConstantInt *CInt = dyn_cast<ConstantInt>(SplatValue);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp7163 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, argument
7175 SplatValue = APInt(sz, 0);
7180 // in SplatValue. If any of the values are not constant, give up and return
7194 SplatValue |= CN->getAPIntValue().zextOrTrunc(EltBitSize).
7197 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos;
7209 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize);
7210 APInt LowValue = SplatValue.trunc(HalfSize);
7219 SplatValue = HighValue | LowValue;
H A DDAGCombiner.cpp752 static bool isConstantSplatVector(SDNode *N, APInt& SplatValue) { argument
761 return (C->isConstantSplat(SplatValue, SplatUndef, SplatBitSize,
3106 APInt SplatValue, SplatUndef; local
3109 bool IsSplat = Vector->isConstantSplat(SplatValue, SplatUndef,
3114 SplatValue |= SplatUndef;
3127 for (SplatValue = SplatValue.zextOrTrunc(BitWidth);
3130 SplatValue |= SplatValue.shl(SplatBitSize);
3137 Constant &= SplatValue
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp8298 APInt SplatValue, SplatUndef; local
8301 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize,
8306 ShiftAmount = SplatValue.getSExtValue();

Completed in 274 milliseconds