Lines Matching refs:CV
67 ConstantVector *CV = dyn_cast<ConstantVector>(C); in FoldBitCast() local
68 if (CV == 0) in FoldBitCast()
73 unsigned NumSrcElt = CV->getNumOperands(); in FoldBitCast()
77 Type *SrcEltTy = CV->getType()->getElementType(); in FoldBitCast()
111 CV = dyn_cast<ConstantVector>(C); in FoldBitCast()
112 if (!CV) // If VMCore wasn't able to fold it, bail out. in FoldBitCast()
134 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(SrcElt++)); in FoldBitCast()
158 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(i)); in FoldBitCast()
331 if (ConstantVector *CV = dyn_cast<ConstantVector>(C)) { in ReadDataFromGlobal() local
332 uint64_t EltSize = TD.getTypeAllocSize(CV->getType()->getElementType()); in ReadDataFromGlobal()
335 for (; Index != CV->getType()->getNumElements(); ++Index) { in ReadDataFromGlobal()
336 if (!ReadDataFromGlobal(CV->getOperand(Index), Offset, CurPtr, in ReadDataFromGlobal()