/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 689 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()
|
D | InstructionSimplify.cpp | 647 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/ |
D | InlineCost.cpp | 1271 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()
|
D | InstructionSimplify.cpp | 721 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/ |
D | InlineCost.cpp | 1433 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()
|
D | InstructionSimplify.cpp | 712 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/ |
D | AsmPrinter.cpp | 1843 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/ |
D | AsmPrinter.cpp | 2318 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/ |
D | AsmPrinter.cpp | 2450 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/ |
D | SROA.cpp | 168 uint64_t RHSOffset) { in operator <() argument 169 return LHS.beginOffset() < RHSOffset; in operator <()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 7660 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/ |
D | SROA.cpp | 208 uint64_t RHSOffset) { in operator <() argument 209 return LHS.beginOffset() < RHSOffset; in operator <()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 197 uint64_t RHSOffset) { in operator <() argument 198 return LHS.beginOffset() < RHSOffset; in operator <()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 12661 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()
|