/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuilder.h | 70 Addr.getAlignment().getAsAlign(), Name); 76 Addr.getAlignment().getAsAlign(), Name); in CreateLoad() 81 Addr.getPointer(), Addr.getAlignment().getAsAlign(), IsVolatile, Name); 105 Addr.getAlignment().getAsAlign(), IsVolatile); 139 Addr.getAlignment()); 146 Addr.getAlignment()); 162 return Address(Ptr, Addr.getAlignment()); 182 Addr.getAlignment().alignmentAtOffset(Offset)); 203 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); 219 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); [all …]
|
D | CGValue.h | 112 auto align = static_cast<uintptr_t>(addr.getAlignment().getQuantity()); 318 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() function 330 return Address(getPointer(CGF), getAlignment()); in getAddress() 335 Alignment = address.getAlignment().getQuantity(); in setAddress() 340 return Address(getVectorPointer(), getAlignment()); in getVectorAddress() 352 return Address(getMatrixPointer(), getAlignment()); in getMatrixAddress() 365 return Address(getExtVectorPointer(), getAlignment()); in getExtVectorAddress() 378 return Address(getBitFieldPointer(), getAlignment()); in getBitFieldAddress() 398 R.Initialize(type, qs, address.getAlignment(), BaseInfo, TBAAInfo); in MakeAddr() 409 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeVectorElt() [all …]
|
D | Address.h | 66 CharUnits getAlignment() const { in getAlignment() function 89 getAlignment()); in getBitCast() 101 addr.getAlignment()); in castImpl()
|
D | CGRecordLayoutBuilder.cpp | 159 CharUnits getAlignment(llvm::Type *Type) { in getAlignment() function 348 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion() 349 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion() 363 if (LayoutSize % getAlignment(StorageType)) in lowerUnion() 444 Context.toBits(getAlignment(getIntNType(OffsetInRecord))) != in accumulateBitFields() 549 if ((uint64_t)(Context.toBits(Layout.getAlignment())) < in computeVolatileBitfields() 768 if (Member->Offset % getAlignment(Member->Data)) in determinePacked() 771 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data)); in determinePacked() 772 Alignment = std::max(Alignment, getAlignment(Member->Data)); in determinePacked() 800 Size.alignTo(Packed ? CharUnits::One() : getAlignment(Member->Data))) in insertPadding()
|
/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/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()
|
/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/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 87 const Align Alignment = MBB.getAlignment(); in GetAlignmentAdjustment() 91 const Align ParentAlign = MBB.getParent()->getAlignment(); in GetAlignmentAdjustment() 219 MaxAlign = std::max(MaxAlign, Src->getAlignment()); in computeBranchSize() 225 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize() 236 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize() 239 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
|
/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-project/lld/wasm/ |
D | OutputSegment.h | 26 alignment = std::max(alignment, inSeg->getAlignment()); in addInputSegment() 28 size = llvm::alignTo(size, 1ULL << inSeg->getAlignment()); in addInputSegment()
|
/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/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/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 …]
|