Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp108 ConstantDataSequential *CDS = in visitLoad() local
110 if (!CDS) in visitLoad()
116 if (CDS->getElementType() != I.getType()) in visitLoad()
119 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad()
129 if (Index >= CDS->getNumElements()) { in visitLoad()
135 Constant *CV = CDS->getElementAsConstant(Index); in visitLoad()
DTargetTransformInfo.cpp574 } else if (auto *CDS = dyn_cast<ConstantDataSequential>(V)) { in getOperandInfo() local
576 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) { in getOperandInfo()
577 if (auto *CI = dyn_cast<ConstantInt>(CDS->getElementAsConstant(I))) in getOperandInfo()
DValueTracking.cpp1752 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) { in computeKnownBits() local
1756 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in computeKnownBits()
1757 APInt Elt = CDS->getElementAsAPInt(i); in computeKnownBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp95 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(C)) { in IsNullTerminatedString() local
96 unsigned NumElts = CDS->getNumElements(); in IsNullTerminatedString()
99 if (CDS->getElementAsInteger(NumElts-1) != 0) in IsNullTerminatedString()
104 if (CDS->getElementAsInteger(i) == 0) in IsNullTerminatedString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2417 if (const ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) in isRepeatedByteSequence() local
2418 return isRepeatedByteSequence(CDS); in isRepeatedByteSequence()
2424 const ConstantDataSequential *CDS, in emitGlobalConstantDataSequential() argument
2427 int Value = isRepeatedByteSequence(CDS, DL); in emitGlobalConstantDataSequential()
2429 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType()); in emitGlobalConstantDataSequential()
2436 if (CDS->isString()) in emitGlobalConstantDataSequential()
2437 return AP.OutStreamer->EmitBytes(CDS->getAsString()); in emitGlobalConstantDataSequential()
2440 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential()
2441 if (isa<IntegerType>(CDS->getElementType())) { in emitGlobalConstantDataSequential()
2442 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in emitGlobalConstantDataSequential()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp255 if (auto *CDS = dyn_cast<ConstantDataSequential>(Const)) { in isTailPredicate() local
256 for (unsigned i = 0; i < CDS->getNumElements(); ++i) { in isTailPredicate()
257 if (CDS->getElementAsInteger(i) != i) in isTailPredicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86MCInstLower.cpp2520 if (auto *CDS = dyn_cast<ConstantDataSequential>(C)) { in EmitInstruction() local
2523 for (int i = 0, NumElements = CDS->getNumElements(); i < NumElements; in EmitInstruction()
2527 if (CDS->getElementType()->isIntegerTy()) in EmitInstruction()
2528 printConstant(CDS->getElementAsAPInt(i), CS); in EmitInstruction()
2529 else if (CDS->getElementType()->isHalfTy() || in EmitInstruction()
2530 CDS->getElementType()->isFloatTy() || in EmitInstruction()
2531 CDS->getElementType()->isDoubleTy()) in EmitInstruction()
2532 printConstant(CDS->getElementAsAPFloat(i), CS); in EmitInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1938 if (const ConstantDataSequential *CDS = in bufferAggregateConstant() local
1940 if (CDS->getNumElements()) in bufferAggregateConstant()
1941 for (unsigned i = 0; i < CDS->getNumElements(); ++i) in bufferAggregateConstant()
1942 bufferLEByte(cast<Constant>(CDS->getElementAsConstant(i)), 0, in bufferAggregateConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp1863 if (const auto *CDS = dyn_cast<ConstantDataSequential>(Mask)) { in isValidOperands() local
1866 if (CDS->getElementAsInteger(i) >= V1Size*2) in isValidOperands()
1884 if (auto *CDS = dyn_cast<ConstantDataSequential>(Mask)) in getMaskValue() local
1885 return CDS->getElementAsInteger(i); in getMaskValue()
1896 if (auto *CDS = dyn_cast<ConstantDataSequential>(Mask)) { in getShuffleMask() local
1898 Result.push_back(CDS->getElementAsInteger(i)); in getShuffleMask()
DConstants.cpp398 if (const ConstantDataSequential *CDS =dyn_cast<ConstantDataSequential>(this)) in getAggregateElement() local
399 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1167 if (const ConstantDataSequential *CDS = in InitializeMemory() local
1170 StringRef Data = CDS->getRawDataValues(); in InitializeMemory()
/third_party/selinux/secilc/docs/
Dcil_introduction.md8 …, encouraging the creation of more domain specific policy languages (e.g., CDS Framework, Lobster,…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2412 } else if (const ConstantDataSequential *CDS = in writeConstants() local
2415 Type *EltTy = CDS->getType()->getElementType(); in writeConstants()
2417 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) in writeConstants()
2418 Record.push_back(CDS->getElementAsInteger(i)); in writeConstants()
2420 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) in writeConstants()
2422 CDS->getElementAsAPFloat(i).bitcastToAPInt().getLimitedValue()); in writeConstants()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1518 if (const ConstantDataSequential *CDS = in getValueImpl() local
1521 for (unsigned i = 0, e = CDS->getNumElements(); i != e; ++i) { in getValueImpl()
1522 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()
1529 if (isa<ArrayType>(CDS->getType())) in getValueImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZScheduleZEC12.td581 (instregex "CDS(Y)?$")>;
DSystemZScheduleZ196.td569 (instregex "CDS(Y)?$")>;
DSystemZScheduleZ13.td610 (instregex "CDS(Y)?$")>;
DSystemZScheduleZ14.td620 (instregex "CDS(Y)?$")>;
DSystemZScheduleZ15.td634 (instregex "CDS(Y)?$")>;
DSystemZInstrInfo.td1815 defm CDS : CmpSwapRSPair<"cds", 0xBB, 0xEB31, null_frag, GR128>;