Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp235 if (call_attribs.hasAttributeAtIndex(I, llvm::Attribute::ByVal)) { in fixupRSAllocationStructByValCalls()
237 call_inst->removeAttributeAtIndex(I, llvm::Attribute::ByVal); in fixupRSAllocationStructByValCalls()
248 arg.removeAttr(llvm::Attribute::ByVal); in fixupRSAllocationStructByValCalls()
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DABIInfo.h107 getNaturalAlignIndirect(QualType Ty, bool ByVal = true,
H A DTargetInfo.cpp85 ABIArgInfo ABIInfo::getNaturalAlignIndirect(QualType Ty, bool ByVal, in getNaturalAlignIndirect() argument
88 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), ByVal, in getNaturalAlignIndirect()
1181 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
1683 ABIArgInfo X86_32ABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
1685 if (!ByVal) { in getIndirectResult()
9083 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
9105 ABIArgInfo LanaiABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
9107 if (!ByVal) { in getIndirectResult()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp420 if (Callee->hasParamAttribute(I, Attribute::ByVal) != in isLegalToPromote()
421 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp37 Attribute::ByVal, in isValidForDXIL()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLint.cpp235 if (PAL.hasParamAttr(ArgNo, Attribute::ByVal)) in visitCallBase()
268 if (PAL.hasParamAttr(ArgNo++, Attribute::ByVal)) in visitCallBase()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DAttributes.cpp190 return get(Context, ByVal, Ty); in getWithByValType()
797 return SetNode ? SetNode->getAttributeType(Attribute::ByVal) : nullptr; in getByValType()
1821 return addTypeAttr(Attribute::ByVal, Ty); in addByValAttr()
1916 .addAttribute(Attribute::ByVal) in typeIncompatible()
H A DFunction.cpp111 return hasAttribute(Attribute::ByVal); in hasByValAttr()
142 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr()
151 return Attrs.hasParamAttr(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr()
H A DVerifier.cpp1808 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
1873 if (Attrs.hasAttribute(Attribute::ByVal)) { in verifyParameterAttrs()
1910 if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) { in verifyParameterAttrs()
2531 Check(F.arg_empty() || Attrs.hasParamAttr(0, Attribute::ByVal), in visitFunction()
2550 Check(!Attrs.hasParamAttr(i, Attribute::ByVal), in visitFunction()
3524 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in getParameterABIAttributes()
3537 (Attrs.hasParamAttr(I, Attribute::ByVal) || in getParameterABIAttributes()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.td57 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
189 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
226 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86CallLowering.cpp272 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstrTypes.h1689 return paramHasAttr(ArgNo, Attribute::ByVal);
1700 return paramHasAttr(ArgNo, Attribute::ByVal) ||
1927 return Attrs.hasAttrSomewhere(Attribute::ByVal);
H A DAttributes.td72 def ByVal : TypeAttr<"byval", [ParamAttr]>;
H A DAttributes.h1139 Type *getByValType() const { return getTypeAttr(Attribute::ByVal); }
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3217 Call.removeParamAttr(ix, Attribute::ByVal); in visitCallBase()
3490 if (CallerPAL.hasParamAttr(i, Attribute::ByVal) != in transformConstExprCastCall()
3491 Callee->getAttributes().hasParamAttr(i, Attribute::ByVal)) in transformConstExprCastCall()
3496 if (ParamTy != ActTy && CallerPAL.hasParamAttr(i, Attribute::ByVal)) { in transformConstExprCastCall()
3571 if (CallerPAL.hasParamAttr(i, Attribute::ByVal) && in transformConstExprCastCall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp4094 bool ByVal = CB.paramHasAttr(i, Attribute::ByVal); in visitCallBase() local
4096 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase()
4110 if (ByVal) { in visitCallBase()
4652 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
5262 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
5488 assert(!CB.paramHasAttr(ArgNo, Attribute::ByVal)); in visitCallBase()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1702 case Attribute::ByVal: return 1 << 7; in getRawAttributeMask()
1910 return Attribute::ByVal; in getAttrFromCode()
2172 if (Kind == Attribute::ByVal) in parseAttributeGroupBlock()
3983 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in parseFunctionRecord()
4000 case Attribute::ByVal: in parseFunctionRecord()
4018 !Func->arg_empty() && !Func->hasParamAttribute(0, Attribute::ByVal)) { in parseFunctionRecord()
4529 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in propagateAttributeTypes()
4541 case Attribute::ByVal: in propagateAttributeTypes()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp1033 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp1038 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp48 if (AttrFn(Attribute::ByVal)) in addFlagsUsingAttrFn()

12