Lines Matching defs:CDS
3345 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V))
3346 return isRepeatedByteSequence(CDS);
3364 const DataLayout &DL, const ConstantDataSequential *CDS, AsmPrinter &AP,
3367 int Value = isRepeatedByteSequence(CDS, DL);
3369 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType());
3376 if (CDS->isString())
3377 return AP.OutStreamer->emitBytes(CDS->getAsString());
3380 unsigned ElementByteSize = CDS->getElementByteSize();
3381 if (isa<IntegerType>(CDS->getElementType())) {
3382 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) {
3386 << format("0x%" PRIx64 "\n", CDS->getElementAsInteger(I));
3387 AP.OutStreamer->emitIntValue(CDS->getElementAsInteger(I),
3391 Type *ET = CDS->getElementType();
3392 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) {
3394 emitGlobalConstantFP(CDS->getElementAsAPFloat(I), ET, AP);
3398 unsigned Size = DL.getTypeAllocSize(CDS->getType());
3400 DL.getTypeAllocSize(CDS->getElementType()) * CDS->getNumElements();
3732 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(CV))
3733 return emitGlobalConstantDataSequential(DL, CDS, AP, AliasList);