Home
last modified time | relevance | path

Searched refs:leaf (Results 1 – 25 of 245) sorted by relevance

12345678910

/llvm-project-15.0.7/clang/test/Headers/
H A Dsgxintrin.c8 uint32_t test_encls(uint32_t leaf, size_t data[3]) { in test_encls() argument
12 return _encls_u32(leaf, data); in test_encls()
15 uint32_t test_enclu(uint32_t leaf, size_t data[3]) { in test_enclu() argument
19 return _enclu_u32(leaf, data); in test_enclu()
22 uint32_t test_enclv(uint32_t leaf, size_t data[3]) { in test_enclv() argument
26 return _enclv_u32(leaf, data); in test_enclv()
H A Dpconfigintin.c8 uint32_t test_pconfig(uint32_t leaf, size_t data[3]) { in test_pconfig() argument
11 return _pconfig_u32(leaf, data); in test_pconfig()
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dupgrade-frame-pointer.ll2 ;; "no-frame-pointer-elim-non-leaf" (value is ignored) can be upgraded to
13 define void @non_leaf0() "no-frame-pointer-elim-non-leaf" { ret void }
21 ;; "no-frame-pointer-elim-non-leaf" is present.
25 attributes #0 = { readnone "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" }
26 attributes #1 = { readnone "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" }
31 ; CHECK: attributes #2 = { "frame-pointer"="non-leaf" }
32 ; CHECK: attributes #3 = { readnone "frame-pointer"="non-leaf" }
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-leaf.c3 void f1(void) __attribute__((leaf));
5 void f2(void) __attribute__((leaf("abc"))); // expected-error {{'leaf' attribute takes no argument}}
7 int var __attribute__ ((leaf())); // expected-warning {{'leaf' attribute only applies to functions}}
11 __attribute__((leaf)) void f3(void) { in f3()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DRewriterGen.cpp469 if (leaf.isAttrMatcher() || leaf.isConstantAttr()) { in emitNativeCodeMatch()
517 if (leaf.isUnspecified()) in emitNativeCodeMatch()
523 if (leaf.isAttrMatcher() || leaf.isConstantAttr()) in emitNativeCodeMatch()
1163 if (leaf.isStringAttr()) in handleLocationDirective()
1178 if (leaf.isStringAttr()) { in handleLocationDirective()
1215 if (leaf.isStringAttr()) in handleOpArgument()
1217 if (leaf.isConstantAttr()) { in handleOpArgument()
1222 if (leaf.isEnumAttrCase()) { in handleOpArgument()
1232 if (leaf.isUnspecified() || leaf.isOperandMatcher()) { in handleOpArgument()
1598 if (leaf.isConstantAttr() || leaf.isEnumAttrCase()) { in supplyValuesForOpArgs()
[all …]
H A DCodeGenHelpers.cpp301 for (auto &leaf : constraints) { in collectPatternConstraints() local
302 assert(leaf.isOperandMatcher() || leaf.isAttrMatcher()); in collectPatternConstraints()
304 leaf.isOperandMatcher() ? typeConstraints : attrConstraints, in collectPatternConstraints()
305 leaf.isOperandMatcher() ? "type" : "attr", leaf.getAsConstraint()); in collectPatternConstraints()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMetadata.def27 // Handler for leaf nodes in the class hierarchy.
32 // Handler for non-leaf nodes in the class hierarchy.
37 // Handler for specialized and uniquable leaf nodes under MDNode. Defers to
50 // Handler for leaf nodes under MDNode.
55 // Handler for leaf nodes under MDNode.
60 // Handler for non-leaf nodes under MDNode.
65 // Handler for specialized leaf nodes under MDNode.
70 // Handler for specialized non-leaf nodes under MDNode.
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dframe-chain-reserved-fp.ll3 …e-eabi -filetype asm -o - %s -frame-pointer=all -mattr=+aapcs-frame-chain-leaf 2>&1 | FileCheck %s…
4 ; RUN: llc -mtriple arm-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf 2>&1 | FileChec…
5 ; RUN: not llc -mtriple arm-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr=+aap…
6 …arm-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr=+aapcs-frame-chain-leaf 2>&…
9 …-eabi -filetype asm -o - %s -frame-pointer=none -mattr=+aapcs-frame-chain-leaf 2>&1 | FileCheck %s…
11 declare void @leaf(i32 %input)
H A Dipra.ll4 define void @leaf() {
42 ; CHECK: bl leaf
47 tail call void @leaf()
59 ; CHECK: bl leaf
74 ; CHECK: bl leaf
78 tail call void @leaf()
103 ; CHECK: bl leaf
107 tail call void @leaf()
120 ; CHECK: bl leaf
125 tail call void @leaf()
[all …]
H A Dframe-chain.ll6 …arm-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr=+aapcs-frame-chain-leaf | F…
11 define dso_local noundef i32 @leaf(i32 noundef %0) {
12 ; LEAF-FP-LABEL: leaf:
21 ; LEAF-FP-AAPCS-LABEL: leaf:
33 ; LEAF-NOFP-LABEL: leaf:
42 ; LEAF-NOFP-AAPCS-LABEL: leaf:
67 ; FP-NEXT: bl leaf
82 ; FP-AAPCS-NEXT: bl leaf
95 ; NOFP-NEXT: bl leaf
108 ; NOFP-AAPCS-NEXT: bl leaf
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb/
H A Dframe-chain-reserved-fp.ll3 …e-eabi -filetype asm -o - %s -frame-pointer=all -mattr=+aapcs-frame-chain-leaf 2>&1 | FileCheck %s…
4 ; RUN: llc -mtriple thumbv6m-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf 2>&1 | Fil…
5 ; RUN: not llc -mtriple thumbv6m-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr…
6 …v6m-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr=+aapcs-frame-chain-leaf 2>&…
9 …-eabi -filetype asm -o - %s -frame-pointer=none -mattr=+aapcs-frame-chain-leaf 2>&1 | FileCheck %s…
11 declare void @leaf(i32 %input)
H A Dframe-chain.ll6 …v6m-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr=+aapcs-frame-chain-leaf --v…
11 define dso_local noundef i32 @leaf(i32 noundef %0) {
12 ; LEAF-FP-LABEL: leaf:
21 ; LEAF-FP-AAPCS-LABEL: leaf:
39 ; LEAF-NOFP-LABEL: leaf:
48 ; LEAF-NOFP-AAPCS-LABEL: leaf:
73 ; FP-NEXT: bl leaf
90 ; FP-AAPCS-NEXT: bl leaf
104 ; NOFP-NEXT: bl leaf
116 ; NOFP-AAPCS-NEXT: bl leaf
[all …]
/llvm-project-15.0.7/llvm/test/Other/
H A Dopt-override-frame-pointer.ll3 ; RUN: opt < %s -mtriple=x86_64-apple-darwin -frame-pointer=non-leaf -S | FileCheck -check-prefixes…
33 ; ALL-DAG: attributes [[NONLEAF_ATTR]] = { nounwind "frame-pointer"="non-leaf" }
38 ; NONE-DAG: attributes [[NONLEAF_ATTR]] = { nounwind "frame-pointer"="non-leaf" }
41 ; NONLEAF-DAG: attributes [[VARATTR]] = { nounwind "frame-pointer"="non-leaf" }
50 attributes #3 = { nounwind "frame-pointer"="non-leaf" }
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.cpp74 bool leaf[kMutexTypeMax]; in DebugMutexInit() local
75 internal_memset(&leaf, 0, sizeof(leaf)); in DebugMutexInit()
88 CHECK(!leaf[t]); in DebugMutexInit()
89 leaf[t] = true; in DebugMutexInit()
106 if (!leaf[t]) in DebugMutexInit()
110 if (z == MutexInvalid || t == z || leaf[z]) in DebugMutexInit()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtls-addr-non-leaf-function.ll7 ; The function 'foo' below is marked with the "frame-pointer"="non-leaf"
9 ; unless the function is a leaf (i.e. it doesn't call any other function).
10 ; Now, 'foo' is not a leaf function, because it performs a TLS access which on
18 ; a TLS access pseudo-instruction is created, so 'foo' appears to be a non-leaf
34 define i32 @foo() "frame-pointer"="non-leaf" {
H A Dfp-elim.ll4 ; Implement -momit-leaf-frame-pointer
34 ; The local non-leaf attribute takes precendece over the command line flag.
35 define i32 @t3() "frame-pointer"="non-leaf" nounwind readnone {
43 define void @t4() "frame-pointer"="non-leaf" nounwind {
/llvm-project-15.0.7/llvm/test/Transforms/RewriteStatepointsForGC/
H A Dleaf-function.ll4 declare void @foo() "gc-leaf-function"
7 ; Calls of functions with the "gc-leaf-function" attribute shouldn't be turned
23 call void @bar() "gc-leaf-function"
/llvm-project-15.0.7/clang/test/CodeGen/X86/
H A Dx86_64-instrument-functions.c6 __attribute__((always_inline)) int leaf(int x) { in leaf() function
17 return leaf(x); in root()
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dmips16_32_9.ll47 attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-inf…
48 attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math…
49 attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-inf…
H A Dmips16_32_10.ll56 attributes #0 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-i…
57 attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math…
58 attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-i…
H A Dmips16-hf-attr.ll29 "frame-pointer"="non-leaf" "no-infs-fp-math"="false"
36 "frame-pointer"="non-leaf" "no-infs-fp-math"="false"
42 "frame-pointer"="non-leaf" "no-infs-fp-math"="false"
H A Dmips16-hf-attr-2.ll29 "frame-pointer"="non-leaf" "no-infs-fp-math"="false"
36 "frame-pointer"="non-leaf" "no-infs-fp-math"="false"
42 "frame-pointer"="non-leaf" "no-infs-fp-math"="false"
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dmachine-outliner-retaddr-sign-non-leaf.ll7 define i64 @a(i64 %x) "sign-return-address"="non-leaf" "sign-return-address-key"="b_key" {
29 define i64 @b(i64 %x) "sign-return-address"="non-leaf" "sign-return-address-key"="b_key" {
51 define i64 @c(i64 %x) "sign-return-address"="non-leaf" "sign-return-address-key"="b_key" {
73 ; Outlined function is leaf-function => don't sign it
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/
H A Dframe-pointer.ll6 define void @leaf() {
7 ; CHECK-LABEL: leaf:
52 ; Leaf function, frame pointer requested for non-leaf functions only, so no
54 define void @leaf_nononleaffpelim() "frame-pointer"="non-leaf" {
85 ; Has a call, and frame pointer requested for non-leaf function.
86 define void @call_nononleaffpelim() "frame-pointer"="non-leaf" {
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dframeaddr.ll33 ; Note that if we start eliminating non-leaf frame pointers by default, this
43 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math…
46 attributes #3 = { nounwind naked "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-f…

12345678910