Home
last modified time | relevance | path

Searched refs:LHSOffset (Results 1 – 6 of 6) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp1962 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1963 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
1969 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst()
1996 APInt LHSOffset, RHSOffset; in visitSub() local
1997 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
2003 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
H A DInstructionSimplify.cpp727 APInt LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
739 Constant *Res = ConstantInt::get(LHS->getContext(), LHSOffset - RHSOffset); in computePointerDifference()
2778 APInt LHSOffset = stripAndComputeConstantOffsets(DL, LHS, AllowNonInbounds); in computePointerICmp() local
2785 ICmpInst::compare(LHSOffset, RHSOffset, Pred)); in computePointerICmp()
2808 !LHSOffset.isNegative() && !RHSOffset.isNegative() && in computePointerICmp()
2809 LHSOffset.ult(LHSSize) && RHSOffset.ult(RHSSize)) { in computePointerICmp()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DSourceManager.h1665 SourceLocation::UIntTy LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local
1666 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace()
1669 return LHSOffset < RHS; in isBeforeInSLocAddrSpace()
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2978 APInt LHSOffset; in lowerConstant() local
2980 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
2998 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSROA.cpp307 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument
309 return LHSOffset < RHS.beginOffset(); in operator <()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp13029 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
13042 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
13089 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
13305 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local
13344 APSInt LHS(llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()