Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInlineCost.cpp993 APInt LHSOffset, RHSOffset; in visitCmpInst() local
996 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
1001 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
1039 APInt LHSOffset, RHSOffset; in visitSub() local
1042 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
1047 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
H A DInstructionSimplify.cpp697 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
708 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2197 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerICmp() local
2202 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2238 ConstantInt *RHSOffsetCI = dyn_cast<ConstantInt>(RHSOffset); in computePointerICmp()
2262 RHSOffset->isNullValue()) in computePointerICmp()
2276 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2219 APInt RHSOffset; in lowerConstant() local
2220 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
2228 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp208 uint64_t RHSOffset) { in operator <() argument
209 return LHS.beginOffset() < RHSOffset; in operator <()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp9246 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
9258 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
9306 uint64_t CompareRHS = RHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
9482 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator() local
9521 APSInt RHS(llvm::APInt(65, (int64_t)RHSOffset.getQuantity(), true), false); in VisitBinaryOperator()