Lines Matching refs:CDS
1886 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) in isRepeatedByteSequence() local
1887 return isRepeatedByteSequence(CDS); in isRepeatedByteSequence()
1893 const ConstantDataSequential *CDS, in emitGlobalConstantDataSequential() argument
1897 int Value = isRepeatedByteSequence(CDS, DL); in emitGlobalConstantDataSequential()
1899 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
1906 if (CDS->isString()) in emitGlobalConstantDataSequential()
1907 return AP.OutStreamer->EmitBytes(CDS->getAsString()); in emitGlobalConstantDataSequential()
1910 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential()
1911 if (isa<IntegerType>(CDS->getElementType())) { in emitGlobalConstantDataSequential()
1912 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in emitGlobalConstantDataSequential()
1915 CDS->getElementAsInteger(i)); in emitGlobalConstantDataSequential()
1916 AP.OutStreamer->EmitIntValue(CDS->getElementAsInteger(i), in emitGlobalConstantDataSequential()
1920 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) in emitGlobalConstantDataSequential()
1921 emitGlobalConstantFP(cast<ConstantFP>(CDS->getElementAsConstant(I)), AP); in emitGlobalConstantDataSequential()
1924 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
1925 unsigned EmittedSize = DL.getTypeAllocSize(CDS->getType()->getElementType()) * in emitGlobalConstantDataSequential()
1926 CDS->getNumElements(); in emitGlobalConstantDataSequential()
2228 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(CV)) in emitGlobalConstantImpl() local
2229 return emitGlobalConstantDataSequential(DL, CDS, AP); in emitGlobalConstantImpl()