• Home
  • Raw
  • Download

Lines Matching refs:CDS

1941   if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V))  in isRepeatedByteSequence()  local
1942 return isRepeatedByteSequence(CDS); in isRepeatedByteSequence()
1948 const ConstantDataSequential *CDS, in emitGlobalConstantDataSequential() argument
1952 int Value = isRepeatedByteSequence(CDS, DL); in emitGlobalConstantDataSequential()
1954 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
1961 if (CDS->isString()) in emitGlobalConstantDataSequential()
1962 return AP.OutStreamer->EmitBytes(CDS->getAsString()); in emitGlobalConstantDataSequential()
1965 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential()
1966 if (isa<IntegerType>(CDS->getElementType())) { in emitGlobalConstantDataSequential()
1967 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in emitGlobalConstantDataSequential()
1970 CDS->getElementAsInteger(i)); in emitGlobalConstantDataSequential()
1971 AP.OutStreamer->EmitIntValue(CDS->getElementAsInteger(i), in emitGlobalConstantDataSequential()
1975 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) in emitGlobalConstantDataSequential()
1976 emitGlobalConstantFP(cast<ConstantFP>(CDS->getElementAsConstant(I)), AP); in emitGlobalConstantDataSequential()
1979 unsigned Size = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
1980 unsigned EmittedSize = DL.getTypeAllocSize(CDS->getType()->getElementType()) * in emitGlobalConstantDataSequential()
1981 CDS->getNumElements(); in emitGlobalConstantDataSequential()
2283 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(CV)) in emitGlobalConstantImpl() local
2284 return emitGlobalConstantDataSequential(DL, CDS, AP); in emitGlobalConstantImpl()