Searched refs:CDS (Results 1 - 12 of 12) sorted by relevance

/external/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp79 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(C)) {
80 unsigned NumElts = CDS->getNumElements();
81 assert(NumElts != 0 && "Can't have an empty CDS");
83 if (CDS->getElementAsInteger(NumElts-1) != 0)
88 if (CDS->getElementAsInteger(i) == 0)
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1628 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V))
1629 return isRepeatedByteSequence(CDS);
1634 static void emitGlobalConstantDataSequential(const ConstantDataSequential *CDS, argument
1638 int Value = isRepeatedByteSequence(CDS, AP.TM);
1640 uint64_t Bytes = AP.TM.getTargetData()->getTypeAllocSize(CDS->getType());
1647 if (CDS->isString())
1648 return AP.OutStreamer.EmitBytes(CDS->getAsString(), AddrSpace);
1651 unsigned ElementByteSize = CDS->getElementByteSize();
1652 if (isa<IntegerType>(CDS->getElementType())) {
1653 for (unsigned i = 0, e = CDS
[all...]
/external/clang/lib/CodeGen/
H A DCGDecl.cpp690 if (llvm::ConstantDataSequential *CDS =
692 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) {
693 llvm::Constant *Elt = CDS->getElementAsConstant(i);
719 if (llvm::ConstantDataSequential *CDS =
721 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) {
722 llvm::Constant *Elt = CDS->getElementAsConstant(i);
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp891 } else if (const ConstantDataSequential *CDS =
894 Type *EltTy = CDS->getType()->getElementType();
896 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i)
897 Record.push_back(CDS->getElementAsInteger(i));
899 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) {
901 F = CDS->getElementAsFloat(i);
906 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) {
908 F = CDS->getElementAsDouble(i);
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp768 } else if (const ConstantDataSequential *CDS =
770 if (CDS->isString()) {
773 StringRef Str = CDS->getAsString();
786 // TODO: Could generate more efficient code generating CDS calls instead.
789 for (unsigned i = 0; i != CDS->getNumElements(); ++i) {
790 Constant *Elt = CDS->getElementAsConstant(i);
797 if (isa<ArrayType>(CDS->getType()))
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1857 if (const ConstantDataSequential *CDS =
1859 if (CDS->getNumElements())
1860 for (unsigned i = 0; i < CDS->getNumElements(); ++i)
1861 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0,
/external/llvm/lib/Analysis/
H A DValueTracking.cpp261 if (ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) {
262 // We know that CDS must be a vector of integers. Take the intersection of
266 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) {
267 Elt = CDS->getElementAsInteger(i);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp989 if (const ConstantDataSequential *CDS =
991 // CDS is already laid out in host memory order.
992 StringRef Data = CDS->getRawDataValues();
/external/llvm/lib/VMCore/
H A DInstructions.cpp1584 if (const ConstantDataSequential *CDS =
1588 if (CDS->getElementAsInteger(i) >= V1Size*2)
1609 if (ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(Mask))
1610 return CDS->getElementAsInteger(i);
1623 if (ConstantDataSequential *CDS=dyn_cast<ConstantDataSequential>(Mask)) {
1625 Result.push_back(CDS->getElementAsInteger(i));
H A DConstants.cpp177 if (const ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(this))
178 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) : 0;
2152 // The bucket can point to a linked list of different CDS's that have the same
2179 assert(Slot != CDSConstants.end() && "CDS not found in uniquing table");
2245 /// getString - This method constructs a CDS and initializes it with a text
2344 default: llvm_unreachable("Invalid bitwidth for CDS");
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1068 if (const ConstantDataSequential *CDS =
1071 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) {
1072 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode();
1079 if (isa<ArrayType>(CDS->getType()))
/external/srec/config/en.us/dictionary/
H A Dc0.618120 CDS S IY1 D IY1 Z
[all...]

Completed in 312 milliseconds