Home
last modified time | relevance | path

Searched refs:Granularity (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp42 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/
DASanStackFrameLayout.cpp52 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/
Djs-segmenter.cc76 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 …]
Djs-segmenter.h54 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);
Djs-segment-iterator.h38 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);
Djs-segments.h44 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);
Djs-segmenter-inl.h28 inline void JSSegmenter::set_granularity(Granularity granularity) { in ACCESSORS()
35 inline JSSegmenter::Granularity JSSegmenter::granularity() const { in granularity()
Djs-segments-inl.h30 inline void JSSegments::set_granularity(JSSegmenter::Granularity granularity) { in ACCESSORS()
37 inline JSSegmenter::Granularity JSSegments::granularity() const { in granularity()
Djs-segment-iterator-inl.h31 JSSegmenter::Granularity granularity) { in ACCESSORS()
38 inline JSSegmenter::Granularity JSSegmentIterator::granularity() const { in granularity()
Djs-segments.cc108 Isolate* isolate, JSSegmenter::Granularity granularity, in CreateSegmentDataObject()
157 if (granularity == JSSegmenter::Granularity::WORD) { in CreateSegmentDataObject()
Djs-segmenter.tq8 constexpr 'JSSegmenter::Granularity';
Djs-segment-iterator.cc34 JSSegmenter::Granularity granularity) { in Create()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DMemory.inc84 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/
DMemory.inc84 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/
DASanStackFrameLayout.h46 size_t Granularity; // Shadow granularity. member
55 size_t Granularity,
/external/llvm/unittests/Transforms/Utils/
DASanStackFrameLayoutTest.cpp31 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/
DASanStackFrameLayoutTest.cpp34 #define TEST_LAYOUT(V, Granularity, MinHeaderSize, ExpectedDescr, \ argument
39 ComputeASanStackFrameLayout(Vars, Granularity, MinHeaderSize); \
/external/llvm/include/llvm/Transforms/Utils/
DASanStackFrameLayout.h54 size_t Granularity,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1341 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/
Dentity-data.fbs18 enum Granularity : int {
72 granularity:Datetime_.Granularity = GRANULARITY_UNKNOWN;
/external/v8/src/heap/
Dobject-start-bitmap.h37 static constexpr size_t Granularity() { return kAllocationGranularity; } in Granularity() function
/external/v8/src/heap/cppgc/
Dobject-start-bitmap.h35 static constexpr size_t Granularity() { return kAllocationGranularity; } in Granularity() function
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1075 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/
Dcpuctl_testplan.txt84 Granularity test with respect to shares values
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DOptBisect.rst187 Adding Finer Granularity

12