Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp32 MaybeAlign ArgAlign; in getArgumentTypeAlign() local
35 ArgAlign = Arg.getParamAlign(); in getArgumentTypeAlign()
38 if (!ArgAlign) in getArgumentTypeAlign()
39 ArgAlign = DL.getABITypeAlign(Ty); in getArgumentTypeAlign()
41 return std::make_pair(Ty, *ArgAlign); in getArgumentTypeAlign()
343 Align ArgAlign; in emitKernelArg() local
344 std::tie(ArgTy, ArgAlign) = getArgumentTypeAlign(Arg, DL); in emitKernelArg()
346 emitKernelArg(DL, ArgTy, ArgAlign, in emitKernelArg()
739 Align ArgAlign; in emitKernelArg() local
740 std::tie(ArgTy, ArgAlign) = getArgumentTypeAlign(Arg, DL); in emitKernelArg()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1128 unsigned ArgAlign = FArg.getParamAlignment(); in getShadow() local
1129 if (ArgAlign == 0) { in getShadow()
1131 ArgAlign = DL.getABITypeAlignment(EltType); in getShadow()
1137 Constant::getNullValue(EntryIRB.getInt8Ty()), Size, ArgAlign); in getShadow()
1139 unsigned CopyAlign = std::min(ArgAlign, kShadowTLSAlignment); in getShadow()
3431 uint64_t ArgAlign = CS.getParamAlignment(ArgNo + 1); in visitCallSite() local
3432 if (ArgAlign < 8) in visitCallSite()
3433 ArgAlign = 8; in visitCallSite()
3434 VAArgOffset = alignTo(VAArgOffset, ArgAlign); in visitCallSite()
3445 uint64_t ArgAlign = 8; in visitCallSite() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1620 const Align ArgAlign = DL.getValueOrABITypeAlignment( in getShadow() local
1624 getShadowOriginPtr(V, EntryIRB, EntryIRB.getInt8Ty(), ArgAlign, in getShadow()
1632 Size, ArgAlign); in getShadow()
1634 const Align CopyAlign = std::min(ArgAlign, kShadowTLSAlignment); in getShadow()
4475 uint64_t ArgAlign = CS.getParamAlignment(ArgNo); in visitCallSite() local
4476 if (ArgAlign < 8) in visitCallSite()
4477 ArgAlign = 8; in visitCallSite()
4478 VAArgOffset = alignTo(VAArgOffset, ArgAlign); in visitCallSite()
4496 uint64_t ArgAlign = 8; in visitCallSite() local
4502 ArgAlign = DL.getTypeAllocSize(ElementTy); in visitCallSite()
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1700 const Align ArgAlign = DL.getValueOrABITypeAlignment( in getShadow() local
1703 getShadowOriginPtr(V, EntryIRB, EntryIRB.getInt8Ty(), ArgAlign, in getShadow()
1711 Size, ArgAlign); in getShadow()
1713 const Align CopyAlign = std::min(ArgAlign, kShadowTLSAlignment); in getShadow()
4822 MaybeAlign ArgAlign = CB.getParamAlign(ArgNo); in visitCallBase() local
4823 if (!ArgAlign || *ArgAlign < Align(8)) in visitCallBase()
4824 ArgAlign = Align(8); in visitCallBase()
4825 VAArgOffset = alignTo(VAArgOffset, ArgAlign); in visitCallBase()
4843 uint64_t ArgAlign = 8; in visitCallBase() local
4849 ArgAlign = DL.getTypeAllocSize(ElementTy); in visitCallBase()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1468 unsigned ArgAlign = in LowerCall() local
1476 Chain, DAG.getConstant(ArgAlign, dl, MVT::i32), in LowerCall()
1507 auto VectorInfo = VectorizePTXValueVTs(VTs, Offsets, ArgAlign); in LowerCall()
1558 NeedAlign ? GreatestCommonDivisor64(ArgAlign, Offsets[j]) : 0; in LowerCall()
1588 unsigned ArgAlign = Outs[OIdx].Flags.getByValAlign(); in LowerCall() local
1596 if (ArgAlign < 4) in LowerCall()
1597 ArgAlign = 4; in LowerCall()
1598 SDValue DeclareParamOps[] = {Chain, DAG.getConstant(ArgAlign, dl, MVT::i32), in LowerCall()
1607 unsigned PartAlign = GreatestCommonDivisor64(ArgAlign, curOffset); in LowerCall()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1450 Align ArgAlign = getArgumentAlignment(Callee, CB, Ty, paramCount + 1, DL); in LowerCall() local
1457 Chain, DAG.getConstant(ArgAlign.value(), dl, MVT::i32), in LowerCall()
1488 auto VectorInfo = VectorizePTXValueVTs(VTs, Offsets, ArgAlign); in LowerCall()
1540 EltAlign = commonAlignment(ArgAlign, Offsets[j]); in LowerCall()
1570 Align ArgAlign = Outs[OIdx].Flags.getNonZeroByValAlign(); in LowerCall() local
1578 if (ArgAlign < Align(4)) in LowerCall()
1579 ArgAlign = Align(4); in LowerCall()
1581 Chain, DAG.getConstant(ArgAlign.value(), dl, MVT::i32), in LowerCall()
1590 unsigned PartAlign = GreatestCommonDivisor64(ArgAlign.value(), curOffset); in LowerCall()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp8396 int ArgAlign = (CGF.getContext().getTypeSize(Ty) <= 32) ? 4 : 8; in EmitVAArgForHexagonLinux() local
8415 if (ArgAlign > 4) { in EmitVAArgForHexagonLinux()
8423 llvm::ConstantInt::get(CGF.Int32Ty, (ArgAlign - 1)), in EmitVAArgForHexagonLinux()
8428 llvm::ConstantInt::get(CGF.Int32Ty, -ArgAlign), in EmitVAArgForHexagonLinux()
8472 if (ArgAlign > 4) { in EmitVAArgForHexagonLinux()
8478 llvm::ConstantInt::get(CGF.Int32Ty, ArgAlign - 1), in EmitVAArgForHexagonLinux()
8483 llvm::ConstantInt::get(CGF.Int32Ty, -ArgAlign), in EmitVAArgForHexagonLinux()
8519 return Address(ArgAddr, CharUnits::fromQuantity(ArgAlign)); in EmitVAArgForHexagonLinux()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1121 unsigned ArgAlign = GreatestCommonDivisor64(align, Offsets[j]); in LowerCall() local
1136 ArgAlign); in LowerCall()
1336 unsigned ArgAlign = Outs[OIdx].Flags.getByValAlign(); in LowerCall() local
1351 unsigned PartAlign = GreatestCommonDivisor64(ArgAlign, curOffset); in LowerCall()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp447 bool ArgAlign = Subtarget.isHVXVectorType(VA.getValVT()); in LowerCall() local
448 NeedsArgAlign |= ArgAlign; in LowerCall()
476 if (ArgAlign) in LowerCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp439 bool ArgAlign = Subtarget.isHVXVectorType(VA.getValVT()); in LowerCall() local
440 NeedsArgAlign |= ArgAlign; in LowerCall()
468 if (ArgAlign) in LowerCall()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp737 bool ArgAlign = IsHvxVectorType(VA.getValVT()); in LowerCall() local
738 NeedsArgAlign |= ArgAlign; in LowerCall()
764 if (ArgAlign) in LowerCall()