/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 120 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad() local 129 uint64_t Index = static_cast<uint64_t>(SimplifiedAddrOpV) / ElemSize; in visitLoad()
|
D | ConstantFolding.cpp | 912 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/ |
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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 323 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/ |
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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 138 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/ |
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-7.0/llvm/lib/IR/ |
D | Attributes.cpp | 390 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/ |
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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 713 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/ |
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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 11862 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()
|