Lines Matching refs:Granularity
1387 MaybeAlign Alignment, unsigned Granularity, in doInstrumentAddress() argument
1395 (!Alignment || *Alignment >= Granularity || *Alignment >= TypeSize / 8)) in doInstrumentAddress()
1406 unsigned Granularity, Type *OpType, in instrumentMaskedLoadOrStore() argument
1436 Granularity, ElemTypeSize, IsWrite, SizeArgument, in instrumentMaskedLoadOrStore()
1484 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local
1487 Addr, O.Alignment, Granularity, O.OpType, in instrumentMop()
1491 Granularity, O.TypeSize, O.IsWrite, nullptr, UseCalls, in instrumentMop()
1527 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local
1530 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp()
1611 size_t Granularity = 1ULL << Mapping.Scale; in instrumentAddress() local
1614 if (ClAlwaysSlowPath || (TypeSize < 8 * Granularity)) { in instrumentAddress()
3114 uint64_t Granularity = 1ULL << Mapping.Scale; in processStaticAllocas() local
3115 uint64_t MinHeaderSize = std::max((uint64_t)ASan.LongSize / 2, Granularity); in processStaticAllocas()
3117 ComputeASanStackFrameLayout(SVD, Granularity, MinHeaderSize); in processStaticAllocas()
3278 assert(Desc.Offset % L.Granularity == 0); in processStaticAllocas()
3279 size_t Begin = Desc.Offset / L.Granularity; in processStaticAllocas()
3280 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity; in processStaticAllocas()
3318 ShadowAfterReturn.resize(ClassSize / L.Granularity, in processStaticAllocas()