Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DConstant.h105 Constant *getSplatValue() const;
DPatternMatch.h170 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()
DConstants.h495 Constant *getSplatValue() const;
782 Constant *getSplatValue() const;
/external/llvm/include/llvm/Analysis/
DVectorUtils.h89 const Value *getSplatValue(const Value *V);
DTargetTransformInfoImpl.h423 if (auto Splat = getSplatValue(*I)) in getGEPCost()
/external/llvm/lib/IR/
DConstants.cpp52 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 …]
DType.cpp654 C = C->getSplatValue(); in indexValid()
/external/llvm/lib/Analysis/
DVectorUtils.cpp419 const llvm::Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm
423 return C->getSplatValue(); in getSplatValue()
DCostModel.cpp131 if (cast<Constant>(V)->getSplatValue() != nullptr) in getOperandInfo()
DValueTracking.cpp1367 Index = CIndex->getSplatValue(); in computeKnownBitsFromOperator()
DInstructionSimplify.cpp3626 if (auto *Splat = CVec->getSplatValue()) in SimplifyExtractElementInst()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h219 OpC = OpC->getSplatValue();
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp327 COp1 = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in FoldShiftByConstant()
329 COp1 = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in FoldShiftByConstant()
DInstCombineCalls.cpp1610 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1529 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 BuildVectorSDNode
7258 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()
DSelectionDAGBuilder.cpp3013 cast<ConstantDataVector>(Idx)->getSplatValue()) in visitGetElementPtr()
3014 CI = cast<ConstantInt>(cast<ConstantDataVector>(Idx)->getSplatValue()); in visitGetElementPtr()
3326 else if (!(Ptr = getSplatValue(GEPPtr))) in getUniformBase()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1073 Constant *SplatValue = cast<Constant>(IOp)->getSplatValue(); in areInstsCompatible()
1075 SplatValue == cast<Constant>(JOp)->getSplatValue()) in areInstsCompatible()
DLoopVectorize.cpp5391 Constant *SplatValue = cast<Constant>(Op2)->getSplatValue(); in getInstructionCost()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1688 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4280 SDValue Splat = BVN->getSplatValue(&UndefElements); in lowerShift()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp5526 SDValue Splat = BVOp->getSplatValue(&UndefElements); in LowerVectorBroadcast()
18495 BaseShAmt = BV->getSplatValue(); in LowerScalarVariableShift()