Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DConstantFolding.cpp61 unsigned NumSrcElts = CDV->getType()->getNumElements(); in FoldBitCast() local
70 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts); in FoldBitCast()
80 for (unsigned i = 0; i != NumSrcElts; ++i) { in FoldBitCast()
83 Result |= CDV->getElementAsInteger(NumSrcElts-i-1); in FoldBitCast()
/external/clang/lib/CodeGen/
DCGExpr.cpp1333 unsigned NumSrcElts = VTy->getNumElements(); in EmitStoreThroughExtVectorComponentLValue() local
1336 if (NumDstElts == NumSrcElts) { in EmitStoreThroughExtVectorComponentLValue()
1341 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
1348 } else if (NumDstElts > NumSrcElts) { in EmitStoreThroughExtVectorComponentLValue()
1354 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()
1368 for (unsigned i = 0; i != NumSrcElts; ++i) in EmitStoreThroughExtVectorComponentLValue()