Home
last modified time | relevance | path

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

12

/freebsd/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;
607 ABIArgInfo X86_32ABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
609 if (!ByVal) { in getIndirectResult()
/freebsd/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/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.h112 getNaturalAlignIndirect(QualType Ty, bool ByVal = true, bool Realign = false,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp433 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote()
434 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp43 Attribute::ByVal, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp335 if (Arg.hasAttribute(Attribute::ByVal)) { in lowerFormalArguments()
337 static_cast<unsigned>(SPIRV::FunctionParameterAttribute::ByVal); in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp238 if (PAL.hasParamAttr(ArgNo, Attribute::ByVal)) in visitCallBase()
275 if (PAL.hasParamAttr(ArgNo++, Attribute::ByVal)) in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp255 return get(Context, ByVal, Ty); in getWithByValType()
946 return SetNode ? SetNode->getAttributeType(Attribute::ByVal) : nullptr; in getByValType()
2002 return addTypeAttr(Attribute::ByVal, Ty); in addByValAttr()
2135 .addAttribute(Attribute::ByVal) in typeIncompatible()
H A DFunction.cpp143 return hasAttribute(Attribute::ByVal); in hasByValAttr()
174 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr()
183 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr()
H A DVerifier.cpp1944 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
2022 if (Attrs.hasAttribute(Attribute::ByVal)) { in verifyParameterAttrs()
2790 Check(F.arg_empty() || Attrs.hasParamAttr(0, Attribute::ByVal), in visitFunction()
2811 Check(!Attrs.hasParamAttr(i, Attribute::ByVal), in visitFunction()
3808 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in getParameterABIAttributes()
3821 (Attrs.hasParamAttr(I, Attribute::ByVal) || in getParameterABIAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86CallLowering.cpp281 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1775 return paramHasAttr(ArgNo, Attribute::ByVal);
1786 return paramHasAttr(ArgNo, Attribute::ByVal) ||
2043 return Attrs.hasAttrSomewhere(Attribute::ByVal);
H A DAttributes.h1132 Type *getByValType() const { return getTypeAttr(Attribute::ByVal); }
H A DAttributes.td81 def ByVal : TypeAttr<"byval", [ParamAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.td61 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
200 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
363 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp657 if (Attrs.hasParamAttr(I, Attribute::ByVal) || in fastLowerArguments()
848 if (Attrs.hasParamAttr(I, Attribute::ByVal) || in selectCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp4428 bool ByVal = CB.paramHasAttr(i, Attribute::ByVal); in visitCallBase() local
4430 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase()
4444 if (ByVal) { in visitCallBase()
5076 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
5601 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
5792 assert(!CB.paramHasAttr(ArgNo, Attribute::ByVal)); in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp671 const bool IsByVal = CB->paramHasAttr(I, Attribute::ByVal); in expandCall()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1805 case Attribute::ByVal: return 1 << 7; in getRawAttributeMask()
2013 return Attribute::ByVal; in getAttrFromCode()
2291 if (Kind == Attribute::ByVal) in parseAttributeGroupBlock()
4178 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in parseFunctionRecord()
4195 case Attribute::ByVal: in parseFunctionRecord()
4213 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
4732 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in propagateAttributeTypes()
4744 case Attribute::ByVal: in propagateAttributeTypes()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp1038 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp1069 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp844 bool ByVal = Flags.isByVal(); in LowerFormalArguments() local
850 if (VA.isRegLoc() && ByVal && Flags.getByValSize() <= 8) in LowerFormalArguments()
854 (!ByVal || (ByVal && Flags.getByValSize() > 8)); in LowerFormalArguments()

12