Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
HDRenderScriptx86ABIFixups.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-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/
HDCGFunctionInfo.h171 static ABIArgInfo getIndirect(CharUnits Alignment, bool ByVal = true,
176 AI.setIndirectByVal(ByVal);
182 static ABIArgInfo getIndirectInReg(CharUnits Alignment, bool ByVal = true,
184 auto AI = getIndirect(Alignment, ByVal, Realign);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDAttributes.cpp168 return get(Context, ByVal, Ty); in getWithByValType()
396 if (hasAttribute(Attribute::ByVal)) { in getAsString()
778 case Attribute::ByVal: in get()
854 if (I.hasAttribute(Attribute::ByVal)) in getByValType()
1468 else if (Kind == Attribute::ByVal) in addAttribute()
1492 else if (Val == Attribute::ByVal) in removeAttribute()
1577 Attrs[Attribute::ByVal] = true; in addByValAttr()
1707 Incompatible.addAttribute(Attribute::ByVal) in typeIncompatible()
HDFunction.cpp101 return hasAttribute(Attribute::ByVal); in hasByValAttr()
120 return Attrs.hasParamAttribute(getArgNo(), Attribute::ByVal) || in hasByValOrInAllocaAttr()
HDVerifier.cpp1601 AttrCount += Attrs.hasAttribute(Attribute::ByVal); in verifyParameterAttrs()
1652 if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) { in verifyParameterAttrs()
1666 Assert(!Attrs.hasAttribute(Attribute::ByVal) && in verifyParameterAttrs()
1677 Assert(!Attrs.hasAttribute(Attribute::ByVal), in verifyParameterAttrs()
1702 Assert((!RetAttrs.hasAttribute(Attribute::ByVal) && in verifyFunctionAttrs()
3066 Attribute::StructRet, Attribute::ByVal, Attribute::InAlloca, in getParameterABIAttributes()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Target/
HDTargetCallingConv.td39 /// CCIfByVal - If the current argument has ByVal parameter attribute, apply
135 /// slot to implement ByVal aggregate parameter passing. Size and alignment
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDCallLowering.cpp95 if (Attrs.hasAttribute(OpIdx, Attribute::ByVal)) in setArgFlags()
103 auto Ty = Attrs.getAttribute(OpIdx, Attribute::ByVal).getValueAsType(); in setArgFlags()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDCallSite.h608 return paramHasAttr(ArgNo, Attribute::ByVal); in isByValArgument()
618 return paramHasAttr(ArgNo, Attribute::ByVal) || in isByValOrInAllocaArgument()
HDInstrTypes.h1547 return paramHasAttr(ArgNo, Attribute::ByVal);
1557 return paramHasAttr(ArgNo, Attribute::ByVal) ||
1751 return Attrs.hasAttrSomewhere(Attribute::ByVal);
HDAttributes.td34 def ByVal : EnumAttr<"byval">;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDValueMapper.cpp904 if (Attrs.hasAttribute(i, Attribute::ByVal)) { in remapInstruction()
905 Type *Ty = Attrs.getAttribute(i, Attribute::ByVal).getValueAsType(); in remapInstruction()
909 Attrs = Attrs.removeAttribute(C, i, Attribute::ByVal); in remapInstruction()
HDCodeExtractor.cpp854 case Attribute::ByVal: in constructFunction()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDLint.cpp275 if (PAL.hasParamAttribute(ArgNo, Attribute::ByVal)) in visitCallSite()
308 if (PAL.hasParamAttribute(ArgNo++, Attribute::ByVal)) in visitCallSite()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Linker/
HDIRMover.cpp639 if (Attrs.hasAttribute(i, Attribute::ByVal)) { in mapAttributeTypes()
640 Type *Ty = Attrs.getAttribute(i, Attribute::ByVal).getValueAsType(); in mapAttributeTypes()
644 Attrs = Attrs.removeAttribute(C, i, Attribute::ByVal); in mapAttributeTypes()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86CallLowering.cpp346 if (Arg.hasAttribute(Attribute::ByVal) || in lowerFormalArguments()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64CallingConvention.td60 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
194 // Put ByVal arguments directly on the stack. Minimum size and alignment of a
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
HDWebAssemblyFastISel.cpp646 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in fastLowerArguments()
840 if (Attrs.hasParamAttribute(I, Attribute::ByVal) || in selectCall()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp1229 case Attribute::ByVal: return 1 << 7; in getRawAttributeMask()
1425 return Attribute::ByVal; in getAttrFromCode()
1616 if (Kind == Attribute::ByVal) in parseAttributeGroupBlock()
1659 if (Kind == Attribute::ByVal) in parseAttributeGroupBlock()
3239 if (!Func->hasParamAttribute(i, Attribute::ByVal)) in parseFunctionRecord()
3243 Func->removeParamAttr(i, Attribute::ByVal); in parseFunctionRecord()
3685 if (!CB->paramHasAttr(i, Attribute::ByVal)) in propagateByValTypes()
3688 CB->removeParamAttr(i, Attribute::ByVal); in propagateByValTypes()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUTargetTransformInfo.cpp597 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
HDValueEnumerator.cpp954 if (I.hasAttribute(Attribute::ByVal)) in incorporateFunction()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonISelLowering.cpp775 bool ByVal = Flags.isByVal(); in LowerFormalArguments() local
781 if (VA.isRegLoc() && ByVal && Flags.getByValSize() <= 8) in LowerFormalArguments()
785 (!ByVal || (ByVal && Flags.getByValSize() > 8)); in LowerFormalArguments()
HDHexagonBitTracker.cpp74 if (Arg.hasAttribute(Attribute::ByVal)) in HexagonEvaluator()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
HDAMDGPUBaseInfo.cpp1239 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineCalls.cpp4507 Call.removeParamAttr(ix, Attribute::ByVal); in visitCallBase()
4621 Callee->getAttributes().hasAttrSomewhere(Attribute::ByVal)) in transformConstExprCastCall()
4641 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
4711 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDTargetInfo.cpp1049 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
1527 ABIArgInfo X86_32ABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
1529 if (!ByVal) { in getIndirectResult()
7662 ABIArgInfo getIndirectResult(QualType Ty, bool ByVal, CCState &State) const;
7684 ABIArgInfo LanaiABIInfo::getIndirectResult(QualType Ty, bool ByVal, in getIndirectResult() argument
7686 if (!ByVal) { in getIndirectResult()

12