Searched refs:Alignment (Results 51 - 75 of 236) sorted by relevance

12345678910

/external/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.h71 unsigned Alignment) {
72 unsigned AlignMask = Alignment - 1;
109 unsigned Alignment) override;
168 unsigned Alignment) override;
202 unsigned Alignment) override;
238 unsigned Alignment) override;
70 getExistingMachineCPValueImpl(MachineConstantPool *CP, unsigned Alignment) argument
/external/llvm/include/llvm/Support/
H A DAllocator.h44 /// \brief Allocate \a Size bytes of \a Alignment aligned memory. This method
46 void *Allocate(size_t Size, size_t Alignment) { argument
55 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
77 return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
93 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); }
203 void *Allocate(size_t Size, size_t Alignment) { argument
211 if (Alignment == 0)
212 Alignment = 1;
215 char *Ptr = alignPtr(CurPtr, Alignment);
228 size_t PaddedSize = Size + Alignment
[all...]
H A DRecycler.h65 template<class T, size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment>
102 static_assert(AlignOf<SubClass>::Alignment <= Align,
H A DRecyclingAllocator.h26 size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment>
/external/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp85 unsigned Alignment; member in struct:__anon26159::MBBInfo
91 : Address(0), Size(0), Alignment(0), NumTerminators(0) {}
178 if (Block.Alignment > Position.KnownBits) {
181 Position.Address += ((uint64_t(1) << Block.Alignment) -
183 Position.KnownBits = Block.Alignment;
187 uint64_t AlignMask = (uint64_t(1) << Block.Alignment) - 1;
277 Block.Alignment = MBB->getAlignment();
/external/llvm/lib/IR/
H A DAttributes.cpp79 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
80 assert(Align <= 0x40000000 && "Alignment too large.");
81 return get(Context, Alignment, Align);
86 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
87 assert(Align <= 0x100 && "Alignment too large.");
146 assert(hasAttribute(Attribute::Alignment) &&
244 if (hasAttribute(Attribute::Alignment)) {
377 case Attribute::Alignment: return 31 << 16;
473 if (I->hasAttribute(Attribute::Alignment))
514 if (Kind == Attribute::Alignment)
[all...]
/external/chromium_org/ui/views/controls/
H A Dimage_view.cc125 Alignment actual_horiz_alignment = horiz_alignment_;
169 void ImageView::SetHorizontalAlignment(Alignment ha) {
176 ImageView::Alignment ImageView::GetHorizontalAlignment() const {
180 void ImageView::SetVerticalAlignment(Alignment va) {
187 ImageView::Alignment ImageView::GetVerticalAlignment() const {
/external/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h233 /// @param[in] Alignment
241 unsigned Alignment);
265 /// @param[in] Alignment
271 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment);
280 /// @param[in] Alignment
289 virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
298 /// @param[in] Alignment
310 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
320 /// @param[in] Alignment
327 unsigned Alignment);
[all...]
/external/llvm/tools/lli/
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);
H A DRemoteTarget.h42 /// @param Alignment Required minimum alignment for allocated space.
48 unsigned Alignment,
/external/chromium_org/ui/views/layout/
H A Dgrid_layout.cc159 Column(GridLayout::Alignment h_align,
160 GridLayout::Alignment v_align,
178 GridLayout::Alignment h_align() { return h_align_; }
179 GridLayout::Alignment v_align() { return v_align_; }
195 const GridLayout::Alignment h_align_;
196 const GridLayout::Alignment v_align_;
313 int col_span, int row_span, GridLayout::Alignment h_align,
314 GridLayout::Alignment v_align, int pref_width, int pref_height)
341 const GridLayout::Alignment h_align;
342 const GridLayout::Alignment v_alig
[all...]
/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/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/include/llvm/CodeGen/
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));
/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; }
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp107 unsigned Alignment,
382 unsigned PPCTTI::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, argument
390 TargetTransformInfo::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
407 if (SrcBytes && Alignment && Alignment < SrcBytes && !UnalignedAltivec) {
408 Cost += LT.first*(SrcBytes/Alignment-1);
/external/clang/include/clang/AST/
H A DAttrIterator.h27 size_t Alignment = 16);
31 size_t Alignment);
/external/clang/lib/AST/
H A DRecordLayout.cpp37 : Size(size), DataSize(datasize), Alignment(alignment),
65 : Size(size), DataSize(datasize), Alignment(alignment),
/external/lldb/include/lldb/Symbol/
H A DClangExternalASTSourceCallbacks.h40 uint64_t &Alignment,
128 uint64_t &Alignment,
/external/chromium_org/chrome/browser/themes/
H A Dtheme_properties.h21 // The int values of OverwritableByUserThemeProperties, Alignment, and Tiling
59 enum Alignment { enum in class:ThemeProperties
115 // "top left" into a bitmask of Alignment.
122 // Converts a bitmask of Alignment into a string like "top left". The result
/external/chromium_org/mojo/public/cpp/bindings/tests/
H A Dbuffer_unittest.cc25 TEST(FixedBufferTest, Alignment) {
/external/chromium_org/ui/base/models/
H A Dtable_model.cc26 TableColumn::TableColumn(int id, Alignment alignment, int width, float percent)
/external/llvm/include/llvm/Target/
H A DTargetJITInfo.h56 size_t Alignment; member in struct:llvm::TargetJITInfo::StubLayout
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h37 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
40 return ClientMM->allocateCodeSection(Size, Alignment, SectionID, SectionName);
43 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
46 return ClientMM->allocateDataSection(Size, Alignment,
/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...]

Completed in 512 milliseconds

12345678910