Home
last modified time | relevance | path

Searched refs:getSplatValue (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h105 Constant *getSplatValue() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h139 Constant *getSplatValue(bool AllowUndefs = false) const;
DPatternMatch.h165 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) { in match()
185 if (auto *CI = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) { in match()
230 if (const auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) in match()
270 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) in match()
289 if (const auto *CF = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) in match()
642 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) in match()
681 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue()); in match()
DConstants.h528 Constant *getSplatValue(bool AllowUndefs = false) const;
801 Constant *getSplatValue() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp314 const llvm::Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm
317 return C->getSplatValue(); in getSplatValue()
341 return C->getSplatValue() != nullptr; in isSplatValue()
347 return Mask->getSplatValue() != nullptr; in isSplatValue()
DTargetTransformInfo.cpp563 const Value *Splat = getSplatValue(V); in getOperandInfo()
DInstructionSimplify.cpp4266 if (auto *Splat = CVec->getSplatValue()) in SimplifyExtractElementInst()
4492 OpShuf->getMask()->getSplatValue()) in SimplifyShuffleVectorInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp52 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()
112 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue()
138 if (Constant *Splat = CV->getSplatValue()) in isOneValue()
188 if (Constant *Splat = CV->getSplatValue()) in isMinSignedValue()
1450 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue() function in Constant
1455 return CV->getSplatValue(); in getSplatValue()
1457 return CV->getSplatValue(AllowUndefs); in getSplatValue()
1461 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { in getSplatValue() function in ConstantVector
1491 assert(this->getSplatValue() && "Doesn't contain a unique integer!"); in getUniqueInteger()
[all …]
DType.cpp564 C = C->getSplatValue(); in indexValid()
DConstantFold.cpp2161 CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in isInBoundsIndices()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVectorUtils.h224 const Value *getSplatValue(const Value *V);
DTargetTransformInfoImpl.h775 if (auto Splat = getSplatValue(*I)) in getGEPCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1644 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle()
1718 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle()
2414 SDValue SelectionDAG::getSplatValue(SDValue V) { in getSplatValue() function in SelectionDAG
3023 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits()
9572 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts, in getSplatValue() function in BuildVectorSDNode
9607 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const { in getSplatValue() function in BuildVectorSDNode
9609 return getSplatValue(DemandedElts, UndefElements); in getSplatValue()
9616 getSplatValue(DemandedElts, UndefElements)); in getConstantSplatNode()
9621 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements)); in getConstantSplatNode()
9628 getSplatValue(DemandedElts, UndefElements)); in getConstantFPSplatNode()
[all …]
DSelectionDAGBuilder.cpp3921 C = C->getSplatValue(); in visitGetElementPtr()
4387 else if (!(Ptr = getSplatValue(GEPPtr))) in getUniformBase()
4400 C = C->getSplatValue(); in getUniformBase()
4421 C = C->getSplatValue(); in getUniformBase()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp897 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow()
898 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr; in fold_pow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1941 SDValue getSplatValue(const APInt &DemandedElts,
1948 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
DSelectionDAG.h1632 SDValue getSplatValue(SDValue V);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp384 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue()) in getArithmeticInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp1568 !(SplatVal = ShiftVec->getSplatValue())) in LowerShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp55 return IsConstantExtractIndex || C->getSplatValue(); in cheapToScalarize()
DInstCombineCasts.cpp642 Shuf->getMask()->getSplatValue() && in shrinkSplatShuffle()
DInstCombineCompares.cpp2799 if (auto *Elem = dyn_cast_or_null<ConstantInt>(Mask->getSplatValue())) { in foldICmpBitCast()
3578 ? NewShAmt->getSplatValue() in foldShiftIntoShiftInAnotherHandOfAndInICmp()
DInstCombineCalls.cpp3380 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2099 if (SDValue S = BVN->getSplatValue()) { in getVectorShiftByInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp3203 if (Ptrs->getType()->isVectorTy() && !getSplatValue(Ptrs)) in getGSVectorCost()

12