Lines Matching refs:CV
697 static void WriteConstantInternal(raw_ostream &Out, const Constant *CV, in WriteConstantInternal() argument
701 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { in WriteConstantInternal()
710 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { in WriteConstantInternal()
815 if (isa<ConstantAggregateZero>(CV)) { in WriteConstantInternal()
820 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) { in WriteConstantInternal()
831 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) { in WriteConstantInternal()
850 if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) { in WriteConstantInternal()
879 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) { in WriteConstantInternal()
909 if (isa<ConstantVector>(CV) || isa<ConstantDataVector>(CV)) { in WriteConstantInternal()
910 Type *ETy = CV->getType()->getVectorElementType(); in WriteConstantInternal()
914 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter, in WriteConstantInternal()
916 for (unsigned i = 1, e = CV->getType()->getVectorNumElements(); i != e;++i){ in WriteConstantInternal()
920 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter, in WriteConstantInternal()
927 if (isa<ConstantPointerNull>(CV)) { in WriteConstantInternal()
932 if (isa<UndefValue>(CV)) { in WriteConstantInternal()
937 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) { in WriteConstantInternal()
1006 const Constant *CV = dyn_cast<Constant>(V); in WriteAsOperandInternal() local
1007 if (CV && !isa<GlobalValue>(CV)) { in WriteAsOperandInternal()
1009 WriteConstantInternal(Out, CV, *TypePrinter, Machine, Context); in WriteAsOperandInternal()