/macosx-10.10.1/llvmCore-3425.0.34/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::__anon9774 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...] |
/macosx-10.10.1/objc4-646/runtime/ |
H A D | llvm-AlignOf.h | 34 /// AlignOf<int>::Alignment represents the alignment of type "int". The 41 enum { Alignment = enumerator in enum:objc::AlignOf::__anon11374 44 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }; 45 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 }; 46 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 }; 47 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 }; 49 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 }; 50 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 }; 51 enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 }; 52 enum { Alignment_LessEqual_16Bytes = Alignment < [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/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);
|
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/ |
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 | 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 | MachineFrameInfo.h | 91 // Alignment - The required alignment of this stack slot. 92 unsigned Alignment; member in struct:llvm::MachineFrameInfo::StackObject 118 : SPOffset(SP), Size(Sz), Alignment(Al), isImmutable(IM), 360 return Objects[ObjectIdx+NumFixedObjects].Alignment; 367 Objects[ObjectIdx+NumFixedObjects].Alignment = Align; 498 int CreateStackObject(uint64_t Size, unsigned Alignment, bool isSS, argument 501 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, MayNeedSP, 505 ensureMaxAlignment(Alignment); 513 int CreateSpillStackObject(uint64_t Size, unsigned Alignment) { argument 514 CreateStackObject(Size, Alignment, tru 532 CreateVariableSizedObject(unsigned Alignment) argument [all...] |
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));
|
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/ |
H A D | AlignOfTest.cpp | 1 //=== - llvm/unittest/Support/AlignOfTest.cpp - Alignment utility tests ----===// 71 [AlignOf<char>::Alignment > 0] 72 [AlignOf<short>::Alignment > 0] 73 [AlignOf<int>::Alignment > 0] 74 [AlignOf<long>::Alignment > 0] 75 [AlignOf<long long>::Alignment > 0] 76 [AlignOf<float>::Alignment > 0] 77 [AlignOf<double>::Alignment > 0] 78 [AlignOf<long double>::Alignment > 0] 79 [AlignOf<void *>::Alignment > [all...] |
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));
|
/macosx-10.10.1/llvmCore-3425.0.34/tools/lli/ |
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
|
H A D | RecordingMemoryManager.h | 46 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 49 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, 63 unsigned Alignment); 66 uint8_t *allocateSpace(intptr_t Size, unsigned Alignment); 67 uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment);
|
H A D | RemoteTarget.h | 39 /// @param Alignment Required minimum alignment for allocated space. 44 bool allocateSpace(size_t Size, unsigned Alignment, uint64_t &Address);
|
H A D | lli.cpp | 212 virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 215 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, 251 unsigned Alignment) { 259 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) { argument 263 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) { argument 285 unsigned Alignment, 287 if (!Alignment) 288 Alignment = 16; 289 uint8_t *Addr = (uint8_t*)calloc((Size + Alignment - 1)/Alignment, Alignmen 250 allocateStub(const GlobalValue* F, unsigned StubSize, unsigned Alignment) argument 284 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) argument 294 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) argument [all...] |
H A D | RemoteTarget.cpp | 23 bool RemoteTarget::allocateSpace(size_t Size, unsigned Alignment, argument 29 if ((uintptr_t)Mem.base() % Alignment) {
|
/macosx-10.10.1/llvmCore-3425.0.34/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...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ExecutionEngine/ |
H A D | JITMemoryManager.h | 104 unsigned Alignment) = 0; 120 virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 128 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, 133 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) = 0; 136 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0;
|
H A D | RuntimeDyld.h | 40 virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 45 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
|
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Target/ |
H A D | TargetData.h | 56 unsigned 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);
|
/macosx-10.10.1/llvmCore-3425.0.34/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);
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/ |
H A D | MachineFunction.cpp | 66 Alignment = TM.getTargetLowering()->getMinFunctionAlignment(); 69 Alignment = std::max(Alignment, 520 OS << ", align=" << SO.Alignment; 719 unsigned Alignment) { 720 assert(Alignment && "Alignment must be specified!"); 721 if (Alignment > PoolAlignment) PoolAlignment = Alignment; 729 if ((unsigned)Constants[i].getAlignment() < Alignment) 718 getConstantPoolIndex(const Constant *C, unsigned Alignment) argument 738 getConstantPoolIndex(MachineConstantPoolValue *V, unsigned Alignment) argument [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/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
|
/macosx-10.10.1/llvmCore-3425.0.34/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
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/JIT/ |
H A D | JITMemoryManager.cpp | 434 uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) { argument 440 if (Alignment == 0) Alignment = 1; 441 result = (uint8_t*)(((intptr_t)result+Alignment-1) & 442 ~(intptr_t)(Alignment-1)); 452 unsigned Alignment) { 453 return (uint8_t*)StubAllocator.Allocate(StubSize, Alignment); 457 uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) { argument 458 return (uint8_t*)DataAllocator.Allocate(Size, Alignment); 462 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, argument 451 allocateStub(const GlobalValue* F, unsigned StubSize, unsigned Alignment) argument 503 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) argument [all...] |