Lines Matching refs:CV
765 static void WriteConstantInternal(raw_ostream &Out, const Constant *CV,
769 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
778 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
890 if (isa<ConstantAggregateZero>(CV)) {
895 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) {
906 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) {
925 if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) {
954 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) {
984 if (isa<ConstantVector>(CV) || isa<ConstantDataVector>(CV)) {
985 Type *ETy = CV->getType()->getVectorElementType();
989 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter,
991 for (unsigned i = 1, e = CV->getType()->getVectorNumElements(); i != e;++i){
995 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter,
1002 if (isa<ConstantPointerNull>(CV)) {
1007 if (isa<UndefValue>(CV)) {
1012 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) {
1078 const Constant *CV = dyn_cast<Constant>(V);
1079 if (CV && !isa<GlobalValue>(CV)) {
1081 WriteConstantInternal(Out, CV, *TypePrinter, Machine, Context);