/external/llvm/lib/Target/Hexagon/ |
HexagonVarargsCallingConvention.h | 77 unsigned Alignment = 87 // Hexagon_TODO: Get the alignment of the contained type here. 88 Alignment = 8; 91 unsigned Offset3 = State.AllocateStack(Size, Alignment); 132 unsigned Alignment = 137 unsigned Offset3 = State.AllocateStack(Size, Alignment);
|
/external/clang/lib/Frontend/ |
LayoutOverrideSource.cpp | 89 // Check for the alignment of the type. 90 Pos = LineStr.find("Alignment:"); 92 // Skip past the "Alignment:" prefix. 93 LineStr = LineStr.substr(Pos + strlen("Alignment:")); 95 unsigned long long Alignment = 0; 96 (void)LineStr.getAsInteger(10, Alignment); 97 CurrentLayout.Align = Alignment; 101 // Check for the size/alignment of the type. 117 // Parse alignment. 118 unsigned long long Alignment = 0 [all...] |
/external/clang/test/CodeGenCXX/ |
alloca-align.cpp | 5 unsigned Alignment;
|
/external/llvm/unittests/Support/ |
AllocatorTest.cpp | 112 // Allocate space for the alignment, the slab, and a void* that goes right 114 size_t Alignment = 4096; 115 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*)); 118 MemSlab *Slab = (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) & 119 ~(uintptr_t)(Alignment - 1)); 139 // Allocate a large-ish block with a really large alignment so that the 140 // allocator will think that it has space, but after it does the alignment it
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
Fragment.h | 33 Alignment,
|
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.h | 23 uptr Alignment;
|
/external/llvm/include/llvm/CodeGen/ |
MachineConstantPool.h | 56 unsigned Alignment) = 0; 83 /// The required alignment for this entry. The top bit is set when Val is 85 unsigned Alignment; 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)); 136 unsigned PoolAlignment; ///< The alignment for the pool. 146 /// getConstantPoolAlignment - Return the alignment required b [all...] |
MachineFunction.h | 124 /// Alignment - The alignment of the function. 125 unsigned Alignment; 195 /// getAlignment - Return the alignment (log2, not bytes) of the function. 197 unsigned getAlignment() const { return Alignment; } 199 /// setAlignment - Set the alignment (log2, not bytes) of the function. 201 void setAlignment(unsigned A) { Alignment = A; } 205 if (Alignment < A) Alignment = A; 241 AlignOf<Ty>::Alignment)); [all...] |
/external/llvm/include/llvm/Target/ |
TargetJITInfo.h | 53 /// Records the required size and alignment for a call stub in bytes. 56 size_t Alignment; 58 /// Returns the maximum size and alignment for a call stub on this target.
|
/external/clang/include/clang/AST/ |
RecordLayout.h | 66 // Alignment - Alignment of record in characters. 67 CharUnits Alignment; 81 /// NonVirtualAlign - The non-virtual alignment (in chars) of an object, 82 /// which is the alignment of the object without virtual bases. 117 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, 124 CharUnits size, CharUnits alignment, 143 /// getAlignment - Get the record alignment in characters. 144 CharUnits getAlignment() const { return Alignment; } 173 /// getNonVirtualSize - Get the non-virtual alignment (in chars) of an object [all...] |
/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/eigen/Eigen/src/Core/ |
StableNorm.h | 52 Alignment = (int(Flags)&DirectAccessBit) || (int(Flags)&AlignedBit) ? 1 : 0 59 internal::stable_norm_kernel(this->segment(bi,(min)(blockSize, n - bi)).template forceAlignedAccessIf<Alignment>(), ssq, scale, invScale);
|
/external/llvm/include/llvm/Support/ |
AlignOf.h | 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===// 31 /// the alignment of the template argument. For example, 32 /// AlignOf<int>::Alignment represents the alignment of type "int". The 33 /// alignment calculated is the minimum alignment, and not necessarily 34 /// the "desired" alignment returned by GCC's __alignof__ (for example). Note 35 /// that because the alignment is an enum value, it can be used as a 39 enum { Alignment = 42 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 } [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
GridLayoutTest.java | 45 private static abstract class Alignment { 51 protected Alignment(String name, int gravity) { 57 private static final Alignment[] HORIZONTAL_ALIGNMENTS = { 58 new Alignment("LEFT", Gravity.LEFT) { 64 new Alignment("CENTER", Gravity.CENTER_HORIZONTAL) { 70 new Alignment("RIGHT", Gravity.RIGHT) { 76 new Alignment("FILL", Gravity.FILL_HORIZONTAL) { 84 private static final Alignment[] VERTICAL_ALIGNMENTS = { 85 new Alignment("TOP", Gravity.TOP) { 91 new Alignment("CENTER", Gravity.CENTER_VERTICAL) 238 Alignment alignment = HORIZONTAL_ALIGNMENTS[j]; local 249 Alignment alignment = VERTICAL_ALIGNMENTS[i]; local [all...] |
/external/clang/lib/CodeGen/ |
CGDeclCXX.cpp | 32 CharUnits alignment = Context.getDeclAlign(&D); local 34 LValue lv = CGF.MakeAddrLValue(DeclPtr, type, alignment); 150 unsigned Alignment = getContext().getDeclAlign(&D).getQuantity(); 152 EmitStoreOfScalar(RV.getScalarVal(), DeclPtr, false, Alignment, T);
|
CGObjCRuntime.cpp | 111 // alignment of the bit-field, because (a) it is not clear what guarantees the 113 // at an alignment plus offset. 125 CharUnits Alignment = CGF.CGM.getContext().toCharUnitsFromBits(AlignmentBits); 136 Alignment.getQuantity())); 143 Alignment);
|
/external/clang/lib/Parse/ |
ParsePragma.cpp | 43 Token Alignment; 53 ExprResult Alignment; 54 if (Info->Alignment.is(tok::numeric_constant)) { 55 Alignment = Actions.ActOnNumericConstant(Info->Alignment); 56 if (Alignment.isInvalid()) 59 Actions.ActOnPragmaPack(Info->Kind, Info->Name, Alignment.get(), PragmaLoc, 230 Token Alignment; 231 Alignment.startToken(); 235 Alignment = Tok [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
BillboardControl.java | 55 private Alignment alignment; field in class:BillboardControl 60 public enum Alignment { 87 alignment = Alignment.Screen; 92 control.alignment = this.alignment; 126 switch (alignment) { 271 * Returns the alignment this Billboard is set too. 273 * @return The alignment of rotation, AxialY, AxialZ, Camera or Screen [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64ISelDAGToDAG.cpp | 260 unsigned Alignment = TLI.getDataLayout()->getABITypeAlignment(CV->getType()); 266 CurDAG->getConstant(Alignment, MVT::i32)); 273 Alignment).getNode(); 282 unsigned Alignment = TLI.getDataLayout()->getABITypeAlignment(FV->getType()); 292 CurDAG->getConstant(Alignment, MVT::i32)); 299 Alignment).getNode();
|
/external/llvm/lib/Target/X86/ |
X86JITInfo.cpp | 445 const unsigned Alignment = 8; 451 const unsigned Alignment = 4; 456 return JCE.allocIndirectGV(GV, Buffer, sizeof(Buffer), Alignment);
|
/external/llvm/lib/Transforms/Scalar/ |
GlobalMerge.cpp | 260 unsigned Alignment = TD->getPreferredAlignment(I); 262 if (Alignment > TD->getABITypeAlignment(Ty))
|
/external/llvm/include/llvm/ADT/ |
StringMap.h | 150 unsigned Alignment = alignOf<StringMapEntry>(); 153 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
|
/external/llvm/include/llvm/IR/ |
Attributes.h | 66 Alignment, ///< Alignment of parameter (5 bits) 67 ///< stored as log2 of alignment with +1 bias 92 StackAlignment, ///< Alignment of stack for function (3 bits) 93 ///< stored as log2 of alignment with +1 bias 0 124 /// alignment set. 135 /// \brief Return true if the attribute is an alignment attribute. 149 /// requires the attribute to be an enum or alignment attribute. 153 /// attribute be an alignment attribute. 164 /// \brief Returns the alignment field of an attribute as a byte alignmen [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 88 // If the alignment was parsed as an attribute, move to the alignment 92 FnAttrs.removeAttribute(Attribute::Alignment); 792 unsigned Alignment; 793 if (ParseOptionalAlignment(Alignment)) return true; 794 GV->setAlignment(Alignment); 883 unsigned Alignment; 887 ParseUInt32(Alignment)) 890 if (ParseOptionalAlignment(Alignment)) 893 B.addAlignmentAttr(Alignment); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 152 unsigned Alignment = 155 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); 175 false, false, MinAlign(Alignment, IncrementSize)); 254 unsigned Alignment = LD->getAlignment(); 262 isVolatile, isNonTemporal, isInvariant, Alignment); 271 MinAlign(Alignment, IncrementSize)); 440 unsigned Alignment = St->getAlignment(); 454 isVolatile, isNonTemporal, Alignment); 462 MinAlign(Alignment, IncrementSize));
|