Home
last modified time | relevance | path

Searched refs:ElemSize (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp120 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad() local
129 uint64_t Index = static_cast<uint64_t>(SimplifiedAddrOpV) / ElemSize; in visitLoad()
DConstantFolding.cpp912 APInt ElemSize(BitWidth, DL.getTypeAllocSize(Ty)); in SymbolicallyEvaluateGEP() local
913 if (ElemSize == 0) { in SymbolicallyEvaluateGEP()
922 APInt NewIdx = Offset.sdiv_ov(ElemSize, Overflow); in SymbolicallyEvaluateGEP()
925 Offset -= NewIdx * ElemSize; in SymbolicallyEvaluateGEP()
/external/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp121 int ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad() local
124 int64_t Index = SimplifiedAddrOp->getSExtValue() / ElemSize; in visitLoad()
DConstantFolding.cpp857 APInt ElemSize(BitWidth, DL.getTypeAllocSize(Ty)); in SymbolicallyEvaluateGEP() local
858 if (ElemSize == 0) { in SymbolicallyEvaluateGEP()
867 APInt NewIdx = Offset.sdiv_ov(ElemSize, Overflow); in SymbolicallyEvaluateGEP()
870 Offset -= NewIdx * ElemSize; in SymbolicallyEvaluateGEP()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp104 VectorLayout() : VecTy(nullptr), ElemTy(nullptr), VecAlign(0), ElemSize(0) {} in VectorLayout()
108 return MinAlign(VecAlign, I * ElemSize); in getElemAlign()
121 uint64_t ElemSize; member
370 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy); in getVectorLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp323 unsigned ElemSize = ElemTy.getSizeInBits() / 8; in getByteShuffle() local
328 for (unsigned I = 0; I != ElemSize; ++I) in getByteShuffle()
331 int NewM = M*ElemSize; in getByteShuffle()
332 for (unsigned I = 0; I != ElemSize; ++I) in getByteShuffle()
351 unsigned ElemSize = ElemWidth / 8; in buildHvxVectorReg() local
352 assert(ElemSize*VecLen == HwLen); in buildHvxVectorReg()
356 assert((ElemSize == 1 || ElemSize == 2) && "Invalid element size"); in buildHvxVectorReg()
357 unsigned OpsPerWord = (ElemSize == 1) ? 4 : 2; in buildHvxVectorReg()
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp368 uint64_t ElemSize = in tryFindVirtualCallTargets() local
371 if (GlobalSlotOffset % ElemSize != 0) in tryFindVirtualCallTargets()
374 unsigned Op = GlobalSlotOffset / ElemSize; in tryFindVirtualCallTargets()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp138 return MinAlign(VecAlign, I * ElemSize); in getElemAlign()
151 uint64_t ElemSize = 0; member
404 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy); in getVectorLayout()
/external/llvm/lib/IR/
DAttributes.cpp361 unsigned ElemSize; in getAsString() local
363 std::tie(ElemSize, NumElems) = getAllocSizeArgs(); in getAsString()
366 Result += utostr(ElemSize); in getAsString()
1389 AttrBuilder &AttrBuilder::addAllocSizeAttr(unsigned ElemSize, in addAllocSizeAttr() argument
1391 return addAllocSizeAttrFromRawRepr(packAllocSizeArgs(ElemSize, NumElems)); in addAllocSizeAttr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp390 unsigned ElemSize; in getAsString() local
392 std::tie(ElemSize, NumElems) = getAllocSizeArgs(); in getAsString()
395 Result += utostr(ElemSize); in getAsString()
1448 AttrBuilder &AttrBuilder::addAllocSizeAttr(unsigned ElemSize, in addAllocSizeAttr() argument
1450 return addAllocSizeAttrFromRawRepr(packAllocSizeArgs(ElemSize, NumElems)); in addAllocSizeAttr()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp670 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType())); in SymbolicallyEvaluateGEP() local
672 if (ElemSize == 0) in SymbolicallyEvaluateGEP()
680 APInt NewIdx = Offset.udiv(ElemSize); in SymbolicallyEvaluateGEP()
681 Offset -= NewIdx * ElemSize; in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp713 uint64_t ElemSize = DL.getTypeAllocSize(VTableTy->getElementType()); in getPointerAtOffset() local
715 unsigned Op = Offset / ElemSize; in getPointerAtOffset()
720 Offset % ElemSize); in getPointerAtOffset()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1101 uint64_t ElemSize = Ctx.getTypeSize(ElementTy); in VisitCluster() local
1113 uint64_t UpperOffset = LowerOffset + *NumElements * ElemSize; in VisitCluster()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp5024 llvm::Value *ElemSize; in getExprTypeSize() local
5026 ElemSize = CGF.getTypeSize(PTy->getPointeeType().getCanonicalType()); in getExprTypeSize()
5030 ElemSize = CGF.getTypeSize(ATy->getElementType().getCanonicalType()); in getExprTypeSize()
5036 return ElemSize; in getExprTypeSize()
5041 return CGF.Builder.CreateNUWMul(LengthVal, ElemSize); in getExprTypeSize()
DCGExprScalar.cpp1929 llvm::Value* ElemSize = llvm::ConstantInt::get(ResultType, in VisitOffsetOfExpr() local
1933 Offset = Builder.CreateMul(Idx, ElemSize); in VisitOffsetOfExpr()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6414 unsigned ElemSize = VT.getVectorElementType().getSizeInBits(); in LowerBUILD_VECTOR() local
6423 (ElemSize == 32 || ElemSize == 64)) { in LowerBUILD_VECTOR()
6424 unsigned SubIdx = ElemSize == 32 ? AArch64::ssub : AArch64::dsub; in LowerBUILD_VECTOR()
/external/clang/lib/AST/
DExprConstant.cpp7703 APSInt ElemSize( in VisitBinaryOperator() local
7705 APSInt TrueResult = (LHS - RHS) / ElemSize; in VisitBinaryOperator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp11862 unsigned ElemSize = N->getValueType(0).getScalarSizeInBits() / 8; in combineBVOfConsecutiveLoads() local
11894 if (!isConsecutiveLS(LD2, LD1, ElemSize, 1, DAG)) in combineBVOfConsecutiveLoads()
11896 if (!isConsecutiveLS(LD1, LD2, ElemSize, 1, DAG)) in combineBVOfConsecutiveLoads()