Searched defs:Alignment (Results 1 - 25 of 229) sorted by relevance

12345678910

/external/llvm/lib/Target/Mips/
H A DMipsFrameLowering.h28 explicit MipsFrameLowering(const MipsSubtarget &sti, unsigned Alignment) argument
29 : TargetFrameLowering(StackGrowsDown, Alignment, 0, Alignment), STI(sti) {}
/external/clang/test/CodeGenCXX/
H A Dalloca-align.cpp5 unsigned Alignment; member in struct:s0
/external/llvm/include/llvm/Transforms/Utils/
H A DASanStackFrameLayout.h33 size_t Alignment; // Alignment of the variable (power of 2). member in struct:llvm::ASanStackVariableDescription
46 size_t FrameAlignment; // Alignment for the entire frame.
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h753 unsigned Alignment; member in struct:llvm::PPCTargetLowering::ReuseLoadInfo
757 ReuseLoadInfo() : IsInvariant(false), Alignment(0), Ranges(nullptr) {}
/external/llvm/lib/Target/SystemZ/
H A DSystemZConstantPoolValue.cpp30 getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) { argument
31 unsigned AlignMask = Alignment - 1;
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DAlignOf.h30 /// AlignOf<int>::Alignment represents the alignment of type "int". The
37 enum { Alignment = enumerator in enum:llvm::AlignOf::__anon22472
40 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 };
41 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 };
42 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 };
43 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 };
45 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 };
46 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 };
47 enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 };
48 enum { Alignment_LessEqual_16Bytes = Alignment <
[all...]
/external/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp90 Pos = LineStr.find("Alignment:");
92 // Skip past the "Alignment:" prefix.
93 LineStr = LineStr.substr(Pos + strlen("Alignment:"));
95 unsigned long long Alignment = 0; local
96 (void)LineStr.getAsInteger(10, Alignment);
97 CurrentLayout.Align = Alignment;
118 unsigned long long Alignment = 0; local
119 (void)LineStr.getAsInteger(10, Alignment);
120 CurrentLayout.Align = Alignment;
157 uint64_t &Size, uint64_t &Alignment,
156 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/llvm/include/llvm/MC/
H A DStringTableBuilder.h29 unsigned Alignment; member in class:llvm::StringTableBuilder
34 StringTableBuilder(Kind K, unsigned Alignment = 1);
/external/llvm/lib/CodeGen/
H A DSafeStackLayout.cpp36 void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, argument
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);
42 AdjustStackOffset(unsigned Offset, unsigned Size, unsigned Alignment) argument
[all...]
H A DSafeStackLayout.h35 unsigned Size, Alignment; member in struct:llvm::safestack::StackLayout::StackObject
48 void addObject(const Value *V, unsigned Size, unsigned Alignment,
/external/llvm/unittests/Support/
H A DAllocatorTest.cpp146 void *Allocate(size_t Size, size_t /*Alignment*/) {
149 size_t Alignment = 4096; local
150 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*));
153 void *Slab = (void *)alignAddr((char*)MemBase + sizeof(void *), Alignment);
/external/swiftshader/third_party/LLVM/unittests/Support/
H A DAllocatorTest.cpp107 size_t Alignment = 4096; local
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));
/external/clang/lib/CodeGen/
H A DAddress.h27 CharUnits Alignment; member in class:clang::CodeGen::Address
30 : Pointer(pointer), Alignment(alignment) {
69 return Alignment;
/external/clang/test/SemaCXX/
H A Dtypo-correction-cxx11.cpp31 long Alignment = __alignof__(Functor); local
/external/eigen/Eigen/src/Core/
H A DMap.h29 Alignment = int(MapOptions)&int(AlignedMask), enumerator in enum:Eigen::internal::traits::__anon5831
H A DRef.h26 Alignment = traits<Map<_PlainObjectType, _Options, _StrideType> >::Alignment enumerator in enum:Eigen::internal::traits::__anon5878
38 // NOTE, this indirection of evaluator<Derived>::Alignment is needed
42 // as "DerivedAlignment = (int(evaluator<Derived>::Alignment))," will make MSVC fail...
43 DerivedAlignment = int(evaluator<Derived>::Alignment),
44 AlignmentMatch = (int(traits<PlainObjectType>::Alignment)==int(Unaligned)) || (DerivedAlignment >= int(Alignment)), // FIXME the first condition is not very clear, it should be replaced by the required alignment
/external/llvm/lib/MC/
H A DStringTableBuilder.cpp19 StringTableBuilder::StringTableBuilder(Kind K, unsigned Alignment) argument
20 : K(K), Alignment(Alignment) {
130 if (!(Pos & (Alignment - 1))) {
137 size_t Start = alignTo(StringTable.size(), Alignment);
186 size_t Start = alignTo(Size, Alignment);
/external/llvm/lib/Transforms/Utils/
H A DASanStackFrameLayout.cpp30 return a.Alignment > b.Alignment;
38 // The resulting frame size is a multiple of Alignment.
39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) { argument
47 return alignTo(Res, Alignment);
61 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment);
67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment);
71 Vars[0].Alignment);
76 size_t Alignment local
[all...]
/external/swiftshader/third_party/subzero/src/
H A DIceGlobalInits.cpp185 if (Alignment > 0)
186 Stream << ", align " << Alignment; local
/external/capstone/
H A DMCRegisterInfo.h39 uint16_t RegSize, Alignment; // Size & Alignment of register in bytes member in struct:MCRegisterClass
/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h23 uptr Alignment; member in struct:__ubsan::TypeMismatchData
/external/eigen/Eigen/src/SparseCore/
H A DSparseDiagonalProduct.h42 enum { CoeffReadCost = HugeCost, Flags = Rhs::Flags&RowMajorBit, Alignment = 0 }; // FIXME CoeffReadCost & Flags enumerator in enum:Eigen::internal::product_evaluator::__anon6375
53 enum { CoeffReadCost = HugeCost, Flags = Lhs::Flags&RowMajorBit, Alignment = 0 }; // FIXME CoeffReadCost & Flags enumerator in enum:Eigen::internal::product_evaluator::__anon6376
/external/llvm/include/llvm/CodeGen/
H A DMachineConstantPool.h50 unsigned Alignment) = 0;
78 unsigned Alignment; member in class:llvm::MachineConstantPoolEntry
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));
143 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment);
145 unsigned Alignment);
/external/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h57 unsigned Alignment = 0; member in struct:llvm::COFFYAML::Section
/external/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp23 unsigned Alignment,
28 return allocateSection(RODataMem, Size, Alignment);
29 return allocateSection(RWDataMem, Size, Alignment);
33 unsigned Alignment,
36 return allocateSection(CodeMem, Size, Alignment);
41 unsigned Alignment) {
42 if (!Alignment)
43 Alignment = 16;
45 assert(!(Alignment & (Alignment
22 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
32 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
39 allocateSection(MemoryGroup &MemGroup, uintptr_t Size, unsigned Alignment) argument
[all...]

Completed in 660 milliseconds

12345678910