Lines Matching refs:CV
682 void CppWriter::printConstant(const Constant *CV) { in printConstant() argument
686 if (isa<GlobalValue>(CV) || ValueNames.find(CV) != ValueNames.end()) in printConstant()
689 std::string constName(getCppName(CV)); in printConstant()
690 std::string typeName(getCppName(CV->getType())); in printConstant()
692 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) { in printConstant()
698 } else if (isa<ConstantAggregateZero>(CV)) { in printConstant()
701 } else if (isa<ConstantPointerNull>(CV)) { in printConstant()
704 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { in printConstant()
708 } else if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) { in printConstant()
720 } else if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) { in printConstant()
732 } else if (const ConstantVector *CVec = dyn_cast<ConstantVector>(CV)) { in printConstant()
744 } else if (isa<UndefValue>(CV)) { in printConstant()
748 dyn_cast<ConstantDataSequential>(CV)) { in printConstant()
782 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) { in printConstant()
893 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) { in printConstant()