Home
last modified time | relevance | path

Searched refs:ExtractIdx (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp928 for (unsigned ExtractIdx = 0; ExtractIdx != VF; ++ExtractIdx) { in getOrderedReduction() local
930 Builder.CreateExtractElement(Src, Builder.getInt32(ExtractIdx)); in getOrderedReduction()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp859 Constant *ExtractIdx = ConstantInt::get(Ty, i); in ConstantFoldUnaryInstruction() local
860 Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx); in ConstantFoldUnaryInstruction()
1236 Constant *ExtractIdx = ConstantInt::get(Ty, i); in ConstantFoldBinaryInstruction() local
1237 Constant *LHS = ConstantExpr::getExtractElement(C1, ExtractIdx); in ConstantFoldBinaryInstruction()
1238 Constant *RHS = ConstantExpr::getExtractElement(C2, ExtractIdx); in ConstantFoldBinaryInstruction()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7298 unsigned ExtractIdx = std::numeric_limits<unsigned>::max(); in getConstantVector() local
7304 ExtractIdx = CstVal->getSExtValue(); in getConstantVector()
7317 if (Idx == ExtractIdx) in getConstantVector()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp39096 int ExtractIdx = Op.getConstantOperandVal(1); in combineX86ShufflesRecursively() local
43541 int ExtractIdx = (int)IdxC.getZExtValue(); in combineExtractWithShuffle() local
43543 int Lo = Scale * ExtractIdx; in combineExtractWithShuffle()
43544 int Hi = Scale * (ExtractIdx + 1); in combineExtractWithShuffle()
43557 int ExtractIdx; in combineExtractWithShuffle() local
43560 ExtractIdx = Mask[IdxC.getZExtValue()]; in combineExtractWithShuffle()
43569 ExtractIdx = Mask[ScaledIdx]; in combineExtractWithShuffle()
43577 if (ExtractIdx == SM_SentinelUndef) in combineExtractWithShuffle()
43580 if (ExtractIdx == SM_SentinelZero) in combineExtractWithShuffle()
43584 SDValue SrcOp = Ops[ExtractIdx / Mask.size()]; in combineExtractWithShuffle()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6680 int ExtractIdx = Idx < NumElts ? Idx : Idx - NumElts; in lowerShuffleVector() local
6681 auto IdxK = MIRBuilder.buildConstant(IdxTy, ExtractIdx); in lowerShuffleVector()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp19351 SDValue ExtractIdx = InsertElt.getOperand(1); in removeRedundantInsertVectorElt() local
19354 if (!isNullConstant(ExtractIdx)) in removeRedundantInsertVectorElt()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp20526 const APInt &ExtractIdx = Op.getConstantOperandAPInt(1); in reduceBuildVecToShuffle() local
20527 if (ExtractIdx.uge(ExtractedFromVec.getValueType().getVectorNumElements())) in reduceBuildVecToShuffle()