HomeSort by: relevance | last modified time | path
    Searched refs:ElementSize (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
SparseBitVector.h 41 template <unsigned ElementSize = 128> struct SparseBitVectorElement {
47 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE,
48 BITS_PER_ELEMENT = ElementSize
254 template <unsigned ElementSize = 128>
256 using ElementList = std::list<SparseBitVectorElement<ElementSize>>;
260 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE
279 const_cast<SparseBitVector<ElementSize> *>(this)->Elements.begin();
281 const_cast<SparseBitVector<ElementSize> *>(this)->Elements.end();
322 const SparseBitVector<ElementSize> *BitVector = nullptr;
334 typename SparseBitVectorElement<ElementSize>::BitWord Bits
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
RuntimeLibcalls.h 71 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
76 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
81 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
DynamicExtent.cpp 50 SVal ElementSize = getElementExtent(ElementTy, SVB);
53 SVB.evalBinOp(State, BO_Div, Size, ElementSize, SVB.getArrayIndexType());
ExprEngineCallAndReturn.cpp 706 SVal ElementSize = getElementExtent(CNE->getAllocatedType(), svalBuilder);
709 svalBuilder.evalBinOp(State, BO_Mul, ElementCount, ElementSize,
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
StraightLineStrengthReduce.cpp 216 // A helper function that scales Idx with ElementSize before invoking
219 Value *S, uint64_t ElementSize,
234 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize,
482 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize,
484 // I = B + sext(Idx *nsw S) * ElementSize
485 // = B + (sext(Idx) * sext(S)) * ElementSize
486 // = B + (sext(Idx) * ElementSize) * sext(S)
490 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true);
496 uint64_t ElementSize,
501 ArrayIdx, ElementSize, GEP)
    [all...]
SeparateConstOffsetFromGEP.cpp 875 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
878 if (ElementSize != 1) {
879 if (ElementSize.isPowerOf2()) {
881 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
883 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
936 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
939 if (ElementSize != 1) {
940 if (ElementSize.isPowerOf2()) {
942 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
944 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
    [all...]
SROA.cpp 1491 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8);
1492 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1495 Offset -= NumSkippedElements * ElementSize;
1503 APInt ElementSize(Offset.getBitWidth(),
1505 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1509 Offset -= NumSkippedElements * ElementSize;
1560 APInt ElementSize(Offset.getBitWidth(),
1562 if (ElementSize == 0)
1564 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1566 Offset -= NumSkippedElements * ElementSize;
    [all...]
NaryReassociate.cpp 428 uint64_t ElementSize = DL->getTypeAllocSize(ElementType);
431 // necessarily divisible by ElementSize. For example,
443 if (IndexedSize % ElementSize != 0)
450 if (IndexedSize != ElementSize) {
452 RHS, ConstantInt::get(IntPtrTy, IndexedSize / ElementSize));
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp 1168 unsigned int ElementSize = 0;
1179 ElementSize = DL.getTypeStoreSize(ETy);
1187 AggBuffer aggBuffer(ElementSize, O, *this);
1194 O << ElementSize / 8;
1199 O << ElementSize / 4;
1206 O << ElementSize;
1215 if (ElementSize) {
1217 O << ElementSize;
1224 if (ElementSize) {
1226 O << ElementSize;
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/
UDTLayout.h 103 uint32_t getElementSize() const { return ElementSize; }
106 uint32_t ElementSize = 0;
  /src/external/apache2/llvm/dist/llvm/lib/IR/
IRBuilder.cpp 142 Value *Ptr, Value *Val, Value *Size, Align Alignment, uint32_t ElementSize,
146 Value *Ops[] = {Ptr, Val, Size, getInt32(ElementSize)};
232 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag,
234 assert(DstAlign >= ElementSize &&
236 assert(SrcAlign >= ElementSize &&
241 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)};
307 uint32_t ElementSize, MDNode *TBAATag, MDNode *TBAAStructTag,
309 assert(DstAlign >= ElementSize &&
311 assert(SrcAlign >= ElementSize &&
316 Value *Ops[] = {Dst, Src, Size, getInt32(ElementSize)};
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
LegalizerInfo.cpp 352 const uint16_t ElementSize = VectorSpecifiedActions.first;
353 ElementSizesSeen.push_back({ElementSize, Legal});
361 assert(BitsizeAndAction.first % ElementSize == 0);
362 const uint16_t NumElements = BitsizeAndAction.first / ElementSize;
366 Opcode, TypeIdx, ElementSize,
IRTranslator.cpp 241 uint64_t ElementSize = DL->getTypeAllocSize(AI.getAllocatedType());
243 ElementSize * cast<ConstantInt>(AI.getArraySize())->getZExtValue();
1495 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
1500 Offset += ElementSize * CI->getSExtValue();
1522 // N = N + Idx * ElementSize;
1523 // Avoid doing it for ElementSize of 1.
1525 if (ElementSize != 1) {
1527 getLLTForType(*OffsetIRTy, *DL), ElementSize);
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/
MCAsmParser.h 98 unsigned ElementSize = 0;
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
LegalizerInfo.h 1371 const unsigned ElementSize,
1374 if (NumElements2Actions[OpcodeIdx].find(ElementSize) ==
1376 NumElements2Actions[OpcodeIdx][ElementSize] = {{}};
1378 NumElements2Actions[OpcodeIdx].find(ElementSize)->second;
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
UDTLayout.cpp 101 ElementSize = VTableType->getLength();
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TargetLoweringBase.cpp 587 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) {
588 switch (ElementSize) {
604 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) {
605 switch (ElementSize) {
621 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) {
622 switch (ElementSize) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h 897 int64_t ElementSize =
901 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize;
907 Scale = ElementSize;
ValueTracking.h 331 unsigned ElementSize, uint64_t Offset = 0);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemoryBuiltins.cpp 358 unsigned ElementSize = DL.getTypeAllocSize(T);
360 ElementSize = DL.getStructLayout(ST)->getSizeInBytes();
362 // If malloc call's arg can be determined to be a multiple of ElementSize,
366 if (ComputeMultiple(MallocArg, ElementSize, Multiple, LookThroughSExt))
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 1139 unsigned ElementSize =
1142 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize);
1152 unsigned ElementSize =
1155 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize);
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
NeonEmitter.cpp 1585 unsigned ElementSize;
1588 Rev(unsigned ElementSize) : ElementSize(ElementSize) {}
1596 VectorSize /= ElementSize;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ExpandPseudoInsts.cpp 478 uint64_t ElementSize = TII->getElementSizeForOpcode(Opcode);
480 switch (ElementSize) {
499 llvm_unreachable("Unsupported ElementSize");
510 assert(ElementSize != AArch64::ElementSizeNone &&
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprCXX.cpp 1000 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType);
1002 BeginPtr.getAlignment().alignmentOfArrayElement(ElementSize);
1058 ElementSize));
1117 StartAlign.alignmentAtOffset((i + 1) * ElementSize));
2037 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType);
2039 deletedPtr.getAlignment().alignmentOfArrayElement(elementSize);
  /src/external/apache2/llvm/dist/clang/lib/AST/
Type.cpp 144 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity();
152 if (llvm::isPowerOf2_64(ElementSize)) {
153 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize);
158 if ((ElementSize >> 32) == 0 && NumElements.getBitWidth() <= 64 &&
160 uint64_t TotalSize = NumElements.getZExtValue() * ElementSize;
170 llvm::APSInt TotalSize(llvm::APInt(SizeExtended.getBitWidth(), ElementSize));

Completed in 54 milliseconds

1 2 3