/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 | 88 // Check for the alignment of the type. 89 Pos = LineStr.find("Alignment:"); 91 // Skip past the "Alignment:" prefix. 92 LineStr = LineStr.substr(Pos + strlen("Alignment:")); 94 unsigned long long Alignment = 0; 95 (void)LineStr.getAsInteger(10, Alignment); 96 CurrentLayout.Align = Alignment; 100 // Check for the size/alignment of the type. 116 // Parse alignment. 117 unsigned long long Alignment = 0 [all...] |
/external/clang/test/CodeGenCXX/ |
alloca-align.cpp | 5 unsigned Alignment;
|
/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/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; 188 /// getAlignment - Return the alignment (log2, not bytes) of the function. 190 unsigned getAlignment() const { return Alignment; } 192 /// setAlignment - Set the alignment (log2, not bytes) of the function. 194 void setAlignment(unsigned A) { Alignment = A; } 198 if (Alignment < A) Alignment = A; 223 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.
|
/frameworks/compile/mclinker/include/mcld/LD/ |
Fragment.h | 32 Alignment,
|
/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/llvm/include/llvm/Support/ |
AlignOf.h | 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===// 32 /// the alignment of the template argument. For example, 33 /// AlignOf<int>::Alignment represents the alignment of type "int". The 34 /// alignment calculated is the minimum alignment, and not necessarily 35 /// the "desired" alignment returned by GCC's __alignof__ (for example). Note 36 /// that because the alignment is an enum value, it can be used as a 40 enum { Alignment = 43 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 } [all...] |
/external/llvm/lib/Transforms/Scalar/ |
GlobalMerge.cpp | 185 unsigned Alignment = TD->getPreferredAlignment(I); 187 if (Alignment > TD->getABITypeAlignment(Ty))
|
LICM.cpp | 665 int Alignment; 672 AliasSetTracker &ast, DebugLoc dl, int alignment) 675 AST(ast), DL(dl), Alignment(alignment) {} 697 NewSI->setAlignment(Alignment); 749 // We start with an alignment of one and try to find instructions that allow 750 // us to prove better alignment. 751 unsigned Alignment = 1; 792 // If the alignment of this instruction allows us to specify a more 793 // 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/include/llvm/ |
Attributes.h | 115 DECLARE_LLVM_ATTRIBUTE(Alignment,31<<16) ///< Alignment of parameter (5 bits) 116 // stored as log2 of alignment with +1 bias 125 DECLARE_LLVM_ATTRIBUTE(StackAlignment,7<<26) ///< Alignment of stack for 127 ///of alignment with +1 bias 179 /// This turns an int alignment (a power of 2, normally) into the 182 // Default alignment, allow the target to define how to align it. 186 assert(isPowerOf2_32(i) && "Alignment must be a power of two."); 187 assert(i <= 0x40000000 && "Alignment too large."); 191 /// This returns the alignment field of an attribute as a byte alignment value [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 728 unsigned Alignment; 729 if (ParseOptionalAlignment(Alignment)) return true; 730 GV->setAlignment(Alignment); 932 (Attrs & ~(Attribute::FunctionOnly | Attribute::Alignment))) [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/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)); 220 unsigned Alignment = LD->getAlignment(); 228 isVolatile, isNonTemporal, isInvariant, Alignment); 237 MinAlign(Alignment, IncrementSize)); 406 unsigned Alignment = St->getAlignment(); 420 isVolatile, isNonTemporal, Alignment); 428 MinAlign(Alignment, IncrementSize));
|
LegalizeVectorOps.cpp | 399 unsigned Alignment = ST->getAlignment(); 429 isVolatile, isNonTemporal, Alignment);
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyld.cpp | 235 unsigned Alignment = (unsigned)Alignment64 & 0xffffffffL; 255 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID) 256 : 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...] |