Searched refs:LHSOffset (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 1915 APInt LHSOffset, RHSOffset; in visitCmpInst() local 1916 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst() 1922 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst() 1949 APInt LHSOffset, RHSOffset; in visitSub() local 1950 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub() 1956 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
|
| H A D | InstructionSimplify.cpp | 726 APInt LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local 738 Constant *Res = ConstantInt::get(LHS->getContext(), LHSOffset - RHSOffset); in computePointerDifference() 2719 APInt LHSOffset = stripAndComputeConstantOffsets(DL, LHS, 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/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 1660 SourceLocation::UIntTy LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local 1661 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace() 1664 return LHSOffset < RHS; in isBeforeInSLocAddrSpace()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 2803 APInt LHSOffset; in lowerConstant() local 2805 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant() 2823 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 197 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument 199 return LHSOffset < RHS.beginOffset(); in operator <()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 12927 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local 12940 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator() 12987 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator() 13185 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local 13224 APSInt LHS(llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()
|