Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DConstantFolding.cpp69 unsigned NumSrcElts = VTy->getNumElements(); in FoldBitCast() local
77 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts); in FoldBitCast()
86 for (unsigned i = 0; i != NumSrcElts; ++i) { in FoldBitCast()
89 Element = C->getAggregateElement(NumSrcElts-i-1); in FoldBitCast()
/external/clang/lib/CodeGen/
DCGExpr.cpp1760 unsigned NumSrcElts = VTy->getNumElements(); in EmitStoreThroughExtVectorComponentLValue() local
1762 if (NumDstElts == NumSrcElts) { in EmitStoreThroughExtVectorComponentLValue()
1767 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
1774 } else if (NumDstElts > NumSrcElts) { in EmitStoreThroughExtVectorComponentLValue()
1780 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
1796 if (getAccessedFieldNo(NumSrcElts - 1, Elts) == Mask.size()) in EmitStoreThroughExtVectorComponentLValue()
1797 NumSrcElts--; in EmitStoreThroughExtVectorComponentLValue()
1800 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5012 unsigned NumSrcElts = VT.getSizeInBits() / EltVT.getSizeInBits(); in ReconstructShuffle() local
5013 EVT DestVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumSrcElts); in ReconstructShuffle()
5027 if (Src.MaxElt - Src.MinElt >= NumSrcElts) { in ReconstructShuffle()
5032 if (Src.MinElt >= NumSrcElts) { in ReconstructShuffle()
5036 DAG.getConstant(NumSrcElts, dl, MVT::i64)); in ReconstructShuffle()
5037 Src.WindowBase = -NumSrcElts; in ReconstructShuffle()
5038 } else if (Src.MaxElt < NumSrcElts) { in ReconstructShuffle()
5050 DAG.getConstant(NumSrcElts, dl, MVT::i64)); in ReconstructShuffle()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5943 unsigned NumSrcElts = VT.getSizeInBits() / EltVT.getSizeInBits(); in ReconstructShuffle() local
5944 EVT DestVT = EVT::getVectorVT(*DAG.getContext(), EltVT, NumSrcElts); in ReconstructShuffle()
5960 if (Src.MaxElt - Src.MinElt >= NumSrcElts) { in ReconstructShuffle()
5965 if (Src.MinElt >= NumSrcElts) { in ReconstructShuffle()
5969 DAG.getConstant(NumSrcElts, dl, MVT::i32)); in ReconstructShuffle()
5970 Src.WindowBase = -NumSrcElts; in ReconstructShuffle()
5971 } else if (Src.MaxElt < NumSrcElts) { in ReconstructShuffle()
5983 DAG.getConstant(NumSrcElts, dl, MVT::i32)); in ReconstructShuffle()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp8682 unsigned NumSrcElts = SrcVT.getVectorNumElements(); in lowerVectorShuffleAsBroadcast() local
8683 SrcVT = MVT::getVectorVT(BroadcastVT.getScalarType(), NumSrcElts); in lowerVectorShuffleAsBroadcast()