Home
last modified time | relevance | path

Searched refs:RHSOffset (Results 1 – 14 of 14) 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-10.0/llvm/lib/Analysis/
DInlineCost.cpp1271 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1274 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
1279 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
1305 APInt LHSOffset, RHSOffset; in visitSub() local
1308 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
1313 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
DInstructionSimplify.cpp721 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
732 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2386 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerICmp() local
2391 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2427 ConstantInt *RHSOffsetCI = dyn_cast<ConstantInt>(RHSOffset); in computePointerICmp()
2451 RHSOffset->isNullValue()) in computePointerICmp()
2465 ConstantExpr::getAdd(RHSOffset, RHSNoBound)); in computePointerICmp()
/external/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp1433 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1436 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitCmpInst()
1441 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst()
1467 APInt LHSOffset, RHSOffset; in visitSub() local
1470 std::tie(RHSBase, RHSOffset) = ConstantOffsetPtrs.lookup(RHS); in visitSub()
1475 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub()
DInstructionSimplify.cpp712 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerDifference() local
723 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2445 Constant *RHSOffset = stripAndComputeConstantOffsets(DL, RHS); in computePointerICmp() local
2450 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2486 ConstantInt *RHSOffsetCI = dyn_cast<ConstantInt>(RHSOffset); in computePointerICmp()
2510 RHSOffset->isNullValue()) in computePointerICmp()
2524 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-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2318 APInt RHSOffset; in lowerConstant() local
2319 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
2327 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2450 APInt RHSOffset; in lowerConstant() local
2451 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
2465 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/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp208 uint64_t RHSOffset) { in operator <() argument
209 return LHS.beginOffset() < RHSOffset; in operator <()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp197 uint64_t RHSOffset) { in operator <() argument
198 return LHS.beginOffset() < RHSOffset; in operator <()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp12661 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
12673 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
12721 uint64_t CompareRHS = RHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
12917 const CharUnits &RHSOffset = RHSValue.getLValueOffset(); in VisitBinaryOperator() local
12956 APSInt RHS(llvm::APInt(65, (int64_t)RHSOffset.getQuantity(), true), false); in VisitBinaryOperator()