/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | RecyclingAllocator.h | 26 size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment> 31 Recycler<T, Size, Align> Base; 59 template<class AllocatorType, class T, size_t Size, size_t Align> 62 T, Size, Align> &Allocator) { 66 template<class AllocatorType, class T, size_t Size, size_t Align> 69 T, Size, Align> &A) {
|
H A D | Recycler.h | 30 void PrintRecyclerStats(size_t Size, size_t Align, size_t FreeListSize); 66 template<class T, size_t Size = sizeof(T), size_t Align = AlignOf<T>::Alignment> 105 assert(AlignOf<SubClass>::Alignment <= Align && 109 static_cast<SubClass *>(Allocator.Allocate(Size, Align)); 123 PrintRecyclerStats(Size, Align, FreeList.size());
|
H A D | ArrayRecycler.h | 30 template<class T, size_t Align = AlignOf<T>::Alignment> 57 assert(Align >= AlignOf<FreeList>::Alignment && "Object underaligned"); 129 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align));
|
H A D | MathExtras.h | 449 /// \p Value and is a multiple of \p Align. \p Align must be non-zero. 457 inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align) { argument 458 return ((Value + Align - 1) / Align) * Align; 462 /// or equal to \p Value and is a multiple of \p Align. \p Align must be 464 inline uint64_t OffsetToAlignment(uint64_t Value, uint64_t Align) { argument 465 return RoundUpToAlignment(Value, Align) [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonSelectionDAGInfo.cpp | 31 SDValue Dst, SDValue Src, SDValue Size, unsigned Align, 36 if ((Align & 0x3) == 0) { 30 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument
|
H A D | HexagonSelectionDAGInfo.h | 32 SDValue Size, unsigned Align,
|
H A D | HexagonCallingConvLower.h | 165 unsigned AllocateStack(unsigned Size, unsigned Align) { argument 166 assert(Align && ((Align-1) & Align) == 0); // Align is power of 2. 167 StackOffset = ((StackOffset + Align-1) & ~(Align-1));
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | Loads.h | 30 unsigned Align, const DataLayout *TD = 0);
|
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.h | 51 SDValue Size, unsigned Align, 61 SDValue Op3, unsigned Align,
|
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/ |
H A D | X86SelectionDAGInfo.h | 40 SDValue Size, unsigned Align, 48 SDValue Size, unsigned Align,
|
H A D | X86SelectionDAGInfo.cpp | 33 SDValue Size, unsigned Align, 45 if ((Align & 3) != 0 || 93 switch (Align & 3) { 104 if (Subtarget->is64Bit() && ((Align & 0x7) == 0)) { // QWORD aligned 170 Align, isVolatile, DstPtrInfo.getWithOffset(Offset)); 180 SDValue Size, unsigned Align, 197 if (!AlwaysInline && (Align & 3) != 0) 214 if (Align & 1) 216 else if (Align & 2) 218 else if (Align 30 EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument 178 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Target/ |
H A D | TargetSelectionDAGInfo.h | 60 SDValue Op3, unsigned Align, bool isVolatile, 77 SDValue Op3, unsigned Align, bool isVolatile, 93 SDValue Op3, unsigned Align, bool isVolatile, 57 EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Op1, SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument 74 EmitTargetCodeForMemmove(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Op1, SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const argument 90 EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, SDValue Chain, SDValue Op1, SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const argument
|
/freebsd-10.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | CallingConvLower.h | 335 unsigned AllocateStack(unsigned Size, unsigned Align) { argument 336 assert(Align && ((Align-1) & Align) == 0); // Align is power of 2. 337 StackOffset = ((StackOffset + Align-1) & ~(Align-1)); 340 MF.getFrameInfo()->ensureMaxAlignment(Align); 345 unsigned AllocateStack(unsigned Size, unsigned Align, unsigned ShadowReg) { argument 347 return AllocateStack(Size, Align); [all...] |
H A D | MachineFrameInfo.h | 318 void setLocalFrameMaxAlign(unsigned Align) { LocalFrameMaxAlign = Align; } argument 367 void setObjectAlignment(int ObjectIdx, unsigned Align) { argument 370 Objects[ObjectIdx+NumFixedObjects].Alignment = Align; 371 ensureMaxAlignment(Align); 439 /// ensureMaxAlignment - Make sure the function is at least Align bytes 441 void ensureMaxAlignment(unsigned Align);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Frontend/ |
H A D | LayoutOverrideSource.h | 32 uint64_t Align; member in struct:clang::LayoutOverrideSource::Layout
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ItaniumCXXABI.cpp | 41 unsigned Align = Target.getTypeAlign(PtrDiff); local 44 return std::make_pair(Width, Align);
|
H A D | MicrosoftCXXABI.cpp | 173 unsigned Align = Ptrs > 0 ? Target.getPointerAlign(0) : Target.getIntAlign(); local 174 Width = llvm::RoundUpToAlignment(Width, Align); 175 return std::make_pair(Width, Align);
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | Loads.cpp | 57 unsigned Align, const DataLayout *TD) { 84 if (Align <= BaseAlign) { 92 (Align == 0 || (ByteOffset % Align) == 0)) 56 isSafeToLoadUnconditionally(Value *V, Instruction *ScanFrom, unsigned Align, const DataLayout *TD) argument
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/ |
H A D | CallingConvLower.cpp | 46 unsigned Align = ArgFlags.getByValAlign(); local 50 if (MinAlign > (int)Align) 51 Align = MinAlign; 52 MF.getFrameInfo()->ensureMaxAlignment(Align); 53 TM.getTargetLowering()->HandleByVal(this, Size, Align); 54 unsigned Offset = AllocateStack(Size, Align);
|
H A D | PrologEpilogInserter.cpp | 254 unsigned Align = RC->getAlignment(); local 260 Align = std::min(Align, StackAlign); 261 FrameIdx = MFI->CreateStackObject(RC->getSize(), Align, true); 458 unsigned Align = MFI->getObjectAlignment(FrameIdx); local 462 MaxAlign = std::max(MaxAlign, Align); 465 Offset = (Offset + Align - 1) / Align * Align; 527 unsigned Align local 536 unsigned Align = MFI->getObjectAlignment(i); local 564 unsigned Align = MFI->getLocalFrameMaxAlign(); local [all...] |
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | AttributeImpl.h | 68 unsigned Align; member in class:llvm::AlignAttributeEntry 70 AlignAttributeEntry(Attribute::AttrKind Kind, unsigned Align) argument 71 : AttributeEntry(AlignAttrEntry), Kind(Kind), Align(Align) {} 74 unsigned getAlignment() const { return Align; } 112 AttributeImpl(LLVMContext &C, Attribute::AttrKind Kind, unsigned Align);
|
H A D | Globals.cpp | 58 void GlobalValue::setAlignment(unsigned Align) { argument 59 assert((Align & (Align-1)) == 0 && "Alignment is not a power of 2!"); 60 assert(Align <= MaximumAlignment && 62 Alignment = Log2_32(Align) + 1; 63 assert(getAlignment() == Align && "Alignment representation error!");
|
H A D | IRBuilder.cpp | 64 CreateMemSet(Value *Ptr, Value *Val, Value *Size, unsigned Align, argument 67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; 82 CreateMemCpy(Value *Dst, Value *Src, Value *Size, unsigned Align, argument 87 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) }; 106 CreateMemMove(Value *Dst, Value *Src, Value *Size, unsigned Align, argument 111 Value *Ops[] = { Dst, Src, Size, getInt32(Align), getInt1(isVolatile) };
|
H A D | DataLayout.cpp | 395 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 396 Align *= cast<VectorType>(Ty)->getNumElements(); 399 if (Align & (Align-1)) 400 Align = NextPowerOf2(Align); 401 return Align; 547 unsigned Align = getAlignmentInfo(AGGREGATE_ALIGN, 0, abi_or_pref, Ty); 548 return std::max(Align, Layout->getAlignment()); 599 unsigned Align [all...] |
/freebsd-10.0-release/contrib/llvm/utils/TableGen/ |
H A D | CallingConvEmitter.cpp | 174 int Align = Action->getValueAsInt("Align"); local 183 if (Align) 184 O << Align; local 213 int Align = Action->getValueAsInt("Align"); local 216 << Size << ", " << Align << ", ArgFlags);\n"; local
|