Lines Matching refs:CDS
2555 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) in isRepeatedByteSequence() local
2556 return isRepeatedByteSequence(CDS); in isRepeatedByteSequence()
2562 const ConstantDataSequential *CDS, in emitGlobalConstantDataSequential() argument
2565 int Value = isRepeatedByteSequence(CDS, DL); in emitGlobalConstantDataSequential()
2567 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
2574 if (CDS->isString()) in emitGlobalConstantDataSequential()
2575 return AP.OutStreamer->emitBytes(CDS->getAsString()); in emitGlobalConstantDataSequential()
2578 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential()
2579 if (isa<IntegerType>(CDS->getElementType())) { in emitGlobalConstantDataSequential()
2580 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in emitGlobalConstantDataSequential()
2583 CDS->getElementAsInteger(i)); in emitGlobalConstantDataSequential()
2584 AP.OutStreamer->emitIntValue(CDS->getElementAsInteger(i), in emitGlobalConstantDataSequential()
2588 Type *ET = CDS->getElementType(); in emitGlobalConstantDataSequential()
2589 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) in emitGlobalConstantDataSequential()
2590 emitGlobalConstantFP(CDS->getElementAsAPFloat(I), ET, AP); in emitGlobalConstantDataSequential()
2593 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
2595 DL.getTypeAllocSize(CDS->getElementType()) * CDS->getNumElements(); in emitGlobalConstantDataSequential()
2897 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(CV)) in emitGlobalConstantImpl() local
2898 return emitGlobalConstantDataSequential(DL, CDS, AP); in emitGlobalConstantImpl()