/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 42 static size_t VarAndRedzoneSize(size_t Size, size_t Granularity, in VarAndRedzoneSize() argument 51 return alignTo(std::max(Res, 2 * Granularity), Alignment); in VarAndRedzoneSize() 56 size_t Granularity, size_t MinHeaderSize) { in ComputeASanStackFrameLayout() argument 57 assert(Granularity >= 8 && Granularity <= 64 && in ComputeASanStackFrameLayout() 58 (Granularity & (Granularity - 1)) == 0); in ComputeASanStackFrameLayout() 60 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout() 69 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout() 70 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout() 71 size_t Offset = std::max(std::max(MinHeaderSize, Granularity), in ComputeASanStackFrameLayout() 73 assert((Offset % Granularity) == 0); in ComputeASanStackFrameLayout() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 52 size_t Granularity, size_t MinHeaderSize, in ComputeASanStackFrameLayout() argument 54 assert(Granularity >= 8 && Granularity <= 64 && in ComputeASanStackFrameLayout() 55 (Granularity & (Granularity - 1)) == 0); in ComputeASanStackFrameLayout() 57 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout() 67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout() 70 size_t Offset = std::max(std::max(MinHeaderSize, Granularity), in ComputeASanStackFrameLayout() 72 assert((Offset % Granularity) == 0); in ComputeASanStackFrameLayout() 73 SB.insert(SB.end(), Offset / Granularity, kAsanStackLeftRedzoneMagic); in ComputeASanStackFrameLayout() 76 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout() 86 size_t NextAlignment = IsLast ? Granularity in ComputeASanStackFrameLayout() [all …]
|
/external/v8/src/objects/ |
D | js-segmenter.cc | 76 Maybe<Granularity> maybe_granularity = Intl::GetStringOption<Granularity>( in New() 79 {Granularity::GRAPHEME, Granularity::WORD, Granularity::SENTENCE}, in New() 80 Granularity::GRAPHEME); in New() 82 Granularity granularity_enum = maybe_granularity.FromJust(); in New() 91 case Granularity::GRAPHEME: in New() 95 case Granularity::WORD: in New() 99 case Granularity::SENTENCE: in New() 162 Granularity granularity) { in GetGranularityString() 165 case Granularity::GRAPHEME: in GetGranularityString() 167 case Granularity::WORD: in GetGranularityString() [all …]
|
D | js-segmenter.h | 54 enum class Granularity { enum 59 inline void set_granularity(Granularity granularity); 60 inline Granularity granularity() const; 63 Granularity granularity); 68 STATIC_ASSERT(Granularity::GRAPHEME <= GranularityBits::kMax); 69 STATIC_ASSERT(Granularity::WORD <= GranularityBits::kMax); 70 STATIC_ASSERT(Granularity::SENTENCE <= GranularityBits::kMax);
|
D | js-segment-iterator.h | 38 JSSegmenter::Granularity granularity); 52 inline void set_granularity(JSSegmenter::Granularity granularity); 53 inline JSSegmenter::Granularity granularity() const; 58 STATIC_ASSERT(JSSegmenter::Granularity::GRAPHEME <= GranularityBits::kMax); 59 STATIC_ASSERT(JSSegmenter::Granularity::WORD <= GranularityBits::kMax); 60 STATIC_ASSERT(JSSegmenter::Granularity::SENTENCE <= GranularityBits::kMax);
|
D | js-segments.h | 44 Isolate* isolate, JSSegmenter::Granularity granularity, 56 inline void set_granularity(JSSegmenter::Granularity granularity); 57 inline JSSegmenter::Granularity granularity() const; 62 STATIC_ASSERT(JSSegmenter::Granularity::GRAPHEME <= GranularityBits::kMax); 63 STATIC_ASSERT(JSSegmenter::Granularity::WORD <= GranularityBits::kMax); 64 STATIC_ASSERT(JSSegmenter::Granularity::SENTENCE <= GranularityBits::kMax);
|
D | js-segmenter-inl.h | 28 inline void JSSegmenter::set_granularity(Granularity granularity) { in ACCESSORS() 35 inline JSSegmenter::Granularity JSSegmenter::granularity() const { in granularity()
|
D | js-segments-inl.h | 30 inline void JSSegments::set_granularity(JSSegmenter::Granularity granularity) { in ACCESSORS() 37 inline JSSegmenter::Granularity JSSegments::granularity() const { in granularity()
|
D | js-segment-iterator-inl.h | 31 JSSegmenter::Granularity granularity) { in ACCESSORS() 38 inline JSSegmenter::Granularity JSSegmentIterator::granularity() const { in granularity()
|
D | js-segments.cc | 108 Isolate* isolate, JSSegmenter::Granularity granularity, in CreateSegmentDataObject() 157 if (granularity == JSSegmenter::Granularity::WORD) { in CreateSegmentDataObject()
|
D | js-segmenter.tq | 8 constexpr 'JSSegmenter::Granularity';
|
D | js-segment-iterator.cc | 34 JSSegmenter::Granularity granularity) { in Create()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/ |
D | Memory.inc | 84 size_t Granularity = GranularityCached; 85 if (Granularity == 0) { 86 Granularity = getAllocationGranularity(); 87 GranularityCached = Granularity; 90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity; 98 if (Start && Start % Granularity != 0) 99 Start += Granularity - Start % Granularity; 104 NumBlocks*Granularity, 117 Result.Size = NumBlocks*Granularity;
|
/external/llvm/lib/Support/Windows/ |
D | Memory.inc | 84 size_t Granularity = GranularityCached; 85 if (Granularity == 0) { 86 Granularity = getAllocationGranularity(); 87 GranularityCached = Granularity; 90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity; 98 if (Start && Start % Granularity != 0) 99 Start += Granularity - Start % Granularity; 104 NumBlocks*Granularity, 117 Result.Size = NumBlocks*Granularity;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | ASanStackFrameLayout.h | 46 size_t Granularity; // Shadow granularity. member 55 size_t Granularity,
|
/external/llvm/unittests/Transforms/Utils/ |
D | ASanStackFrameLayoutTest.cpp | 31 size_t Granularity, size_t MinHeaderSize, in TestLayout() argument 35 ComputeASanStackFrameLayout(Vars, Granularity, MinHeaderSize, &L); in TestLayout()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | ASanStackFrameLayoutTest.cpp | 34 #define TEST_LAYOUT(V, Granularity, MinHeaderSize, ExpectedDescr, \ argument 39 ComputeASanStackFrameLayout(Vars, Granularity, MinHeaderSize); \
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | ASanStackFrameLayout.h | 54 size_t Granularity,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1341 unsigned Alignment, unsigned Granularity, in doInstrumentAddress() argument 1349 (Alignment >= Granularity || Alignment == 0 || Alignment >= TypeSize / 8)) in doInstrumentAddress() 1360 unsigned Granularity, uint32_t TypeSize, in instrumentMaskedLoadOrStore() argument 1390 Granularity, ElemTypeSize, IsWrite, SizeArgument, in instrumentMaskedLoadOrStore() 1444 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local 1447 Alignment, Granularity, TypeSize, IsWrite, in instrumentMop() 1450 doInstrumentAddress(this, I, I, Addr, Alignment, Granularity, TypeSize, in instrumentMop() 1489 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local 1492 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp() 1551 size_t Granularity = 1ULL << Mapping.Scale; in instrumentAddress() local [all …]
|
/external/libtextclassifier/native/annotator/ |
D | entity-data.fbs | 18 enum Granularity : int { 72 granularity:Datetime_.Granularity = GRANULARITY_UNKNOWN;
|
/external/v8/src/heap/ |
D | object-start-bitmap.h | 37 static constexpr size_t Granularity() { return kAllocationGranularity; } in Granularity() function
|
/external/v8/src/heap/cppgc/ |
D | object-start-bitmap.h | 35 static constexpr size_t Granularity() { return kAllocationGranularity; } in Granularity() function
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1075 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local 1080 (Alignment >= Granularity || Alignment == 0 || Alignment >= TypeSize / 8)) in instrumentMop() 1121 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local 1124 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp() 1164 size_t Granularity = 1ULL << Mapping.Scale; in instrumentAddress() local 1167 if (ClAlwaysSlowPath || (TypeSize < 8 * Granularity)) { in instrumentAddress()
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_testplan.txt | 84 Granularity test with respect to shares values
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | OptBisect.rst | 187 Adding Finer Granularity
|