Lines Matching defs:CDS
3596 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V))
3597 return isRepeatedByteSequence(CDS);
3615 const DataLayout &DL, const ConstantDataSequential *CDS, AsmPrinter &AP,
3618 int Value = isRepeatedByteSequence(CDS, DL);
3620 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType());
3627 if (CDS->isString())
3628 return AP.OutStreamer->emitBytes(CDS->getAsString());
3631 unsigned ElementByteSize = CDS->getElementByteSize();
3632 if (isa<IntegerType>(CDS->getElementType())) {
3633 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) {
3637 << format("0x%" PRIx64 "\n", CDS->getElementAsInteger(I));
3638 AP.OutStreamer->emitIntValue(CDS->getElementAsInteger(I),
3642 Type *ET = CDS->getElementType();
3643 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) {
3645 emitGlobalConstantFP(CDS->getElementAsAPFloat(I), ET, AP);
3649 unsigned Size = DL.getTypeAllocSize(CDS->getType());
3651 DL.getTypeAllocSize(CDS->getElementType()) * CDS->getNumElements();
4012 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(CV))
4013 return emitGlobalConstantDataSequential(DL, CDS, AP, AliasList);