| /llvm-project/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/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 = { memory(none) "frame-pointer"="non-leaf" }
|
| /llvm-project/mlir/tools/mlir-tblgen/ |
| H A D | RewriterGen.cpp | 219 // Returns the C++ expression to build an argument from the given DAG `leaf`. 221 std::string handleOpArgument(DagLeaf leaf, StringRef patArgName); 292 StringRef getVerifierName(DagLeaf leaf); 487 auto leaf = tree.getArgAsLeaf(i); in emitNativeCodeMatch() local 488 if (leaf.isAttrMatcher() || leaf.isConstantAttr()) { in emitNativeCodeMatch() 533 DagLeaf leaf = tree.getArgAsLeaf(i); in emitNativeCodeMatch() local 536 if (leaf.isUnspecified()) in emitNativeCodeMatch() 539 auto constraint = leaf.getAsConstraint(); in emitNativeCodeMatch() 542 if (leaf in emitNativeCodeMatch() 1314 DagLeaf leaf = tree.getArgAsLeaf(0); handleLocationDirective() local 1328 DagLeaf leaf = tree.getArgAsLeaf(i); handleLocationDirective() local 1365 handleOpArgument(DagLeaf leaf,StringRef patArgName) handleOpArgument() argument 1730 DagLeaf leaf = node.getArgAsLeaf(argIndex); createSeparateLocalVarsForOpArgs() local 1773 auto leaf = node.getArgAsLeaf(argIndex); supplyValuesForOpArgs() local 1819 auto leaf = node.getArgAsLeaf(argIndex); createAggregateLocalVarsForOpArgs() local 1852 DagLeaf leaf = node.getArgAsLeaf(argIndex); createAggregateLocalVarsForOpArgs() local 1932 DagLeaf leaf = node.getArgAsLeaf(i); addPattern() local 1943 getVerifierName(DagLeaf leaf) getVerifierName() argument [all...] |
| /llvm-project/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/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/llvm/test/CodeGen/ARM/ |
| 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 | 3 ; RUN: llc -mtriple arm-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf | FileCheck %s --check-prefixes=FP,LEAF-NOFP 4 ; RUN: llc -mtriple arm-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr=+aapcs-frame-chain | FileCheck %s --check-prefixes=FP-AAPCS,LEAF-NOFP-AAPCS 10 define dso_local noundef i32 @leaf(i32 noundef %0) { 11 ; LEAF-FP-LABEL: leaf: 23 ; LEAF-FP-AAPCS-LABEL: leaf: 35 ; LEAF-NOFP-LABEL: leaf: 44 ; LEAF-NOFP-AAPCS-LABEL: leaf: 69 ; FP-NEXT: bl leaf 84 ; FP-AAPCS-NEXT: bl leaf 97 ; NOFP-NEXT: bl leaf [all...] |
| /llvm-project/llvm/test/CodeGen/AArch64/ |
| H A D | machine-outliner-leaf-descendants.ll | 1 ; This test is mainly for the -outliner-leaf-descendants flag for MachineOutliner. 3 ; ===================== -outliner-leaf-descendants=false ===================== 20 ; ===================== -outliner-leaf-descendants=true ===================== 29 ; This corresponds to an internal node that has ZERO leaf children, but SIX leaf descendants. 39 ; RUN: llc %s -enable-machine-outliner=always -outliner-leaf-descendants=false -filetype=obj -o %t 42 ; RUN: llc %s -enable-machine-outliner=always -outliner-leaf-descendants=false -outliner-benefit-th… 45 ; RUN: llc %s -enable-machine-outliner=always -outliner-leaf-descendants=true -filetype=obj -o %t 48 ; RUN: llc %s -enable-machine-outliner=always -outliner-leaf-descendants=true -outliner-benefit-thr…
|
| 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" { 58 define i64 @b(i64 %x) "sign-return-address"="non-leaf" "sign-return-address-key"="b_key" { 109 define i64 @c(i64 %x) "sign-return-address"="non-leaf" "sign-return-address-key"="b_key" { 160 ;; Outlined function is leaf-function => don't sign it
|
| /llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | ConstructDecompositionT.h | 9 // constituent leaf constructs, each with a list of clauses that apply to it. 14 // Note: Composite constructs will also be broken up into leaf constructs. 16 // for each leaf constituent should be merged. 105 // Copy the individual leaf directives with their clauses to the in ConstructDecompositionT() 109 for (auto &leaf : leafs) { in ConstructDecompositionT() 110 output.push_back({leaf.id, {}}); in ConstructDecompositionT() 112 for (const ClauseTy *c : leaf.clauses) in ConstructDecompositionT() 129 leafs, [&](const LeafReprInternal &leaf) { return leaf.id == dirId; }); in findDirective() 379 auto unique = detail::find_unique(leafs, [=](const auto &leaf) { in applyToUnique() 1107 for (llvm::omp::Directive leaf : split() local [all...] |
| /llvm-project/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/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/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/mlir/lib/TableGen/ |
| H A D | CodeGenHelpers.cpp | 302 for (auto &leaf : constraints) { in collectPatternConstraints() local 303 assert(leaf.isOperandMatcher() || leaf.isAttrMatcher()); in collectPatternConstraints() 305 leaf.isOperandMatcher() ? typeConstraints : attrConstraints, in collectPatternConstraints() 306 leaf.isOperandMatcher() ? "type" : "attr", leaf.getAsConstraint()); in collectPatternConstraints()
|
| /llvm-project/llvm/test/Transforms/RewriteStatepointsForGC/ |
| H A D | leaf-function.ll | 3 declare void @foo() "gc-leaf-function" 6 ; Calls of functions with the "gc-leaf-function" attribute shouldn't be turned 22 call void @bar() "gc-leaf-function"
|
| /llvm-project/llvm/test/CodeGen/Thumb/ |
| H A D | frame-chain.ll | 3 ; RUN: llc -mtriple thumbv6m-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf --verify-machineinstrs | FileCheck %s --check-prefixes=FP,LEAF-NOFP 4 ; RUN: llc -mtriple thumbv6m-arm-none-eabi -filetype asm -o - %s -frame-pointer=non-leaf -mattr=+aapcs-frame-chain --verify-machineinstrs | FileCheck %s --check-prefixes=FP-AAPCS,LEAF-NOFP-AAPCS 8 define dso_local noundef i32 @leaf(i32 noundef %0) { 9 ; LEAF-FP-LABEL: leaf: 22 ; LEAF-FP-AAPCS-LABEL: leaf: 40 ; LEAF-NOFP-LABEL: leaf: 49 ; LEAF-NOFP-AAPCS-LABEL: leaf: 74 ; FP-NEXT: bl leaf 91 ; FP-AAPCS-NEXT: bl leaf 105 ; NOFP-NEXT: bl leaf [all...] |
| /llvm-project/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_8.ll | 70 attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-inf… 71 attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math… 72 attributes #2 = { "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false"… 73 attributes #3 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math…
|
| 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"
|
| /llvm-project/clang/test/CodeGen/X86/ |
| H A D | x86_64-instrument-functions.c | 6 __attribute__((always_inline)) int leaf(int x) { in leaf() function 12 return leaf(x); in root()
|
| /llvm-project/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/mlir/lib/Dialect/SparseTensor/Transforms/ |
| H A D | SparseSpaceCollapse.cpp | 120 ExtractIterSpaceOp leaf = toCollapse.back().space; in collapseSparseSpace() local 123 assert(root->hasOneUse() && leaf->hasOneUse()); in collapseSparseSpace() 131 leaf.getHiLvl()); in collapseSparseSpace() 137 mapper.map(leaf, collapsedSpace.getExtractedSpace()); in collapseSparseSpace()
|