Home
last modified time | relevance | path

Searched refs:MemAlign (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetCallingConv.h48 unsigned MemAlign : 6; ///< Log 2 of alignment when arg is passed in memory member
67 IsSecArgPass(0), MemAlign(0), OrigAlign(0), in ArgFlagsTy()
145 return decodeMaybeAlign(MemAlign).valueOrOne(); in getNonZeroMemAlign()
149 MemAlign = encode(A); in setMemAlign()
155 MaybeAlign A = decodeMaybeAlign(MemAlign); in getNonZeroByValAlign()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.cpp214 const Align MemAlign = ArgFlags.getNonZeroMemAlign(); in CC_AArch64_Custom_Block() local
215 Align SlotAlign = std::min(MemAlign, StackAlign); in CC_AArch64_Custom_Block()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp233 Align MemAlign = DL.getABITypeAlign(Arg.Ty); in setArgFlags() local
258 MemAlign = *ParamAlign; in setArgFlags()
260 MemAlign = *ParamAlign; in setArgFlags()
262 MemAlign = Align(getTLI()->getByValTypeAlignment(ElementTy, DL)); in setArgFlags()
266 MemAlign = *ParamAlign; in setArgFlags()
268 Flags.setMemAlign(MemAlign); in setArgFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp68 static Value *simplifyNeonVld1(const IntrinsicInst &II, unsigned MemAlign, in simplifyNeonVld1() argument
75 unsigned Alignment = IntrAlign->getLimitedValue() < MemAlign in simplifyNeonVld1()
76 ? MemAlign in simplifyNeonVld1()
129 Align MemAlign = in instCombineIntrinsic() local
132 if (Value *V = simplifyNeonVld1(II, MemAlign.value(), IC.Builder)) { in instCombineIntrinsic()
151 Align MemAlign = in instCombineIntrinsic() local
157 if (Align && *Align < MemAlign) { in instCombineIntrinsic()
160 ConstantInt::get(Type::getInt32Ty(II.getContext()), MemAlign.value(), in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1078 MaybeAlign MemAlign = Arg.Alignment; in lowerCallTo() local
1084 if (!MemAlign) in lowerCallTo()
1085 MemAlign = Align(TLI.getByValTypeAlignment(Arg.IndirectType, DL)); in lowerCallTo()
1087 } else if (!MemAlign) { in lowerCallTo()
1088 MemAlign = DL.getABITypeAlign(Arg.Ty); in lowerCallTo()
1090 Flags.setMemAlign(*MemAlign); in lowerCallTo()
H A DSelectionDAGBuilder.cpp11000 Align MemAlign; in LowerCallTo() local
11007 MemAlign = *MA; in LowerCallTo()
11009 MemAlign = Align(getByValTypeAlignment(Args[i].IndirectType, DL)); in LowerCallTo()
11011 MemAlign = *MA; in LowerCallTo()
11013 MemAlign = OriginalAlignment; in LowerCallTo()
11015 Flags.setMemAlign(MemAlign); in LowerCallTo()
11551 Align MemAlign; in LowerArguments() local
11564 MemAlign = *ParamAlign; in LowerArguments()
11566 MemAlign = *ParamAlign; in LowerArguments()
11568 MemAlign = Align(TLI->getByValTypeAlignment(ArgMemTy, DL)); in LowerArguments()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp3099 const Align MemAlign = MMO->getAlign(); in legalizeLoad() local
3101 const uint64_t AlignInBits = 8 * MemAlign.value(); in legalizeLoad()
6759 const Align MemAlign = B.getDataLayout().getABITypeAlign( in legalizeSBufferLoad() local
6765 MemSize, MemAlign); in legalizeSBufferLoad()
H A DAMDGPURegisterBankInfo.cpp1372 const Align MemAlign(4); // FIXME: ABI type alignment? in applyMappingSBufferLoad() local
1377 MemSize, MemAlign); in applyMappingSBufferLoad()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltins.td3166 def MemAlign : GNULibBuiltin<"malloc.h"> {