HomeSort by relevance Sort by last modified time
    Searched defs:Alignment (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/clang/test/CodeGenCXX/
alloca-align.cpp 5 unsigned Alignment;
  /external/llvm/include/llvm/Support/
AlignOf.h 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===//
29 /// the alignment of the template argument. For example,
30 /// AlignOf<int>::Alignment represents the alignment of type "int". The
31 /// alignment calculated is the minimum alignment, and not necessarily
32 /// the "desired" alignment returned by GCC's __alignof__ (for example). Note
33 /// that because the alignment is an enum value, it can be used as a
37 enum { Alignment =
40 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }
    [all...]
  /external/llvm/unittests/Support/
AllocatorTest.cpp 105 // Allocate space for the alignment, the slab, and a void* that goes right
107 size_t Alignment = 4096;
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));
132 // Allocate a large-ish block with a really large alignment so that the
133 // allocator will think that it has space, but after it does the alignment it
  /external/clang/include/clang/AST/
RecordLayout.h 45 // Alignment - Alignment of record in characters.
46 CharUnits Alignment;
57 /// NonVirtualAlign - The non-virtual alignment (in chars) of an object,
58 /// which is the alignment of the object without virtual bases.
88 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment,
95 CharUnits size, CharUnits alignment, CharUnits vbptroffset,
113 /// getAlignment - Get the record alignment in characters.
114 CharUnits getAlignment() const { return Alignment; }
143 /// getNonVirtualSize - Get the non-virtual alignment (in chars) of an object
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineConstantPool.h 55 unsigned Alignment) = 0;
82 /// The required alignment for this entry. The top bit is set when Val is
84 unsigned Alignment;
87 : Alignment(A) {
91 : Alignment(A) {
93 Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1);
100 return (int)Alignment < 0;
104 return Alignment & ~(1 << (sizeof(unsigned)*CHAR_BIT-1));
135 unsigned PoolAlignment; ///< The alignment for the pool.
145 /// getConstantPoolAlignment - Return the alignment required b
    [all...]
MachineFunction.h 120 /// Alignment - The alignment of the function.
121 unsigned Alignment;
182 /// getAlignment - Return the alignment (log2, not bytes) of the function.
184 unsigned getAlignment() const { return Alignment; }
186 /// setAlignment - Set the alignment (log2, not bytes) of the function.
188 void setAlignment(unsigned A) { Alignment = A; }
192 if (Alignment < A) Alignment = A;
215 AlignOf<Ty>::Alignment));
    [all...]
  /external/llvm/include/llvm/Target/
TargetJITInfo.h 52 /// Records the required size and alignment for a call stub in bytes.
55 size_t Alignment;
57 /// Returns the maximum size and alignment for a call stub on this target.
  /external/clang/lib/Parse/
ParsePragma.cpp 104 ExprResult Alignment;
108 Alignment = Actions.ActOnNumericConstant(Tok);
109 if (Alignment.isInvalid())
133 Alignment = Actions.ActOnNumericConstant(Tok);
134 if (Alignment.isInvalid())
150 Alignment = Actions.ActOnNumericConstant(Tok);
151 if (Alignment.isInvalid())
176 Actions.ActOnPragmaPack(Kind, Name, Alignment.release(), PackLoc,
  /external/clang/lib/Sema/
SemaAttr.cpp 30 // alignment.
33 unsigned Alignment;
42 /// Alignment - The current user specified alignment.
43 unsigned Alignment;
50 PragmaPackStack() : Alignment(0) {}
52 void setAlignment(unsigned A) { Alignment = A; }
53 unsigned getAlignment() { return Alignment; }
55 /// push - Push the current alignment onto the stack, optionally
58 PackStackEntry PSE = { Alignment, Name }
    [all...]
  /external/llvm/lib/Target/X86/
X86JITInfo.cpp 446 const unsigned Alignment = 8;
452 const unsigned Alignment = 4;
457 return JCE.allocIndirectGV(GV, Buffer, sizeof(Buffer), Alignment);
  /external/llvm/lib/Transforms/Scalar/
GlobalMerge.cpp 185 unsigned Alignment = I->getAlignment();
187 if (Alignment > TD->getABITypeAlignment(Ty))
LICM.cpp 618 int Alignment;
624 DebugLoc dl, int alignment)
627 Alignment(alignment) {}
649 NewSI->setAlignment(Alignment);
699 // We start with an alignment of one and try to find instructions that allow
700 // us to prove better alignment.
701 unsigned Alignment = 1;
742 // If the alignment of this instruction allows us to specify a more
743 // restrictive (and performant) alignment and if we are sure thi
    [all...]
  /external/clang/lib/CodeGen/
CGDeclCXX.cpp 31 unsigned alignment = Context.getDeclAlign(&D).getQuantity(); local
33 LValue lv = CGF.MakeAddrLValue(DeclPtr, type, alignment);
116 unsigned Alignment = getContext().getDeclAlign(&D).getQuantity();
118 EmitStoreOfScalar(RV.getScalarVal(), DeclPtr, false, Alignment, T);
CGRecordLayoutBuilder.cpp 100 /// Alignment - Contains the alignment of the RecordDecl.
101 CharUnits Alignment;
157 /// struct size is a multiple of the field alignment.
179 /// getAlignmentAsLLVMStruct - Returns the maximum alignment of all the
201 Alignment = Types.getContext().getASTRecordLayout(D).getAlignment();
427 // don't affect the struct alignment.
445 // If the type alignment is larger then the struct alignment, we must use
447 if (typeAlignment > Alignment) {
    [all...]
  /external/llvm/include/llvm/
Attributes.h 53 const Attributes Alignment = 31<<16; ///< Alignment of parameter (5 bits)
54 // stored as log2 of alignment with +1 bias
63 const Attributes StackAlignment = 7<<26; ///< Alignment of stack for
65 ///of alignment with +1 bias
111 /// This turns an int alignment (a power of 2, normally) into the
114 // Default alignment, allow the target to define how to align it.
118 assert(isPowerOf2_32(i) && "Alignment must be a power of two.");
119 assert(i <= 0x40000000 && "Alignment too large.");
123 /// This returns the alignment field of an attribute as a byte alignment value
    [all...]
  /external/llvm/include/llvm/MC/
MCRegisterInfo.h 32 const unsigned RegSize, Alignment; // Size & Alignment of register in bytes
43 : ID(id), Name(name), RegSize(RS), Alignment(Al), CopyCost(CC),
93 /// getAlignment - Return the minimum required alignment for a register of
95 unsigned getAlignment() const { return Alignment; }
  /external/llvm/lib/AsmParser/
LLParser.cpp 731 unsigned Alignment;
732 if (ParseOptionalAlignment(Alignment)) return true;
733 GV->setAlignment(Alignment);
895 (Attrs & ~(Attribute::FunctionOnly | Attribute::Alignment)))
929 unsigned Alignment;
930 if (ParseOptionalStackAlignment(Alignment))
932 Attrs |= Attribute::constructStackAlignmentFromInt(Alignment);
937 unsigned Alignment;
938 if (ParseOptionalAlignment(Alignment))
940 Attrs |= Attribute::constructAlignmentFromInt(Alignment);
    [all...]
  /external/llvm/lib/Target/
TargetData.cpp 1 //===-- TargetData.cpp - Data size & alignment routines --------------------==//
10 // This file defines target properties related to datatype size/offset/alignment
59 // Keep track of maximum alignment constraint.
66 // Empty structures have alignment of 1 byte.
103 assert(abi_align <= pref_align && "Preferred alignment worse than ABI!");
222 case 'S': // Stack natural alignment.
251 assert(abi_align <= pref_align && "Preferred alignment worse than ABI!");
266 /// getAlignmentInfo - Return the alignment (either ABI if ABIInfo = true or
298 // If we didn't find an integer alignment, fall back on most conservative.
302 assert(AlignType == VECTOR_ALIGN && "Unknown alignment type!")
    [all...]
  /external/llvm/include/llvm/ADT/
StringMap.h 159 unsigned Alignment = alignOf<StringMapEntry>();
162 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  /external/llvm/lib/CodeGen/
MachineBasicBlock.cpp 37 : BB(bb), Number(-1), xParent(&mf), Alignment(0), IsLandingPad(false),
206 if (Alignment) { OS << "Alignment " << Alignment << "\n"; }
  /external/llvm/lib/CodeGen/SelectionDAG/
LegalizeTypesGeneric.cpp 121 unsigned Alignment =
124 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment);
143 false, MinAlign(Alignment, IncrementSize));
212 unsigned Alignment = LD->getAlignment();
219 isVolatile, isNonTemporal, Alignment);
228 MinAlign(Alignment, IncrementSize));
397 unsigned Alignment = St->getAlignment();
411 isVolatile, isNonTemporal, Alignment);
419 MinAlign(Alignment, IncrementSize));
LegalizeVectorOps.cpp 342 unsigned Alignment = ST->getAlignment();
372 isVolatile, isNonTemporal, Alignment);
  /external/llvm/lib/Linker/
LinkModules.cpp 427 // Use the maximum alignment, rather than just copying the alignment of SrcGV.
428 unsigned Alignment = std::max(DestGV->getAlignment(), SrcGV->getAlignment());
430 DestGV->setAlignment(Alignment);
572 "Appending variables with different alignment need to be linked!");
592 // Propagate alignment, visibility and section info.
662 // Propagate alignment, visibility and section info.
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/Bass/lib/
LVDBE.h 142 LVDBE_ALIGNMENTERROR = 1, /* Memory alignment error */
227 LVM_UINT16 Alignment; /* Region alignment in bytes */
329 /* LVDBE_ALIGNMENTERROR Instance or scratch memory on incorrect alignment */
  /frameworks/base/media/libeffects/lvm/lib/Eq/lib/
LVEQNB.h 149 LVEQNB_ALIGNMENTERROR = 1, /* Memory alignment error */
229 LVM_UINT16 Alignment; /* Region alignment in bytes */

Completed in 1774 milliseconds

1 2 3