Searched refs:ElemSize (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 121 int ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad() local 124 int64_t Index = SimplifiedAddrOp->getSExtValue() / ElemSize; in visitLoad()
|
D | ConstantFolding.cpp | 857 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/ |
D | Scalarizer.cpp | 104 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/ |
D | WholeProgramDevirt.cpp | 368 uint64_t ElemSize = in tryFindVirtualCallTargets() local 371 if (GlobalSlotOffset % ElemSize != 0) in tryFindVirtualCallTargets() 374 unsigned Op = GlobalSlotOffset / ElemSize; in tryFindVirtualCallTargets()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 361 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/ |
D | ConstantFolding.cpp | 670 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/ |
D | RegionStore.cpp | 1101 uint64_t ElemSize = Ctx.getTypeSize(ElementTy); in VisitCluster() local 1113 uint64_t UpperOffset = LowerOffset + *NumElements * ElemSize; in VisitCluster()
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 5024 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()
|
D | CGExprScalar.cpp | 1929 llvm::Value* ElemSize = llvm::ConstantInt::get(ResultType, in VisitOffsetOfExpr() local 1933 Offset = Builder.CreateMul(Idx, ElemSize); in VisitOffsetOfExpr()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6414 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/ |
D | ExprConstant.cpp | 7703 APSInt ElemSize( in VisitBinaryOperator() local 7705 APSInt TrueResult = (LHS - RHS) / ElemSize; in VisitBinaryOperator()
|