Home
last modified time | relevance | path

Searched refs:RHSOffset (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp522 APInt LHSOffset, RHSOffset; in visitCmpInst() local
525 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
530 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
572 APInt LHSOffset, RHSOffset; in visitSub() local
575 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
580 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp646 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
657 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
1990 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerICmp() local
1995 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2031 ConstantInt *RHSOffsetCI = dyn_cast<ConstantInt>(RHSOffset); in computePointerICmp()
2052 RHSOffset->isNullValue()) in computePointerICmp()
2066 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp187 uint64_t RHSOffset) { in operator <() argument
188 return LHS.beginOffset() < RHSOffset; in operator <()
/external/clang/lib/AST/
DExprConstant.cpp7014 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator() local
7056 llvm::APInt(65, (int64_t)RHSOffset.getQuantity(), true), false); in VisitBinaryOperator()
7074 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && in VisitBinaryOperator()
7124 uint64_t CompareRHS = RHSOffset.getQuantity(); in VisitBinaryOperator()