/llvm-project/llvm/test/CodeGen/X86/ |
H A D | x86-64-intrcc-uintr.ll | 2 ; RUN: llc < %s | FileCheck %s -check-prefixes=CHECK-USER 3 ; RUN: llc -O0 < %s | FileCheck %s -check-prefixes=CHECK0-USER 21 ; CHECK-USER-LABEL: test_uintr_isr_cc_empty: 22 ; CHECK-USER: # %bb.0: # %entry 23 ; CHECK-USER-NEXT: pushq %rax 24 ; CHECK-USER-NEXT: addq $16, %rsp 25 ; CHECK-USER-NEXT: uiret 27 ; CHECK0-USER-LABEL: test_uintr_isr_cc_empty: 28 ; CHECK0-USER: # %bb.0: # %entry 29 ; CHECK0-USER-NEXT: pushq %rax [all …]
|
/llvm-project/libcxx/test/std/numerics/numbers/ |
H A D | user_type.compile.pass.cpp | 13 struct user { struct 18 user std::numbers::e_v<user>{}; argument 21 user std::numbers::log2e_v<user>{}; 24 user std::numbers::log10e_v<user>{}; 27 user std::numbers::pi_v<user>{}; 30 user std::numbers::inv_pi_v<user>{}; 33 user std::numbers::inv_sqrtpi_v<user>{}; 36 user std::numbers::ln2_v<user>{}; 39 user std::numbers::ln10_v<user>{}; 42 user std::numbers::sqrt2_v<user>{}; [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
H A D | legalizer-info-validation.mir | 13 # Watch out for every "SKIPPED: user-defined predicate detected" in the 94 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected 95 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected 98 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected 99 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected 106 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected 107 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected 110 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected 111 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected 114 # DEBUG-NEXT: .. type index coverage check SKIPPED: user [all...] |
/llvm-project/mlir/unittests/IR/ |
H A D | OperationSupportTest.cpp | 41 Operation *user = createOp(&context, operand); in TEST() local 44 user->setOperands(operand); in TEST() 45 EXPECT_EQ(user->getNumOperands(), 1u); in TEST() 48 user->setOperands(std::nullopt); in TEST() 49 EXPECT_EQ(user->getNumOperands(), 0u); in TEST() 52 user->destroy(); in TEST() 65 Operation *user = createOp(&context, operand); in TEST() local 68 user->setOperands(operand); in TEST() 69 EXPECT_EQ(user->getNumOperands(), 1u); in TEST() 72 user->setOperands(std::nullopt); in TEST() [all …]
|
/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | IRTranslator.h | 55 class User; variable 224 bool translateCopy(const User &U, const Value &V, 229 bool translateBitCast(const User &U, MachineIRBuilder &MIRBuilder); 232 bool translateLoad(const User &U, MachineIRBuilder &MIRBuilder); 235 bool translateStore(const User &U, MachineIRBuilder &MIRBuilder); 298 bool translateCall(const User &U, MachineIRBuilder &MIRBuilder); 313 bool translateInvoke(const User &U, MachineIRBuilder &MIRBuilder); 315 bool translateCallBr(const User &U, MachineIRBuilder &MIRBuilder); 317 bool translateLandingPad(const User &U, MachineIRBuilder &MIRBuilder); 321 bool translateCast(unsigned Opcode, const User [all...] |
/llvm-project/clang/test/Modules/ |
H A D | fmodules-validate-once-per-build-session.c | 21 …t-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t… 24 // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp 25 // RUN: ls -R %t/modules-cache-user | grep Bar.pcm.timestamp 28 // RUN: cp %t/modules-cache-user/Foo.pcm %t/modules-to-compare/Foo-before-user.pcm 29 // RUN: cp %t/modules-cache-user/Bar.pcm %t/modules-to-compare/Bar-before-user.pcm 34 …t-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t… 37 // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp 38 // RUN: ls -R %t/modules-cache-user | grep Bar.pcm.timestamp 41 // RUN: cp %t/modules-cache-user/Foo.pcm %t/modules-to-compare/Foo-after-user.pcm 42 // RUN: cp %t/modules-cache-user/Bar.pcm %t/modules-to-compare/Bar-after-user.pcm [all …]
|
/llvm-project/mlir/lib/Dialect/Async/Transforms/ |
H A D | AsyncRuntimeRefCountingOpt.cpp | 73 auto updateBlockUsersInfo = [&](Operation *user) { in optimizeReferenceCounting() argument 74 BlockUsersInfo &info = blockUsers[user->getBlock()]; in optimizeReferenceCounting() 75 info.users.push_back(user); in optimizeReferenceCounting() 77 if (auto addRef = dyn_cast<RuntimeAddRefOp>(user)) in optimizeReferenceCounting() 79 if (auto dropRef = dyn_cast<RuntimeDropRefOp>(user)) in optimizeReferenceCounting() 83 for (Operation *user : value.getUsers()) { in optimizeReferenceCounting() 84 while (user->getParentRegion() != definingRegion) { in optimizeReferenceCounting() 85 updateBlockUsersInfo(user); in optimizeReferenceCounting() 86 user = user->getParentOp(); in optimizeReferenceCounting() 87 assert(user != nullptr && "value user lies outside of the value region"); in optimizeReferenceCounting() [all …]
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | User.h | 1 //===- llvm/User.h - User class definition ----------------------*- C++ -*-===// 10 // Each instance of the Value class keeps track of what User's have handles 38 /// Compile-time customization of User operands. 44 class User : public Value { 56 /// Indicates this User has operands "hung off" in another allocation. 59 /// Indicates this User has operands co-allocated. 61 /// The number of operands for this User. 65 /// Indicates this User has operands and a descriptor co-allocated . 67 /// The number of operands for this User 73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) User() function [all...] |
H A D | Use.h | 11 /// instruction or some other User instance which refers to a Value. The Use 14 /// Pointer tagging is used to efficiently find the User corresponding to a Use 15 /// without having to store a User pointer in every Use. A User is preceded in 18 /// able to find that User given a pointer to any Use. For details, see: 34 class User; variable 41 /// directly to the used value when we arrive from the User's operands, and 42 /// jumping directly to the User when we arrive from the Value's uses. 59 Use(User *Parent) : Parent(Parent) {} in Use() 63 friend class User; variable 68 /// Returns the User that contains this Use. [all …]
|
/llvm-project/llvm/lib/IR/ |
H A D | User.cpp | 1 //===-- User.cpp - Implement the User class -------------------------------===// 9 #include "llvm/IR/User.h" 18 // User Class 21 bool User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() 26 "Cannot call User::replaceUsesOfWith on a constant!"); in replaceUsesOfWith() 47 // User allocHungoffUses Implementation 50 void User::allocHungoffUses(unsigned N, bool IsPhi) { in allocHungoffUses() 67 void User::growHungoffUses(unsigned NewNumUses, bool IsPhi) { in growHungoffUses() 93 // This is a private struct used by `User` t [all...] |
/llvm-project/polly/lib/External/isl/ |
H A D | isl_id.c | 22 * The user should never get a hold on this isl_id. 28 .user = NULL 38 return id ? id->user : NULL; in isl_id_get_user() 46 static __isl_give isl_id *id_alloc(isl_ctx *ctx, const char *name, void *user) in id_alloc() argument 61 id->user = user; in id_alloc() 67 id->hash = isl_hash_builtin(id->hash, user); in id_alloc() 82 void *user; member 90 if (id->user != nu->user) in isl_id_has_name_and_user() 100 __isl_give isl_id *isl_id_alloc(isl_ctx *ctx, const char *name, void *user) in isl_id_alloc() argument 104 struct isl_name_and_user nu = { name, user }; in isl_id_alloc() [all …]
|
H A D | isl_union_multi.c | 49 isl_stat (*fn)(__isl_keep S(UNION,group) *group, void *user); in S() 50 void *user; in S() local 55 static isl_stat FN(UNION,call_on_group)(void **entry, void *user) in FN() 60 data = (S(UNION,foreach_group_data) *) user; in FN() 61 return data->fn(group, data->user); in FN() 67 isl_stat (*fn)(__isl_keep S(UNION,group) *group, void *user), in FN() 68 void *user) in FN() 70 S(UNION,foreach_group_data) data = { fn, user }; in FN() 84 void *user) in FN() 86 int *n = user; in FN() [all …]
|
H A D | isl_union_map.c | 228 static isl_stat free_umap_entry(void **entry, void *user) in free_umap_entry() argument 235 static isl_stat add_map(__isl_take isl_map *map, void *user) in add_map() argument 237 isl_union_map **umap = (isl_union_map **)user; in add_map() 276 static isl_stat align_entry(void **entry, void *user) in align_entry() argument 280 struct isl_union_align *data = user; in align_entry() 572 isl_stat (*fn)(__isl_take isl_map *map, void *user); 573 void *user; member 576 static isl_stat call_on_copy(void **entry, void *user) in call_on_copy() argument 580 data = (struct isl_union_map_foreach_data *)user; in call_on_copy() 582 return data->fn(isl_map_copy(map), data->user); in call_on_copy() [all …]
|
H A D | isl_bound.c | 79 * of the user. 86 __isl_take isl_qpolynomial *poly, void *user) in compressed_guarded_poly_bound() argument 88 struct isl_bound *bound = (struct isl_bound *)user; in compressed_guarded_poly_bound() 120 __isl_take isl_qpolynomial *poly, void *user) in unwrapped_guarded_poly_bound() argument 122 struct isl_bound *bound = (struct isl_bound *)user; in unwrapped_guarded_poly_bound() 135 return compressed_guarded_poly_bound(bset, poly, user); in unwrapped_guarded_poly_bound() 154 r = compressed_guarded_poly_bound(bset, poly, user); in unwrapped_guarded_poly_bound() 194 __isl_take isl_qpolynomial *poly, void *user) in guarded_poly_bound() argument 196 struct isl_bound *bound = (struct isl_bound *)user; in guarded_poly_bound() 205 return unwrapped_guarded_poly_bound(bset, poly, user); in guarded_poly_bound() [all …]
|
/llvm-project/flang/test/Semantics/OpenMP/ |
H A D | workshare02.f90 | 4 ! The !omp workshare construct must not contain any user defined 28 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 33 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 35 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 38 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 40 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 42 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 44 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 47 !ERROR: User defined non-ELEMENTAL function 'my_func' is not allowed in a WORKSHARE construct 52 !ERROR: User define [all...] |
/llvm-project/mlir/utils/jupyter/mlir_opt_kernel/ |
H A D | install.py | 11 def install_my_kernel_spec(user=True, prefix=None): argument 12 """Install the kernel spec for user in given prefix.""" 16 os.path.join(pkgroot, "assets"), "mlir", user=user, prefix=prefix 21 """Returns whether the current user is root.""" 36 "--user", help="Install in user home directory", action="store_true" 44 user = args.user or not _is_root() 47 install_my_kernel_spec(user=user, prefix=prefix)
|
/llvm-project/lldb/unittests/TestingSupport/ |
H A D | MockTildeExpressionResolver.cpp | 22 void MockTildeExpressionResolver::AddKnownUser(StringRef User, in AddKnownUser() argument 24 assert(!UserDirectories.contains(User)); in AddKnownUser() 25 UserDirectories.insert(std::make_pair(User, HomeDir)); in AddKnownUser() 33 void MockTildeExpressionResolver::SetCurrentUser(StringRef User) { in SetCurrentUser() argument 34 assert(UserDirectories.contains(User)); in SetCurrentUser() 35 CurrentUser = User; in SetCurrentUser() 52 for (const auto &User : UserDirectories) { in ResolveExact() local 53 if (User.getKey() != Expr) in ResolveExact() 55 Output.append(User.getValue().begin(), User.getValue().end()); in ResolveExact() 71 for (const auto &User : UserDirectories) { in ResolvePartial() local [all …]
|
/llvm-project/llvm/lib/Analysis/ |
H A D | IVUsers.cpp | 89 /// IVUseShouldUsePostIncValue - We have discovered a "User" of an IV expression 90 /// and now we need to decide whether the user should use the preinc or post-inc 91 /// value. If this user should use the post-inc version of the IV, return true. 97 static bool IVUseShouldUsePostIncValue(Instruction *User, Value *Operand, in IVUseShouldUsePostIncValue() argument 99 // If the user is in the loop, use the preinc value. in IVUseShouldUsePostIncValue() 100 if (L->contains(User)) in IVUseShouldUsePostIncValue() 107 // Ok, the user is outside of the loop. If it is dominated by the latch in IVUseShouldUsePostIncValue() 109 if (DT->dominates(LatchBlock, User->getParent())) in IVUseShouldUsePostIncValue() 116 PHINode *PN = dyn_cast<PHINode>(User); in IVUseShouldUsePostIncValue() 139 // Add this IV user t in AddUsersIfInteresting() 175 Instruction *User = cast<Instruction>(U.getUser()); AddUsersIfInteresting() local 246 AddUser(Instruction * User,Value * Operand) AddUser() argument [all...] |
/llvm-project/llvm/utils/TableGen/jupyter/tablegen_kernel/ |
H A D | install.py | 13 def install_my_kernel_spec(user=True, prefix=None): argument 14 """Install the kernel spec for user in given prefix.""" 37 tmpdir, "tablegen", user=user, prefix=prefix 42 """Returns whether the current user is root.""" 57 "--user", help="Install in user home directory", action="store_true" 65 user = args.user or not _is_root() 68 install_my_kernel_spec(user=user, prefix=prefix)
|
/llvm-project/clang/test/Parser/ |
H A D | cxx11-user-defined-literals.cpp | 6 #line 1 "foo"_bar // expected-error {{user-defined suffix cannot be used here}} 7 # 1 "foo"_bar 1 // expected-error {{user-defined suffix cannot be used here}} 8 #ident "foo"_bar // expected-error {{user-defined suffix cannot be used here}} 9 _Pragma("foo"_bar) // expected-error {{user-defined suffix cannot be used here}} 10 #pragma comment(lib, "foo"_bar) // expected-error {{user-defined suffix cannot be used here}} 11 _Pragma("comment(lib, \"foo\"_bar)") // expected-error {{user-defined suffix cannot be used here}} 12 #pragma message "hi"_there // expected-error {{user-defined suffix cannot be used here}} expected-warning {{hi}} 13 #pragma push_macro("foo"_bar) // expected-error {{user-defined suffix cannot be used here}} 14 #if __has_warning("-Wan-island-to-discover"_bar) // expected-error {{user-defined suffix cannot be used here}} 18 extern "C++"_x {} // expected-error {{user [all...] |
/llvm-project/clang-tools-extra/pseudo/test/cxx/ |
H A D | literals.cpp |
|
/llvm-project/polly/lib/External/isl/include/isl/ |
H A D | ast_build.h | 77 __isl_keep isl_ast_build *build, void *user), void *user); 81 void *user), void *user); 85 __isl_keep isl_ast_build *build, void *user), void *user); 89 void *user), void *user); 93 __isl_keep isl_ast_build *build, void *user), void *user); 97 void *user), void *user);
|
/llvm-project/clang/test/Driver/ |
H A D | config-file3.c | 23 // RUN: %t/testbin/clang --config-system-dir= --config-user-dir= --config=aaa.cfg -c -no-canonical-prefixes -### %s 2>&1 | FileCheck %s -check-prefix CHECK-BIN 54 // RUN: %t/testdmode/x86_64-unknown-linux-gnu-clang-g++ --config-system-dir= --config-user-dir= -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix FULL1 --implicit-check-not 'Configuration file:' 60 // RUN: %t/testdmode/x86_64-unknown-linux-gnu-clang-g++ -m32 --config-system-dir= --config-user-dir= -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix FULL1-I386 --implicit-check-not 'Configuration file:' 66 // RUN: %t/testdmode/x86_64-unknown-linux-gnu-clang-g++ --target=i386-unknown-linux-gnu --config-system-dir= --config-user-dir= -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix FULL1-I386 --implicit-check-not 'Configuration file:' 70 // RUN: %t/testdmode/x86_64-unknown-linux-gnu-clang-g++ --target=i386-unknown-linux-gnu -m64 --config-system-dir= --config-user-dir= -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix FULL1 --implicit-check-not 'Configuration file:' 74 // RUN: %t/testdmode/i386-unknown-linux-gnu-clang-g++ --config-system-dir= --config-user-dir= -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix FULL1-I386 --implicit-check-not 'Configuration file:' 78 // RUN: %t/testdmode/i386-unknown-linux-gnu-clang-g++ -m64 --config-system-dir= --config-user-dir= -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix FULL1 --implicit-check-not 'Configuration file:' 82 // RUN: %t/testdmode/x86_64-unknown-linux-gnu-clang-g++ --config-system-dir=%S/Inputs/config --config-user-dir= --config=i386-qqq.cfg -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix EXPLICIT --implicit-check-not 'Configuration file:' 89 // RUN: %t/testdmode/x86_64-unknown-linux-gnu-clang-g++ --config-system-dir=%S/Inputs/config --config-user-dir= --no-default-config --config=i386-qqq.cfg -no-canonical-prefixes --version 2>&1 | FileCheck %s -check-prefix EXPLICIT-ONLY --implicit-check-not 'Configuration file:' 95 // RUN: %t/testdmode/x86_64-unknown-linux-gnu-clang-g++ --config-system-dir=%S/Inputs/config --config-user [all...] |
/llvm-project/clang/test/OpenMP/ |
H A D | declare_mapper_messages.cpp | 30 …c v) map(v.len) // expected-error {{illegal OpenMP user-defined mapper iden… 33 …map(v.len) // expected-error {{redefinition of user-defined mapper for … 44 … v) map(v.len) // expected-error {{redefinition of user-defined mapper for … 56 … v) map(v.len) // expected-error {{redefinition of user-defined mapper for … in foo() 75 … expected-error {{missing map type}} expected-error {{cannot find a valid user-defined mapper for … in fun() 77 …ror {{use of undeclared identifier 'N2'}} expected-error {{illegal OpenMP user-defined mapper iden… in fun() 79 …:) :vv) // expected-error {{illegal OpenMP user-defined mapper iden… in fun() 83 …alloc:vv) // expected-error {{cannot find a valid user-defined mapper for … in fun() 85 …alloc:arr[0:2]) // expected-error {{cannot find a valid user-defined mapper for … in fun() 93 …er() // expected-error {{illegal OpenMP user-defined mapper iden… in fun() [all …]
|
/llvm-project/clang/docs/analyzer/ |
H A D | user-docs.rst | 1 User Docs 9 user-docs/Installation 10 user-docs/CommandLineUsage 11 user-docs/UsingWithXCode 12 user-docs/FilingBugs 13 user-docs/CrossTranslationUnit 14 user-docs/TaintAnalysisConfiguration 15 user-docs/Annotations 16 user-docs/FAQ
|