Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineCost.cpp1915 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1918 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
1923 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
1949 APInt LHSOffset, RHSOffset; in visitSub() local
1952 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
1957 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
H A DInstructionSimplify.cpp727 APInt RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
738 Constant *Res = ConstantInt::get(LHS->getContext(), LHSOffset - RHSOffset); in computePointerDifference()
2720 APInt RHSOffset = stripAndComputeConstantOffsets(DL, RHS, AllowNonInbounds); in computePointerICmp() local
2726 ICmpInst::compare(LHSOffset, RHSOffset, Pred)); in computePointerICmp()
2749 !LHSOffset.isNegative() && !RHSOffset.isNegative() && in computePointerICmp()
2750 LHSOffset.ult(LHSSize) && RHSOffset.ult(RHSSize)) { in computePointerICmp()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2808 APInt RHSOffset; in lowerConstant() local
2809 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
2823 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp194 uint64_t RHSOffset) { in operator <() argument
195 return LHS.beginOffset() < RHSOffset; in operator <()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp12928 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
12940 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
12988 uint64_t CompareRHS = RHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
13186 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator() local
13225 APSInt RHS(llvm::APInt(65, (int64_t)RHSOffset.getQuantity(), true), false); in VisitBinaryOperator()