Home
last modified time | relevance | path

Searched refs:CDS (Results 1 – 16 of 16) sorted by relevance

/external/llvm/test/CodeGen/X86/
Dnegate-add-zero.ll8 %"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/
DTargetLoweringObjectFile.cpp82 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(C)) { in IsNullTerminatedString() local
83 unsigned NumElts = CDS->getNumElements(); in IsNullTerminatedString()
86 if (CDS->getElementAsInteger(NumElts-1) != 0) in IsNullTerminatedString()
91 if (CDS->getElementAsInteger(i) == 0) in IsNullTerminatedString()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1886 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()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp413 ConstantDataSequential *CDS = in visitLoad() local
415 if (!CDS) in visitLoad()
421 if(!CDS->isElementTypeCompatible(I.getType())) in visitLoad()
424 int ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad()
428 if (Index >= CDS->getNumElements()) { in visitLoad()
434 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp1354 if (auto *CDS = dyn_cast<ConstantDataSequential>(C)) { in EmitInstruction() local
1356 for (int i = 0, NumElements = CDS->getNumElements(); i < NumElements; ++i) { in EmitInstruction()
1359 if (CDS->getElementType()->isIntegerTy()) in EmitInstruction()
1360 CS << CDS->getElementAsInteger(i); in EmitInstruction()
1361 else if (CDS->getElementType()->isFloatTy()) in EmitInstruction()
1362 CS << CDS->getElementAsFloat(i); in EmitInstruction()
1363 else if (CDS->getElementType()->isDoubleTy()) in EmitInstruction()
1364 CS << CDS->getElementAsDouble(i); in EmitInstruction()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp401 if (auto *CDS = dyn_cast<ConstantDataSequential>(C)) { in DecodeVPERMILPMask() local
402 assert((unsigned)NumElements == CDS->getNumElements() && in DecodeVPERMILPMask()
407 uint64_t Element = CDS->getElementAsInteger(i); in DecodeVPERMILPMask()
/external/clang/lib/CodeGen/
DCGDecl.cpp823 if (llvm::ConstantDataSequential *CDS = in canEmitInitWithFewStoresAfterMemset() local
825 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in canEmitInitWithFewStoresAfterMemset()
826 llvm::Constant *Elt = CDS->getElementAsConstant(i); in canEmitInitWithFewStoresAfterMemset()
852 if (llvm::ConstantDataSequential *CDS = in emitStoresForInitAfterMemset() local
854 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in emitStoresForInitAfterMemset()
855 llvm::Constant *Elt = CDS->getElementAsConstant(i); in emitStoresForInitAfterMemset()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp791 } else if (const ConstantDataSequential *CDS = in printConstant() local
793 if (CDS->isString()) { in printConstant()
796 StringRef Str = CDS->getAsString(); in printConstant()
812 for (unsigned i = 0; i != CDS->getNumElements(); ++i) { in printConstant()
813 Constant *Elt = CDS->getElementAsConstant(i); in printConstant()
820 if (isa<ArrayType>(CDS->getType())) in printConstant()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1917 if (const ConstantDataSequential *CDS = in bufferAggregateConstant() local
1919 if (CDS->getNumElements()) in bufferAggregateConstant()
1920 for (unsigned i = 0; i < CDS->getNumElements(); ++i) in bufferAggregateConstant()
1921 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1626 } else if (const ConstantDataSequential *CDS = in WriteConstants() local
1629 Type *EltTy = CDS->getType()->getElementType(); in WriteConstants()
1631 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) in WriteConstants()
1632 Record.push_back(CDS->getElementAsInteger(i)); in WriteConstants()
1634 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) in WriteConstants()
1636 CDS->getElementAsAPFloat(i).bitcastToAPInt().getLimitedValue()); in WriteConstants()
/external/llvm/lib/IR/
DInstructions.cpp1768 if (const ConstantDataSequential *CDS = in isValidOperands() local
1772 if (CDS->getElementAsInteger(i) >= V1Size*2) in isValidOperands()
1793 if (ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(Mask)) in getMaskValue() local
1794 return CDS->getElementAsInteger(i); in getMaskValue()
1807 if (ConstantDataSequential *CDS=dyn_cast<ConstantDataSequential>(Mask)) { in getShuffleMask() local
1809 Result.push_back(CDS->getElementAsInteger(i)); in getShuffleMask()
DConstants.cpp286 if (const ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(this)) in getAggregateElement() local
287 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1220 if (const ConstantDataSequential *CDS = in InitializeMemory() local
1223 StringRef Data = CDS->getRawDataValues(); in InitializeMemory()
/external/selinux/secilc/docs/
Dcil_introduction.md8 …, encouraging the creation of more domain specific policy languages (e.g., CDS Framework, Lobster,…
/external/llvm/lib/Analysis/
DValueTracking.cpp1645 if (ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) { in computeKnownBits() local
1650 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in computeKnownBits()
1651 Elt = CDS->getElementAsInteger(i); in computeKnownBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1085 if (const ConstantDataSequential *CDS = in getValueImpl() local
1088 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in getValueImpl()
1089 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()
1096 if (isa<ArrayType>(CDS->getType())) in getValueImpl()