/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/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 51 unsigned getAlignment(GlobalVariable *GV) const; 91 return TD || GV->getAlignment() != 0; in hasKnownAlignment() 94 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { in getAlignment() function in ConstantMerge 97 return GV->getAlignment(); in getAlignment() 204 if (Replacements[i].first->getAlignment() || in runOnModule() 205 Replacements[i].second->getAlignment()) { in runOnModule() 207 Replacements[i].first->getAlignment(), in runOnModule() 208 Replacements[i].second->getAlignment())); in runOnModule()
|
D | MergeFunctions.cpp | 308 LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() && in isEquivalentOperation() 313 SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() && in isEquivalentOperation() 763 F->setAlignment(std::max(F->getAlignment(), G->getAlignment())); in writeAlias() 788 unsigned MaxAlignment = std::max(G->getAlignment(), H->getAlignment()); in mergeTwoFunctions()
|
/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/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/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instruction.cpp | 199 LI->getAlignment() == cast<LoadInst>(I)->getAlignment() && in isIdenticalToWhenDefined() 204 SI->getAlignment() == cast<StoreInst>(I)->getAlignment() && in isIdenticalToWhenDefined() 254 LI->getAlignment() == cast<LoadInst>(I)->getAlignment() && in isSameOperationAs() 259 SI->getAlignment() == cast<StoreInst>(I)->getAlignment() && in isSameOperationAs()
|
/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()
|
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/llvm/include/llvm/CodeGen/ |
D | MachineMemOperand.h | 165 uint64_t getAlignment() const; 223 LHS.getAlignment() == RHS.getAlignment() &&
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 45 New->setAlignment(AI.getAlignment()); in visitAllocaInst() 80 if (AI.getAlignment() == 0) in visitAllocaInst() 134 NewLoad->setAlignment(LI.getAlignment()); in InstCombineLoadCast() 151 unsigned LoadAlign = LI.getAlignment(); in visitLoadInst() 223 unsigned Align = LI.getAlignment(); in visitLoadInst() 378 unsigned StoreAlign = SI.getAlignment(); in visitStoreInst() 606 SI.getAlignment(), in SimplifyStoreAtEndOfBlock()
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetData.cpp | 446 unsigned TargetData::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in TargetData 458 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment() 468 return std::max(Align, Layout->getAlignment()); in getAlignment() 497 return getAlignment(Ty, true); in getABITypeAlignment() 516 return getAlignment(Ty, false); in getPrefTypeAlignment() 575 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
|
/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/lib/Analysis/ |
D | Lint.cpp | 273 MCI->getAlignment(), 0, in visitCallSite() 276 MCI->getAlignment(), 0, in visitCallSite() 297 MMI->getAlignment(), 0, in visitCallSite() 300 MMI->getAlignment(), 0, in visitCallSite() 308 MSI->getAlignment(), 0, in visitCallSite() 425 AA->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst() 432 I.getAlignment(), in visitStoreInst()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFixupHwLoops.cpp | 118 if (MBB.getAlignment()) { in fixupLoopInstrs() 122 int ByteAlign = (1u << MBB.getAlignment()) - 1; in fixupLoopInstrs()
|