Home
last modified time | relevance | path

Searched refs:IntptrSize (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp672 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in originToIntptr() local
673 if (IntptrSize == kOriginSize) return Origin; in originToIntptr()
674 assert(IntptrSize == kOriginSize * 2); in originToIntptr()
684 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in paintOrigin() local
686 assert(IntptrSize >= kOriginSize); in paintOrigin()
690 if (Alignment >= IntptrAlignment && IntptrSize > kOriginSize) { in paintOrigin()
694 for (unsigned i = 0; i < Size / IntptrSize; ++i) { in paintOrigin()
698 Ofs += IntptrSize / kOriginSize; in paintOrigin()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp826 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in originToIntptr() local
827 if (IntptrSize == kOriginSize) return Origin; in originToIntptr()
828 assert(IntptrSize == kOriginSize * 2); in originToIntptr()
838 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in paintOrigin() local
840 assert(IntptrSize >= kOriginSize); in paintOrigin()
844 if (Alignment >= IntptrAlignment && IntptrSize > kOriginSize) { in paintOrigin()
848 for (unsigned i = 0; i < Size / IntptrSize; ++i) { in paintOrigin()
852 Ofs += IntptrSize / kOriginSize; in paintOrigin()