Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp243 if (call_attribs.hasAttribute(I, llvm::Attribute::ByVal)) { in fixupRSAllocationStructByValCalls()
245 call_inst->removeAttribute(I, llvm::Attribute::ByVal); in fixupRSAllocationStructByValCalls()
256 arg.removeAttr(llvm::Attribute::ByVal); in fixupRSAllocationStructByValCalls()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.h114 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()
1130 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
1620 ABIArgInfo X86_32ABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
1622 if (!ByVal) { in getIndirectResult()
8740 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
8762 ABIArgInfo LanaiABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
8764 if (!ByVal) { in getIndirectResult()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetCallingConv.td39 /// CCIfByVal - If the current argument has ByVal parameter attribute, apply
145 /// slot to implement ByVal aggregate parameter passing. Size and alignment
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp238 if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal)) in visitCallBase()
271 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallBase()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallLowering.cpp256 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h1652 return paramHasAttr(ArgNo, Attribute::ByVal);
1663 return paramHasAttr(ArgNo, Attribute::ByVal) ||
1883 return Attrs.hasAttrSomewhere(Attribute::ByVal);
H A DAttributes.td65 def ByVal : TypeAttr<"byval", [ParamAttr]>;
H A DAttributes.h912 Type *getByValType() const { return getTypeAttr(Attribute::ByVal); }
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp189 return get(Context, ByVal, Ty); in getWithByValType()
696 return SetNode ? SetNode->getAttributeType(Attribute::ByVal) : nullptr; in getByValType()
1743 return addTypeAttr(Attribute::ByVal, Ty); in addByValAttr()
H A DFunction.cpp112 return hasAttribute(Attribute::ByVal); in hasByValAttr()
143 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPassPointeeByValueCopyAttr()
152 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasPointeeInMemoryValueAttr()
H A DVerifier.cpp1706 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
1771 if (Attrs.hasAttribute(Attribute::ByVal)) { in verifyParameterAttrs()
1802 if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) { in verifyParameterAttrs()
2351 Assert(F.arg_empty() || Attrs.hasParamAttribute(0, Attribute::ByVal), in visitFunction()
2371 Assert(!Attrs.hasParamAttribute(i, Attribute::ByVal), in visitFunction()
3320 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in getParameterABIAttributes()
3333 (Attrs.hasParamAttribute(I, Attribute::ByVal) || in getParameterABIAttributes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp47 if (AttrFn(Attribute::ByVal)) in addFlagsUsingAttrFn()
170 auto Ty = Attrs.getAttribute(OpIdx, Attribute::ByVal).getValueAsType(); in setArgFlags()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp648 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in fastLowerArguments()
832 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in selectCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp3693 bool ByVal = CB.paramHasAttr(i, Attribute::ByVal); in visitCallBase() local
3695 bool EagerCheck = MayCheckCall && !ByVal && NoUndef; in visitCallBase()
3701 if (ByVal) { in visitCallBase()
4219 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
4840 bool IsByVal = CB.paramHasAttr(ArgNo, Attribute::ByVal); in visitCallBase()
5069 assert(!CB.paramHasAttr(ArgNo, Attribute::ByVal)); in visitCallBase()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.td57 // 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
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2412 Call.removeParamAttr(ix, Attribute::ByVal); in visitCallBase()
2638 Callee->getAttributes().hasAttrSomewhere(Attribute::ByVal)) in transformConstExprCastCall()
2661 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
2731 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1210 case Attribute::ByVal: return 1 << 7; in getRawAttributeMask()
1384 return Attribute::ByVal; in getAttrFromCode()
1601 if (Kind == Attribute::ByVal) in parseAttributeGroupBlock()
3333 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in parseFunctionRecord()
3347 case Attribute::ByVal: in parseFunctionRecord()
3818 for (Attribute::AttrKind Kind : {Attribute::ByVal, Attribute::StructRet, in propagateAttributeTypes()
3828 case Attribute::ByVal: in propagateAttributeTypes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp1068 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp948 {Attribute::ByVal, Attribute::StructRet, Attribute::ByRef, in remapInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp831 bool ByVal = Flags.isByVal(); in LowerFormalArguments() local
837 if (VA.isRegLoc() && ByVal && Flags.getByValSize() <= 8) in LowerFormalArguments()
841 (!ByVal || (ByVal && Flags.getByValSize() > 8)); in LowerFormalArguments()
H A DHexagonBitTracker.cpp74 if (Arg.hasAttribute(Attribute::ByVal)) in HexagonEvaluator()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp2991 if (hasAttr({Attribute::ByVal})) in initialize()
5302 Attribute::StructRet, Attribute::Nest, Attribute::ByVal}, in initialize()
6340 if (getIRPosition().hasAttr(Attribute::ByVal) && in identifyPrivatizableType()
6411 if (!getIRPosition().hasAttr(Attribute::ByVal) && in updateImpl()
6808 if (getIRPosition().hasAttr(Attribute::ByVal)) in initialize()
7022 IRP.hasAttr({Attribute::ByVal}, /* IgnoreSubsumingPositions */ true); in initialize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp652 {Attribute::ByVal, Attribute::StructRet, Attribute::ByRef, in mapAttributeTypes()

12