Home
last modified time | relevance | path

Searched refs:inline (Results 1 – 25 of 1228) sorted by relevance

12345678910>>...50

/llvm-project-15.0.7/libcxx/include/
H A Dnumbers45 inline constexpr double e = e_v<double>;
48 inline constexpr double pi = pi_v<double>;
51 inline constexpr double ln2 = ln2_v<double>;
52 inline constexpr double ln10 = ln10_v<double>;
57 inline constexpr double phi = phi_v<double>;
78 inline constexpr bool __false = false;
114 inline constexpr double e = e_v<double>;
117 inline constexpr double pi = pi_v<double>;
120 inline constexpr double ln2 = ln2_v<double>;
121 inline constexpr double ln10 = ln10_v<double>;
[all …]
H A Dtype_traits207 inline constexpr bool is_bounded_array_v
209 inline constexpr bool is_unbounded_array_v
606 inline _LIBCPP_INLINE_VISIBILITY
733 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
736 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
739 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
742 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
745 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
748 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
752 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
[all …]
H A D__bits27 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
30 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
33 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
37 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
40 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
76 inline _LIBCPP_INLINE_VISIBILITY
86 inline _LIBCPP_INLINE_VISIBILITY
92 inline _LIBCPP_INLINE_VISIBILITY
109 inline _LIBCPP_INLINE_VISIBILITY
119 inline _LIBCPP_INLINE_VISIBILITY
[all …]
H A Dios845 inline
853 inline
861 inline
869 inline
877 inline
885 inline
893 inline
901 inline
909 inline
917 inline
[all …]
H A Dranges20 inline namespace unspecified {
22 inline constexpr unspecified begin = unspecified;
23 inline constexpr unspecified end = unspecified;
24 inline constexpr unspecified cbegin = unspecified;
25 inline constexpr unspecified cend = unspecified;
27 inline constexpr unspecified size = unspecified;
28 inline constexpr unspecified ssize = unspecified;
55 inline constexpr bool disable_sized_range = false;
62 inline constexpr bool enable_view = ...;
128 inline constexpr empty_view<T> empty{};
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dinline-replay.ll3 ;; Check baseline inline decisions
6 ;; Check replay inline decisions
7inline-topdown.prof -sample-profile-inline-replay=%S/Inputs/inline-replay.txt -sample-profile-inli…
22inline-topdown.prof -sample-profile-inline-replay=%S/Inputs/inline-replay.txt -sample-profile-inli…
26inline-topdown.prof -sample-profile-inline-replay=%S/Inputs/inline-replay-line.txt -sample-profile…
29inline-topdown.prof -sample-profile-inline-replay=%S/Inputs/inline-replay-linecolumn.txt -sample-p…
40 ;; Check baseline inline decisions with "inline-topdown-inline-all.prof" which inlines all sites
43 ;; Check function scope replay inline decisions with "inline-topdown-inline-all.prof" and "inline-t…
46inline-topdown-inline-all.prof -sample-profile-inline-replay=%S/Inputs/inline-replay-function.txt …
49inline-topdown-inline-all.prof -sample-profile-inline-replay=%S/Inputs/inline-replay-function.txt …
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dcgscc-inline-replay.ll3 ;; Check baseline inline decisions
7inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay.txt -cgscc-inline-replay-scope=Module -c…
11inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay-line.txt -cgscc-inline-replay-scope=Modu…
14inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay.txt -cgscc-inline-replay-scope=Module -c…
17inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay.txt -cgscc-inline-replay-scope=Module -c…
20inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay-function.txt -cgscc-inline-replay-scope=…
23inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay-function.txt -cgscc-inline-replay-scope=…
26inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay-function.txt -cgscc-inline-replay-scope=…
32 …opt < %s -passes=inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay.txt -cgscc-inline-repla…
35 …pt < %s -passes=inline -cgscc-inline-replay=%S/Inputs/cgscc-inline-replay.txt -cgscc-inline-replay…
[all …]
H A Dinline-cost-attributes.ll2 ; RUN: opt -inline-cost-full -passes='cgscc(inline)' -debug-only=inline -disable-output %s 2>&1 | F…
3 ; RUN: opt -inline-cost-full -passes='print<inline-cost>' -disable-output %s 2>&1 | FileCheck --che…
7 define void @fn1() "function-inline-cost"="321" "function-inline-threshold"="123" "call-inline-cost…
12 define void @fn2() "function-inline-threshold"="41" {
38 call void @fn1() "call-inline-cost"="132" "call-threshold-bonus"="193"
39 …call void @fn1() "call-inline-cost"="132" "call-threshold-bonus"="193" "function-inline-cost-multi…
40 call void @fn1() "call-inline-cost"="0" "function-inline-threshold"="321"
41 call void @fn1() "call-threshold-bonus"="17" "function-inline-cost"="197"
42 …call void @fn1() "call-inline-cost"="473" "function-inline-cost"="197" "function-inline-threshold"…
54 call void @fn1() "function-inline-cost"="386" "function-inline-threshold"="849"
H A Doptimization-remarks.ll1 ; RUN: opt < %s -inline -pass-remarks=inline -pass-remarks-missed=inline \
2 ; RUN: -pass-remarks-analysis=inline -S 2>&1 | \
4 ; RUN: opt < %s -inline -pass-remarks=inline -pass-remarks-missed=inline \
8 ; RUN: opt < %s -passes=always-inline -pass-remarks=inline -pass-remarks-missed=inline \
9 ; RUN: -pass-remarks-analysis=inline -S 2>&1 | \
11 ; RUN: opt < %s -passes=always-inline -pass-remarks=inline -pass-remarks-missed=inline \
15 ; RUN: opt < %s -passes=inline -pass-remarks=inline -pass-remarks-missed=inline \
16 ; RUN: -pass-remarks-analysis=inline -S 2>&1 | \
18 ; RUN: opt < %s -passes=inline -pass-remarks=inline -pass-remarks-missed=inline \
22 … < %s -passes=inliner-wrapper-no-mandatory-first -pass-remarks=inline -pass-remarks-missed=inline \
[all …]
H A Doptimization-remarks-with-hotness.ll1 ; RUN: opt < %s -inline -pass-remarks=inline -pass-remarks-missed=inline \
2 ; RUN: -pass-remarks-analysis=inline -pass-remarks-with-hotness -S 2>&1 \
4 ; RUN: opt < %s -passes=inline -pass-remarks=inline -pass-remarks-missed=inline \
5 ; RUN: -pass-remarks-analysis=inline -pass-remarks-with-hotness -S 2>&1 \
7 … < %s -passes=inliner-wrapper-no-mandatory-first -pass-remarks=inline -pass-remarks-missed=inline \
8 ; RUN: -pass-remarks-analysis=inline -pass-remarks-with-hotness -S 2>&1 \
11 ; CHECK: 'foo' inlined into 'bar' with (cost=always): always inline attribute (hotness: 30)
H A Doptimization-remarks-passed-yaml.ll1 ; RUN: opt < %s -S -inline -pass-remarks-output=%t -pass-remarks=inline \
2 ; RUN: -pass-remarks-missed=inline -pass-remarks-analysis=inline \
6 ; RUN: opt < %s -S -passes=inline -pass-remarks-output=%t -pass-remarks=inline \
7 ; RUN: -pass-remarks-missed=inline -pass-remarks-analysis=inline \
11 ; RUN: opt < %s -S -passes=inliner-wrapper -pass-remarks-output=%t -pass-remarks=inline \
12 ; RUN: -pass-remarks-missed=inline -pass-remarks-analysis=inline \
13 ; RUN: -annotate-inline-phase=false \
18 ; RUN: -pass-remarks-missed=inline -pass-remarks-analysis=inline \
19 ; RUN: -annotate-inline-phase \
35 ; YAML-NO-ANNOTATE-NEXT: Pass: inline
[all …]
H A Dinline-call-penalty-option.ll2 ; call penalty is provided with the '--inline-call-penalty' option.
4 ; RUN: opt < %s -inline --inline-call-penalty=0 --inline-threshold=5 -S | FileCheck %s
5 ; RUN: opt < %s -inline --inline-threshold=5 -S | FileCheck %s -check-prefix=DEFAULT_CALL_PENALTY
10 call void @extern() "call-inline-cost"="30"
H A Dinline-cold.ll1 ; RUN: opt < %s -inline -S -inlinecold-threshold=25 -enable-new-pm=0 | FileCheck %s
2 ; RUN: opt < %s -passes='require<profile-summary>,cgscc(inline)' -S -inlinecold-threshold=25 | File…
6 ; RUN: opt < %s -inline -S -inline-threshold=600 -enable-new-pm=0 | FileCheck %s -check-prefix=OVER…
7 ; RUN: opt < %s -passes='require<profile-summary>,cgscc(inline)' -S -inline-threshold=600 -enable-n…
8 ; The command line argument for inline-threshold should override
12 ; RUN: opt < %s -inline -S -enable-new-pm=0 | FileCheck %s -check-prefix=DEFAULT
13 ; RUN: opt < %s -passes='require<profile-summary>,cgscc(inline)' -S | FileCheck %s -check-prefix=DE…
21 define i32 @simpleFunction(i32 %a) #0 "function-inline-cost"="80" {
27 define i32 @ColdFunction(i32 %a) #1 "function-inline-cost"="30" {
39 define i32 @ColdFunction2(i32 %a) #1 "function-inline-cost"="250" {
H A Dinline-remark.ll1 ; RUN: opt < %s -inline -inline-remark-attribute --inline-threshold=0 -S | FileCheck %s
3 ; Test that the inliner adds inline remark attributes to non-inlined callsites.
25 ;; Test 1 - Add different inline remarks to similar callsites.
58 ; CHECK: attributes [[ATTR1]] = { "inline-remark"="(cost=25, threshold=0)" }
59 ; CHECK: attributes [[ATTR2]] = { "inline-remark"="(cost=never): recursive" }
60 ; CHECK: attributes [[ATTR3]] = { "inline-remark"="unsupported operand bundle; (cost={{.*}}, thresh…
61 ; CHECK: attributes [[ATTR4]] = { alwaysinline "inline-remark"="(cost=never): recursive call" }
H A Dinline-no-builtin-compatible.ll2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -S -inline | FileCheck %s
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -S -passes='cgscc(inline)' | FileCheck %s
5 ; Make sure we don't inline callees into a caller with a superset of the
6 ; no builtin attributes when -inline-caller-superset-nobuiltin=false.
7 ; RUN: opt < %s -inline-caller-superset-nobuiltin=false -mtriple=x86_64-unknown-linux-gnu -S -passe…
21 ; We can inline a function that allows all builtins into one with a single
33 ; We can inline a function that allows all builtins into one with all
45 ; We can inline a function with a single nobuiltin into one with all nobuiltins.
56 ; We can't inline a function with any given nobuiltin into one that allows all
68 ; We can't inline a function with all nobuiltins into one that allows all
[all …]
H A Dinline-threshold.ll1 ; Test that -inline-threshold overrides thresholds derived from opt levels.
2 ; RUN: opt < %s -O2 -inline-threshold=500 -S | FileCheck %s
3 ; RUN: opt < %s -O3 -inline-threshold=500 -S | FileCheck %s
4 ; RUN: opt < %s -Os -inline-threshold=500 -S | FileCheck %s
5 ; RUN: opt < %s -Oz -inline-threshold=500 -S | FileCheck %s
24 %i = tail call i32 @simpleFunction(i32 6) "function-inline-cost"="749"
25 %j = tail call i32 @simpleFunction(i32 %i) "function-inline-cost"="750"
/llvm-project-15.0.7/llvm/test/tools/llvm-profgen/
H A Dcs-preinline.test2 …lvm-profgen --format=text --perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/i…
6inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 --…
10inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 --…
14inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 --…
19inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 -…
23inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 --…
25inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 -…
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/Breakpad/
H A Dinline-record.test1 # RUN: yaml2obj %S/Inputs/basic-elf.yaml -o %T/inline-record.out
2 # RUN: %lldb %T/inline-record.out -o "target symbols add -s inline-record.out %S/Inputs/inline-reco…
6 # CHECK: Summary: inline-record.out`f1 [inlined] inlined_f1 at a.c:3
7 # CHECK-NEXT: inline-record.out`f1 at a.c:8
13 # CHECK: Summary: inline-record.out`f1 + 6 at a.c:3
14 # CHECK-NOT: inline-record.out`f1
21 # CHECK-NEXT: inline-record.out`f2 + 3 at a.c:3
29 # CHECK-NEXT: inline-record.out`f2 + 3 at a.c:3
36 # CHECK-NEXT: inline-record.out`f3 at 3
43 # CHECK: Summary: inline-record.out`f3 + 5 [inlined] at b.c:3
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dinline-constraints.ll82 ; NOSI: error: invalid operand for inline asm constraint 'A'
90 ; NOSI: error: invalid operand for inline asm constraint 'A'
98 ; NOSI: error: invalid operand for inline asm constraint 'A'
106 ; NOSI: error: invalid operand for inline asm constraint 'A'
114 ; NOSI: error: invalid operand for inline asm constraint 'A'
122 ; NOSI: error: invalid operand for inline asm constraint 'A'
130 ; NOSI: error: invalid operand for inline asm constraint 'A'
138 ; NOGCN: error: invalid operand for inline asm constraint 'A'
195 ; NOSI: error: invalid operand for inline asm constraint 'A'
247 ; NOSI: error: invalid operand for inline asm constraint 'A'
[all …]
/llvm-project-15.0.7/llvm/test/Other/
H A Doptimization-remarks-auto.ll6 ; RUN: --passes='inline' \
7 ; RUN: --pass-remarks-output=%t.yaml --pass-remarks-filter='inline' \
13 ; RUN: opt < %s --disable-output --inline-enable-cost-benefit-analysis=0 \
14 ; RUN: --passes='module(print-profile-summary,cgscc(inline))' \
15 ; RUN: --pass-remarks-output=%t.hot.yaml --pass-remarks-filter='inline' \
20 ; RUN: opt < %s --disable-output --inline-enable-cost-benefit-analysis=0 \
21 ; RUN: --passes='module(print-profile-summary,cgscc(inline))' \
22 ; RUN: --pass-remarks=inline --pass-remarks-missed=inline --pass-remarks-analysis=inline \
26 ; YAML-PASS-NEXT: Pass: inline
32 ; YAML-MISS-NEXT: Pass: inline
/llvm-project-15.0.7/clang/lib/Headers/cuda_wrappers/
H A Dnew44 __device__ inline void *operator new(__SIZE_TYPE__ size) {
50 __device__ inline void *operator new(__SIZE_TYPE__ size,
55 __device__ inline void *operator new[](__SIZE_TYPE__ size) {
58 __device__ inline void *operator new[](__SIZE_TYPE__ size,
63 __device__ inline void operator delete(void* ptr) CUDA_NOEXCEPT {
68 __device__ inline void operator delete(void *ptr,
73 __device__ inline void operator delete[](void* ptr) CUDA_NOEXCEPT {
76 __device__ inline void operator delete[](void *ptr,
83 __device__ inline void operator delete(void *ptr,
87 __device__ inline void operator delete[](void *ptr,
[all …]
/llvm-project-15.0.7/lld/test/COFF/
H A Dcomdat-weak.test1 RUN: lld-link -lldmingw %S/Inputs/inline-weak.o %S/Inputs/inline-weak2.o -out:%t.exe
3 When compiling certain forms of templated inline functions, some
10 $ cat inline-weak.h
20 $ cat inline-weak.cpp
21 #include "inline-weak.h"
37 $ cat inline-weak2.cpp
38 #include "inline-weak.h"
44 $ x86_64-w64-mingw32-g++ -std=c++11 -c inline-weak.cpp
45 $ x86_64-w64-mingw32-g++ -std=c++11 -c inline-weak2.cpp
47 $ x86_64-w64-mingw32-nm inline-weak.o | grep MyClass3get
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-opt-report/Inputs/
H A Dor.yaml2 Pass: inline
13 Pass: inline
24 Pass: inline
39 Pass: inline
49 Pass: inline
64 Pass: inline
74 Pass: inline
89 Pass: inline
109 Pass: inline
120 Pass: inline
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/
H A Ddebuglineinfo.test1 RUN: llvm-rtdyld -printline %p/Inputs/test-inline.o \
3 RUN: llvm-rtdyld -printdebugline %p/Inputs/test-inline.o \
14 CHECK-NEXT: Line info @ 0: test-inline.cpp, line:1
15 CHECK-NEXT: Line info @ 4: test-inline.cpp, line:1
17 CHECK-NEXT: Line info @ 0: test-inline.cpp, line:2
18 CHECK-NEXT: Line info @ 4: test-inline.cpp, line:2
19 CHECK-NEXT: Line info @ 9: test-inline.cpp, line:2
/llvm-project-15.0.7/bolt/test/X86/
H A Dinline-debug-info.test6 # RUN: %clang %cflags -O1 -g %p/Inputs/inline-main.c %p/Inputs/inline-foo.c \
9 # RUN: --print-only=main --print-after-lowering --force-inline=foo \
13 ## The call to puts() should come from inline-foo.c:
14 # CHECK: callq {{.*}} # debug line {{.*}}inline-foo.c:4:3
19 ## Dump of main() should include debug info from inline-foo.c after inlining:
20 # CHECK-OBJDUMP: inline-foo.c:4

12345678910>>...50