/frameworks/compile/mclinker/unittests/ |
SectionDataTest.cpp | 53 new Fragment(Fragment::Alignment, s); 54 new Fragment(Fragment::Alignment, s); 62 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); 64 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
|
/frameworks/compile/slang/ |
legacy_bitcode.h | 23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) { 24 // The alignment is stored as an actual power of 2 value (instead of the
|
/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) {
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
FvImageSection.py | 51 # @retval tuple (Generated file name, section alignment)
59 return FileList, self.Alignment
67 return OutputFileList, self.Alignment
78 if self.Alignment == None:
79 self.Alignment = Fv.FvAlignment
81 if GenFdsGlobalVariable.GetAlignment (Fv.FvAlignment) > GenFdsGlobalVariable.GetAlignment (self.Alignment):
82 self.Alignment = Fv.FvAlignment
96 return OutputFileList, self.Alignment
|
CompressSection.py | 54 # @retval tuple (Generated file name, section alignment)
60 self.Alignment = FfsInf.__ExtendMacro__(self.Alignment)
85 return OutputFileList, self.Alignment
|
UiSection.py | 49 # @retval tuple (Generated file name, section alignment)
56 self.Alignment = FfsInf.__ExtendMacro__(self.Alignment)
78 return OutputFileList, self.Alignment
|
/external/llvm/lib/CodeGen/ |
SafeStackLayout.cpp | 36 void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, 38 StackObjects.push_back({V, Size, Alignment, Range}); 39 MaxAlignment = std::max(MaxAlignment, Alignment); 43 unsigned Alignment) { 44 return alignTo(Offset + Size, Alignment) - Size; 52 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); 59 DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " << Obj.Alignment 61 assert(Obj.Alignment <= MaxAlignment); 62 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); 75 Start = AdjustStackOffset(R.End, Obj.Size, Obj.Alignment); [all...] |
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/ |
AlignOfTest.cpp | 1 //=== - llvm/unittest/Support/AlignOfTest.cpp - Alignment utility tests ---===// 11 // Disable warnings about alignment-based structure padding. 24 // We're testing that even questionable types work with the alignment utilities. 41 // Define some fixed alignment types to use in these tests. 108 // Ensure alignment is a compile-time constant. 110 [AlignOf<char>::Alignment > 0] 111 [AlignOf<short>::Alignment > 0] 112 [AlignOf<int>::Alignment > 0] 113 [AlignOf<long>::Alignment > 0] 114 [AlignOf<long long>::Alignment > 0 [all...] |
/external/eigen/Eigen/src/Core/functors/ |
AssignmentFunctors.h | 26 template<int Alignment, typename Packet> 28 { internal::pstoret<DstScalar,Packet,Alignment>(a,b); } 51 template<int Alignment, typename Packet> 53 { internal::pstoret<DstScalar,Packet,Alignment>(a,internal::padd(internal::ploadt<Packet,Alignment>(a),b)); } 72 template<int Alignment, typename Packet> 74 { internal::pstoret<DstScalar,Packet,Alignment>(a,internal::psub(internal::ploadt<Packet,Alignment>(a),b)); } 94 template<int Alignment, typename Packet> 96 { internal::pstoret<DstScalar,Packet,Alignment>(a,internal::pmul(internal::ploadt<Packet,Alignment>(a),b)); [all...] |
/external/eigen/Eigen/src/Geometry/arch/ |
Geometry_SSE.h | 39 template<class Derived, int Alignment> 40 struct quat_conj<Architecture::SSE, Derived, float, Alignment> 46 pstore(&res.x(), _mm_xor_ps(mask, q.coeffs().template packet<Alignment>(0))); 58 __m128 a = lhs.template packet<traits<VectorLhs>::Alignment>(0); 59 __m128 b = rhs.template packet<traits<VectorRhs>::Alignment>(0); 71 template<class Derived, class OtherDerived, int Alignment> 72 struct quat_product<Architecture::SSE, Derived, OtherDerived, double, Alignment> 81 Packet2d b_xy = _b.coeffs().template packet<Alignment>(0); 82 Packet2d b_zw = _b.coeffs().template packet<Alignment>(2); 123 template<class Derived, int Alignment> [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
MachineFrameInfo.h | 89 // Alignment - The required alignment of this stack slot. 90 unsigned Alignment; 112 : SPOffset(SP), Size(Sz), Alignment(Al), isImmutable(IM), 158 /// that require greater alignment than the default alignment the target 159 /// provides. To handle this, MaxAlignment is set to the maximum alignment 161 /// native alignment maintained by the compiler, dynamic alignment code will 209 /// Required alignment of the local object blob, which is the strictes [all...] |
MachineCodeEmitter.h | 160 /// alignment (saturated to BufferEnd of course). 161 void emitAlignment(unsigned Alignment) { 162 if (Alignment == 0) Alignment = 1; 164 if(Alignment <= (uintptr_t)(BufferEnd-CurBufferPtr)) { 165 // Move the current buffer ptr up to the specified alignment. 167 (uint8_t*)(((uintptr_t)CurBufferPtr+Alignment-1) & 168 ~(uintptr_t)(Alignment-1)); 255 /// failure. Alignment is the alignment in bytes of the buffer desired [all...] |
JITCodeEmitter.h | 74 unsigned Alignment) = 0; 149 /// alignment (saturated to BufferEnd of course). 150 void emitAlignment(unsigned Alignment) { 151 if (Alignment == 0) Alignment = 1; 153 Alignment); 159 void emitAlignmentWithFill(unsigned Alignment, uint8_t Fill) { 160 if (Alignment == 0) Alignment = 1; 162 Alignment); [all...] |
/external/swiftshader/src/Reactor/ |
RoutineManager.hpp | 34 virtual uint8_t *allocateStub(const llvm::GlobalValue *function, unsigned stubSize, unsigned alignment); 40 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment); 41 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned int Alignment);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Allocator.h | 36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } 123 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should 126 static char *AlignPtr(char *Ptr, size_t Alignment); 148 /// Allocate - Allocate space at the specified alignment. 150 void *Allocate(size_t Size, size_t Alignment); 156 return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment)); 163 return static_cast<T*>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment)); 167 /// alignment. 169 T *Allocate(size_t Num, size_t Alignment) { [all...] |
/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.
|
/frameworks/compile/mclinker/lib/Fragment/ |
AlignFragment.cpp | 24 : Fragment(Fragment::Alignment, pSD),
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/ |
MemoryAllocationLib.c | 166 Allocates one or more 4KB pages of a certain memory type at a specified alignment.
168 Allocates the number of 4KB pages specified by Pages of a certain memory type with an alignment
169 specified by Alignment. The allocated buffer is returned. If Pages is 0, then NULL is returned.
170 If there is not enough memory at the specified alignment remaining to satisfy the request, then
172 If Alignment is not a power of two and Alignment is not zero, then ASSERT().
176 @param Alignment The requested alignment of the allocation. Must be a power of two.
177 If Alignment is zero, then byte alignment is used. [all...] |
/external/compiler-rt/lib/scudo/ |
scudo_allocator.h | 54 void *scudoMemalign(uptr Alignment, uptr Size); 57 int scudoPosixMemalign(void **MemPtr, uptr Alignment, uptr Size); 58 void *scudoAlignedAlloc(uptr Alignment, uptr Size);
|
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/ |
JITMemoryManager.h | 93 unsigned Alignment) = 0; 106 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) = 0; 109 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0;
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/ |
MemoryAllocationLib.c | 158 Allocates one or more 4KB pages of a certain memory type at a specified alignment.
160 Allocates the number of 4KB pages specified by Pages of a certain memory type with an alignment
161 specified by Alignment. The allocated buffer is returned. If Pages is 0, then NULL is returned.
162 If there is not enough memory at the specified alignment remaining to satisfy the request, then
164 If Alignment is not a power of two and Alignment is not zero, then ASSERT().
165 If Pages plus EFI_SIZE_TO_PAGES (Alignment) overflows, then ASSERT().
169 @param Alignment The requested alignment of the allocation.
171 If Alignment is zero, then byte alignment is used. [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
GridLayoutTest.java | 58 private static abstract class Alignment { 64 protected Alignment(String name, int gravity) { 70 private static final Alignment[] HORIZONTAL_ALIGNMENTS = { 71 new Alignment("LEFT", Gravity.LEFT) { 77 new Alignment("CENTER", Gravity.CENTER_HORIZONTAL) { 83 new Alignment("RIGHT", Gravity.RIGHT) { 89 new Alignment("FILL", Gravity.FILL_HORIZONTAL) { 97 private static final Alignment[] VERTICAL_ALIGNMENTS = { 98 new Alignment("TOP", Gravity.TOP) { 104 new Alignment("CENTER", Gravity.CENTER_VERTICAL) 272 Alignment alignment = HORIZONTAL_ALIGNMENTS[j]; local 283 Alignment alignment = VERTICAL_ALIGNMENTS[i]; local [all...] |
/external/llvm/include/llvm/Support/ |
TrailingObjects.h | 20 /// are all allocated at their required alignment. Additionally, it 60 /// Helper template to calculate the max alignment requirement for a set of 65 FirstAlignment = AlignOf<First>::Alignment, 66 RestAlignment = AlignmentCalcHelper<Rest...>::Alignment, 71 Alignment = FirstAlignment > RestAlignment ? FirstAlignment : RestAlignment 77 enum { Alignment = AlignOf<First>::Alignment }; 150 return llvm::AlignOf<PrevTy>::Alignment < llvm::AlignOf<NextTy>::Alignment; 233 TrailingTys...>::Alignment, [all...] |
/external/c-ares/ |
ares_iphlpapi.h | 122 ULONGLONG Alignment; 140 ULONGLONG Alignment; 152 ULONGLONG Alignment; 164 ULONGLONG Alignment; 176 ULONGLONG Alignment; 189 ULONGLONG Alignment;
|