Searched refs:getAlignment (Results 26 - 50 of 172) sorted by relevance

1234567

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp80 const Align Alignment = MBB.getAlignment();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp92 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity()));
299 CharUnits NewSize = NewOffset.alignTo(RL.getAlignment());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCWinCOFFStreamer.cpp194 if (SXData->getAlignment() < 4)
211 if (Sec->getAlignment() < 4)
H A DMCFragment.cpp363 OS << " Alignment:" << AF->getAlignment()
448 OS << " BoundarySize:" << BF->getAlignment().value()
H A DELFObjectWriter.cpp621 align(SymtabSection->getAlignment());
881 ZlibStyle, Sec.getAlignment())) {
1034 sh_link, sh_info, Section.getAlignment(),
1096 align(Section.getAlignment());
1143 align(Group->getAlignment());
1177 align(RelSection->getAlignment());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp414 (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() ||
418 (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() ||
424 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() ||
H A DDataLayout.cpp710 Align DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const {
724 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref);
734 return std::max(Align, Layout->getAlignment());
756 llvm_unreachable("Bad type for getAlignment!!!");
771 return getAlignment(Ty, true);
786 return getAlignment(Ty, false);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp552 return cmpNumbers(AI->getAlignment(), cast<AllocaInst>(R)->getAlignment());
558 cmpNumbers(LI->getAlignment(), cast<LoadInst>(R)->getAlignment()))
575 cmpNumbers(SI->getAlignment(), cast<StoreInst>(R)->getAlignment()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp446 if (LD->getAlignment() == 2) {
502 if (ST->getAlignment() == 2) {
946 if (N->getAlignment() < 4)
950 N->getAlignment(), N->getMemOperand()->getFlags(),
954 if (N->getAlignment() < 2)
958 N->getAlignment(), N->getMemOperand()->getFlags(),
964 N->getAlignment(), N->getMemOperand()->getFlags(),
977 if (N->getAlignment() < 4)
980 N->getPointerInfo(), N->getAlignment(),
984 if (N->getAlignment() <
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp71 if (lvalue.getAlignment().isZero())
79 auto Offset = OrigBFI.Offset % C.toBits(lvalue.getAlignment());
82 .alignTo(lvalue.getAlignment()));
85 (C.toCharUnitsFromBits(OrigBFI.Offset) / lvalue.getAlignment()) *
86 lvalue.getAlignment();
97 LVal = LValue::MakeBitfield(Address(Addr, lvalue.getAlignment()),
109 AtomicAlign = ValueAlign = lvalue.getAlignment();
115 AtomicAlign = ValueAlign = lvalue.getAlignment();
126 AtomicAlign = ValueAlign = lvalue.getAlignment();
130 AtomicSizeInBits, C.toBits(lvalue.getAlignment()));
[all...]
H A DCGCleanup.cpp64 V.getAlignment().getQuantity());
70 V.getAlignment().getQuantity());
78 auto alignment = cast<llvm::AllocaInst>(value)->getAlignment();
305 store->setAlignment(addr.getAlignment().getAsAlign());
311 false, addr.getAlignment().getAsAlign(),
H A DCGExprCXX.cpp550 DestPtr.getAlignment());
1000 BeginPtr.getAlignment().alignmentOfArrayElement(ElementSize);
1054 CurPtr.getAlignment().alignmentAtOffset(InitListElements *
1094 CharUnits StartAlign = CurPtr.getAlignment();
1722 result.getAlignment());
1733 result.getPointer(), allocType, result.getAlignment(),
2025 deletedPtr.getAlignment().alignmentOfArrayElement(elementSize);
2093 Ptr.getAlignment());
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h169 MaybeAlign getAlignment() const;
301 MaybeAlign getAlignment() const;
795 MaybeAlign getAlignment() const { return Alignment; } function in class:llvm::AttrBuilder
H A DDataLayout.h185 Align getAlignment(Type *Ty, bool abi_or_pref) const;
625 Align getAlignment() const { return StructAlignment; } function in class:llvm::StructLayout
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp288 uint32_t Align = I->getAlignment();
548 uint64_t Alignment64 = Section.getAlignment();
612 uint32_t Align = I->getAlignment();
684 uint64_t Alignment64 = Section.getAlignment();
754 uint32_t Alignment = Sym.getAlignment();
790 uint64_t Alignment64 = Section.getAlignment();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCFragment.h310 unsigned getAlignment() const { return Alignment; } function in class:llvm::MCAlignFragment
548 Align getAlignment() const { return AlignBoundary; } function in class:llvm::MCBoundaryAlignFragment
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp69 const Align Alignment = MBB.getAlignment();
70 const Align ParentAlign = MBB.getParent()->getAlignment();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp423 if (AF.getAlignment() <= MinNopLen) {
426 Size = AF.getAlignment() - MinNopLen;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInstr.h349 Align getAlignment() const { function in class:llvm::CoroPromiseInst
471 Align getAlignment() const { function in class:llvm::CoroAllocaAllocInst
H A DCoroEarly.cpp62 Align Alignment = Intrin->getAlignment();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h226 LLVM_ATTRIBUTE_DEPRECATED(uint64_t getAlignment() const,
/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DChunks.cpp44 setAlignment(header->getAlignment());
871 assert(isPowerOf2_32(c->getAlignment()));
872 uint8_t p2Align = llvm::Log2_32(c->getAlignment());
876 mc = make<MergeChunk>(c->getAlignment());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp773 F->setAlignment(MaybeAlign(std::max(F->getAlignment(), G->getAlignment())));
820 MaybeAlign MaxAlignment(std::max(G->getAlignment(), NewF->getAlignment()));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp300 cast<MemSDNode>(Node)->getAlignment()) &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp355 std::max(DGVar->getAlignment(), SGVar->getAlignment()));

Completed in 435 milliseconds

1234567