HomeSort by relevance Sort by last modified time
    Searched defs:Alignment (Results 1 - 25 of 170) sorted by null

1 2 3 4 5 6 7

  /external/clang/lib/AST/
DeclGroup.cpp 21 static_assert(sizeof(DeclGroup) % llvm::AlignOf<void *>::Alignment == 0,
25 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
  /external/clang/lib/Frontend/
LayoutOverrideSource.cpp 89 // Check for the alignment of the type.
90 Pos = LineStr.find("Alignment:");
92 // Skip past the "Alignment:" prefix.
93 LineStr = LineStr.substr(Pos + strlen("Alignment:"));
95 unsigned long long Alignment = 0;
96 (void)LineStr.getAsInteger(10, Alignment);
97 CurrentLayout.Align = Alignment;
101 // Check for the size/alignment of the type.
117 // Parse alignment.
118 unsigned long long Alignment = 0
    [all...]
  /external/clang/test/CodeGenCXX/
alloca-align.cpp 5 unsigned Alignment;
  /external/llvm/include/llvm/Transforms/Utils/
ASanStackFrameLayout.h 33 size_t Alignment; // Alignment of the variable (power of 2).
46 size_t FrameAlignment; // Alignment for the entire frame.
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.h 544 /// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
546 /// alignment, not its logarithm.
613 /// alignment can satisfy any constraint. Similarly if SrcAlign is zero it
614 /// means there isn't a need to check it against alignment requirement,
656 // save area. The element type defines the alignment requirement and
682 unsigned Alignment;
686 ReuseLoadInfo() : IsInvariant(false), Alignment(0), Ranges(nullptr) {}
    [all...]
  /external/llvm/lib/Transforms/Utils/
ASanStackFrameLayout.cpp 21 // We sort the stack variables by alignment (largest first) to minimize
22 // unnecessary large gaps due to alignment.
30 return a.Alignment > b.Alignment;
33 // We also force minimal alignment for all vars to kMinAlignment so that vars
34 // with e.g. alignment 1 and alignment 16 do not get reordered by CompareVars.
38 // The resulting frame size is a multiple of Alignment.
39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) {
47 return RoundUpToAlignment(Res, Alignment);
    [all...]
  /external/llvm/tools/lli/
RemoteMemoryManager.h 34 : MB(mb), Alignment(a), IsCode(code) {}
37 unsigned Alignment;
69 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
73 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
RemoteTargetExternal.cpp 31 bool RemoteTargetExternal::allocateSpace(size_t Size, unsigned Alignment,
34 ", align: " << Alignment << "\n");
35 if (!SendAllocateSpace(Alignment, Size)) {
119 bool RemoteTargetExternal::SendAllocateSpace(uint32_t Alignment, uint32_t Size) {
125 AppendWrite((const void *)&Alignment, 4);
  /art/runtime/utils/
dex_cache_arrays_layout-inl.h 41 RoundUp(fields_offset_ + FieldsSize(header.field_ids_size_), Alignment())) {
49 inline size_t DexCacheArraysLayout::Alignment() const {
50 // GcRoot<> alignment is 4, i.e. lower than or equal to the pointer alignment.
54 // Pointer alignment is the same as pointer size.
  /external/llvm/unittests/Support/
AllocatorTest.cpp 125 // Test requesting alignment that goes past the end of the current slab.
146 void *Allocate(size_t Size, size_t /*Alignment*/) {
147 // Allocate space for the alignment, the slab, and a void* that goes right
149 size_t Alignment = 4096;
150 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*));
153 void *Slab = (void *)alignAddr((char*)MemBase + sizeof(void *), Alignment);
171 // Allocate a large-ish block with a really large alignment so that the
172 // allocator will think that it has space, but after it does the alignment it
180 // Now the big chunk with a big alignment.
  /frameworks/compile/mclinker/include/mcld/Fragment/
Fragment.h 29 enum Type { Alignment, Fillment, Region, Target, Stub, Null };
  /external/clang/lib/CodeGen/
Address.h 11 // alignment.
27 CharUnits Alignment;
29 Address(llvm::Value *pointer, CharUnits alignment)
30 : Pointer(pointer), Alignment(alignment) {
31 assert((!alignment.isZero() || pointer == nullptr) &&
32 "creating valid address with invalid alignment");
66 /// Return the alignment of this pointer.
69 return Alignment;
77 ConstantAddress(llvm::Constant *pointer, CharUnits alignment)
    [all...]
CGCall.h 153 CharUnits Alignment;
166 Alignment(Addr.isValid() ? Addr.getAlignment() : CharUnits::Zero()) {}
171 Address getValue() const { return Address(Value.getPointer(), Alignment); }
CGObjCRuntime.cpp 112 // alignment of the bit-field, because (a) it is not clear what guarantees the
114 // at an alignment plus offset.
126 CharUnits Alignment = CGF.CGM.getContext().toCharUnitsFromBits(AlignmentBits);
139 Address Addr(V, Alignment);
  /external/clang/test/SemaCXX/
typo-correction-cxx11.cpp 31 long Alignment = __alignof__(Functor);
  /external/llvm/include/llvm/CodeGen/
MachineConstantPool.h 50 unsigned Alignment) = 0;
76 /// The required alignment for this entry. The top bit is set when Val is
78 unsigned Alignment;
81 : Alignment(A) {
85 : Alignment(A) {
87 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1);
94 return (int)Alignment < 0;
98 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1));
122 unsigned PoolAlignment; ///< The alignment for the pool.
136 /// getConstantPoolAlignment - Return the alignment required b
    [all...]
  /external/llvm/include/llvm/Support/
TrailingObjects.h 20 /// the alignment of the classes involved are appropriate for the
63 /// Helper template to calculate the max alignment requirement for a set of
68 FirstAlignment = AlignOf<First>::Alignment,
69 RestAlignment = AlignmentCalcHelper<Rest...>::Alignment,
74 Alignment = FirstAlignment > RestAlignment ? FirstAlignment : RestAlignment
80 enum { Alignment = AlignOf<First>::Alignment };
153 static_assert(llvm::AlignOf<PrevTy>::Alignment >=
154 llvm::AlignOf<NextTy>::Alignment,
155 "A trailing object requires more alignment than the previous
    [all...]
  /external/llvm/tools/lli/ChildTarget/
ChildTarget.cpp 107 uint32_t Alignment = 0;
109 rc = ReadBytes(&Alignment, 4);
116 RT->allocateSpace(AllocSize, Alignment, Addr);
  /external/llvm/tools/llvm-cov/
CoverageReport.cpp 30 AlignmentKind Alignment;
33 : Str(Str), Width(Width), Trim(WidthTrim), Alignment(LeftAlignment) {}
41 Alignment = Value;
56 if (Alignment == RightAlignment) {
  /external/clang/include/clang/AST/
RecordLayout.h 66 // Alignment - Alignment of record in characters.
67 CharUnits Alignment;
69 /// RequiredAlignment - The required alignment of the object. In the MS-ABI
85 /// NonVirtualAlignment - The non-virtual alignment (in chars) of an object,
86 /// which is the alignment of the object without virtual bases.
138 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment,
146 CharUnits size, CharUnits alignment,
170 /// getAlignment - Get the record alignment in characters.
171 CharUnits getAlignment() const { return Alignment; }
    [all...]
  /external/compiler-rt/lib/ubsan/
ubsan_handlers.h 23 uptr Alignment;
  /external/eigen/Eigen/src/Core/
StableNorm.h 162 Alignment = (int(Flags)&DirectAccessBit) || (int(Flags)&AlignedBit) ? 1 : 0
169 internal::stable_norm_kernel(this->segment(bi,(min)(blockSize, n - bi)).template forceAlignedAccessIf<Alignment>(), ssq, scale, invScale);
  /external/llvm/include/llvm/Object/
COFFYAML.h 57 unsigned Alignment;
  /cts/tests/tests/widget/src/android/widget/cts/
GridLayoutTest.java 45 private static abstract class Alignment {
51 protected Alignment(String name, int gravity) {
57 private static final Alignment[] HORIZONTAL_ALIGNMENTS = {
58 new Alignment("LEFT", Gravity.LEFT) {
64 new Alignment("CENTER", Gravity.CENTER_HORIZONTAL) {
70 new Alignment("RIGHT", Gravity.RIGHT) {
76 new Alignment("FILL", Gravity.FILL_HORIZONTAL) {
84 private static final Alignment[] VERTICAL_ALIGNMENTS = {
85 new Alignment("TOP", Gravity.TOP) {
91 new Alignment("CENTER", Gravity.CENTER_VERTICAL)
256 Alignment alignment = HORIZONTAL_ALIGNMENTS[j]; local
267 Alignment alignment = VERTICAL_ALIGNMENTS[i]; local
    [all...]
  /external/clang/lib/Sema/
SemaAttr.cpp 31 // alignment.
34 unsigned Alignment;
43 /// Alignment - The current user specified alignment.
44 unsigned Alignment;
51 PragmaPackStack() : Alignment(0) {}
53 void setAlignment(unsigned A) { Alignment = A; }
54 unsigned getAlignment() { return Alignment; }
56 /// push - Push the current alignment onto the stack, optionally
59 PackStackEntry PSE = { Alignment, Name }
    [all...]

Completed in 723 milliseconds

1 2 3 4 5 6 7