Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp222 static const unsigned kOriginSize = 4; variable
1224 if (IntptrSize == kOriginSize) in originToIntptr()
1226 assert(IntptrSize == kOriginSize * 2); in originToIntptr()
1228 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr()
1238 assert(IntptrSize >= kOriginSize); in paintOrigin()
1245 IRB.CreateAdd(Size, ConstantInt::get(MS.IntptrTy, kOriginSize - 1)); in paintOrigin()
1247 IRB.CreateUDiv(RoundUp, ConstantInt::get(MS.IntptrTy, kOriginSize)); in paintOrigin()
1261 if (Alignment >= IntptrAlignment && IntptrSize > kOriginSize) { in paintOrigin()
1269 Ofs += IntptrSize / kOriginSize; in paintOrigin()
1274 for (unsigned i = Ofs; i < (Size + kOriginSize - 1) / kOriginSize; ++i) { in paintOrigin()