/device/linaro/bootloader/edk2/ArmPkg/Library/BaseMemoryLibStm/AArch64/ |
CopyMem.c | 46 UINTN Alignment;
71 Alignment = Length & 0x7;
72 if (Alignment != 0) {
76 while (Alignment-- != 0) {
112 Alignment = Length & 0x3;
113 if (Alignment != 0) {
117 while (Alignment-- != 0) {
|
/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 | 611 /// getByValTypeAlignment - Return the desired alignment for ByVal aggregate 613 /// alignment, not its logarithm. 680 /// alignment can satisfy any constraint. Similarly if SrcAlign is zero it 681 /// means there isn't a need to check it against alignment requirement, 723 // save area. The element type defines the alignment requirement and 753 unsigned Alignment; 757 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 alignTo(Res, Alignment); [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
AlignOf.h | 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===// 29 /// the alignment of the template argument. For example, 30 /// AlignOf<int>::Alignment represents the alignment of type "int". The 31 /// alignment calculated is the minimum alignment, and not necessarily 32 /// the "desired" alignment returned by GCC's __alignof__ (for example). Note 33 /// that because the alignment is an enum value, it can be used as a 37 enum { Alignment = 40 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 } [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
PciResourceSupport.h | 30 UINT64 Alignment;
158 @param Alignment Alignment of resource.
171 IN UINT64 Alignment,
183 @param Alignment Alignment of resource.
196 IN UINT64 Alignment,
|
/external/eigen/Eigen/src/Core/ |
Map.h | 29 Alignment = int(MapOptions)&int(AlignedMask), 44 * \tparam MapOptions specifies the pointer alignment in bytes. It can be: \c #Aligned128, , \c #Aligned64, \c #Aligned32, \c #Aligned16, \c #Aligned8 or \c #Unaligned.
|
/external/llvm/include/llvm/MC/ |
StringTableBuilder.h | 29 unsigned Alignment; 34 StringTableBuilder(Kind K, unsigned Alignment = 1);
|
/external/llvm/lib/CodeGen/ |
SafeStackLayout.h | 35 unsigned Size, Alignment; 48 void addObject(const Value *V, unsigned Size, unsigned Alignment, 60 /// Returns the alignment of the frame.
|
/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.
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
AllocatorTest.cpp | 105 // Allocate space for the alignment, the slab, and a void* that goes right 107 size_t Alignment = 4096; 108 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*)); 111 MemSlab *Slab = (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) & 112 ~(uintptr_t)(Alignment - 1)); 132 // Allocate a large-ish block with a really large alignment so that the 133 // allocator will think that it has space, but after it does the alignment it
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
Fragment.h | 29 enum Type { Alignment, Fillment, Region, Target, Stub, Null };
|
/art/runtime/utils/ |
dex_cache_arrays_layout-inl.h | 47 size_(RoundUp(call_sites_offset_ + CallSitesSize(num_call_sites), Alignment())) { 54 inline size_t DexCacheArraysLayout::Alignment() const { 55 return Alignment(pointer_size_); 58 inline constexpr size_t DexCacheArraysLayout::Alignment(PointerSize pointer_size) { 59 // mirror::Type/String/MethodTypeDexCacheType alignment is 8, 60 // i.e. higher than or equal to the pointer alignment.
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/Fv2OnFvThunk/ |
Fv2OnFvThunk.c | 376 any required alignment for all files listed in the FileData
808 INTN Alignment;
810 Alignment = LowBitSet64 (RShiftU64 (FvAttributes, 16) & 0xffff);
811 if (Alignment != -1) {
812 Alignment = Alignment << 16;
814 Alignment = 0;
816 FvAttributes = (FvAttributes & 0x1ff) | Alignment;
[all...] |
/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...] |
/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/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/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
MachineConstantPool.h | 55 unsigned Alignment) = 0; 82 /// The required alignment for this entry. The top bit is set when Val is 84 unsigned Alignment; 87 : Alignment(A) { 91 : Alignment(A) { 93 Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1); 100 return (int)Alignment < 0; 104 return Alignment & ~(1 << (sizeof(unsigned)*CHAR_BIT-1)); 135 unsigned PoolAlignment; ///< The alignment for the pool. 145 /// getConstantPoolAlignment - Return the alignment required b [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
TargetJITInfo.h | 52 /// Records the required size and alignment for a call stub in bytes. 55 size_t Alignment; 57 /// Returns the maximum size and alignment for a call stub on this target.
|
/device/linaro/bootloader/edk2/ArmVirtPkg/PciHostBridgeDxe/ |
PciHostBridge.c | 377 // Get the number of '1' in Alignment.
379 BitsOfAlignment = (UINTN) (HighBitSet64 (RootBridgeInstance->ResAllocNode[Index].Alignment) + 1);
[all...] |
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/ |
QemuLoader.h | 41 // allocated in the zone specified by Zone, aligned at a multiple of Alignment.
45 UINT32 Alignment; // power of two
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/PciHostBridgeDxe/ |
PciHostBridge.c | 382 // Get the number of '1' in Alignment.
386 RootBridgeInstance->ResAllocNode[Index].Alignment
[all...] |