Searched refs:getSplatValue (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h141 Constant *getSplatValue(bool AllowUndefs = false) const;
H A DPatternMatch.h178 C->getSplatValue(AllowUndef))) {
203 C->getSplatValue(AllowUndef))) {
275 if (const auto *CV = dyn_cast_or_null<ConstantVal>(C->getSplatValue()))
328 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue()))
678 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue()))
717 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue());
H A DConstants.h537 Constant *getSplatValue(bool AllowUndefs = false) const;
811 Constant *getSplatValue() const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp108 if (ConstantFP *CFP = dyn_cast<ConstantFP>(Exp->getSplatValue())) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp52 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue()))
78 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue()))
112 if (Constant *Splat = CV->getSplatValue())
138 if (Constant *Splat = CV->getSplatValue())
188 if (Constant *Splat = CV->getSplatValue())
1580 Constant *Constant::getSplatValue(bool AllowUndefs) const { function in class:Constant
1585 return CV->getSplatValue();
1587 return CV->getSplatValue(AllowUndefs);
1612 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { function in class:ConstantVector
1642 assert(this->getSplatValue()
3075 Constant *ConstantDataVector::getSplatValue() const { function in class:ConstantDataVector
[all...]
H A DConstantFold.cpp64 if (Constant *Splat = CV->getSplatValue()) {
581 if (Constant *Splat = V->getSplatValue()) {
1019 if (Constant *Splat = C->getSplatValue()) {
1388 if (Constant *C2Splat = C2->getSplatValue()) {
1391 if (Constant *C1Splat = C1->getSplatValue()) {
2018 if (Constant *C1Splat = C1->getSplatValue())
2019 if (Constant *C2Splat = C2->getSplatValue())
2239 CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue());
H A DType.cpp555 C = C->getSplatValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp339 const llvm::Value *llvm::getSplatValue(const Value *V) { function in class:llvm
342 return C->getSplatValue();
367 return C->getSplatValue() != nullptr;
H A DTargetTransformInfo.cpp659 const Value *Splat = getSplatValue(V);
H A DInstructionSimplify.cpp4395 if (auto *Splat = CVec->getSplatValue())
H A DValueTracking.cpp1473 Index = CIndex->getSplatValue();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h356 const Value *getSplatValue(const Value *V);
362 /// This may be more powerful than the related getSplatValue() because it is
H A DTargetTransformInfoImpl.h770 if (auto Splat = getSplatValue(*I))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp893 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr;
894 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp415 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1938 SDValue getSplatValue(const APInt &DemandedElts,
1945 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
H A DSelectionDAG.h1794 SDValue getSplatValue(SDValue V);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1657 SDValue Splat = BV->getSplatValue(&UndefElements);
1731 SDValue Splat = BV->getSplatValue(&UndefElements);
2459 SDValue SelectionDAG::getSplatValue(SDValue V) {
3065 if (const Constant *Splat = Cst->getSplatValue()) {
9769 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts,
9804 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const {
9806 return getSplatValue(DemandedElts, UndefElements);
9813 getSplatValue(DemandedElts, UndefElements));
9818 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements));
9825 getSplatValue(DemandedElt
[all...]
H A DDAGCombiner.cpp18663 if (SDValue Splat = cast<BuildVectorSDNode>(N)->getSplatValue()) {
18682 if (SDValue V = cast<BuildVectorSDNode>(N)->getSplatValue()) {
19679 if (SDValue Splat0 = BV0->getSplatValue())
19680 IsSplat = (Splat0 == BV1->getSplatValue());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5291 Ops[0] = const_cast<Value *>(getSplatValue(Ops[0]));
5307 C = C->getSplatValue();
5317 if (Value *V = const_cast<Value *>(getSplatValue(Ops[FinalIndex]))) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp56 return IsConstantExtractIndex || C->getSplatValue();
H A DInstCombineCompares.cpp3593 ? NewShAmt->getSplatValue()
5467 Constant *ScalarC = C->getSplatValue(/* AllowUndefs */ true);
H A DInstCombineCalls.cpp3432 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1680 auto ShiftVal = DAG.getSplatValue(Op.getOperand(1));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2233 if (SDValue S = BVN->getSplatValue()) {

Completed in 789 milliseconds

12