| /llvm-project-15.0.7/clang/test/Headers/ |
| H A D | sgxintrin.c | 8 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 D | pconfigintin.c | 8 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 D | upgrade-frame-pointer.ll | 2 ;; "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 D | attr-leaf.c | 3 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 D | RewriterGen.cpp | 469 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 D | CodeGenHelpers.cpp | 301 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 D | Metadata.def | 27 // 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 D | frame-chain-reserved-fp.ll | 3 …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 D | ipra.ll | 4 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 D | frame-chain.ll | 6 …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 D | frame-chain-reserved-fp.ll | 3 …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 D | frame-chain.ll | 6 …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 D | opt-override-frame-pointer.ll | 3 ; 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 D | sanitizer_mutex.cpp | 74 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 D | tls-addr-non-leaf-function.ll | 7 ; 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 D | fp-elim.ll | 4 ; 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 D | leaf-function.ll | 4 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 D | x86_64-instrument-functions.c | 6 __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 D | mips16_32_9.ll | 47 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 D | mips16_32_10.ll | 56 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 D | mips16-hf-attr.ll | 29 "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 D | mips16-hf-attr-2.ll | 29 "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 D | machine-outliner-retaddr-sign-non-leaf.ll | 7 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 D | frame-pointer.ll | 6 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 D | frameaddr.ll | 33 ; 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…
|