/external/llvm/test/CodeGen/X86/ |
D | negate-add-zero.ll | 8 %"struct.CDS::DefaultAlloc" = type <{ i8 }> 9 %"struct.CDS::SingularError" = type { %"struct.CDS::exception" } 10 %"struct.CDS::auto_ptr<IVMAtom>" = type { %struct.IVMAtom* } 11 %"struct.CDS::exception" = type { [300 x i8] } 30 …%"struct.CDSVector<Vec3,0,CDS::DefaultAlloc>" = type { %"struct.CDSVectorBase<Vec3,CDS::DefaultAll… 31 …%"struct.CDSVector<double,0,CDS::DefaultAlloc>" = type { %"struct.CDSVectorBase<double,CDS::Defaul… 32 …%"struct.CDSVectorBase<Vec3,CDS::DefaultAlloc>" = type { %"struct.CDSVectorRep<Vec3,CDS::DefaultAl… 33 …%"struct.CDSVectorBase<double,CDS::DefaultAlloc>" = type { %"struct.CDSVectorRep<double,CDS::Defau… 34 …%"struct.CDSVectorRep<Vec3,CDS::DefaultAlloc>" = type { i32, %"struct.CDS::DefaultAlloc", %struct.… 35 …%"struct.CDSVectorRep<double,CDS::DefaultAlloc>" = type { i32, %"struct.CDS::DefaultAlloc", double… [all …]
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 83 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(C)) { in IsNullTerminatedString() local 84 unsigned NumElts = CDS->getNumElements(); in IsNullTerminatedString() 87 if (CDS->getElementAsInteger(NumElts-1) != 0) in IsNullTerminatedString() 92 if (CDS->getElementAsInteger(i) == 0) in IsNullTerminatedString()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1846 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) in isRepeatedByteSequence() local 1847 return isRepeatedByteSequence(CDS); in isRepeatedByteSequence() 1852 static void emitGlobalConstantDataSequential(const ConstantDataSequential *CDS, in emitGlobalConstantDataSequential() argument 1856 int Value = isRepeatedByteSequence(CDS, AP.TM); in emitGlobalConstantDataSequential() 1860 CDS->getType()); in emitGlobalConstantDataSequential() 1867 if (CDS->isString()) in emitGlobalConstantDataSequential() 1868 return AP.OutStreamer.EmitBytes(CDS->getAsString()); in emitGlobalConstantDataSequential() 1871 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential() 1872 if (isa<IntegerType>(CDS->getElementType())) { in emitGlobalConstantDataSequential() 1873 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in emitGlobalConstantDataSequential() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 389 ConstantDataSequential *CDS = in computeLoadValue() local 391 if (!CDS) in computeLoadValue() 414 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in computeLoadValue() 419 if (Index >= CDS->getNumElements()) in computeLoadValue() 422 Constant *CV = CDS->getElementAsConstant(Index); in computeLoadValue()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 372 if (auto *CDS = dyn_cast<ConstantDataSequential>(C)) { in DecodeVPERMILPMask() local 373 assert((unsigned)NumElements == CDS->getNumElements() && in DecodeVPERMILPMask() 378 uint64_t Element = CDS->getElementAsInteger(i); in DecodeVPERMILPMask()
|
/external/llvm/lib/Target/X86/ |
D | X86MCInstLower.cpp | 1225 if (auto *CDS = dyn_cast<ConstantDataSequential>(C)) { in EmitInstruction() local 1227 for (int i = 0, NumElements = CDS->getNumElements(); i < NumElements; ++i) { in EmitInstruction() 1230 if (CDS->getElementType()->isIntegerTy()) in EmitInstruction() 1231 CS << CDS->getElementAsInteger(i); in EmitInstruction() 1232 else if (CDS->getElementType()->isFloatTy()) in EmitInstruction() 1233 CS << CDS->getElementAsFloat(i); in EmitInstruction() 1234 else if (CDS->getElementType()->isDoubleTy()) in EmitInstruction() 1235 CS << CDS->getElementAsDouble(i); in EmitInstruction()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 765 if (llvm::ConstantDataSequential *CDS = in canEmitInitWithFewStoresAfterMemset() local 767 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in canEmitInitWithFewStoresAfterMemset() 768 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterMemset() 794 if (llvm::ConstantDataSequential *CDS = in emitStoresForInitAfterMemset() local 796 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in emitStoresForInitAfterMemset() 797 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterMemset()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 792 } else if (const ConstantDataSequential *CDS = in printConstant() local 794 if (CDS->isString()) { in printConstant() 797 StringRef Str = CDS->getAsString(); in printConstant() 813 for (unsigned i = 0; i != CDS->getNumElements(); ++i) { in printConstant() 814 Constant *Elt = CDS->getElementAsConstant(i); in printConstant() 821 if (isa<ArrayType>(CDS->getType())) in printConstant()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1481 } else if (const ConstantDataSequential *CDS = in WriteConstants() local 1484 Type *EltTy = CDS->getType()->getElementType(); in WriteConstants() 1486 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) in WriteConstants() 1487 Record.push_back(CDS->getElementAsInteger(i)); in WriteConstants() 1489 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in WriteConstants() 1491 F = CDS->getElementAsFloat(i); in WriteConstants() 1496 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in WriteConstants() 1498 F = CDS->getElementAsDouble(i); in WriteConstants()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1886 if (const ConstantDataSequential *CDS = in bufferAggregateConstant() local 1888 if (CDS->getNumElements()) in bufferAggregateConstant() 1889 for (unsigned i = 0; i < CDS->getNumElements(); ++i) in bufferAggregateConstant() 1890 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1499 if (const ConstantDataSequential *CDS = in isValidOperands() local 1503 if (CDS->getElementAsInteger(i) >= V1Size*2) in isValidOperands() 1524 if (ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(Mask)) in getMaskValue() local 1525 return CDS->getElementAsInteger(i); in getMaskValue() 1538 if (ConstantDataSequential *CDS=dyn_cast<ConstantDataSequential>(Mask)) { in getShuffleMask() local 1540 Result.push_back(CDS->getElementAsInteger(i)); in getShuffleMask()
|
D | Constants.cpp | 266 if (const ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(this)) in getAggregateElement() local 267 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 1198 if (const ConstantDataSequential *CDS = in InitializeMemory() local 1201 StringRef Data = CDS->getRawDataValues(); in InitializeMemory()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 969 if (ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) { in computeKnownBits() local 974 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in computeKnownBits() 975 Elt = CDS->getElementAsInteger(i); in computeKnownBits()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1124 if (const ConstantDataSequential *CDS = in getValueImpl() local 1127 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in getValueImpl() 1128 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl() 1135 if (isa<ArrayType>(CDS->getType())) in getValueImpl()
|