Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DInlineCost.cpp689 APInt LHSOffset, RHSOffset; in visitCmpInst() local
690 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
696 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst()
735 APInt LHSOffset, RHSOffset; in visitSub() local
736 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
742 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
DInstructionSimplify.cpp646 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
658 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2016 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerICmp() local
2022 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2057 ConstantInt *LHSOffsetCI = dyn_cast<ConstantInt>(LHSOffset); in computePointerICmp()
2078 LHSOffset->isNullValue() && in computePointerICmp()
2092 ConstantExpr::getAdd(LHSOffset, LHSNoBound), in computePointerICmp()
/external/clang/include/clang/Basic/
DSourceManager.h1481 unsigned LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local
1482 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace()
1485 return LHSOffset < RHS; in isBeforeInSLocAddrSpace()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1839 APInt LHSOffset; in lowerConstant() local
1840 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
1852 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp171 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument
173 return LHSOffset < RHS.beginOffset(); in operator <()
/external/clang/lib/AST/
DExprConstant.cpp7659 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local
7700 llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()
7721 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && in VisitBinaryOperator()
7770 uint64_t CompareLHS = LHSOffset.getQuantity(); in VisitBinaryOperator()