/external/clang/lib/CodeGen/ |
D | CGBuilder.h | 72 Addr.getAlignment().getQuantity(), 79 Addr.getAlignment().getQuantity(), in CreateLoad() 85 Addr.getAlignment().getQuantity(), 116 Addr.getAlignment().getQuantity(), IsVolatile); 163 Addr.getAlignment()); 179 return Address(Ptr, Addr.getAlignment()); 187 Addr.getAlignment().alignmentAtOffset(Offset)); 212 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); 227 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); 241 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); [all …]
|
D | CGValue.h | 111 auto align = static_cast<uintptr_t>(addr.getAlignment().getQuantity()); 316 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() function 331 Address getAddress() const { return Address(getPointer(), getAlignment()); } in getAddress() 335 Alignment = address.getAlignment().getQuantity(); in setAddress() 340 return Address(getVectorPointer(), getAlignment()); in getVectorAddress() 347 return Address(getExtVectorPointer(), getAlignment()); in getExtVectorAddress() 360 return Address(getBitFieldPointer(), getAlignment()); in getBitFieldAddress() 382 R.Initialize(type, qs, address.getAlignment(), alignSource, TBAAInfo); 392 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeVectorElt() 403 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeExtVectorElt() [all …]
|
D | Address.h | 67 CharUnits getAlignment() const { in getAlignment() function 90 getAlignment()); in getBitCast() 102 addr.getAlignment()); in castImpl()
|
D | CGRecordLayoutBuilder.cpp | 152 CharUnits getAlignment(llvm::Type *Type) { in getAlignment() function 330 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion() 331 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion() 345 if (LayoutSize % getAlignment(StorageType)) in lowerUnion() 581 if (Member->Offset % getAlignment(Member->Data)) in determinePacked() 584 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data)); in determinePacked() 585 Alignment = std::max(Alignment, getAlignment(Member->Data)); in determinePacked() 613 Size.alignTo(Packed ? CharUnits::One() : getAlignment(Member->Data))) in insertPadding()
|
/external/deqp/modules/glshared/ |
D | glsBufferTestUtil.hpp | 122 virtual int getAlignment (void) const = DE_NULL; 141 int getAlignment (void) const { return m_writer->getAlignment(); } in getAlignment() function in deqp::gls::BufferTestUtil::BufferWriter 159 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::BufferSubDataWriter 171 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::BufferWriteMapWriter 198 virtual int getAlignment (void) const = DE_NULL; 218 int getAlignment (void) const { return m_verifier->getAlignment(); } in getAlignment() function in deqp::gls::BufferTestUtil::BufferVerifier 238 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::BufferMapVerifier 250 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::VertexArrayVerifier 270 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::IndexArrayVerifier
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferTestUtil.hpp | 111 virtual int getAlignment (void) const = DE_NULL; 129 int getAlignment (void) const { return m_verifier->getAlignment(); } in getAlignment() function in deqp::gles2::Functional::BufferTestUtil::BufferVerifier 148 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gles2::Functional::BufferTestUtil::VertexArrayVerifier 164 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gles2::Functional::BufferTestUtil::IndexArrayVerifier
|
/external/llvm/lib/Target/XCore/ |
D | XCoreMachineFunctionInfo.cpp | 44 LRSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createLRSpillSlot() 56 FPSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createFPSpillSlot() 67 EHSpillSlot[0] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot() 68 EHSpillSlot[1] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 63 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment() function 64 unsigned Align = GV->getAlignment(); in getAlignment() 174 if (Replacements[i].first->getAlignment() || in mergeConstants() 175 Replacements[i].second->getAlignment()) { in mergeConstants() 177 std::max(getAlignment(Replacements[i].first), in mergeConstants() 178 getAlignment(Replacements[i].second))); in mergeConstants()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 87 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment() function 88 unsigned Align = GV->getAlignment(); in getAlignment() 123 if (Old->getAlignment() || New->getAlignment()) in replace() 124 New->setAlignment(Align(std::max(getAlignment(Old), getAlignment(New)))); in replace()
|
/external/llvm/lib/Target/Mips/ |
D | MipsMachineFunction.cpp | 64 RC->getAlignment(), false); in createEhDataRegsFI() 77 RC->getSize(), RC->getAlignment(), false); in createISRRegFI() 99 RC->getSize(), RC->getAlignment(), false); in getMoveF64ViaSpillFI()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 187 New->setAlignment(AI.getAlignment()); in simplifyAllocaArraySize() 232 if (AI.getAlignment() == 0) in visitAllocaInst() 263 if (EntryAI->getAlignment() == 0) in visitAllocaInst() 269 unsigned MaxAlign = std::max(EntryAI->getAlignment(), in visitAllocaInst() 270 AI.getAlignment()); in visitAllocaInst() 279 if (AI.getAlignment()) { in visitAllocaInst() 289 Copy->getSource(), AI.getAlignment(), DL, &AI, AC, DT); in visitAllocaInst() 290 if (AI.getAlignment() <= SourceAlign) { in visitAllocaInst() 329 LI.getAlignment(), LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType() 402 SI.getAlignment(), SI.isVolatile()); in combineStoreToNewValue() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 178 return isDereferenceableAndAlignedPointer(V, Align(AI->getAlignment()), in isDereferenceableForAllocaSize() 200 New->setAlignment(MaybeAlign(AI.getAlignment())); in simplifyAllocaArraySize() 347 if (AI.getAlignment() == 0) in visitAllocaInst() 379 if (EntryAI->getAlignment() == 0) in visitAllocaInst() 386 std::max(EntryAI->getAlignment(), AI.getAlignment())); in visitAllocaInst() 395 if (AI.getAlignment()) { in visitAllocaInst() 405 Copy->getSource(), AI.getAlignment(), DL, &AI, &AC, &DT); in visitAllocaInst() 406 if (AI.getAlignment() <= SourceAlign && in visitAllocaInst() 465 unsigned Align = LI.getAlignment(); in combineLoadToNewType() 493 SI.getAlignment(), SI.isVolatile()); in combineStoreToNewValue() [all …]
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 58 unsigned GlobalValue::getAlignment() const { in getAlignment() function in GlobalValue 62 return GO->getAlignment(); in getAlignment() 69 return cast<GlobalObject>(this)->getAlignment(); in getAlignment() 79 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment() 97 setAlignment(GV->getAlignment()); in copyAttributesFrom() 185 if (hasSection() && getAlignment() > 0) in canIncreaseAlignment()
|
D | Instruction.cpp | 348 (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() || in haveSameSpecialState() 352 (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() || in haveSameSpecialState() 358 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() || in haveSameSpecialState()
|
D | DataLayout.cpp | 625 unsigned DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in DataLayout 642 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment() 652 return std::max(Align, Layout->getAlignment()); in getAlignment() 680 return getAlignment(Ty, true); in getABITypeAlignment() 690 return getAlignment(Ty, false); in getPrefTypeAlignment() 763 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 84 const Align Alignment = MBB.getAlignment(); in GetAlignmentAdjustment() 88 const Align ParentAlign = MBB.getParent()->getAlignment(); in GetAlignmentAdjustment() 188 MaxAlign = std::max(MaxAlign, Src->getAlignment()); in computeBranchSize() 194 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize() 205 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize() 208 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Globals.cpp | 97 unsigned GlobalValue::getAlignment() const { in getAlignment() function in GlobalValue 101 return GO->getAlignment(); in getAlignment() 108 return cast<GlobalObject>(this)->getAlignment(); in getAlignment() 126 assert(MaybeAlign(getAlignment()) == Align && in setAlignment() 132 setAlignment(MaybeAlign(Src->getAlignment())); in copyAttributesFrom() 255 if (hasSection() && getAlignment() > 0) in canIncreaseAlignment()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineMemOperand.h | 165 uint64_t getAlignment() const; 223 LHS.getAlignment() == RHS.getAlignment() &&
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
D | JITLink.cpp | 96 << ", align = " << B.getAlignment() in operator <<() 167 B.getAlignment(), B.getAlignmentOffset()) in splitBlock() 170 B.getAddress(), B.getAlignment(), B.getAlignmentOffset()); in splitBlock() 176 B.getAlignment()); in splitBlock()
|
D | JITLinkGeneric.h | 85 uint64_t Delta = (B.getAlignmentOffset() - Addr) % B.getAlignment(); in alignToBlock() 92 uint64_t Delta = (B.getAlignmentOffset() - PAddr) % B.getAlignment(); in alignToBlock() 177 << B->getAlignment() << " and alignment offset " in copyAndFixUpBlocks()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 221 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore() 226 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet() 478 unsigned StoreAlign = SI->getAlignment(); in findCommonAlignment() 481 unsigned LoadAlign = LI->getAlignment(); in findCommonAlignment() 726 unsigned Align = SI->getAlignment(); in processStore() 848 unsigned srcAlign = srcAlloca->getAlignment(); in performCallSlotOptzn() 1015 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence() 1069 std::max(MemSet->getAlignment(), MemCpy->getAlignment()); in processMemSetMemCpyDependence() 1126 CopySize, MemCpy->getAlignment()); in performMemCpyToMemSetOptzn() 1152 M->getAlignment(), false); in processMemCpy() [all …]
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 287 MCI->getAlignment(), nullptr, MemRef::Write); in visitCallSite() 289 MCI->getAlignment(), nullptr, MemRef::Read); in visitCallSite() 309 MMI->getAlignment(), nullptr, MemRef::Write); in visitCallSite() 311 MMI->getAlignment(), nullptr, MemRef::Read); in visitCallSite() 318 MSI->getAlignment(), nullptr, MemRef::Write); in visitCallSite() 431 BaseAlign = AI->getAlignment(); in visitMemoryReference() 441 BaseAlign = GV->getAlignment(); in visitMemoryReference() 465 DL->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst() 472 I.getAlignment(), in visitStoreInst()
|
D | Loads.cpp | 211 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally() 218 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally() 269 AccessedAlign = LI->getAlignment(); in isSafeToLoadUnconditionally() 272 AccessedAlign = SI->getAlignment(); in isSafeToLoadUnconditionally()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZLongBranch.cpp | 274 BlockPosition Position(MF->getAlignment()); in initMBBInfo() 280 Block.Alignment = MBB->getAlignment(); in initMBBInfo() 338 BlockPosition Position(MF->getAlignment()); in setWorstCaseAddresses() 439 BlockPosition Position(MF->getAlignment()); in relaxBranches()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZLongBranch.cpp | 278 BlockPosition Position(Log2(MF->getAlignment())); in initMBBInfo() 284 Block.Alignment = MBB->getAlignment(); in initMBBInfo() 342 BlockPosition Position(Log2(MF->getAlignment())); in setWorstCaseAddresses() 443 BlockPosition Position(Log2(MF->getAlignment())); in relaxBranches()
|