Home
last modified time | relevance | path

Searched refs:BaseAlign (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp435 MaybeAlign BaseAlign; in visitMemoryReference() local
441 BaseAlign = AI->getAlign(); in visitMemoryReference()
449 BaseAlign = GV->getAlign(); in visitMemoryReference()
450 if (!BaseAlign && GTy->isSized()) in visitMemoryReference()
451 BaseAlign = DL->getABITypeAlign(GTy); in visitMemoryReference()
465 if (BaseAlign && Align) in visitMemoryReference()
466 Check(*Align <= commonAlignment(*BaseAlign, Offset), in visitMemoryReference()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h179 Align BaseAlign; variable
262 Align getBaseAlign() const { return BaseAlign; } in getBaseAlign()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1017 CharUnits BaseAlign = Packed ? CharUnits::One() : UnpackedBaseAlign; in EnsureVTablePointerAlignment() local
1021 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in EnsureVTablePointerAlignment()
1026 setSize(getSize().alignTo(BaseAlign)); in EnsureVTablePointerAlignment()
1029 UpdateAlignment(BaseAlign, UnpackedBaseAlign, BaseAlign); in EnsureVTablePointerAlignment()
1241 CharUnits BaseAlign = in LayoutBase() local
1259 PreferredBaseAlign = BaseAlign; in LayoutBase()
1273 UpdateAlignment(BaseAlign, UnpackedAlignTo, PreferredBaseAlign); in LayoutBase()
1281 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in LayoutBase()
1287 !DefaultsToAIXPowerAlignment ? BaseAlign : PreferredBaseAlign; in LayoutBase()
1317 UpdateAlignment(BaseAlign, UnpackedAlignTo, PreferredBaseAlign); in LayoutBase()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp1004 Align BaseAlign = DL.getPrefTypeAlign(RetTy); in insertSRetLoads() local
1016 commonAlignment(BaseAlign, Offsets[I])); in insertSRetLoads()
1035 Align BaseAlign = DL.getPrefTypeAlign(RetTy); in insertSRetStores() local
1046 commonAlignment(BaseAlign, Offsets[I])); in insertSRetStores()
H A DIRTranslator.cpp1401 Align BaseAlign = getMemOpAlign(LI); in translateLoad() local
1404 commonAlignment(BaseAlign, Offsets[i] / 8), AAInfo, Ranges, in translateLoad()
1440 Align BaseAlign = getMemOpAlign(SI); in translateStore() local
1443 commonAlignment(BaseAlign, Offsets[i] / 8), SI.getAAMetadata(), nullptr, in translateStore()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp325 unsigned BaseAlign = getContext().getTypeAlignInChars(Base).getQuantity(); in classifyHomogeneousAggregate() local
326 Align = (Align > BaseAlign && Align >= 8) ? 8 : 0; in classifyHomogeneousAggregate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3733 Align BaseAlign; member in __anondf5662880d11::AggLoadStoreRewriter::OpSplitter
3742 Align BaseAlign, const DataLayout &DL, IRBuilderTy &IRB) in OpSplitter() argument
3744 BaseAlign(BaseAlign), DL(DL) { in OpSplitter()
3766 Ty, Agg, commonAlignment(BaseAlign, Offset), Name); in emitSplitOps()
3807 AAMDNodes AATags, Align BaseAlign, const DataLayout &DL, in LoadOpSplitter()
3809 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, DL, in LoadOpSplitter()
3854 AAMDNodes AATags, StoreInst *AggStore, Align BaseAlign, in StoreOpSplitter()
3856 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp1089 : PtrInfo(ptrinfo), MemoryType(type), FlagVals(f), BaseAlign(a), in MachineMemOperand()
1127 BaseAlign = MMO->getBaseAlign(); in refineAlignment()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1796 Align BaseAlign = Load->getAlign(); in SplitVectorLoad() local
1797 Align HiAlign = commonAlignment(BaseAlign, Size); in SplitVectorLoad()
1801 BaseAlign, Load->getMemOperand()->getFlags()); in SplitVectorLoad()
1835 Align BaseAlign = Load->getAlign(); in WidenOrSplitVectorLoad() local
1841 (BaseAlign < Align(8) && in WidenOrSplitVectorLoad()
1853 WideMemVT, BaseAlign, Load->getMemOperand()->getFlags()); in WidenOrSplitVectorLoad()
1888 Align BaseAlign = Store->getAlign(); in SplitVectorStore() local
1890 Align HiAlign = commonAlignment(BaseAlign, Size); in SplitVectorStore()
1893 DAG.getTruncStore(Chain, SL, Lo, BasePtr, SrcValue, LoMemVT, BaseAlign, in SplitVectorStore()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2210 Align BaseAlign = DL.getPrefTypeAlign(I.getOperand(0)->getType()); in visitRet() local
2224 commonAlignment(BaseAlign, Offsets[i])); in visitRet()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp16424 Align BaseAlign, const RISCVSubtarget &ST) { in matchIndexAsWiderOp() argument
16441 if (!ST.enableUnalignedVectorMem() && BaseAlign < WiderElementSize) in matchIndexAsWiderOp()