Home
last modified time | relevance | path

Searched refs:vararg (Results 1 – 25 of 56) sorted by relevance

123

/llvm-project-15.0.7/clang/test/CXX/expr/expr.post/expr.call/
H A Dp7-0x.cpp21 void vararg(...);
26 vararg(x1); // OK in f()
27 …vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic functi… in f()
28 vararg(x3); // OK in f()
29 …vararg(x4); // expected-error{{cannot pass object of non-trivial type 'X4' through variadic functi… in f()
31 vararg(g()); // expected-error{{cannot pass expression of type 'void' to variadic function}} in f()
32 vararg({1, 2, 3}); // expected-error{{cannot pass initializer list to variadic function}} in f()
/llvm-project-15.0.7/llvm/test/MC/AsmParser/
H A Dmacros-darwin-vararg.s3 .macro abc a b:vararg argument
12 .macro ifcc arg:vararg argument
18 .macro ifcc2 arg0 arg1:vararg argument
24 .macro ifcc3 arg0, arg1:vararg argument
30 .macro ifcc4 arg0, arg1:vararg argument
63 .macro abc arg:vararg=nop argument
67 .macro abcd arg0=%eax, arg1:vararg=%ebx
78 .macro .make_macro start, end, name, body:vararg argument
H A Dmacro-vararg-err.s3 # CHECK:{{.*}}.s:[[#@LINE+3]]:21: error: vararg parameter 'a' should be the last parameter
4 # CHECK-NEXT:.macro two a:vararg b:vararg
6 .macro two a:vararg b:vararg argument
9 # CHECK-NEXT:.macro one a:req:vararg
11 .macro one a:req:vararg
H A Dmacro-vararg.s2 .macro one a:vararg argument
19 .macro two a, b:vararg
32 .macro two1 a b:vararg argument
H A Dvararg-default-value.s2 .macro abc arg:vararg=nop argument
6 .macro abcd arg0=%eax arg1:vararg=%ebx
H A Dmacro-max-depth.s5 .macro rec head, tail:vararg argument
13 .macro amplify macro, args:vararg argument
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dvararg.rst1 .. title:: clang-tidy - hicpp-vararg
3 :http-equiv=refresh: 5;URL=../cppcoreguidelines/pro-type-vararg.html
5 hicpp-vararg
8 The `hicpp-vararg` check is an alias, please see
9 `cppcoreguidelines-pro-type-vararg <../cppcoreguidelines/pro-type-vararg.html>`_
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dpro-type-vararg.rst1 .. title:: clang-tidy - cppcoreguidelines-pro-type-vararg
3 cppcoreguidelines-pro-type-vararg
6 This check flags all calls to c-style vararg functions and all use of
9 To allow for SFINAE use of vararg functions, a call is not flagged if a literal
10 0 is passed as the only vararg argument.
/llvm-project-15.0.7/llvm/test/Transforms/CodeExtractor/
H A DPartialInlineVarArg.ll6 define i32 @vararg(i32 %count, ...) {
34 %tmp = tail call i32 (i32, ...) @vararg(i32 %arg)
39 ; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3.bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg)
43 %tmp = tail call i32 (i32, ...) @vararg(i32 %arg, i32 10, float %arg2)
49 ; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3.bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg,…
51 ; Test case to check that we do not extract a vararg function, if va_end is in
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dvararg-non-pod-ms-compat.cpp10 void vararg(...);
26 vararg(x); in test()
H A Dvararg-non-pod.cpp9 void vararg(...);
14 vararg(x); in test()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dvarargs.c11 void vararg(int, ...);
15 vararg(0, focus_changed_cb); in function_as_vararg()
H A Dextend-arg-64.c25 int vararg(int, ...);
65 sum = vararg(sum, u32, s32, u16, s16, u8, s8); in test()
H A Dwin64-i128.c18 void vararg(int a, ...) { in vararg() function
/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dvararg.cu33 __device__ void vararg(const char* x, ...) {} in vararg() function
39 __device__ void vararg(T t, ...) {} in vararg() function
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dlive-sp.mir6 declare void @vararg(i32 signext, ...)
16 call void (i32, ...) @vararg(i32 signext 0, i32 signext %2)
82 …; CHECK-NEXT: PseudoCALL target-flags(riscv-plt) @vararg, csr_ilp32_lp64, implicit-def dead $x1, i…
90 …PseudoCALL target-flags(riscv-plt) @vararg, csr_ilp32_lp64, implicit-def dead $x1, implicit killed…
/llvm-project-15.0.7/bolt/test/X86/
H A Dvararg.test2 # as in the case of vararg handling code generated by GCC 4.5
7 RUN: %clangxx %cxxflags -no-pie %p/../Inputs/vararg.s -o %t -Wl,-q
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dmessage-arrays.m13 // This should also get an implicit cast (for the vararg)
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dsoft-float-02.ll3 ; Check that FP registers are not saved in a vararg function if soft-float is
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dintrinsic-varargs.td26 def llvm_vararg_ty : LLVMType<isVoid>; // this means vararg here
/llvm-project-15.0.7/llvm/test/tools/llvm-ml/
H A Dmacro_errors.asm7 early_vararg_macro MACRO param:vararg, trailing_param
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Dvarargs.ll17 ; Store the second argument (the hidden vararg buffer pointer) into ap
138 ; Store the second argument (the hidden vararg buffer pointer) into ap
167 ; within a vararg buffer.
H A Dfunction-bitcasts.ll17 declare void @vararg(...)
113 call void bitcast (void (...)* @vararg to void (i32)*)(i32 0)
228 ; CHECK: call vararg, $1{{$}}
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiCallingConv.td22 // Put argument in registers if marked 'inreg' and not a vararg call.
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dppcf128-endian.ll196 define double @vararg(i32 %a, ...) {
197 ; CHECK-LABEL: vararg:

123