Home
last modified time | relevance | path

Searched refs:LHSOffset (Results 1 – 10 of 10) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp990 APInt LHSOffset, RHSOffset; in visitCmpInst() local
991 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
997 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst()
1036 APInt LHSOffset, RHSOffset; in visitSub() local
1037 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
1043 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
DInstructionSimplify.cpp696 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
708 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2184 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerICmp() local
2190 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2225 ConstantInt *LHSOffsetCI = dyn_cast<ConstantInt>(LHSOffset); in computePointerICmp()
2249 LHSOffset->isNullValue() && in computePointerICmp()
2263 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2139 APInt LHSOffset; in lowerConstant() local
2140 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
2152 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp211 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument
213 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()