/external/clang/test/CodeGenCXX/ |
H A D | alloca-align.cpp | 5 unsigned Alignment; member in struct:s0
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJITMemoryManager.h | 31 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, argument 33 return JMM->allocateDataSection(Size, Alignment, SectionID); 36 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, argument 38 return JMM->allocateCodeSection(Size, Alignment, SectionID);
|
/external/llvm/tools/lli/ |
H A D | RemoteTarget.cpp | 23 bool RemoteTarget::allocateSpace(size_t Size, unsigned Alignment, argument 29 if ((uintptr_t)Mem.base() % Alignment) {
|
H A D | RecordingMemoryManager.cpp | 19 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) { argument 26 AllocatedCodeMem.push_back(Allocation(Block, Alignment)); 31 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) { argument 38 AllocatedDataMem.push_back(Allocation(Block, Alignment)); 54 unsigned Alignment) { 62 uint8_t *RecordingMemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) { argument 66 uint8_t *RecordingMemoryManager::allocateGlobal(uintptr_t Size, unsigned Alignment) { argument 53 allocateStub(const GlobalValue* F, unsigned StubSize, unsigned Alignment) argument
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonVarargsCallingConvention.h | 77 unsigned Alignment = local 88 Alignment = 8; 91 unsigned Offset3 = State.AllocateStack(Size, Alignment); 132 unsigned Alignment = local 137 unsigned Offset3 = State.AllocateStack(Size, Alignment);
|
/external/llvm/unittests/Support/ |
H A D | AllocatorTest.cpp | 115 size_t Alignment = 4096; local 116 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*)); 119 MemSlab *Slab = (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) & 120 ~(uintptr_t)(Alignment - 1));
|
/external/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 89 Pos = LineStr.find("Alignment:"); 91 // Skip past the "Alignment:" prefix. 92 LineStr = LineStr.substr(Pos + strlen("Alignment:")); 94 unsigned long long Alignment = 0; local 95 (void)LineStr.getAsInteger(10, Alignment); 96 CurrentLayout.Align = Alignment; 117 unsigned long long Alignment = 0; local 118 (void)LineStr.getAsInteger(10, Alignment); 119 CurrentLayout.Align = Alignment; 156 uint64_t &Size, uint64_t &Alignment, 155 layoutRecordType(const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment, llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets, llvm::DenseMap<const CXXRecordDecl *, CharUnits> &BaseOffsets, llvm::DenseMap<const CXXRecordDecl *, CharUnits> &VirtualBaseOffsets) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | RecordLayout.h | 66 // Alignment - Alignment of record in characters. 67 CharUnits Alignment; member in class:clang::ASTRecordLayout 144 CharUnits getAlignment() const { return Alignment; }
|
H A D | Attr.h | 43 size_t Alignment = 16); 47 size_t Alignment); 78 size_t Alignment = 16) throw() { 79 return ::operator new(Bytes, C, Alignment); 82 size_t Alignment) throw() { 83 return ::operator delete(Ptr, C, Alignment); 81 operator delete(void *Ptr, ASTContext &C, size_t Alignment) argument
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
H A D | BillboardControl.java | 55 private Alignment alignment; 60 public enum Alignment { enum in class:BillboardControl 87 alignment = Alignment.Screen; 275 public Alignment getAlignment() { 284 public void setAlignment(Alignment alignment) { 295 capsule.write(alignment, "alignment", Alignment.Screen); 305 alignment = capsule.readEnum("alignment", Alignment.class, Alignment.Screen);
|
/external/llvm/include/llvm/CodeGen/ |
H A D | JITCodeEmitter.h | 75 unsigned Alignment) = 0; 151 void emitAlignment(unsigned Alignment) { argument 152 if (Alignment == 0) Alignment = 1; 154 Alignment); 160 void emitAlignmentWithFill(unsigned Alignment, uint8_t Fill) { argument 161 if (Alignment == 0) Alignment = 1; 163 Alignment); 256 /// failure. Alignment i 257 allocateSpace(uintptr_t Size, unsigned Alignment) argument [all...] |
H A D | MachineConstantPool.h | 56 unsigned Alignment) = 0; 85 unsigned Alignment; member in class:llvm::MachineConstantPoolEntry 88 : Alignment(A) { 92 : Alignment(A) { 94 Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1); 101 return (int)Alignment < 0; 105 return Alignment & ~(1 << (sizeof(unsigned)*CHAR_BIT-1)); 153 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment); 154 unsigned getConstantPoolIndex(MachineConstantPoolValue *V,unsigned Alignment);
|
H A D | MachineCodeEmitter.h | 164 void emitAlignment(unsigned Alignment) { argument 165 if (Alignment == 0) Alignment = 1; 167 if(Alignment <= (uintptr_t)(BufferEnd-CurBufferPtr)) { 170 (uint8_t*)(((uintptr_t)CurBufferPtr+Alignment-1) & 171 ~(uintptr_t)(Alignment-1)); 258 /// failure. Alignment is the alignment in bytes of the buffer desired. 259 virtual void *allocateSpace(uintptr_t Size, unsigned Alignment) { argument 260 emitAlignment(Alignment);
|
H A D | MachineFunction.h | 120 /// Alignment - The alignment of the function. 121 unsigned Alignment; member in class:llvm::MachineFunction 190 unsigned getAlignment() const { return Alignment; } 194 void setAlignment(unsigned A) { Alignment = A; } 198 if (Alignment < A) Alignment = A; 223 AlignOf<Ty>::Alignment));
|
/external/llvm/include/llvm/Support/ |
H A D | AlignOf.h | 33 /// AlignOf<int>::Alignment represents the alignment of type "int". The 40 enum { Alignment = enumerator in enum:llvm::AlignOf::__anon8487 43 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }; 44 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 }; 45 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 }; 46 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 }; 48 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 }; 49 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 }; 50 enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 }; 51 enum { Alignment_LessEqual_16Bytes = Alignment < [all...] |
H A D | 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); 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)); 169 T *Allocate(size_t Num, size_t Alignment) { argument 171 size_t EltSize = (sizeof(T)+Alignment-1)&(-Alignment); [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetJITInfo.h | 56 size_t Alignment; member in struct:llvm::TargetJITInfo::StubLayout
|
H A D | TargetData.h | 56 AlignTypeEnum AlignType : 8; ///< Alignment type (AlignTypeEnum) 308 /// boundary specified by Alignment. For example, 7 rounded up to an 312 static UIntTy RoundUpAlignment(UIntTy Val, unsigned Alignment) { argument 313 assert((Alignment & (Alignment-1)) == 0 && "Alignment must be power of 2!"); 314 return (Val + (Alignment-1)) & ~UIntTy(Alignment-1);
|
/external/llvm/lib/Support/ |
H A D | Allocator.cpp | 32 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should 35 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) { argument 36 assert(Alignment && (Alignment & (Alignment - 1)) == 0 && 37 "Alignment is not a power of two!"); 40 return (char*)(((uintptr_t)Ptr + Alignment - 1) & 41 ~(uintptr_t)(Alignment - 1)); 89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { argument [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | GlobalMerge.cpp | 185 unsigned Alignment = TD->getPreferredAlignment(I); local 187 if (Alignment > TD->getABITypeAlignment(Ty))
|
/external/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 56 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 58 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, 74 unsigned Alignment, 82 unsigned Alignment, 73 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) argument 81 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) argument
|
/external/llvm/include/llvm/ |
H A D | Attributes.h | 115 DECLARE_LLVM_ATTRIBUTE(Alignment,31<<16) ///< Alignment of parameter (5 bits) 125 DECLARE_LLVM_ATTRIBUTE(StackAlignment,7<<26) ///< Alignment of stack for 186 assert(isPowerOf2_32(i) && "Alignment must be a power of two."); 187 assert(i <= 0x40000000 && "Alignment too large."); 193 Attributes Align = A & Attribute::Alignment; 207 assert(isPowerOf2_32(i) && "Alignment must be a power of two."); 208 assert(i <= 0x100 && "Alignment too large."); 239 if (Attrs & Attribute::Alignment) 241 (((Attrs & Attribute::Alignment) 254 unsigned Alignment = (EncodedAttrs & (0xffffull << 16)) >> 16; local [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | ARMConstantPoolValue.cpp | 64 unsigned Alignment) { 165 unsigned Alignment) { 166 unsigned AlignMask = Alignment - 1; 230 unsigned Alignment) { 231 unsigned AlignMask = Alignment - 1; 286 unsigned Alignment) { 287 unsigned AlignMask = Alignment - 1; 63 getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) argument 164 getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) argument 229 getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) argument 285 getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) argument
|
/external/llvm/lib/Target/X86/ |
H A D | X86JITInfo.cpp | 451 const unsigned Alignment = 8; local 457 const unsigned Alignment = 4; 462 return JCE.allocIndirectGV(GV, Buffer, sizeof(Buffer), Alignment);
|
/external/clang/lib/CodeGen/ |
H A D | ABIInfo.h | 103 static ABIArgInfo getIndirect(unsigned Alignment, bool ByVal = true argument 105 return ABIArgInfo(Indirect, 0, Alignment, ByVal, Realign, false, 0); 107 static ABIArgInfo getIndirectInReg(unsigned Alignment, bool ByVal = true argument 109 return ABIArgInfo(Indirect, 0, Alignment, ByVal, Realign, true, 0);
|