Home
last modified time | relevance | path

Searched refs:LHSOffset (Results 1 – 16 of 16) 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-10.0/llvm/lib/Analysis/
DInlineCost.cpp1271 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1272 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
1278 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst()
1305 APInt LHSOffset, RHSOffset; in visitSub() local
1306 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
1312 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
DInstructionSimplify.cpp720 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
732 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2385 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerICmp() local
2391 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2426 ConstantInt *LHSOffsetCI = dyn_cast<ConstantInt>(LHSOffset); in computePointerICmp()
2450 LHSOffset->isNullValue() && in computePointerICmp()
2464 ConstantExpr::getAdd(LHSOffset, LHSNoBound), in computePointerICmp()
/external/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp1433 APInt LHSOffset, RHSOffset; in visitCmpInst() local
1434 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
1440 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitCmpInst()
1467 APInt LHSOffset, RHSOffset; in visitSub() local
1468 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
1474 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
DInstructionSimplify.cpp711 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
723 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
2444 Constant *LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerICmp() local
2450 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2485 ConstantInt *LHSOffsetCI = dyn_cast<ConstantInt>(LHSOffset); in computePointerICmp()
2509 LHSOffset->isNullValue() && in computePointerICmp()
2523 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-project/clang/include/clang/Basic/
DSourceManager.h1629 unsigned LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local
1630 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace()
1633 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-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2314 APInt LHSOffset; in lowerConstant() local
2315 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
2327 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2445 APInt LHSOffset; in lowerConstant() local
2447 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
2465 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()
/external/swiftshader/third_party/llvm-10.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/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp200 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument
202 return LHSOffset < RHS.beginOffset(); in operator <()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp12660 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
12673 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
12720 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
12916 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local
12955 APSInt LHS(llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()