Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DInlineCost.cpp689 APInt LHSOffset, RHSOffset; in visitCmpInst() local
692 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
697 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
735 APInt LHSOffset, RHSOffset; in visitSub() local
738 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
743 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
DInstructionSimplify.cpp647 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
658 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2017 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerICmp() local
2022 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2058 ConstantInt *RHSOffsetCI = dyn_cast<ConstantInt>(RHSOffset); in computePointerICmp()
2079 RHSOffset->isNullValue()) in computePointerICmp()
2093 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp990 APInt LHSOffset, RHSOffset; in visitCmpInst() local
993 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
998 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
1036 APInt LHSOffset, RHSOffset; in visitSub() local
1039 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
1044 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
DInstructionSimplify.cpp697 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
708 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2185 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerICmp() local
2190 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2226 ConstantInt *RHSOffsetCI = dyn_cast<ConstantInt>(RHSOffset); in computePointerICmp()
2250 RHSOffset->isNullValue()) in computePointerICmp()
2264 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1843 APInt RHSOffset; in lowerConstant() local
1844 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
1852 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2143 APInt RHSOffset; in lowerConstant() local
2144 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
2152 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp168 uint64_t RHSOffset) { in operator <() argument
169 return LHS.beginOffset() < RHSOffset; in operator <()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp208 uint64_t RHSOffset) { in operator <() argument
209 return LHS.beginOffset() < RHSOffset; in operator <()
/external/clang/lib/AST/
DExprConstant.cpp7660 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator() local
7702 llvm::APInt(65, (int64_t)RHSOffset.getQuantity(), true), false); in VisitBinaryOperator()
7721 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && in VisitBinaryOperator()
7771 uint64_t CompareRHS = RHSOffset.getQuantity(); in VisitBinaryOperator()