Home
last modified time | relevance | path

Searched refs:Ptr2 (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/test/ubsan/TestCases/TypeCheck/
Dvptr-corrupted-vtable-itanium.cpp39 S* Ptr2 = reinterpret_cast<S*>(Ptr); in main() local
40 return Ptr2->v(); in main()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp92 isLoadOfStoredAddress(unsigned LoadSize, SDValue Ptr1, SDValue Ptr2) const { in isLoadOfStoredAddress()
95 if (Ptr1 == StorePtr1[i] && Ptr2 == StorePtr2[i]) in isLoadOfStoredAddress()
97 if (Ptr2 == StorePtr1[i] && Ptr1 == StorePtr2[i]) in isLoadOfStoredAddress()
102 if (StorePtr2[i] == Ptr2) { in isLoadOfStoredAddress()
DPPCHazardRecognizers.h67 SDValue Ptr1, SDValue Ptr2) const;
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DBuildLibCalls.h38 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
63 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h62 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
87 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp277 Value *Ptr2 = in needsChecking() local
279 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
280 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
DMemCpyOptimizer.cpp72 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, in IsPointerOffset() argument
75 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset()
78 if (Ptr1 == Ptr2) { in IsPointerOffset()
84 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); in IsPointerOffset()
90 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp73 Value *llvm::EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, in EmitStrNCmp() argument
89 CastToCStr(Ptr2, B), Len, "strncmp"); in EmitStrNCmp()
181 Value *llvm::EmitMemCmp(Value *Ptr1, Value *Ptr2, in EmitMemCmp() argument
196 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), in EmitMemCmp()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp74 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, in IsPointerOffset() argument
77 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset()
79 GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(Ptr2); in IsPointerOffset()
85 if (GEP1 && GEP2 == 0 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp309 Value *Ptr2 = in needsChecking() local
311 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
312 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
DMemCpyOptimizer.cpp107 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, in IsPointerOffset() argument
110 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset()
113 if (Ptr1 == Ptr2) { in IsPointerOffset()
119 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); in IsPointerOffset()
125 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset()
/external/clang/test/SemaCXX/
Dunaddressable-functions.cpp64 auto Ptr2 = bar; in test() local
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp752 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitStrNCmp() argument
764 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "strncmp"); in emitStrNCmp()
847 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitMemCmp() argument
859 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "memcmp"); in emitMemCmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp797 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitStrNCmp() argument
810 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, StrNCmpName); in emitStrNCmp()
894 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitMemCmp() argument
907 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, MemCmpName); in emitMemCmp()
/external/clang/include/clang/Analysis/
DCFG.h75 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr)
77 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) {
/external/clang/lib/Sema/
DSemaExprCXX.cpp5445 const PointerType *Ptr1, *Ptr2; in FindCompositePointerType() local
5447 (Ptr2 = Composite2->getAs<PointerType>())) { in FindCompositePointerType()
5449 Composite2 = Ptr2->getPointeeType(); in FindCompositePointerType()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp263 SDValue Ptr2, int64_t Size2,
7789 SDValue Ptr2, int64_t Size2, in isAlias() argument
7794 if (Ptr1 == Ptr2) return true; in isAlias()
7802 bool isFrameIndex2 = FindBaseOffset(Ptr2, Base2, Offset2, GV2, CV2); in isAlias()
/external/clang/lib/AST/
DASTImporter.cpp920 const ObjCObjectPointerType *Ptr2 = cast<ObjCObjectPointerType>(T2); in IsStructurallyEquivalent() local
923 Ptr2->getPointeeType())) in IsStructurallyEquivalent()