Searched refs:getSplatValue (Results 1 – 21 of 21) sorted by relevance
105 Constant *getSplatValue() const;
170 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) { in match()210 if (const auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) in match()229 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) in match()335 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) in match()372 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue()); in match()
495 Constant *getSplatValue() const;782 Constant *getSplatValue() const;
89 const Value *getSplatValue(const Value *V);
423 if (auto Splat = getSplatValue(*I)) in getGEPCost()
52 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()57 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()78 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()83 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()117 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue()122 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue()139 if (Constant *Splat = CV->getSplatValue()) in isOneValue()144 if (Constant *Splat = CV->getSplatValue()) in isOneValue()161 if (Constant *Splat = CV->getSplatValue()) in isMinSignedValue()166 if (Constant *Splat = CV->getSplatValue()) in isMinSignedValue()[all …]
654 C = C->getSplatValue(); in indexValid()
419 const llvm::Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm423 return C->getSplatValue(); in getSplatValue()
131 if (cast<Constant>(V)->getSplatValue() != nullptr) in getOperandInfo()
1367 Index = CIndex->getSplatValue(); in computeKnownBitsFromOperator()
3626 if (auto *Splat = CVec->getSplatValue()) in SimplifyExtractElementInst()
219 OpC = OpC->getSplatValue();
327 COp1 = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in FoldShiftByConstant()329 COp1 = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in FoldShiftByConstant()
1610 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
1529 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle()1602 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle()7229 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const { in getSplatValue() function in BuildVectorSDNode7258 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements)); in getConstantSplatNode()7263 return dyn_cast_or_null<ConstantFPSDNode>(getSplatValue(UndefElements)); in getConstantFPSplatNode()7270 dyn_cast_or_null<ConstantFPSDNode>(getSplatValue(UndefElements))) { in getConstantFPSplatPow2ToLog2Int()
3013 cast<ConstantDataVector>(Idx)->getSplatValue()) in visitGetElementPtr()3014 CI = cast<ConstantInt>(cast<ConstantDataVector>(Idx)->getSplatValue()); in visitGetElementPtr()3326 else if (!(Ptr = getSplatValue(GEPPtr))) in getUniformBase()
1073 Constant *SplatValue = cast<Constant>(IOp)->getSplatValue(); in areInstsCompatible()1075 SplatValue == cast<Constant>(JOp)->getSplatValue()) in areInstsCompatible()
5391 Constant *SplatValue = cast<Constant>(Op2)->getSplatValue(); in getInstructionCost()
1688 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
4280 SDValue Splat = BVN->getSplatValue(&UndefElements); in lowerShift()
5526 SDValue Splat = BVOp->getSplatValue(&UndefElements); in LowerVectorBroadcast()18495 BaseShAmt = BV->getSplatValue(); in LowerScalarVariableShift()