Searched refs:Ptr2 (Results 1 - 7 of 7) sorted by relevance

/external/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h47 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
75 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp71 /// IsPointerOffset - Return true if Ptr1 is provably equal to Ptr2 plus a
73 /// be &A[42], and Ptr2 might be &A[40]. In this case offset would be -8.
74 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, argument
77 Ptr2 = Ptr2->stripPointerCasts();
79 GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(Ptr2);
85 if (GEP1 && GEP2 == 0 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) {
95 // Right now we handle the case when Ptr1/Ptr2 are both GEPs with an identical
/external/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp111 Value *llvm::EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, argument
131 CastToCStr(Ptr2, B), Len, "strncmp");
239 Value *llvm::EmitMemCmp(Value *Ptr1, Value *Ptr2, argument
258 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
/external/clang/include/clang/Analysis/
H A DCFG.h68 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = 0)
70 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) {}
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp4459 const PointerType *Ptr1, *Ptr2; local
4461 (Ptr2 = Composite2->getAs<PointerType>())) {
4463 Composite2 = Ptr2->getPointeeType();
/external/clang/lib/AST/
H A DASTImporter.cpp800 const ObjCObjectPointerType *Ptr2 = cast<ObjCObjectPointerType>(T2); local
803 Ptr2->getPointeeType()))
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp286 SDValue Ptr2, int64_t Size2,
8997 SDValue Ptr2, int64_t Size2,
9002 if (Ptr1 == Ptr2) return true;
9010 bool isFrameIndex2 = FindBaseOffset(Ptr2, Base2, Offset2, GV2, CV2);
8993 isAlias(SDValue Ptr1, int64_t Size1, const Value *SrcValue1, int SrcValueOffset1, unsigned SrcValueAlign1, const MDNode *TBAAInfo1, SDValue Ptr2, int64_t Size2, const Value *SrcValue2, int SrcValueOffset2, unsigned SrcValueAlign2, const MDNode *TBAAInfo2) const argument

Completed in 1882 milliseconds