/external/compiler-rt/test/ubsan/TestCases/TypeCheck/ |
vptr-corrupted-vtable-itanium.cpp | 39 S* Ptr2 = reinterpret_cast<S*>(Ptr); 40 return Ptr2->v();
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
PPCHazardRecognizers.h | 67 SDValue Ptr1, SDValue Ptr2) const;
|
PPCHazardRecognizers.cpp | 92 isLoadOfStoredAddress(unsigned LoadSize, SDValue Ptr1, SDValue Ptr2) const { 95 if (Ptr1 == StorePtr1[i] && Ptr2 == StorePtr2[i]) 97 if (Ptr2 == StorePtr1[i] && Ptr1 == StorePtr2[i]) 102 if (StorePtr2[i] == Ptr2) {
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
SecureBootConfigMisc.c | 134 UINT8 *Ptr2;
136 for (Ptr1 = (CONST UINT8 *)Integer, Ptr2 = OctetString + OSSizeInBytes - 1;
137 Ptr1 < (UINT8 *)(Integer + IntSizeInWords) && Ptr2 >= OctetString;
138 Ptr1++, Ptr2--) {
139 *Ptr2 = *Ptr1;
148 if (Ptr2 >= OctetString) {
149 ZeroMem (OctetString, Ptr2 - OctetString + 1);
|
/external/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 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/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 38 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 63 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
BuildLibCalls.h | 54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/ |
VarCheckHiiGen.c | 490 UINT8 *Ptr2;
517 Ptr2 = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ONEOF *) HiiQuestion2 + 1);
518 while ((UINTN) Ptr2 < (UINTN) HiiQuestion2 + HiiQuestion2->Length) {
520 CopyMem (&OneValue2, Ptr2, HiiQuestion2->StorageWidth);
540 Ptr2 += HiiQuestion2->StorageWidth;
556 Ptr2 = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ONEOF *) HiiQuestion2 + 1);
557 while ((UINTN) Ptr2 < (UINTN) HiiQuestion2 + HiiQuestion2->Length) {
559 CopyMem (&OneValue2, Ptr2, HiiQuestion2->StorageWidth);
580 Ptr2 += HiiQuestion2->StorageWidth;
642 Ptr2 = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ORDEREDLIST *) HiiQuestion2 + 1); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopLoadElimination.cpp | 277 Value *Ptr2 = 279 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || 280 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1)));
|
MemCpyOptimizer.cpp | 69 /// Return true if Ptr1 is provably equal to Ptr2 plus a constant offset, and 70 /// return that constant offset. For example, Ptr1 might be &A[42], and Ptr2 72 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, 75 Ptr2 = Ptr2->stripPointerCasts(); 78 if (Ptr1 == Ptr2) { 84 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); 90 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { 100 // Right now we handle the case when Ptr1/Ptr2 are both GEPs with an identical [all...] |
/external/clang/test/SemaCXX/ |
unaddressable-functions.cpp | 64 auto Ptr2 = bar;
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 73 Value *llvm::EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, 89 CastToCStr(Ptr2, B), Len, "strncmp"); 181 Value *llvm::EmitMemCmp(Value *Ptr1, Value *Ptr2, 196 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 71 /// 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, 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 [all...] |
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 752 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 764 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "strncmp"); 847 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, 859 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "memcmp"); [all...] |
/external/clang/include/clang/Analysis/ |
CFG.h | 75 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr) 77 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Analysis/ |
CFG.h | 76 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr) 78 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Analysis/ |
CFG.h | 76 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr) 78 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Analysis/ |
CFG.h | 76 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr) 78 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) { [all...] |