Searched refs:Alignment (Results 151 - 175 of 236) sorted by path

12345678910

/external/llvm/lib/CodeGen/SelectionDAG/
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);
H A DLegalizeVectorOps.cpp593 unsigned Alignment = ST->getAlignment(); local
624 isVolatile, isNonTemporal, Alignment, TBAAInfo);
H A DLegalizeVectorTypes.cpp807 unsigned Alignment = TLI.getDataLayout()->getPrefTypeAlignment(VecType); local
823 false, false, false, MinAlign(Alignment, IncrementSize));
882 unsigned Alignment = local
898 false, false, false, MinAlign(Alignment, IncrementSize));
922 unsigned Alignment = LD->getOriginalAlignment(); local
933 isInvariant, Alignment, TBAAInfo);
940 HiMemVT, isVolatile, isNonTemporal, isInvariant, Alignment,
1374 unsigned Alignment = N->getOriginalAlignment(); local
1388 LoMemVT, isVol, isNT, Alignment, TBAAInfo);
1391 isVol, isNT, Alignment, TBAAInf
[all...]
H A DSelectionDAG.cpp1333 unsigned Alignment, int Offset,
1338 if (Alignment == 0)
1339 Alignment =
1344 ID.AddInteger(Alignment);
1353 Alignment, TargetFlags);
1361 unsigned Alignment, int Offset,
1366 if (Alignment == 0)
1367 Alignment =
1372 ID.AddInteger(Alignment);
1381 Alignment, TargetFlag
1332 getConstantPool(const Constant *C, EVT VT, unsigned Alignment, int Offset, bool isTarget, unsigned char TargetFlags) argument
1360 getConstantPool(MachineConstantPoolValue *C, EVT VT, unsigned Alignment, int Offset, bool isTarget, unsigned char TargetFlags) argument
4412 getAtomicCmpSwap( unsigned Opcode, SDLoc dl, EVT MemVT, SDVTList VTs, SDValue Chain, SDValue Ptr, SDValue Cmp, SDValue Swp, MachinePointerInfo PtrInfo, unsigned Alignment, AtomicOrdering SuccessOrdering, AtomicOrdering FailureOrdering, SynchronizationScope SynchScope) argument
4455 getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT, SDValue Chain, SDValue Ptr, SDValue Val, const Value* PtrVal, unsigned Alignment, AtomicOrdering Ordering, SynchronizationScope SynchScope) argument
4635 getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, SDLoc dl, SDValue Chain, SDValue Ptr, SDValue Offset, MachinePointerInfo PtrInfo, EVT MemVT, bool isVolatile, bool isNonTemporal, bool isInvariant, unsigned Alignment, const MDNode *TBAAInfo, const MDNode *Ranges) argument
4716 getLoad(EVT VT, SDLoc dl, SDValue Chain, SDValue Ptr, MachinePointerInfo PtrInfo, bool isVolatile, bool isNonTemporal, bool isInvariant, unsigned Alignment, const MDNode *TBAAInfo, const MDNode *Ranges) argument
4737 getExtLoad(ISD::LoadExtType ExtType, SDLoc dl, EVT VT, SDValue Chain, SDValue Ptr, MachinePointerInfo PtrInfo, EVT MemVT, bool isVolatile, bool isNonTemporal, unsigned Alignment, const MDNode *TBAAInfo) argument
4769 getStore(SDValue Chain, SDLoc dl, SDValue Val, SDValue Ptr, MachinePointerInfo PtrInfo, bool isVolatile, bool isNonTemporal, unsigned Alignment, const MDNode *TBAAInfo) argument
4823 getTruncStore(SDValue Chain, SDLoc dl, SDValue Val, SDValue Ptr, MachinePointerInfo PtrInfo, EVT SVT,bool isVolatile, bool isNonTemporal, unsigned Alignment, const MDNode *TBAAInfo) argument
[all...]
H A DSelectionDAGBuilder.cpp3469 unsigned Alignment = I.getAlignment();
3523 isNonTemporal, isInvariant, Alignment, TBAAInfo,
3569 unsigned Alignment = I.getAlignment();
3586 isVolatile, isNonTemporal, Alignment, TBAAInfo);
3638 0 /* Alignment */,
3685 I.getPointerOperand(), 0 /* Alignment */,
7106 Entry.Alignment = Align;
7177 if (Args[i].Alignment)
7178 FrameAlign = Args[i].Alignment;
H A DTargetLowering.cpp80 Alignment = CS->getParamAlignment(AttrIdx);
/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/JIT/
H A DJITEmitter.cpp382 unsigned StubSize, unsigned Alignment = 1);
386 size_t Size, unsigned Alignment) override;
390 void *allocateSpace(uintptr_t Size, unsigned Alignment) override;
395 void *allocateGlobal(uintptr_t Size, unsigned Alignment) override;
528 JE.startGVStub(F, SL.Size, SL.Alignment);
591 JE.startGVStub(nullptr, SL.Size, SL.Alignment);
997 void *JITEmitter::allocateSpace(uintptr_t Size, unsigned Alignment) { argument
999 return JITCodeEmitter::allocateSpace(Size, Alignment);
1004 BufferBegin = CurBufferPtr = MemMgr->allocateSpace(Size, Alignment);
1009 void *JITEmitter::allocateGlobal(uintptr_t Size, unsigned Alignment) { argument
1135 startGVStub(const GlobalValue* GV, unsigned StubSize, unsigned Alignment) argument
1162 allocIndirectGV(const GlobalValue *GV, const uint8_t *Buffer, size_t Size, unsigned Alignment) argument
[all...]
H A DJITMemoryManager.cpp277 void *Allocate(size_t Size, size_t /*Alignment*/);
442 uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) override {
448 if (Alignment == 0) Alignment = 1;
449 result = (uint8_t*)(((intptr_t)result+Alignment-1) &
450 ~(intptr_t)(Alignment-1));
460 unsigned Alignment) override {
461 return (uint8_t*)StubAllocator.Allocate(StubSize, Alignment);
465 uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) override {
466 return (uint8_t*)DataAllocator.Allocate(Size, Alignment);
[all...]
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h37 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
40 return ClientMM->allocateCodeSection(Size, Alignment, SectionID, SectionName);
43 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
46 return ClientMM->allocateDataSection(Size, Alignment,
H A DSectionMemoryManager.cpp22 unsigned Alignment,
27 return allocateSection(RODataMem, Size, Alignment);
28 return allocateSection(RWDataMem, Size, Alignment);
32 unsigned Alignment,
35 return allocateSection(CodeMem, Size, Alignment);
40 unsigned Alignment) {
41 if (!Alignment)
42 Alignment = 16;
44 assert(!(Alignment & (Alignment
21 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
31 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
38 allocateSection(MemoryGroup &MemGroup, uintptr_t Size, unsigned Alignment) argument
[all...]
/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/IR/
H A DAttributeImpl.h119 (Kind == Attribute::Alignment || Kind == Attribute::StackAlignment) &&
H A DAttributes.cpp79 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
80 assert(Align <= 0x40000000 && "Alignment too large.");
81 return get(Context, Alignment, Align);
86 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
87 assert(Align <= 0x100 && "Alignment too large.");
146 assert(hasAttribute(Attribute::Alignment) &&
244 if (hasAttribute(Attribute::Alignment)) {
377 case Attribute::Alignment: return 31 << 16;
473 if (I->hasAttribute(Attribute::Alignment))
514 if (Kind == Attribute::Alignment)
[all...]
H A DDataLayout.cpp369 assert(pref_align < (1 << 16) && "Alignment doesn't fit in bitfield");
699 assert(!(Align & (Align-1)) && "Alignment is not a power of two!");
772 unsigned Alignment = getPrefTypeAlignment(ElemType);
774 if (GVAlignment >= Alignment) {
775 Alignment = GVAlignment;
777 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType));
781 if (Alignment < 16) {
785 Alignment = 16; // 16-byte alignment.
788 return Alignment;
H A DType.cpp366 AlignOf<FunctionType>::Alignment);
H A DVerifier.cpp1640 if (Attrs.hasAttribute(I + 1, Attribute::Alignment))
/external/llvm/lib/Linker/
H A DLinkModules.cpp512 unsigned Alignment; local
514 Alignment = std::max(DestGO->getAlignment(), SrcGV->getAlignment());
519 DestGO->setAlignment(Alignment);
/external/llvm/lib/MC/
H A DELFObjectWriter.cpp290 uint64_t Alignment, uint64_t EntrySize);
307 uint64_t Offset, uint64_t Size, uint64_t Alignment,
1315 uint64_t Alignment,
1325 WriteWord(Alignment); // sh_addralign
1512 uint64_t Alignment,
1603 Alignment, Section.getEntrySize());
1311 WriteSecHdrEntry(uint32_t Name, uint32_t Type, uint64_t Flags, uint64_t Address, uint64_t Offset, uint64_t Size, uint32_t Link, uint32_t Info, uint64_t Alignment, uint64_t EntrySize) argument
1508 WriteSection(MCAssembler &Asm, const SectionIndexMapTy &SectionIndexMap, uint32_t GroupSymbolIndex, uint64_t Offset, uint64_t Size, uint64_t Alignment, const MCSectionELF &Section) argument
H A DMCAssembler.cpp293 Alignment(1),
1150 OS << " Alignment:" << AF->getAlignment()
1237 OS << " Alignment:" << getAlignment()
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2655 int64_t Alignment; local
2656 if (parseAbsoluteExpression(Alignment))
2699 if (Alignment >= 32) {
2701 Alignment = 31;
2704 Alignment = 1ULL << Alignment;
2707 if (!isPowerOf2_64(Alignment))
2719 if (MaxBytesToFill >= Alignment) {
2733 getStreamer().EmitCodeAlignment(Alignment, MaxBytesToFill);
2736 getStreamer().EmitValueToAlignment(Alignment, FillExp
[all...]
/external/llvm/lib/Object/
H A DCOFFYAML.cpp383 IO.mapOptional("Alignment", Sec.Alignment);
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp120 bool IsMemCpySmall(uint64_t Len, unsigned Alignment);
122 unsigned Alignment);
1427 bool AArch64FastISel::IsMemCpySmall(uint64_t Len, unsigned Alignment) { argument
1428 if (Alignment)
1429 return Len / Alignment <= 4;
1435 uint64_t Len, unsigned Alignment) {
1437 if (!IsMemCpySmall(Len, Alignment))
1446 if (!Alignment || Alignment >= 8) {
1458 if (Len >= 4 && Alignment
1434 TryEmitSmallMemCpy(Address Dest, Address Src, uint64_t Len, unsigned Alignment) argument
1508 unsigned Alignment = MTI.getAlignment(); local
[all...]
H A DAArch64ISelDAGToDAG.cpp594 unsigned Alignment = GV->getAlignment(); local
597 if (Alignment == 0 && Ty->isSized() && !Subtarget->isTargetDarwin())
598 Alignment = DL->getABITypeAlignment(Ty);
600 if (Alignment >= Size)
H A DAArch64ISelLowering.cpp7268 unsigned Alignment = std::min(OrigAlignment, EltOffset); local
7286 St->isNonTemporal(), Alignment);

Completed in 720 milliseconds

12345678910