Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1692 SourceLocation::UIntTy LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local
1693 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace()
1696 return LHSOffset < RHS; in isBeforeInSLocAddrSpace()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2037 APInt LHSOffset, RHSOffset; in visitCmpInst() local
2038 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
2044 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst()
2084 APInt LHSOffset, RHSOffset; in visitSub() local
2085 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
2091 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
H A DInstructionSimplify.cpp730 APInt LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
742 Constant *Res = ConstantInt::get(LHS->getContext(), LHSOffset - RHSOffset); in computePointerDifference()
2755 APInt LHSOffset(IndexSize, 0), RHSOffset(IndexSize, 0); in computePointerICmp() local
2756 LHS = LHS->stripAndAccumulateConstantOffsets(DL, LHSOffset, AllowNonInbounds); in computePointerICmp()
2763 ICmpInst::compare(LHSOffset, RHSOffset, Pred)); in computePointerICmp()
2786 APInt Dist = LHSOffset - RHSOffset; in computePointerICmp()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp607 unsigned LHSOffset = this->allocateLocalPrimitive(LHS, PT_Ptr, true, false); in VisitComplexBinOp() local
626 if (!this->emitSetLocal(PT_Ptr, LHSOffset, E)) in VisitComplexBinOp()
644 if (!this->emitGetLocal(PT_Ptr, LHSOffset, E)) in VisitComplexBinOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3225 APInt LHSOffset; in lowerConstant() local
3227 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
3245 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp581 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument
583 return LHSOffset < RHS.beginOffset(); in operator <()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp13348 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
13361 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
13408 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
13628 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local
13667 APSInt LHS(llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()