Home
last modified time | relevance | path

Searched refs:ExtIdx (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp1119 Value *ExtIdx = EEI.getOperand(1); in visitExtractElementInst() local
1121 if (auto *CI = dyn_cast<ConstantInt>(ExtIdx)) { in visitExtractElementInst()
1142 Builder.CreateICmpEQ(ExtIdx, ConstantInt::get(ExtIdx->getType(), I), in visitExtractElementInst()
1143 ExtIdx->getName() + ".is." + Twine(I)); in visitExtractElementInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp3551 uint64_t ExtIdx, InsIdx; in foldInsExtVectorToShuffle() local
3554 m_ExtractElt(m_Value(SrcVec), m_ConstantInt(ExtIdx)), in foldInsExtVectorToShuffle()
3567 if (InsIdx >= NumDstElts || ExtIdx >= NumSrcElts || NumDstElts == 1) in foldInsExtVectorToShuffle()
3575 bool IsExtIdxInBounds = ExtIdx < NumDstElts; in foldInsExtVectorToShuffle()
3582 Mask[InsIdx] = ExtIdx; in foldInsExtVectorToShuffle()
3590 Mask[InsIdx] = ExtIdx + NumDstElts; in foldInsExtVectorToShuffle()
3599 TTI.getVectorInstrCost(*Ext, DstVecTy, CostKind, ExtIdx); in foldInsExtVectorToShuffle()
3616 ExtToVecMask[ExtIdx] = ExtIdx; in foldInsExtVectorToShuffle()
3618 ExtToVecMask[0] = ExtIdx; in foldInsExtVectorToShuffle()
H A DSLPVectorizer.cpp10807 const unsigned ExtIdx = *Idx; in canReuseExtract() local
10808 if (ExtIdx >= NElts) in canReuseExtract()
10810 Indices[I] = ExtIdx; in canReuseExtract()
10811 if (MinIdx > ExtIdx) in canReuseExtract()
10812 MinIdx = ExtIdx; in canReuseExtract()
10813 if (MaxIdx < ExtIdx) in canReuseExtract()
10814 MaxIdx = ExtIdx; in canReuseExtract()
10832 const unsigned ExtIdx = Indices[I] - MinIdx; in canReuseExtract() local
10833 if (CurrentOrder[ExtIdx] != E) { in canReuseExtract()
10837 ShouldKeepOrder &= ExtIdx == I; in canReuseExtract()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp25038 int ExtIdx = Op.getConstantOperandVal(1); in combineConcatVectorOfExtracts() local
25059 ExtIdx /= (NumExtElts / NumElts); in combineConcatVectorOfExtracts()
25061 ExtIdx *= (NumElts / NumExtElts); in combineConcatVectorOfExtracts()
25069 Mask.push_back(i + ExtIdx); in combineConcatVectorOfExtracts()
25073 Mask.push_back(i + ExtIdx + NumElts); in combineConcatVectorOfExtracts()
25821 uint64_t ExtIdx = N->getConstantOperandVal(1); in visitEXTRACT_SUBVECTOR() local
25828 if (SDValue NarrowLoad = narrowExtractedVectorLoad(NVT, V, ExtIdx, DL, DAG)) in visitEXTRACT_SUBVECTOR()
25833 if (ExtIdx == 0 && V.getOpcode() == ISD::EXTRACT_SUBVECTOR && V.hasOneUse()) { in visitEXTRACT_SUBVECTOR()
25857 if (InsIdx <= ExtIdx && (ExtIdx + NumSubElts) <= (InsIdx + NumInsElts) && in visitEXTRACT_SUBVECTOR()
25858 TLI.isExtractSubvectorCheap(NVT, InsSubVT, ExtIdx - InsIdx) && in visitEXTRACT_SUBVECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp897 SmallVector<int,128> ExtIdx; in buildHvxVectorReg() local
899 if (IsBuildFromExtracts(ExtVec, ExtIdx)) { in buildHvxVectorReg()
909 for (int M : ExtIdx) { in buildHvxVectorReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp1363 SlotIndex ExtIdx = LIS->InsertMachineInstrInMaps(*ExtMI); in convertToThreeAddressWithLEA() local
1389 DestSeg->start = ExtIdx.getRegSlot(); in convertToThreeAddressWithLEA()
1390 DestSeg->valno->def = ExtIdx.getRegSlot(); in convertToThreeAddressWithLEA()
H A DX86ISelLowering.cpp7881 SDValue ExtIdx) { in getUnderlyingExtractedFromVec() argument
7882 int Idx = ExtIdx->getAsZExtVal(); in getUnderlyingExtractedFromVec()
7941 SDValue ExtIdx = Op.getOperand(i).getOperand(1); in buildFromShuffleMostly() local
7944 if (!isa<ConstantSDNode>(ExtIdx)) in buildFromShuffleMostly()
7946 int Idx = getUnderlyingExtractedFromVec(ExtractedFromVec, ExtIdx); in buildFromShuffleMostly()
59459 unsigned ExtIdx = Ext->getConstantOperandVal(1); in narrowExtractedVectorSelect() local
59463 ExtIdx *= (SelElts / CastedElts); in narrowExtractedVectorSelect()
59468 if (ExtIdx % IndexDivisor != 0) in narrowExtractedVectorSelect()
59470 ExtIdx /= IndexDivisor; in narrowExtractedVectorSelect()
59478 SDValue ExtCond = extract128BitVector(Sel.getOperand(0), ExtIdx, DAG, DL); in narrowExtractedVectorSelect()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp13813 unsigned ExtIdx = Extract.getConstantOperandVal(1); in constructDup() local
13815 unsigned ExtIdxInBits = ExtIdx * SrcEltBitWidth; in constructDup()
24055 SDValue ExtIdx = Value.getOperand(1); in performSTORECombine() local
24074 auto *ExtCst = dyn_cast<ConstantSDNode>(ExtIdx); in performSTORECombine()
24104 Value.getValueType(), Vector, ExtIdx); in performSTORECombine()