Searched defs:Alignment (Results 1 - 25 of 141) sorted by last modified time

123456

/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/raster/
H A Dftraster.c325 } Alignment, *PAlignment; typedef in typeref:union:Alignment_
390 ( ( sizeof ( TProfile ) + sizeof ( Alignment ) - 1 ) / sizeof ( long ) )
/external/mesa3d/src/mesa/main/
H A Dmtypes.h1532 GLint Alignment; member in struct:gl_pixelstore_attrib
/external/llvm/unittests/Support/
H A DAllocatorTest.cpp126 void *Allocate(size_t Size, size_t /*Alignment*/) {
129 size_t Alignment = 4096; local
130 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*));
133 void *Slab = alignPtr((char *)MemBase + sizeof(void *), Alignment);
/external/llvm/tools/lli/ChildTarget/
H A DChildTarget.cpp107 uint32_t Alignment; local
109 rc = ReadBytes(&Alignment, 4);
116 RT->allocateSpace(AllocSize, Alignment, Addr);
/external/llvm/tools/lli/
H A DRemoteMemoryManager.cpp33 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, argument
41 AllocatedSections.push_back( Allocation(Block, Alignment, true) );
43 UnmappedSections.push_back( Allocation(Block, Alignment, true) );
48 allocateDataSection(uintptr_t Size, unsigned Alignment, argument
57 AllocatedSections.push_back( Allocation(Block, Alignment, false) );
59 UnmappedSections.push_back( Allocation(Block, Alignment, false) );
102 unsigned Align = Section.Alignment;
119 unsigned Align = Section.Alignment;
189 unsigned Alignment) {
197 uint8_t *RemoteMemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) { argument
188 allocateStub(const GlobalValue* F, unsigned StubSize, unsigned Alignment) argument
201 allocateGlobal(uintptr_t Size, unsigned Alignment) argument
[all...]
H A DRemoteMemoryManager.h34 : MB(mb), Alignment(a), IsCode(code) {}
37 unsigned Alignment; member in struct:llvm::RemoteMemoryManager::Allocation
69 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
73 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
106 unsigned Alignment) override;
109 uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) override;
110 uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) override;
H A DRemoteTarget.cpp31 bool RemoteTarget::allocateSpace(size_t Size, unsigned Alignment, argument
37 if ((uintptr_t)Mem.base() % Alignment) {
H A DRemoteTargetExternal.cpp31 bool RemoteTargetExternal::allocateSpace(size_t Size, unsigned Alignment, argument
34 ", align: " << Alignment << "\n"); local
35 if (!SendAllocateSpace(Alignment, Size)) {
119 bool RemoteTargetExternal::SendAllocateSpace(uint32_t Alignment, uint32_t Size) { argument
125 AppendWrite((const void *)&Alignment, 4);
/external/llvm/tools/llvm-readobj/
H A DMachODumper.cpp141 uint32_t Alignment; member in struct:__anon26414::MachOSection
166 Section.Alignment = Sect.align;
178 Section.Alignment = Sect.align;
241 W.printNumber("Alignment", MOSection.Alignment);
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp90 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
93 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
112 unsigned Alignment,
121 unsigned Alignment,
111 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
120 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
/external/llvm/unittests/ExecutionEngine/JIT/
H A DJITTest.cpp118 unsigned Alignment) override {
120 return Base->allocateStub(F, StubSize, Alignment);
140 uintptr_t Size, unsigned Alignment, unsigned SectionID,
143 Size, Alignment, SectionID, SectionName, IsReadOnly);
146 uintptr_t Size, unsigned Alignment, unsigned SectionID,
149 Size, Alignment, SectionID, SectionName);
152 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) { argument
153 return Base->allocateSpace(Size, Alignment);
155 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) { argument
156 return Base->allocateGlobal(Size, Alignment);
139 allocateDataSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
145 allocateCodeSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
[all...]
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp100 void useSpace(uintptr_t* UsedSize, uintptr_t Size, unsigned Alignment) { argument
101 uintptr_t AlignedSize = (Size + Alignment - 1) / Alignment * Alignment;
102 uintptr_t AlignedBegin = (*UsedSize + Alignment - 1) / Alignment * Alignment;
106 virtual uint8_t* allocateDataSection(uintptr_t Size, unsigned Alignment, argument
108 useSpace(IsReadOnly ? &UsedDataSizeRO : &UsedDataSizeRW, Size, Alignment);
109 return SectionMemoryManager::allocateDataSection(Size, Alignment,
113 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1619 unsigned Alignment = LI ? LI->getAlignment() : SI->getAlignment(); local
1622 if (!Alignment)
1623 Alignment = DL->getABITypeAlignment(ScalarDataTy);
1722 Builder.CreateStore(StoredVal[Part], VecPtr)->setAlignment(Alignment);
1744 cast<LoadInst>(LI)->setAlignment(Alignment);
5744 unsigned Alignment = SI ? SI->getAlignment() : LI->getAlignment();
5753 TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS);
5780 Alignment, AS);
5786 Cost += TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS);
H A DSLPVectorizer.cpp1803 unsigned Alignment = LI->getAlignment(); local
1805 if (!Alignment)
1806 Alignment = DL->getABITypeAlignment(LI->getPointerOperand()->getType());
1807 LI->setAlignment(Alignment);
1813 unsigned Alignment = SI->getAlignment(); local
1826 if (!Alignment)
1827 Alignment = DL->getABITypeAlignment(SI->getPointerOperand()->getType());
1828 S->setAlignment(Alignment);
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml95 | Alignment of int Constructor in type:Attribute/t
745 | Attribute.Alignment n -> Int32.shift_left (Int32.of_int n) 16
783 l := Attribute.Alignment (Int32.to_int align) :: !l;
/external/llvm/include/llvm/ADT/
H A DStringMap.h151 unsigned Alignment = alignOf<StringMapEntry>(); local
154 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
/external/llvm/include/llvm/CodeGen/
H A DJITCodeEmitter.h75 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);
255 /// failure. Alignment i
257 emitAlignment(Alignment); variable
[all...]
H A DMachineBasicBlock.h85 /// Alignment - Alignment of the basic block. Zero if the basic block does
88 unsigned Alignment; member in class:llvm::MachineBasicBlock
345 unsigned getAlignment() const { return Alignment; }
350 void setAlignment(unsigned Align) { Alignment = Align; }
H A DMachineCodeEmitter.h163 void emitAlignment(unsigned Alignment) { argument
164 if (Alignment == 0) Alignment = 1;
166 if(Alignment <= (uintptr_t)(BufferEnd-CurBufferPtr)) {
169 (uint8_t*)(((uintptr_t)CurBufferPtr+Alignment-1) &
170 ~(uintptr_t)(Alignment-1));
257 /// failure. Alignment is the alignment in bytes of the buffer desired.
258 virtual void *allocateSpace(uintptr_t Size, unsigned Alignment) { argument
259 emitAlignment(Alignment);
H A DMachineConstantPool.h56 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));
155 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment);
156 unsigned getConstantPoolIndex(MachineConstantPoolValue *V,unsigned Alignment);
H A DMachineFrameInfo.h92 // Alignment - The required alignment of this stack slot.
93 unsigned Alignment; member in struct:llvm::MachineFrameInfo::StackObject
114 : SPOffset(SP), Size(Sz), Alignment(Al), isImmutable(IM),
386 return Objects[ObjectIdx+NumFixedObjects].Alignment;
393 Objects[ObjectIdx+NumFixedObjects].Alignment = Align;
524 int CreateStackObject(uint64_t Size, unsigned Alignment, bool isSS,
531 int CreateSpillStackObject(uint64_t Size, unsigned Alignment);
545 int CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca);
H A DMachineFunction.h124 /// Alignment - The alignment of the function.
125 unsigned Alignment; member in class:llvm::MachineFunction
197 unsigned getAlignment() const { return Alignment; }
201 void setAlignment(unsigned A) { Alignment = A; }
205 if (Alignment < A) Alignment = A;
240 AlignOf<Ty>::Alignment));
H A DSelectionDAGNodes.h1474 unsigned Alignment; // Minimum alignment requirement of CP (not log2 value). member in class:ConstantPoolSDNode
1480 DebugLoc(), getSDVTList(VT)), Offset(o), Alignment(Align),
1488 DebugLoc(), getSDVTList(VT)), Offset(o), Alignment(Align),
1516 unsigned getAlignment() const { return Alignment; }
/external/llvm/include/llvm/IR/
H A DAttributes.h67 Alignment, ///< Alignment of parameter (5 bits) enumerator in enum:llvm::Attribute::AttrKind
101 StackAlignment, ///< Alignment of stack for function (3 bits)
396 uint64_t Alignment; member in class:llvm::AttributeSet::AttrBuilder
399 AttrBuilder() : Attrs(0), Alignment(0), StackAlignment(0) {}
401 : Attrs(0), Alignment(0), StackAlignment(0) {
404 AttrBuilder(const Attribute &A) : Attrs(0), Alignment(0), StackAlignment(0) {
453 uint64_t getAlignment() const { return Alignment; }

Completed in 246 milliseconds

123456