Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DConstantFolding.cpp745 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType())); in SymbolicallyEvaluateGEP() local
747 if (ElemSize == 0) in SymbolicallyEvaluateGEP()
755 APInt NewIdx = Offset.udiv(ElemSize); in SymbolicallyEvaluateGEP()
756 Offset -= NewIdx * ElemSize; in SymbolicallyEvaluateGEP()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1745 llvm::Value* ElemSize = llvm::ConstantInt::get(ResultType, in VisitOffsetOfExpr() local
1749 Offset = Builder.CreateMul(Idx, ElemSize); in VisitOffsetOfExpr()
/external/clang/lib/AST/
DExprConstant.cpp6576 APSInt ElemSize( in VisitBinaryOperator() local
6578 APSInt TrueResult = (LHS - RHS) / ElemSize; in VisitBinaryOperator()