Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineCost.cpp1607 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1608 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
1614 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst()
1641 APInt LHSOffset, RHSOffset; in visitSub() local
1642 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
1648 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
H A DInstructionSimplify.cpp714 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
726 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2468 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerICmp() local
2474 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2509 ConstantInt *LHSOffsetCI = dyn_cast<ConstantInt>(LHSOffset); in computePointerICmp()
2533 LHSOffset->isNullValue() && in computePointerICmp()
2547 ConstantExpr::getAdd(LHSOffset, LHSNoBound), in computePointerICmp()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceManager.h1640 unsigned LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local
1641 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace()
1644 return LHSOffset < RHS; in isBeforeInSLocAddrSpace()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2556 APInt LHSOffset; in lowerConstant() local
2558 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
2576 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSROA.cpp200 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument
202 return LHSOffset < RHS.beginOffset(); in operator <()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp12664 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
12677 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
12724 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
12922 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local
12961 APSInt LHS(llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()