Home
last modified time | relevance | path

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

1234567

/external/llvm-project/llvm/test/CodeGen/X86/
Dnoreturn-call-linux.ll8 ; struct ByVal {
11 ; struct ByVal getbyval();
12 ; void make_push_unprofitable(struct ByVal);
22 %struct.ByVal = type { [10 x i32] }
26 %agg.tmp = alloca %struct.ByVal, align 8
27 %agg.tmp1 = alloca %struct.ByVal, align 8
28 %agg.tmp2 = alloca %struct.ByVal, align 8
37 call void @getbyval(%struct.ByVal* nonnull sret(%struct.ByVal) %agg.tmp) #4
38 call void @make_push_unprofitable(%struct.ByVal* nonnull byval(%struct.ByVal) align 8 %agg.tmp) #4
39 call void @getbyval(%struct.ByVal* nonnull sret(%struct.ByVal) %agg.tmp1) #4
[all …]
Dnoreturn-call.ll50 %struct.ByVal = type { [10 x i32] }
54 %agg.tmp = alloca %struct.ByVal, align 4
55 %agg.tmp5 = alloca %struct.ByVal, align 4
56 %agg.tmp6 = alloca %struct.ByVal, align 4
75 call void @getbyval(%struct.ByVal* nonnull sret(%struct.ByVal) %agg.tmp)
76 call void @make_push_unprofitable(%struct.ByVal* nonnull byval(%struct.ByVal) align 4 %agg.tmp)
77 call void @getbyval(%struct.ByVal* nonnull sret(%struct.ByVal) %agg.tmp5)
78 call void @make_push_unprofitable(%struct.ByVal* nonnull byval(%struct.ByVal) align 4 %agg.tmp5)
79 call void @getbyval(%struct.ByVal* nonnull sret(%struct.ByVal) %agg.tmp6)
80 call void @make_push_unprofitable(%struct.ByVal* nonnull byval(%struct.ByVal) align 4 %agg.tmp6)
[all …]
/external/rust/crates/libz-sys/src/zlib/old/
Dvisual-basic.txt32 Declare Function compress Lib "ZLIB.DLL" (ByVal compr As
33 String, comprLen As Any, ByVal buf As String, ByVal buflen
35 Declare Function uncompress Lib "ZLIB.DLL" (ByVal uncompr
36 As String, uncomprLen As Any, ByVal compr As String, ByVal
38 Declare Function gzopen Lib "ZLIB.DLL" (ByVal filePath As
39 String, ByVal mode As String) As Long
40 Declare Function gzread Lib "ZLIB.DLL" (ByVal file As
41 Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
43 Declare Function gzwrite Lib "ZLIB.DLL" (ByVal file As
44 Long, ByVal uncompr As String, ByVal uncomprLen As Integer)
[all …]
/external/llvm-project/clang/test/CodeGenCXX/
Dstmtexpr.cpp144 struct ByVal { int x[3]; }; argument
145 extern "C" int cleanup_exit_lvalue_byval(bool cond, ByVal arg) { in cleanup_exit_lvalue_byval()
146 ByVal &r = (A(1), ({ if (cond) return 0; (void)ByVal(); }), arg); in cleanup_exit_lvalue_byval()
/external/llvm-project/llvm/unittests/IR/
DAttributesTest.cpp44 Attribute ByVal = Attribute::get(C, Attribute::ByVal, Type::getInt32Ty(C)); in TEST() local
45 EXPECT_FALSE(ByVal < Attribute::get(C, Attribute::ZExt)); in TEST()
46 EXPECT_TRUE(ByVal < Align4); in TEST()
47 EXPECT_FALSE(ByVal < ByVal); in TEST()
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp31 AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)), in TEST()
45 EXPECT_TRUE(Call->paramHasAttr(1U, Attribute::ByVal)) in TEST()
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp29 AttrBuilder().addAttribute(Attribute::ByVal))); in TEST()
45 EXPECT_TRUE(Call->paramHasAttr(2U, Attribute::ByVal)) in TEST()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
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()
/external/llvm/include/llvm/Target/
DTargetCallingConv.h36 static const uint64_t ByVal = 1ULL<<4; ///< Struct passed by value member
82 bool isByVal() const { return Flags & ByVal; } in isByVal()
DTargetCallingConv.td40 /// CCIfByVal - If the current argument has ByVal parameter attribute, apply
122 /// slot to implement ByVal aggregate parameter passing. Size and alignment
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h151 static ABIArgInfo getIndirect(CharUnits Alignment, bool ByVal = true,
156 AI.setIndirectByVal(ByVal);
162 static ABIArgInfo getIndirectInReg(CharUnits Alignment, bool ByVal = true,
164 auto AI = getIndirect(Alignment, ByVal, Realign);
/external/llvm-project/clang/include/clang/CodeGen/
DCGFunctionInfo.h188 static ABIArgInfo getIndirect(CharUnits Alignment, bool ByVal = true,
193 AI.setIndirectByVal(ByVal);
212 static ABIArgInfo getIndirectInReg(CharUnits Alignment, bool ByVal = true,
214 auto AI = getIndirect(Alignment, ByVal, Realign);
/external/llvm-project/clang/lib/CodeGen/
DABIInfo.h114 getNaturalAlignIndirect(QualType Ty, bool ByVal = true,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.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()
/external/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DAttributes.gen8 ByVal,
65 .Case("byval", Attribute::ByVal)
174 return llvm::Attribute::ByVal;
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen8 ByVal,
65 .Case("byval", Attribute::ByVal)
174 return llvm::Attribute::ByVal;
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen8 ByVal,
65 .Case("byval", Attribute::ByVal)
174 return llvm::Attribute::ByVal;
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen8 ByVal,
65 .Case("byval", Attribute::ByVal)
174 return llvm::Attribute::ByVal;
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen8 ByVal,
65 .Case("byval", Attribute::ByVal)
174 return llvm::Attribute::ByVal;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc8 ByVal,
65 .Case("byval", Attribute::ByVal)
174 return llvm::Attribute::ByVal;
/external/llvm/include/llvm/IR/
DCallSite.h540 return paramHasAttr(ArgNo + 1, Attribute::ByVal); in isByValArgument()
550 return paramHasAttr(ArgNo + 1, Attribute::ByVal) || in isByValOrInAllocaArgument()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/IR/
DAttributesCompatFunc.inc8 ByVal,
77 .Case("byval", Attribute::ByVal)
198 return llvm::Attribute::ByVal;
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DAttributes.inc8 ByVal,
77 .Case("byval", Attribute::ByVal)
198 return llvm::Attribute::ByVal;
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp172 return get(Context, ByVal, Ty); in getWithByValType()
457 const bool IsByVal = hasAttribute(Attribute::ByVal); in getAsString()
859 case Attribute::ByVal: in get()
949 if (auto A = findEnumAttribute(Attribute::ByVal)) in getByValType()
1598 else if (Kind == Attribute::ByVal) in addAttribute()
1628 else if (Val == Attribute::ByVal) in removeAttribute()
1719 Attrs[Attribute::ByVal] = true; in addByValAttr()
/external/llvm-project/llvm/test/Analysis/StackSafetyAnalysis/
Dlocal.ll448 define void @ByVal(i16* byval(i16) %p) {
449 ; CHECK-LABEL: @ByVal dso_preemptable{{$}}
466 call void @ByVal(i16* byval(i16) %x)
470 call void @ByVal(i16* byval(i16) %y1)

1234567