Home
last modified time | relevance | path

Searched refs:Ptr1 (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h108 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
151 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
155 Value *emitBCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
159 Value *emitMemCCpy(Value *Ptr1, Value *Ptr2, Value *Val, Value *Len,
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp209 const Value *Ptr0, *Ptr1; in getHazardType() local
211 Ptr1 = GetPointerBaseWithConstantOffset(BaseVal1, Offset1, DL, true); in getHazardType()
212 if (Ptr0 == Ptr1 && Ptr0) in getHazardType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp249 Value *Ptr1 = S1->getPointerOperand(); in sinkStoresAndGEPs() local
278 if (Ptr0 != Ptr1) { in sinkStoresAndGEPs()
280 auto *GEP1 = cast<GetElementPtrInst>(Ptr1); in sinkStoresAndGEPs()
H A DLoopLoadElimination.cpp323 Value *Ptr1 = in needsChecking() local
327 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
328 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
H A DLoopFuse.cpp1274 Value *Ptr1 = getLoadStorePointerOperand(&I1); in accessDiffIsPositive() local
1275 if (!Ptr0 || !Ptr1) in accessDiffIsPositive()
1279 const SCEV *SCEVPtr1 = SE.getSCEVAtScope(Ptr1, &L1); in accessDiffIsPositive()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp1030 const Value *Ptr1 = Other; in getPointerOffsetFrom() local
1032 APInt Offset1(DL.getIndexTypeSizeInBits(Ptr1->getType()), 0); in getPointerOffsetFrom()
1034 Ptr1 = Ptr1->stripAndAccumulateConstantOffsets(DL, Offset1, true); in getPointerOffsetFrom()
1038 if (Ptr1 == Ptr2) in getPointerOffsetFrom()
1041 const GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); in getPointerOffsetFrom()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1489 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, in emitStrNCmp() argument
1497 {Ptr1, Ptr2, Len}, B, TLI); in emitStrNCmp()
1581 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, in emitMemCmp() argument
1588 {Ptr1, Ptr2, Len}, B, TLI); in emitMemCmp()
1591 Value *llvm::emitBCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, in emitBCmp() argument
1598 {Ptr1, Ptr2, Len}, B, TLI); in emitBCmp()
1601 Value *llvm::emitMemCCpy(Value *Ptr1, Value *Ptr2, Value *Val, Value *Len, in emitMemCCpy() argument
1608 {Ptr1, Ptr2, Val, Len}, B, TLI); in emitMemCCpy()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp152 std::optional<int> calculatePointerDifference(Value *Ptr0, Value *Ptr1) const;
2727 Value *Ptr1) const in calculatePointerDifference()
2731 const SCEV *Scev1 = SE.getSCEV(Ptr1); in calculatePointerDifference()
2769 Ptr1 = StripBitCast(Ptr1); in calculatePointerDifference()
2770 if (!isa<GetElementPtrInst>(Ptr0) || !isa<GetElementPtrInst>(Ptr1)) in calculatePointerDifference()
2774 auto *Gep1 = cast<GetElementPtrInst>(Ptr1); in calculatePointerDifference()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h87 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr)
88 : Data1(const_cast<void*>(Ptr1), ((unsigned) kind) & 0x3),
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1365 const auto *Ptr1 = cast<ObjCObjectPointerType>(T1); in IsStructurallyEquivalent() local
1367 if (!IsStructurallyEquivalent(Context, Ptr1->getPointeeType(), in IsStructurallyEquivalent()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp7303 const PointerType *Ptr1, *Ptr2; in FindCompositePointerType() local
7304 if ((Ptr1 = Composite1->getAs<PointerType>()) && in FindCompositePointerType()
7306 Composite1 = Ptr1->getPointeeType(); in FindCompositePointerType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4385 static bool arePointersCompatible(Value *Ptr1, Value *Ptr2, in arePointersCompatible() argument
4388 if (getUnderlyingObject(Ptr1) != getUnderlyingObject(Ptr2)) in arePointersCompatible()
4390 auto *GEP1 = dyn_cast<GetElementPtrInst>(Ptr1); in arePointersCompatible()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp24619 SDValue Ptr1 = in splitVectorStore() local
24625 SDValue Ch1 = DAG.getStore(Store->getChain(), DL, Value1, Ptr1, in splitVectorStore()
51238 SDValue Ptr1 = Ld->getBasePtr(); in combineLoad() local
51240 DAG.getMemBasePlusOffset(Ptr1, TypeSize::getFixed(HalfOffset), dl); in combineLoad()
51244 DAG.getLoad(HalfVT, dl, Ld->getChain(), Ptr1, Ld->getPointerInfo(), in combineLoad()
51664 SDValue Ptr1 = DAG.getMemBasePlusOffset(Ptr0, TypeSize::getFixed(4), dl); in combineStore() local
51671 DAG.getStore(St->getChain(), dl, Hi, Ptr1, in combineStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp22898 SDValue Ptr1 = DAG.getMemBasePlusOffset(ST->getBasePtr(), Offset1, DL); in combineI8TruncStore() local
22899 Chain = DAG.getStore(Chain, DL, E1, Ptr1, MF.getMachineMemOperand(MMO, 1, 1)); in combineI8TruncStore()