Home
last modified time | relevance | path

Searched refs:getAlignment (Results 1 - 25 of 213) sorted by relevance

123456789

/third_party/vk-gl-cts/modules/glshared/
H A DglsBufferTestUtil.hpp122 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 (voi in getMinSize() function in deqp::gls::BufferTestUtil::VertexArrayVerifier
270 int getAlignment (void) const { return 1; } getAlignment() function in deqp::gls::BufferTestUtil::IndexArrayVerifier
[all...]
H A DglsBufferTestUtil.cpp287 DE_ASSERT(offset%getAlignment() == 0); in write()
288 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in write()
295 DE_ASSERT(offset%getAlignment() == 0); in write()
296 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in write()
375 DE_ASSERT(offset%getAlignment() == 0); in verify()
376 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in verify()
383 DE_ASSERT(offset%getAlignment() == 0); in verify()
384 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in verify()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fBufferTestUtil.hpp111 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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp87 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp84 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp178 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()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DGlobals.cpp97 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()
H A DDataLayout.cpp702 Align DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const {
716 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref);
726 return std::max(Align, Layout->getAlignment());
746 llvm_unreachable("Bad type for getAlignment!!!");
756 return getAlignment(Ty, true).value();
766 return getAlignment(Ty, false).value();
838 unsigned GVAlignment = GV->getAlignment();
H A DInstruction.cpp387 (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() || in haveSameSpecialState()
391 (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() || in haveSameSpecialState()
397 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() || in haveSameSpecialState()
H A DAttributes.cpp244 MaybeAlign Attribute::getAlignment() const { in getAlignment() function in Attribute
670 MaybeAlign AttributeSet::getAlignment() const { in getAlignment() function in AttributeSet
671 return SetNode ? SetNode->getAlignment() : None; in getAlignment()
782 assert(B.getAlignment() && "Alignment must be set"); in get()
783 Attr = Attribute::getWithAlignment(C, *B.getAlignment()); in get()
838 MaybeAlign AttributeSetNode::getAlignment() const { in getAlignment() function in AttributeSetNode
841 return I.getAlignment(); in getAlignment()
1166 const MaybeAlign OldAlign = getAttributes(Index).getAlignment(); in addAttributes()
1167 const MaybeAlign NewAlign = B.getAlignment(); in addAttributes()
1352 return getAttributes(ReturnIndex).getAlignment(); in getRetAlignment()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp96 << ", 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()
H A DJITLinkGeneric.h85 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 "
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h228 uint64_t getAlignment() const;
310 LHS.getAlignment() == RHS.getAlignment() && in operator ==()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonFixupHwLoops.cpp117 if (MBB.getAlignment() != Align::None()) { in fixupLoopInstrs()
121 InstOffset = alignTo(InstOffset, MBB.getAlignment()); in fixupLoopInstrs()
H A DHexagonBranchRelaxation.cpp108 if (B.getAlignment() != Align::None()) { in computeOffset()
112 InstOffset = alignTo(InstOffset, B.getAlignment()); in computeOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp116 /* SrcAlign */ LI->getAlignment(), in runOnFunction()
117 /* DestAlign */ SI->getAlignment(), in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp331 CP->getAlignment(), CP->getOffset()); in LowerConstantPool()
334 CP->getAlignment(), CP->getOffset()); in LowerConstantPool()
437 MinAlign(GV->getAlignment(), 4) == 4) { in LowerLOAD()
445 if (LD->getAlignment() == 2) { in LowerLOAD()
501 if (ST->getAlignment() == 2) { in LowerSTORE()
945 if (N->getAlignment() < 4) in LowerATOMIC_LOAD()
949 N->getAlignment(), N->getMemOperand()->getFlags(), in LowerATOMIC_LOAD()
953 if (N->getAlignment() < 2) in LowerATOMIC_LOAD()
957 N->getAlignment(), N->getMemOperand()->getFlags(), in LowerATOMIC_LOAD()
963 N->getAlignment(), in LowerATOMIC_LOAD()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DObjectFile.h104 uint64_t getAlignment() const;
191 uint32_t getAlignment() const;
389 inline uint32_t SymbolRef::getAlignment() const { in getAlignment() function in llvm::object::SymbolRef
458 inline uint64_t SectionRef::getAlignment() const { in getAlignment() function in llvm::object::SectionRef
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp278 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()
H A DSystemZConstantPoolValue.cpp34 (Constants[I].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue()
H A DSystemZSubtarget.cpp73 if (GV->getAlignment() == 1) in isPC32DBLSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1225 MaxAlign = std::max(MaxAlign, MaybeAlign(LI->getAlignment()));
1276 const MaybeAlign Align = MaybeAlign(SomeLoad->getAlignment());
1345 MaybeAlign(LI->getAlignment()), DL, LI))
1348 MaybeAlign(LI->getAlignment()), DL, LI))
1374 TL->setAlignment(MaybeAlign(LI->getAlignment()));
1375 FL->setAlignment(MaybeAlign(LI->getAlignment()));
1689 Alignment = MaybeAlign(LI->getAlignment());
1692 Alignment = MaybeAlign(SI->getAlignment());
2434 MaybeAlign(NewAI.getAlignment()), NewAI.getAllocatedType());
2463 NewAI.getAlignment(), "loa
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h42 uint64_t getAlignment() const { return Alignment; } in getAlignment() function in llvm::jitlink::JITLinkMemoryManager::SegmentRequest
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DMemDerefPrinter.cpp60 PO, LI->getType(), MaybeAlign(LI->getAlignment()), DL)) in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp51 unsigned Align = GV.getAlignment(); in allocateLDSGlobal()

Completed in 23 milliseconds

123456789