Home
last modified time | relevance | path

Searched refs:getABITypeAlign (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAtomicRMW.cpp129 SI->setAlignment(DL.getABITypeAlign(RMWI.getType())); in visitAtomicRMWInst()
156 false, DL.getABITypeAlign(RMWI.getType()), in visitAtomicRMWInst()
DInstCombineCasts.cpp109 Align AllocElTyAlign = DL.getABITypeAlign(AllocElTy); in PromoteCastOfAllocation()
110 Align CastElTyAlign = DL.getABITypeAlign(CastElTy); in PromoteCastOfAllocation()
/external/llvm-project/llvm/lib/Target/
DTarget.cpp114 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value(); in LLVMABIAlignmentOfType()
118 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value(); in LLVMCallFrameAlignmentOfType()
/external/llvm-project/llvm/lib/CodeGen/
DLowerEmuTLS.cpp155 std::max(DL.getABITypeAlign(WordType), DL.getABITypeAlign(VoidPtrType)); in addEmuTlsVar()
DTargetLoweringBase.cpp1704 return DL.getABITypeAlign(Ty).value(); in getByValTypeAlignment()
1716 if (Alignment >= DL.getABITypeAlign(Ty)) { in allowsMemoryAccessForAlignment()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp56 const Align TyAlign = ST->isPacked() ? Align(1) : DL.getABITypeAlign(Ty); in StructLayout()
820 return getABITypeAlign(Ty).value(); in getABITypeAlignment()
823 Align DataLayout::getABITypeAlign(Type *Ty) const { in getABITypeAlign() function in DataLayout
922 Alignment = std::max(*GVAlignment, getABITypeAlign(ElemType)); in getPreferredAlign()
DValue.cpp807 return DL.getABITypeAlign(ObjectType); in getPointerAlignment()
818 return DL.getABITypeAlign(EltTy); in getPointerAlignment()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h522 Align getABITypeAlign(Type *Ty) const;
528 return Alignment ? *Alignment : getABITypeAlign(Ty); in getValueOrABITypeAlignment()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULateCodeGenPrepare.cpp127 if (LI.getAlign() < DL->getABITypeAlign(Ty)) in canWidenScalarExtLoad()
DAMDGPULowerKernelArguments.cpp115 ABITypeAlign = DL.getABITypeAlign(ArgTy); in runOnFunction()
DAMDGPUSubtarget.cpp546 Alignment = DL.getABITypeAlign(ArgTy); in getExplicitKernArgSize()
DAMDGPUHSAMetadataStreamer.cpp39 ArgAlign = DL.getABITypeAlign(Ty); in getArgumentTypeAlign()
DAMDGPUCallLowering.cpp620 ABIAlign = DL.getABITypeAlign(ArgTy); in lowerFormalArgumentsKernel()
/external/llvm-project/llvm/lib/Analysis/
DLint.cpp256 visitMemoryReference(I, Loc, DL->getABITypeAlign(Ty), Ty, in visitCallBase()
456 BaseAlign = DL->getABITypeAlign(GTy); in visitMemoryReference()
469 Align = DL->getABITypeAlign(Ty); in visitMemoryReference()
/external/llvm-project/llvm/lib/Target/ARM/
DARMCallLowering.cpp205 Flags.setOrigAlign(DL.getABITypeAlign(OrigArg.Ty)); in splitToValueTypes()
217 Flags.setOrigAlign(DL.getABITypeAlign(SplitTy)); in splitToValueTypes()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp288 DL->getABITypeAlign(CInfo.Base->getType()->getPointerElementType()); in IsPreserveDIAccessIndexCall()
299 DL->getABITypeAlign(CInfo.Base->getType()->getPointerElementType()); in IsPreserveDIAccessIndexCall()
310 DL->getABITypeAlign(CInfo.Base->getType()->getPointerElementType()); in IsPreserveDIAccessIndexCall()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroElide.cpp109 if (!Align) Align = DL.getABITypeAlign(FrameTy); in getFrameLayout()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp155 Flags.setOrigAlign(DL.getABITypeAlign(Arg.Ty)); in setArgFlags()
DCombinerHelper.cpp1099 Align NewAlign = DL.getABITypeAlign(IRTy); in optimizeMemset()
1216 Align NewAlign = DL.getABITypeAlign(IRTy); in optimizeMemcpy()
1321 Align NewAlign = DL.getABITypeAlign(IRTy); in optimizeMemmove()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsISelLowering.h307 const Align ABIAlign = DL.getABITypeAlign(ArgTy); in getABIAlignmentForCallingConv()
/external/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1500 Align TyAlign = thisT()->DL.getABITypeAlign(Ty); in getTypeBasedIntrinsicInstrCost()
1506 Align TyAlign = thisT()->DL.getABITypeAlign(Ty); in getTypeBasedIntrinsicInstrCost()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMOps.td958 llvm::Align align = dl.getABITypeAlign(
984 llvm::Align align = dl.getABITypeAlign(
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1361 return DL.getABITypeAlign(Ty); in getArgumentAlignment()
1402 return DL.getABITypeAlign(Ty); in getArgumentAlignment()
2544 VectorizePTXValueVTs(VTs, Offsets, DL.getABITypeAlign(Ty)); in LowerFormalArguments()
2664 VTs, Offsets, RetTy->isSized() ? DL.getABITypeAlign(RetTy) : Align(1)); in LowerReturn()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1250 Flags.setOrigAlign(DL.getABITypeAlign(Arg.Ty)); in lowerCallTo()
2488 Alignment = DL.getABITypeAlign(ValTy); in createMachineMemOperandFor()
/external/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp556 if (NewAlign > DL.getABITypeAlign(STy->getElementType(ElementIdx))) in SRAGlobal()
565 Align EltAlign = DL.getABITypeAlign(ElTy); in SRAGlobal()

123