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

12

/openbsd-current/gnu/llvm/llvm/include/llvm/IR/
H A DConstant.h151 Constant *getSplatValue(bool AllowUndefs = false) const;
H A DPatternMatch.h243 dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndef))) {
268 dyn_cast_or_null<ConstantFP>(C->getSplatValue(AllowUndef))) {
340 if (const auto *CV = dyn_cast_or_null<ConstantVal>(C->getSplatValue()))
393 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue()))
420 C->getSplatValue(/* AllowUndef */ true)))
807 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue()))
846 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndefs));
H A DConstants.h523 Constant *getSplatValue(bool AllowUndefs = false) const;
809 Constant *getSplatValue() const;
/openbsd-current/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp111 if (ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(Exp->getSplatValue())) {
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp158 Value *Splat = getSplatValue(BO->getOperand(0));
160 Splat = getSplatValue(BO->getOperand(1));
209 Step = getSplatValue(Step);
270 Value *SplatOp = getSplatValue(OtherOp);
/openbsd-current/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp49 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue()))
69 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue()))
104 if (const auto *SplatVal = getSplatValue())
121 if (const auto *SplatVal = getSplatValue())
148 if (const auto *SplatVal = getSplatValue())
166 if (const auto *SplatVal = getSplatValue())
193 if (const auto *SplatVal = getSplatValue())
214 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue()))
235 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue()))
256 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue()))
[all...]
H A DConstantFold.cpp62 if (Constant *Splat = CV->getSplatValue()) {
411 if (Constant *Splat = V->getSplatValue()) {
667 if (Constant *SplatVal = Val->getSplatValue())
851 if (Constant *Splat = C->getSplatValue())
1218 if (Constant *C2Splat = C2->getSplatValue()) {
1221 if (Constant *C1Splat = C1->getSplatValue()) {
1683 if (Constant *C1Splat = C1->getSplatValue())
1684 if (Constant *C2Splat = C2->getSplatValue())
1933 CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue());
H A DType.cpp620 C = C->getSplatValue();
/openbsd-current/gnu/llvm/llvm/lib/Analysis/
H A DVectorUtils.cpp341 if (Value *Splat = getSplatValue(V))
371 Value *llvm::getSplatValue(const Value *V) { function in class:llvm
374 return C->getSplatValue();
395 return C->getSplatValue() != nullptr;
H A DTargetTransformInfo.cpp757 const Value *Splat = getSplatValue(V);
H A DInstructionSimplify.cpp4995 if (auto *Splat = getSplatValue(Vec))
5009 if (Value *Splat = getSplatValue(Vec))
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DVectorUtils.h360 Value *getSplatValue(const Value *V);
366 /// This may be more powerful than the related getSplatValue() because it is
H A DTargetTransformInfoImpl.h988 if (auto Splat = getSplatValue(*I))
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp87 if (Value *SplattedVal = getSplatValue(MaskVal))
H A DCodeGenPrepare.cpp5632 Ops[0] = getSplatValue(Ops[0]);
5648 C = C->getSplatValue();
5658 if (Value *V = getSplatValue(Ops[FinalIndex])) {
5708 Value *V = getSplatValue(Ptr);
/openbsd-current/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp736 dyn_cast_or_null<ConstantInt>(getSplatValue(II.getArgOperand(2)));
829 if (auto *SplatVal = getSplatValue(Vec))
1241 auto *SplatValue = getSplatValue(I);
1288 if (auto *ScalarArg = getSplatValue(UnpackArg)) {
1307 auto *SplatValue = dyn_cast_or_null<ConstantInt>(getSplatValue(OpIndices));
1414 Value *SplatValue = getSplatValue(DivVec);
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp830 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr;
831 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr;
/openbsd-current/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h393 SDValue getSplatValue(SDValue Op, SelectionDAG &DAG) const;
H A DHexagonISelLowering.cpp2352 HexagonTargetLowering::getSplatValue(SDValue Op, SelectionDAG &DAG) const { function in class:HexagonTargetLowering
2355 if (SDValue S = cast<BuildVectorSDNode>(Op)->getSplatValue())
2383 if (SDValue Sp = getSplatValue(Op.getOperand(1), DAG))
/openbsd-current/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp398 if (auto *SplatPtr = getSplatValue(II.getArgOperand(0))) {
427 if (auto *SplatPtr = getSplatValue(II.getArgOperand(1))) {
429 if (auto *SplatValue = getSplatValue(II.getArgOperand(0))) {
2177 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue()))
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2017 SDValue getSplatValue(const APInt &DemandedElts,
2024 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
/openbsd-current/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp459 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue())
/openbsd-current/gnu/llvm/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1824 static SDValue getSplatValue(SDNode *N) { function
1826 return BuildVec->getSplatValue();
1846 if (SDValue ScalarV = getSplatValue(Op.getNode())) {
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1976 SDValue Splat = BV->getSplatValue(&UndefElements);
2050 SDValue Splat = BV->getSplatValue(&UndefElements);
2838 SDValue SelectionDAG::getSplatValue(SDValue V, bool LegalTypes) {
3448 if (const Constant *Splat = Cst->getSplatValue()) {
11763 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts,
11798 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const {
11800 return getSplatValue(DemandedElts, UndefElements);
11816 // Set the undefs even if we don't find a sequence (like getSplatValue).
11859 getSplatValue(DemandedElts, UndefElements));
11864 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElement
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp340 if (C && C->getSplatValue())

Completed in 375 milliseconds

12