Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.cpp1161 unsigned LHSOffset; in VisitComplexBinOp() local
1191 LHSOffset = *LocalIndex; in VisitComplexBinOp()
1193 if (!this->emitGetPtrLocal(LHSOffset, E)) in VisitComplexBinOp()
1218 LHSOffset = this->allocateLocalPrimitive(LHS, PT_Ptr, /*IsConst=*/true); in VisitComplexBinOp()
1221 if (!this->emitSetLocal(PT_Ptr, LHSOffset, E)) in VisitComplexBinOp()
1225 LHSOffset = this->allocateLocalPrimitive(LHS, LHST, /*IsConst=*/true); in VisitComplexBinOp()
1228 if (!this->emitSetLocal(LHST, LHSOffset, E)) in VisitComplexBinOp()
1278 if (!loadComplexValue(LHSIsComplex, true, ElemIndex, LHSOffset, LHS)) in VisitComplexBinOp()
1292 if (!loadComplexValue(LHSIsComplex, true, ElemIndex, LHSOffset, LHS)) in VisitComplexBinOp()
1306 if (!loadComplexValue(LHSIsComplex, false, ElemIndex, LHSOffset, LHS)) in VisitComplexBinOp()
[all …]
H A DInterp.cpp2014 unsigned LHSOffset = LHS.getIndex(); in arePotentiallyOverlappingStringLiterals() local
2021 int32_t IndexDiff = RHSOffset - LHSOffset; in arePotentiallyOverlappingStringLiterals()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp792 APSInt LHSOffset, RHSOffset; in findFuncPointers() local
793 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHS, LHSOffset, DL) && in findFuncPointers()
799 LHSOffset == 0 && in findFuncPointers()
H A DInlineCost.cpp2213 APInt LHSOffset, RHSOffset; in visitCmpInst() local
2214 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
2222 ICmpInst::compare(LHSOffset, RHSOffset, I.getPredicate())); in visitCmpInst()
2258 APInt LHSOffset, RHSOffset; in visitSub() local
2259 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitSub()
2265 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); in visitSub()
H A DInstructionSimplify.cpp688 APInt LHSOffset = stripAndComputeConstantOffsets(DL, LHS); in computePointerDifference() local
700 Constant *Res = ConstantInt::get(LHS->getContext(), LHSOffset - RHSOffset); in computePointerDifference()
2709 APInt LHSOffset(IndexSize, 0), RHSOffset(IndexSize, 0); in computePointerICmp() local
2710 LHS = LHS->stripAndAccumulateConstantOffsets(DL, LHSOffset, AllowNonInbounds); in computePointerICmp()
2717 ICmpInst::compare(LHSOffset, RHSOffset, Pred)); in computePointerICmp()
2740 APInt Dist = LHSOffset - RHSOffset; in computePointerICmp()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1711 SourceLocation::UIntTy LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace() local
1712 bool LHSLoaded = LHSOffset >= CurrentLoadedOffset; in isBeforeInSLocAddrSpace()
1715 return LHSOffset < RHS; in isBeforeInSLocAddrSpace()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3575 APInt LHSOffset, RHSOffset; in lowerConstant() local
3577 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
3583 int64_t Addend = (LHSOffset - RHSOffset).getSExtValue(); in lowerConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp575 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset, in operator <() argument
577 return LHSOffset < RHS.beginOffset(); in operator <()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp14550 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in EvaluateComparisonBinaryOperator() local
14602 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator()
14835 const CharUnits &LHSOffset = LHSValue.getLValueOffset(); in VisitBinaryOperator() local
14874 APSInt LHS(llvm::APInt(65, (int64_t)LHSOffset.getQuantity(), true), false); in VisitBinaryOperator()