Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp1825 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1828 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
1833 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
1859 APInt LHSOffset, RHSOffset; in visitSub() local
1862 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
1867 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
H A DInstructionSimplify.cpp721 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
732 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2505 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerICmp() local
2510 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2546 ConstantInt *RHSOffsetCI = dyn_cast<ConstantInt>(RHSOffset); in computePointerICmp()
2570 RHSOffset->isNullValue()) in computePointerICmp()
2584 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2586 APInt RHSOffset; in lowerConstant() local
2587 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
2601 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp197 uint64_t RHSOffset) { in operator <() argument
198 return LHS.beginOffset() < RHSOffset; in operator <()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp12700 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
12712 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
12760 uint64_t CompareRHS = RHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
12958 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator() local
12997 APSInt RHS(llvm::APInt(65, (int64_t)RHSOffset.getQuantity(), true), false); in VisitBinaryOperator()