/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 | 87 // Check for the alignment of the type. 88 Pos = LineStr.find("Alignment:"); 90 // Skip past the "Alignment:" prefix. 91 LineStr = LineStr.substr(Pos + strlen("Alignment:")); 93 unsigned long long Alignment = 0; 94 (void)LineStr.getAsInteger(10, Alignment); 95 CurrentLayout.Align = Alignment; 99 // Check for the size/alignment of the type. 115 // Parse alignment. 116 unsigned long long Alignment = 0 [all...] |
/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 | 113 // Allocate space for the alignment, the slab, and a void* that goes right 115 size_t Alignment = 4096; 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)); 140 // Allocate a large-ish block with a really large alignment so that the 141 // 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. 91 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, 98 CharUnits size, CharUnits alignment, 117 /// getAlignment - Get the record alignment in characters. 118 CharUnits getAlignment() const { return Alignment; } 147 /// getNonVirtualSize - Get the non-virtual alignment (in chars) of an object [all...] |
/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 | 120 /// Alignment - The alignment of the function. 121 unsigned Alignment; 184 /// getAlignment - Return the alignment (log2, not bytes) of the function. 186 unsigned getAlignment() const { return Alignment; } 188 /// setAlignment - Set the alignment (log2, not bytes) of the function. 190 void setAlignment(unsigned A) { Alignment = A; } 194 if (Alignment < A) Alignment = A; 219 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/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 | 451 const unsigned Alignment = 8; 457 const unsigned Alignment = 4; 462 return JCE.allocIndirectGV(GV, Buffer, sizeof(Buffer), Alignment);
|
/external/llvm/lib/Transforms/Scalar/ |
GlobalMerge.cpp | 185 unsigned Alignment = TD->getPreferredAlignment(I); 187 if (Alignment > TD->getABITypeAlignment(Ty))
|
LICM.cpp | 631 int Alignment; 637 DebugLoc dl, int alignment) 640 Alignment(alignment) {} 662 NewSI->setAlignment(Alignment); 712 // We start with an alignment of one and try to find instructions that allow 713 // us to prove better alignment. 714 unsigned Alignment = 1; 755 // If the alignment of this instruction allows us to specify a more 756 // restrictive (and performant) alignment and if we are sure thi [all...] |
/external/clang/lib/CodeGen/ |
CGDeclCXX.cpp | 31 CharUnits alignment = Context.getDeclAlign(&D); local 33 LValue lv = CGF.MakeAddrLValue(DeclPtr, type, alignment); 143 unsigned Alignment = getContext().getDeclAlign(&D).getQuantity(); 145 EmitStoreOfScalar(RV.getScalarVal(), DeclPtr, false, Alignment, T);
|
/external/clang/lib/Parse/ |
ParsePragma.cpp | 43 Expr *Alignment; 53 Actions.ActOnPragmaPack(Info->Kind, Info->Name, Info->Alignment, PragmaLoc, 133 ExprResult Alignment; 137 Alignment = Actions.ActOnNumericConstant(Tok); 138 if (Alignment.isInvalid()) 143 // In MSVC/gcc, #pragma pack(4) sets the alignment without affecting 168 Alignment = Actions.ActOnNumericConstant(Tok); 169 if (Alignment.isInvalid()) 185 Alignment = Actions.ActOnNumericConstant(Tok); 186 if (Alignment.isInvalid() [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/AsmParser/ |
LLParser.cpp | 726 unsigned Alignment; 727 if (ParseOptionalAlignment(Alignment)) return true; 728 GV->setAlignment(Alignment); 890 (Attrs & ~(Attribute::FunctionOnly | Attribute::Alignment))) 925 unsigned Alignment; 926 if (ParseOptionalStackAlignment(Alignment)) 928 Attrs |= Attribute::constructStackAlignmentFromInt(Alignment); 933 unsigned Alignment; 934 if (ParseOptionalAlignment(Alignment)) 936 Attrs |= Attribute::constructAlignmentFromInt(Alignment); [all...] |
/external/llvm/include/llvm/ADT/ |
StringMap.h | 150 unsigned Alignment = alignOf<StringMapEntry>(); 153 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
|
/external/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 37 const uint16_t RegSize, Alignment; // Size & Alignment of register in bytes 84 /// getAlignment - Return the minimum required alignment for a register of 86 unsigned getAlignment() const { return Alignment; }
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 118 unsigned Alignment = 121 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); 141 false, false, MinAlign(Alignment, IncrementSize)); 210 unsigned Alignment = LD->getAlignment(); 218 isVolatile, isNonTemporal, isInvariant, Alignment); 227 MinAlign(Alignment, IncrementSize)); 396 unsigned Alignment = St->getAlignment(); 410 isVolatile, isNonTemporal, Alignment); 418 MinAlign(Alignment, IncrementSize));
|
LegalizeVectorOps.cpp | 344 unsigned Alignment = ST->getAlignment(); 374 isVolatile, isNonTemporal, Alignment);
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyld.cpp | 231 unsigned Alignment = (unsigned)Alignment64 & 0xffffffffL; 251 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID) 252 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID);
|
/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!"); 196 // Pointer ABI alignment. 200 return "invalid pointer ABI alignment, " 206 // Pointer preferred alignment. 210 return "invalid pointer preferred alignment, " 244 return std::string("invalid ") + field +"-abi-alignment field, [all...] |
/frameworks/av/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/av/media/libeffects/lvm/lib/Eq/lib/ |
LVEQNB.h | 149 LVEQNB_ALIGNMENTERROR = 1, /* Memory alignment error */ 229 LVM_UINT16 Alignment; /* Region alignment in bytes */
|