Home
last modified time | relevance | path

Searched refs:NumSrcElts (Results 1 – 3 of 3) sorted by relevance

/NextBSD/contrib/llvm/lib/Analysis/
HDConstantFolding.cpp67 unsigned NumSrcElts = VTy->getNumElements(); in FoldBitCast() local
75 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts); in FoldBitCast()
88 for (unsigned i = 0; i != NumSrcElts; ++i) { in FoldBitCast()
91 Result |= CDV->getElementAsInteger(NumSrcElts-i-1); in FoldBitCast()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExpr.cpp1644 unsigned NumSrcElts = VTy->getNumElements(); in EmitStoreThroughExtVectorComponentLValue() local
1647 if (NumDstElts == NumSrcElts) { in EmitStoreThroughExtVectorComponentLValue()
1652 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
1659 } else if (NumDstElts > NumSrcElts) { in EmitStoreThroughExtVectorComponentLValue()
1665 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
1681 if (getAccessedFieldNo(NumSrcElts - 1, Elts) == Mask.size()) in EmitStoreThroughExtVectorComponentLValue()
1682 NumSrcElts--; in EmitStoreThroughExtVectorComponentLValue()
1685 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64ISelLowering.cpp4605 unsigned NumSrcElts = VT.getSizeInBits() / EltVT.getSizeInBits(); in ReconstructShuffle() local
4606 EVT DestVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumSrcElts); in ReconstructShuffle()
4620 if (Src.MaxElt - Src.MinElt >= NumSrcElts) { in ReconstructShuffle()
4625 if (Src.MinElt >= NumSrcElts) { in ReconstructShuffle()
4629 DAG.getConstant(NumSrcElts, dl, MVT::i64)); in ReconstructShuffle()
4630 Src.WindowBase = -NumSrcElts; in ReconstructShuffle()
4631 } else if (Src.MaxElt < NumSrcElts) { in ReconstructShuffle()
4643 DAG.getConstant(NumSrcElts, dl, MVT::i64)); in ReconstructShuffle()