Searched refs:RHSOffset (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2037 APInt LHSOffset, RHSOffset; in visitCmpInst() local 2040 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst() 2045 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst() 2084 APInt LHSOffset, RHSOffset; in visitSub() local 2087 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub() 2092 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
|
| H A D | InstructionSimplify.cpp | 731 APInt RHSOffset = stripAndComputeConstantOffsets(DL, RHS); 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 2757 RHS = RHS->stripAndAccumulateConstantOffsets(DL, RHSOffset, 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 D | ByteCodeExprGen.cpp | 608 unsigned RHSOffset = this->allocateLocalPrimitive(RHS, PT_Ptr, true, false); in VisitComplexBinOp() local 632 if (!this->emitSetLocal(PT_Ptr, RHSOffset, E)) in VisitComplexBinOp() 653 if (!this->emitGetLocal(PT_Ptr, RHSOffset, E)) in VisitComplexBinOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3230 APInt RHSOffset; in lowerConstant() local 3231 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant() 3245 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 4825 std::optional<ValueAndVReg> RHSOffset = in isFlatScratchBaseLegalSVImm() local 4827 assert(RHSOffset); in isFlatScratchBaseLegalSVImm() 4835 (RHSOffset->Value.getSExtValue() < 0 && in isFlatScratchBaseLegalSVImm() 4836 RHSOffset->Value.getSExtValue() > -0x40000000))) in isFlatScratchBaseLegalSVImm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 578 uint64_t RHSOffset) { in operator <() argument 579 return LHS.beginOffset() < RHSOffset; in operator <()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 13349 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local 13361 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator() 13409 uint64_t CompareRHS = RHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator() 13629 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator() local 13668 APSInt RHS(llvm::APInt(65, (int64_t)RHSOffset.getQuantity(), true), false); in VisitBinaryOperator()
|