Searched defs:Alignment (Results 51 - 75 of 141) sorted by relevance

123456

/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp206 unsigned Alignment,
208 return PrevTTI->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
594 unsigned getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment,
205 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) const argument
/external/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp115 unsigned getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment,
499 unsigned Alignment,
498 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) const argument
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp73 unsigned Alignment = 0);
75 unsigned Alignment = 0);
156 unsigned Alignment) {
215 unsigned Alignment) {
155 EmitLoad(MVT VT, unsigned &ResultReg, Address &Addr, unsigned Alignment) argument
214 EmitStore(MVT VT, unsigned SrcReg, Address &Addr, unsigned Alignment) argument
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp96 unsigned getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment,
778 unsigned X86TTI::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, argument
799 Alignment,
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp100 void useSpace(uintptr_t* UsedSize, uintptr_t Size, unsigned Alignment) { argument
101 uintptr_t AlignedSize = (Size + Alignment - 1) / Alignment * Alignment;
102 uintptr_t AlignedBegin = (*UsedSize + Alignment - 1) / Alignment * Alignment;
106 virtual uint8_t* allocateDataSection(uintptr_t Size, unsigned Alignment, argument
108 useSpace(IsReadOnly ? &UsedDataSizeRO : &UsedDataSizeRW, Size, Alignment);
109 return SectionMemoryManager::allocateDataSection(Size, Alignment,
113 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
[all...]
/external/chromium_org/v8/src/x87/
H A Dcodegen-x87.cc54 enum Alignment { MOVE_ALIGNED, MOVE_UNALIGNED }; enum in namespace:v8::internal
/external/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp537 CharUnits Alignment = CharUnits::One(); local
547 Alignment = std::max(Alignment, getAlignment(Member->Data));
551 if (Members.back().Offset % Alignment)
555 Members.back().Data = getIntNType(Context.toBits(Alignment));
H A DCGValue.h137 int64_t Alignment; member in class:clang::CodeGen::LValue
171 CharUnits Alignment,
175 this->Alignment = Alignment.getQuantity();
176 assert(this->Alignment == Alignment.getQuantity() &&
177 "Alignment exceeds allowed max!");
260 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); }
261 void setAlignment(CharUnits A) { Alignment = A.getQuantity(); }
308 QualType type, CharUnits Alignment) {
170 Initialize(QualType Type, Qualifiers Quals, CharUnits Alignment, llvm::MDNode *TBAAInfo = nullptr) argument
307 MakeVectorElt(llvm::Value *Vec, llvm::Value *Idx, QualType type, CharUnits Alignment) argument
317 MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts, QualType type, CharUnits Alignment) argument
333 MakeBitfield(llvm::Value *Addr, const CGBitFieldInfo &Info, QualType type, CharUnits Alignment) argument
344 MakeGlobalReg(llvm::Value *Reg, QualType type, CharUnits Alignment) argument
368 unsigned short Alignment; member in class:clang::CodeGen::AggValueSlot
[all...]
/external/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp158 uint64_t &Alignment,
163 if (Sources[i]->layoutRecordType(Record, Size, Alignment, FieldOffsets,
156 layoutRecordType(const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment, llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets, llvm::DenseMap<const CXXRecordDecl *, CharUnits> &BaseOffsets, llvm::DenseMap<const CXXRecordDecl *, CharUnits> &VirtualBaseOffsets) argument
H A DSemaAttr.cpp34 unsigned Alignment; member in struct:__anon18000::PackStackEntry
43 /// Alignment - The current user specified alignment.
44 unsigned Alignment; member in class:__anon18000::PragmaPackStack
51 PragmaPackStack() : Alignment(0) {}
53 void setAlignment(unsigned A) { Alignment = A; }
54 unsigned getAlignment() { return Alignment; }
59 PackStackEntry PSE = { Alignment, Name };
81 if (!Alignment)
85 Alignment = 0;
87 Alignment
193 Expr *Alignment = static_cast<Expr *>(alignment); local
[all...]
/external/lldb/source/Expression/
H A DIRExecutionUnit.cpp441 unsigned Alignment)
445 uint8_t *return_value = m_default_mm_ap->allocateStub(F, StubSize, Alignment);
450 Alignment));
454 log->Printf("IRExecutionUnit::allocateStub (F=%p, StubSize=%u, Alignment=%u) = %p",
455 F, StubSize, Alignment, return_value);
470 IRExecutionUnit::MemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) argument
474 uint8_t *return_value = m_default_mm_ap->allocateSpace(Size, Alignment);
479 Alignment));
483 log->Printf("IRExecutionUnit::allocateSpace(Size=%" PRIu64 ", Alignment=%u) = %p",
484 (uint64_t)Size, Alignment, return_valu
439 allocateStub(const llvm::GlobalValue* F, unsigned StubSize, unsigned Alignment) argument
491 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) argument
515 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, bool IsReadOnly) argument
539 allocateGlobal(uintptr_t Size, unsigned Alignment) argument
[all...]
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeVendor.cpp147 uint64_t &Alignment,
145 layoutRecordType(const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment, llvm::DenseMap <const clang::FieldDecl *, uint64_t> &FieldOffsets, llvm::DenseMap <const clang::CXXRecordDecl *, clang::CharUnits> &BaseOffsets, llvm::DenseMap <const clang::CXXRecordDecl *, clang::CharUnits> &VirtualBaseOffsets) argument
/external/llvm/include/llvm/ADT/
H A DStringMap.h151 unsigned Alignment = alignOf<StringMapEntry>(); local
154 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
/external/llvm/include/llvm/IR/
H A DAttributes.h67 Alignment, ///< Alignment of parameter (5 bits) enumerator in enum:llvm::Attribute::AttrKind
101 StackAlignment, ///< Alignment of stack for function (3 bits)
396 uint64_t Alignment; member in class:llvm::AttributeSet::AttrBuilder
399 AttrBuilder() : Attrs(0), Alignment(0), StackAlignment(0) {}
401 : Attrs(0), Alignment(0), StackAlignment(0) {
404 AttrBuilder(const Attribute &A) : Attrs(0), Alignment(0), StackAlignment(0) {
453 uint64_t getAlignment() const { return Alignment; }
/external/llvm/include/llvm/Support/
H A DMathExtras.h553 /// \brief Aligns \c Ptr to \c Alignment bytes, rounding up.
555 /// Alignment should be a power of two. This method rounds up, so
557 inline char *alignPtr(char *Ptr, size_t Alignment) { argument
558 assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
559 "Alignment is not a power of two!");
561 return (char *)(((uintptr_t)Ptr + Alignment - 1) &
562 ~(uintptr_t)(Alignment - 1));
/external/llvm/lib/AsmParser/
H A DLLParser.cpp97 FnAttrs.removeAttribute(Attribute::Alignment);
893 unsigned Alignment; local
894 if (ParseOptionalAlignment(Alignment)) return true;
895 GV->setAlignment(Alignment);
991 unsigned Alignment; local
995 ParseUInt32(Alignment))
998 if (ParseOptionalAlignment(Alignment))
1001 B.addAlignmentAttr(Alignment);
1005 unsigned Alignment; local
1009 ParseUInt32(Alignment))
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp288 unsigned Alignment = cast<ConstantPoolSDNode>(CPIdx)->getAlignment(); local
294 VT, false, false, Alignment);
300 Alignment);
314 int Alignment = ST->getAlignment(); local
327 ST->isVolatile(), ST->isNonTemporal(), Alignment);
412 ST->isVolatile(), ST->isNonTemporal(), Alignment);
416 Alignment = MinAlign(Alignment, IncrementSize);
420 Alignment, ST->getTBAAInfo());
528 unsigned Alignment local
659 unsigned Alignment = ST->getAlignment(); local
714 unsigned Alignment = ST->getAlignment(); local
[all...]
H A DLegalizeTypesGeneric.cpp155 unsigned Alignment = local
158 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment);
179 false, false, MinAlign(Alignment, IncrementSize));
255 unsigned Alignment = LD->getAlignment(); local
264 isVolatile, isNonTemporal, isInvariant, Alignment,
274 MinAlign(Alignment, IncrementSize), TBAAInfo);
470 unsigned Alignment = St->getAlignment(); local
485 isVolatile, isNonTemporal, Alignment, TBAAInfo);
492 MinAlign(Alignment, IncrementSize), TBAAInfo);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp357 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
361 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
391 uintptr_t Size, unsigned Alignment, unsigned SectionID,
393 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID,
398 uintptr_t Size, unsigned Alignment, unsigned SectionID,
400 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID,
390 allocateCodeSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
397 allocateDataSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool isReadOnly) argument
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp220 uint64_t Alignment) {
224 (SectionSizes[Idx] + Alignment - 1) / Alignment * Alignment;
263 unsigned Alignment = (unsigned)Alignment64 & 0xffffffffL; local
286 if (Alignment > MaxAlignment) {
287 MaxAlignment = Alignment;
349 unsigned Alignment = (unsigned)Alignment64 & 0xffffffffL; local
351 unsigned EndAlignment = (DataSize | Alignment) & -(DataSize | Alignment);
219 computeAllocationSizeForSections(std::vector<uint64_t> &SectionSizes, uint64_t Alignment) argument
404 unsigned Alignment = (unsigned)Alignment64 & 0xffffffffL; local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DLICM.cpp692 int Alignment; member in class:__anon26288::LoopPromoter
720 LI(li), DL(dl), Alignment(alignment), TBAATag(TBAATag) {}
744 NewSI->setAlignment(Alignment);
800 unsigned Alignment = 1; local
846 if ((InstAlignment > Alignment || InstAlignment == 0) && Alignment != 0)
849 Alignment = InstAlignment;
899 InsertPts, PIC, *CurAST, *LI, DL, Alignment, TBAATag);
906 PreheaderLoad->setAlignment(Alignment);
/external/chromium_org/v8/src/ia32/
H A Dcodegen-ia32.cc108 enum Alignment { MOVE_ALIGNED, MOVE_UNALIGNED }; enum in namespace:v8::internal
118 Alignment alignment) {
/external/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h126 static ABIArgInfo getIndirect(unsigned Alignment, bool ByVal = true, argument
130 AI.setIndirectAlign(Alignment);
137 static ABIArgInfo getIndirectInReg(unsigned Alignment, bool ByVal = true, argument
139 auto AI = getIndirect(Alignment, ByVal, Realign);
/external/clang/lib/Parse/
H A DParsePragma.cpp306 Token Alignment; member in struct:PragmaPackInfo
316 ExprResult Alignment; local
317 if (Info->Alignment.is(tok::numeric_constant)) {
318 Alignment = Actions.ActOnNumericConstant(Info->Alignment);
319 if (Alignment.isInvalid())
322 Actions.ActOnPragmaPack(Info->Kind, Info->Name, Alignment.get(), PragmaLoc,
712 Token Alignment; local
713 Alignment.startToken();
717 Alignment
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h85 /// Alignment - Alignment of the basic block. Zero if the basic block does
88 unsigned Alignment; member in class:llvm::MachineBasicBlock
345 unsigned getAlignment() const { return Alignment; }
350 void setAlignment(unsigned Align) { Alignment = Align; }

Completed in 2994 milliseconds

123456