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.cpp129 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
596 ABIArgInfo X86_32ABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
598 if (!ByVal) { in getIndirectResult()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp175 bool ByVal, bool Realign, in getNaturalAlignIndirect() argument
178 AddrSpace, ByVal, Realign, Padding); in getNaturalAlignIndirect()
H A DABIInfo.h113 getNaturalAlignIndirect(QualType Ty, unsigned AddrSpace, bool ByVal = true,
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h210 bool ByVal = true, bool Realign = false,
214 AI.setIndirectByVal(ByVal);
234 static ABIArgInfo getIndirectInReg(CharUnits Alignment, bool ByVal = true,
236 auto AI = getIndirect(Alignment, 0, ByVal, Realign);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp237 if (PAL.hasParamAttr(ArgNo, Attribute::ByVal)) in visitCallBase()
269 Attribute::ByVal, Attribute::ByRef, Attribute::InAlloca, in visitCallBase()
299 if (PAL.hasParamAttr(ArgNo++, Attribute::ByVal)) in visitCallBase()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetCallingConv.td39 /// CCIfByVal - If the current argument has ByVal parameter attribute, apply
161 /// slot to implement ByVal aggregate parameter passing. Size and alignment
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp435 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote()
436 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp130 return hasAttribute(Attribute::ByVal); in hasByValAttr()
167 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr()
176 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr()
H A DAttributes.cpp257 return get(Context, ByVal, Ty); in getWithByValType()
1105 if (Kind == Attribute::ByVal && in intersectWith()
1155 return SetNode ? SetNode->getAttributeType(Attribute::ByVal) : nullptr; in getByValType()
2257 return addTypeAttr(Attribute::ByVal, Ty); in addByValAttr()
2434 .addAttribute(Attribute::ByVal) in typeIncompatible()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp45 Attribute::ByVal, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp377 if (Arg.hasAttribute(Attribute::ByVal)) { in lowerFormalArguments()
379 static_cast<unsigned>(SPIRV::FunctionParameterAttribute::ByVal); in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallLowering.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86CallLowering.cpp280 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1710 return paramHasAttr(ArgNo, Attribute::ByVal);
1721 return paramHasAttr(ArgNo, Attribute::ByVal) ||
1983 return Attrs.hasAttrSomewhere(Attribute::ByVal);
H A DAttributes.h1189 Type *getByValType() const { return getTypeAttr(Attribute::ByVal); }
H A DAttributes.td106 def ByVal : TypeAttr<"byval", IntersectPreserve, [ParamAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.td67 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
202 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
367 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp663 if (Attrs.hasParamAttr(I, Attribute::ByVal) || in fastLowerArguments()
854 if (Attrs.hasParamAttr(I, Attribute::ByVal) || in selectCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp5914 bool ByVal = CB.paramHasAttr(i, Attribute::ByVal); in visitCallBase() local
5916 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase()
5930 if (ByVal) { in visitCallBase()
6557 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
6994 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
7124 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
7370 assert(!CB.paramHasAttr(ArgNo, Attribute::ByVal)); in visitCallBase()
7587 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp419 Attribute::StructRet, Attribute::ByVal, in isUnsupportedFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp649 const bool IsByVal = CB->paramHasAttr(I, Attribute::ByVal); in expandCall()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1847 case Attribute::ByVal: return 1 << 7; in getRawAttributeMask()
2060 return Attribute::ByVal; in getAttrFromCode()
2357 if (Kind == Attribute::ByVal) in parseAttributeGroupBlock()
4268 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in parseFunctionRecord()
4285 case Attribute::ByVal: in parseFunctionRecord()
4303 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
4813 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in propagateAttributeTypes()
4825 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.cpp1072 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()

12