Lines Matching refs:CV
724 void CppWriter::printConstant(const Constant *CV) {
728 if (isa<GlobalValue>(CV) || ValueNames.find(CV) != ValueNames.end())
731 std::string constName(getCppName(CV));
732 std::string typeName(getCppName(CV->getType()));
734 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
740 } else if (isa<ConstantAggregateZero>(CV)) {
743 } else if (isa<ConstantPointerNull>(CV)) {
746 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
750 } else if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) {
762 } else if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) {
774 } else if (const ConstantVector *CVec = dyn_cast<ConstantVector>(CV)) {
786 } else if (isa<UndefValue>(CV)) {
790 dyn_cast<ConstantDataSequential>(CV)) {
824 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) {
935 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) {