Home
last modified time | relevance | path

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

/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/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/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/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/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()