Home
last modified time | relevance | path

Searched refs:ByVal (Results 1 – 25 of 42) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLanai.cpp46 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
68 ABIArgInfo LanaiABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
70 if (!ByVal) { in getIndirectResult()
H A DX86.cpp142 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
606 ABIArgInfo X86_32ABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
608 if (!ByVal) { in getIndirectResult()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp174 ABIArgInfo ABIInfo::getNaturalAlignIndirect(QualType Ty, bool ByVal, in getNaturalAlignIndirect() argument
177 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), ByVal, in getNaturalAlignIndirect()
H A DABIInfo.h109 getNaturalAlignIndirect(QualType Ty, bool ByVal = true, bool Realign = false,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h198 static ABIArgInfo getIndirect(CharUnits Alignment, bool ByVal = true,
203 AI.setIndirectByVal(ByVal);
222 static ABIArgInfo getIndirectInReg(CharUnits Alignment, bool ByVal = true,
224 auto AI = getIndirect(Alignment, ByVal, Realign);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp421 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote()
422 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp38 Attribute::ByVal, in isValidForDXIL()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetCallingConv.td39 /// CCIfByVal - If the current argument has ByVal parameter attribute, apply
154 /// slot to implement ByVal aggregate parameter passing. Size and alignment
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp233 if (PAL.hasParamAttr(ArgNo, Attribute::ByVal)) in visitCallBase()
270 if (PAL.hasParamAttr(ArgNo++, Attribute::ByVal)) in visitCallBase()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp191 return get(Context, ByVal, Ty); in getWithByValType()
816 return SetNode ? SetNode->getAttributeType(Attribute::ByVal) : nullptr; in getByValType()
1865 return addTypeAttr(Attribute::ByVal, Ty); in addByValAttr()
1972 .addAttribute(Attribute::ByVal) in typeIncompatible()
H A DFunction.cpp133 return hasAttribute(Attribute::ByVal); in hasByValAttr()
164 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr()
173 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr()
H A DVerifier.cpp1880 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
1953 if (Attrs.hasAttribute(Attribute::ByVal)) { in verifyParameterAttrs()
2661 Check(F.arg_empty() || Attrs.hasParamAttr(0, Attribute::ByVal), in visitFunction()
2682 Check(!Attrs.hasParamAttr(i, Attribute::ByVal), in visitFunction()
3674 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in getParameterABIAttributes()
3687 (Attrs.hasParamAttr(I, Attribute::ByVal) || in getParameterABIAttributes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86CallLowering.cpp274 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.td56 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
195 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
358 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1768 return paramHasAttr(ArgNo, Attribute::ByVal);
1779 return paramHasAttr(ArgNo, Attribute::ByVal) ||
2023 return Attrs.hasAttrSomewhere(Attribute::ByVal);
H A DAttributes.td75 def ByVal : TypeAttr<"byval", [ParamAttr]>;
H A DAttributes.h1089 Type *getByValType() const { return getTypeAttr(Attribute::ByVal); }
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp649 if (Attrs.hasParamAttr(I, Attribute::ByVal) || in fastLowerArguments()
833 if (Attrs.hasParamAttr(I, Attribute::ByVal) || in selectCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp4174 bool ByVal = CB.paramHasAttr(i, Attribute::ByVal); in visitCallBase() local
4176 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase()
4190 if (ByVal) { in visitCallBase()
4809 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
5337 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
5529 assert(!CB.paramHasAttr(ArgNo, Attribute::ByVal)); in visitCallBase()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1726 case Attribute::ByVal: return 1 << 7; in getRawAttributeMask()
1934 return Attribute::ByVal; in getAttrFromCode()
2206 if (Kind == Attribute::ByVal) in parseAttributeGroupBlock()
4020 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in parseFunctionRecord()
4037 case Attribute::ByVal: in parseFunctionRecord()
4055 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
4566 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in propagateAttributeTypes()
4578 case Attribute::ByVal: in propagateAttributeTypes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp1033 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp1038 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp825 bool ByVal = Flags.isByVal(); in LowerFormalArguments() local
831 if (VA.isRegLoc() && ByVal && Flags.getByValSize() <= 8) in LowerFormalArguments()
835 (!ByVal || (ByVal && Flags.getByValSize() > 8)); in LowerFormalArguments()
H A DHexagonBitTracker.cpp74 if (Arg.hasAttribute(Attribute::ByVal)) in HexagonEvaluator()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp2761 A->hasAttribute(Attribute::ByVal); in isArgPassedInSGPR()
2788 CB->paramHasAttr(ArgNo, Attribute::ByVal); in isArgPassedInSGPR()

12