Searched refs:LHSOffset (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 993 APInt LHSOffset, RHSOffset; in visitCmpInst() local 994 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst() 1000 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst() 1039 APInt LHSOffset, RHSOffset; in visitSub() local 1040 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub() 1046 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
|
| H A D | InstructionSimplify.cpp | 696 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local 708 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference() 2196 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerICmp() local 2202 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp() 2237 ConstantInt *LHSOffsetCI = dyn_cast<ConstantInt>(LHSOffset); in computePointerICmp() 2261 LHSOffset->isNullValue() && in computePointerICmp() 2275 ConstantExpr::getAdd(LHSOffset, LHSNoBound), in computePointerICmp()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 1584 unsigned LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local 1585 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace() 1588 return LHSOffset < RHS; in isBeforeInSLocAddrSpace()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 2215 APInt LHSOffset; in lowerConstant() local 2216 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant() 2228 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 211 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument 213 return LHSOffset < RHS.beginOffset(); in operator <()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 9245 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local 9258 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator() 9305 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator() 9481 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local 9520 APSInt LHS(llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()
|