/llvm-project/lldb/include/lldb/API/ |
H A D | SBEnvironment.h | 26 /// Return the value of a given environment variable. 29 /// The name of the environment variable. 32 /// The value of the environment variable or null if not present. 33 /// If the environment variable has no value but is present, a valid 38 /// The number of environment variables. 41 /// Return the name of the environment variable at a given index from the 42 /// internal list of environment variables. 45 /// The index of the environment variable in the internal list. 51 /// Return the value of the environment variable at a given index from the 52 /// internal list of environment variables. [all …]
|
/llvm-project/clang/test/SemaHLSL/Availability/ |
H A D | avail-diag-strict-compute.hlsl | 10 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 11 __attribute__((availability(shadermodel, introduced = 6.5, environment = compute))) 14 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 15 __attribute__((availability(shadermodel, introduced = 6.5, environment = mesh))) 22 …// expected-error@#also_alive_fy_call {{'fy' is only available in compute environment on Shader Mo… 23 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 26 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… 35 …// expected-error@#alive_fy_call {{'fy' is only available in compute environment on Shader Model 6… 36 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 39 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… [all …]
|
H A D | avail-diag-strict-lib.hlsl | 10 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 11 __attribute__((availability(shadermodel, introduced = 6.5, environment = compute))) 14 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 15 __attribute__((availability(shadermodel, introduced = 6.5, environment = mesh))) 27 …// expected-error@#also_alive_fy_call {{'fy' is only available in compute environment on Shader Mo… 28 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 32 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… 43 …// expected-error@#alive_fy_call {{'fy' is only available in compute environment on Shader Model 6… 44 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 48 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… [all …]
|
H A D | attr-availability-mesh.hlsl | 3 // Platform shader model, no environment parameter 13 // Platform shader model, environment parameter restricting earlier version, 15 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 19 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 23 // Platform shader model, environment parameter restricting earlier version, 25 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 26 __attribute__((availability(shadermodel, introduced = 6.0, environment = compute))) 27 __attribute__((availability(shadermodel, introduced = 5.0, environment = mesh))) 30 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 31 __attribute__((availability(shadermodel, introduced = 6.0, environment = mesh))) [all …]
|
H A D | avail-diag-relaxed-compute.hlsl | 10 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 11 __attribute__((availability(shadermodel, introduced = 6.5, environment = compute))) 14 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 15 __attribute__((availability(shadermodel, introduced = 6.5, environment = mesh))) 22 …// expected-warning@#also_alive_fy_call {{'fy' is only available in compute environment on Shader … 23 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 26 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… 35 …// expected-warning@#alive_fy_call {{'fy' is only available in compute environment on Shader Model… 36 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 39 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… [all …]
|
H A D | avail-diag-default-compute.hlsl | 10 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 11 __attribute__((availability(shadermodel, introduced = 6.5, environment = compute))) 14 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 15 __attribute__((availability(shadermodel, introduced = 6.5, environment = mesh))) 22 …// expected-error@#also_alive_fy_call {{'fy' is only available in compute environment on Shader Mo… 23 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 26 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… 35 …// expected-error@#alive_fy_call {{'fy' is only available in compute environment on Shader Model 6… 36 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 39 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… [all …]
|
H A D | avail-diag-relaxed-lib.hlsl | 10 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 11 __attribute__((availability(shadermodel, introduced = 6.5, environment = compute))) 14 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 15 __attribute__((availability(shadermodel, introduced = 6.5, environment = mesh))) 23 …// expected-warning@#also_alive_fy_call {{'fy' is only available in compute environment on Shader … 24 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 28 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… 39 …// expected-warning@#alive_fy_call {{'fy' is only available in compute environment on Shader Model… 40 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 44 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… [all …]
|
H A D | avail-diag-default-lib.hlsl | 10 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 11 __attribute__((availability(shadermodel, introduced = 6.5, environment = compute))) 14 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 15 __attribute__((availability(shadermodel, introduced = 6.5, environment = mesh))) 23 …// expected-error@#also_alive_fy_call {{'fy' is only available in compute environment on Shader Mo… 24 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 28 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… 39 …// expected-error@#alive_fy_call {{'fy' is only available in compute environment on Shader Model 6… 40 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 44 …oduced in Shader Model 6.5 in mesh environment here, but the deployment target is Shader Model 6.0… [all …]
|
H A D | attr-availability-compute.hlsl | 3 // Platform shader model, no environment parameter 13 // Platform shader model, environment parameter restricting earlier version, 15 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 19 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 23 // Platform shader model, environment parameter restricting earlier version, 25 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 26 __attribute__((availability(shadermodel, introduced = 6.0, environment = compute))) 27 __attribute__((availability(shadermodel, introduced = 5.0, environment = mesh))) 30 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 31 __attribute__((availability(shadermodel, introduced = 6.0, environment = mesh))) [all …]
|
H A D | attr-availability-pixel.hlsl | 3 // Platform shader model, no environment parameter 13 // Platform shader model, environment parameter restricting earlier version, 15 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 19 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 23 // Platform shader model, environment parameter restricting earlier version, 25 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 26 __attribute__((availability(shadermodel, introduced = 6.0, environment = compute))) 27 __attribute__((availability(shadermodel, introduced = 5.0, environment = mesh))) 30 __attribute__((availability(shadermodel, introduced = 2.0, environment = pixel))) 31 __attribute__((availability(shadermodel, introduced = 6.0, environment = mesh))) [all …]
|
H A D | avail-lib-multiple-stages.hlsl | 7 __attribute__((availability(shadermodel, introduced = 5.0, environment = pixel))) 8 __attribute__((availability(shadermodel, introduced = 6.5, environment = compute))) 11 __attribute__((availability(shadermodel, introduced = 5.0, environment = compute))) 22 …// expected-error@#fy_call {{'fy' is only available in compute environment on Shader Model 6.5 or … 23 …ced in Shader Model 6.5 in compute environment here, but the deployment target is Shader Model 6.0… 27 …uced in Shader Model 5.0 in compute environment here, but the deployment target is Shader Model 6.…
|
/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.h | 9 // This file defines an Environment class that is used by dataflow analyses 61 /// WARNING: Symbolic values that are created by the environment for static 65 class Environment { 67 /// Supplements `Environment` with non-standard comparison and join 88 const Environment &Env1, const Value &Val2, in compare() 89 const Environment &Env2) { in compare() 109 virtual void join(QualType Type, const Value &Val1, const Environment &Env1, in join() 110 const Value &Val2, const Environment &Env2, in join() 111 Value &JoinedVal, Environment &JoinedEnv) {} in join() 142 const Environment &PrevEnv, in widen() [all …]
|
/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.cpp | 9 // This file defines an Environment class that is used by dataflow analyses 43 // FIXME: convert these to parameters of the analysis or environment. Current 98 const Environment &Env1, Value &Val2, in compareDistinctValues() 99 const Environment &Env2, in compareDistinctValues() 100 Environment::ValueModel &Model) { in compareDistinctValues() 123 const Environment &Env1, Value &Val2, in joinDistinctValues() 124 const Environment &Env2, in joinDistinctValues() 125 Environment &JoinedEnv, in joinDistinctValues() 126 Environment::ValueModel &Model) { in joinDistinctValues() 163 const Environment in widenDistinctValues() [all...] |
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | Environment.h | 1 //===- Environment.h - Map from Stmt* to Locations/Values -------*- C++ -*-===// 9 // This file defined the Environment and EnvironmentManager classes. 31 /// An entry in the environment consists of a Stmt and an LocationContext. 32 /// This allows the environment to manage context-sensitive bindings, 56 class Environment { 64 Environment(BindingsTy eb) : ExprBindings(eb) {} in Environment() function 75 /// Environment. 78 /// Profile - Profile the contents of an Environment object for use 80 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { in Profile() 90 bool operator==(const Environment& RHS) const { [all …]
|
/llvm-project/lldb/include/lldb/Utility/ |
H A D | Environment.h | 1 //===-- Environment.h -------------------------------------------*- C++ -*-===// 18 class Environment : private llvm::StringMap<std::string> { 31 explicit Envp(const Environment &Env); 35 friend class Environment; variable 59 Environment() {} in Environment() function 60 Environment(const Environment &RHS) : Base(static_cast<const Base&>(RHS)) {} in Environment() function 61 Environment(Environment &&RHS) : Base(std::move(RHS)) {} in Environment() function 62 Environment(char *const *Env) in Environment() function 63 : Environment(const_cast<const char *const *>(Env)) {} in Environment() 64 Environment(const char *const *Env); [all …]
|
/llvm-project/clang/unittests/Analysis/FlowSensitive/ |
H A D | SignAnalysisTest.cpp | 47 void initNegative(Value &Val, Environment &Env) { in initNegative() 52 void initPositive(Value &Val, Environment &Env) { in initPositive() 57 void initZero(Value &Val, Environment &Env) { in initZero() 65 // owned by the Environment. 74 SignProperties initUnknown(Value &Val, Environment &Env) { in initUnknown() 80 SignProperties getSignProperties(const Value &Val, const Environment &Env) { in getSignProperties() 260 Value *getOrCreateValue(const Expr *E, Environment &Env) { in getOrCreateValue() 363 void transfer(const CFGElement &Elt, NoopLattice &L, Environment &Env) { in transfer() 367 void join(QualType Type, const Value &Val1, const Environment &Env1, 368 const Value &Val2, const Environment &Env2, Value &MergedVal, [all …]
|
H A D | TypeErasedDataflowAnalysisTest.cpp | 76 Environment Env(*DACtx, *Func); in runAnalysis() 168 Environment Env(*DACtx, const_cast<DeclStmt &>(DeclStatement)); in TEST_F() 174 const Environment &ExitBlockEnv = Results->front()->Env; in TEST_F() 381 // from the environment between these two blocks because the code that in join() 436 void transfer(const CFGElement &, NonConvergingLattice &E, Environment &) { in TEST_F() 518 void transfer(const CFGElement &Elt, FunctionCallLattice &E, Environment &) { in runDataflow() 558 [](ASTContext &C, Environment &) { in TEST_F() 701 explicit SpecialBoolAnalysis(ASTContext &Context, Environment &Env) 715 void transfer(const CFGElement &Elt, NoopLattice &, Environment &Env) { in runDataflow() 748 [](ASTContext &Context, Environment in TEST_F() 399 transfer(const CFGElement &,NonConvergingLattice & E,Environment &) transfer() argument 481 transfer(const CFGElement & Elt,FunctionCallLattice & E,Environment &) transfer() argument 521 __anon7ffac2e90c02(ASTContext &C, Environment &) runDataflow() argument [all...] |
/llvm-project/lldb/unittests/Utility/ |
H A D | EnvironmentTest.cpp | 11 #include "lldb/Utility/Environment.h" 17 EXPECT_EQ(0u, Environment(Envp1).size()); in TEST() 20 EXPECT_EQ("BAR", Environment(Envp2).lookup("FOO")); in TEST() 23 EXPECT_EQ("BAR", Environment(Envp3).lookup("FOO")); in TEST() 26 Environment Env4(Envp4); in TEST() 28 EXPECT_EQ("", Environment(Envp4).find("FOO")->second); in TEST() 29 EXPECT_EQ("", Environment(Envp4).find("BAR")->second); in TEST() 32 EXPECT_EQ("BAR=BAZ", Environment(Envp5).lookup("FOO")); in TEST() 39 Environment Env; in TEST() 42 Environment::Envp Envp = Env.getEnvp(); in TEST()
|
/llvm-project/openmp/runtime/src/ |
H A D | kmp_environment.cpp | 2 * kmp_environment.cpp -- Handle environment variables OS-independently. 14 act of loading a DLL on Windows* OS makes any user-set environment variables 20 1. Environment maintained by Windows* OS on IA-32 architecture. Accessible 24 2. Environment maintained by C RTL. Accessible through getenv(), putenv(). 27 getenv() function search for variables in C RTL environment only. 35 C environment maintained by C RTL. Multiple copies of C RTL may be present 36 in the process, and each C RTL maintains its own environment. :-( 38 Thus, proper way to work with environment on Windows* OS is: 42 considered primary target, while updating C RTL environment is free bonus. 100 act of loading a DLL on Windows* OS makes any user-set environment in __kmp_env_get() [all …]
|
H A D | kmp_environment.h | 2 * kmp_environment.h -- Handle environment variables OS-independently. 20 // Return a copy of the value of environment variable or NULL if the variable 26 // Return 1 if the environment variable exists or 0 if does not exist. 29 // Set the environment variable. 32 // Unset (remove) environment variable. 36 // Working with environment blocks. 38 /* kmp_env_blk_t is read-only collection of environment variables (or 39 environment-like). Usage: 43 // environment.
|
/llvm-project/llvm/utils/lit/lit/ |
H A D | TestingConfig.py | 17 # Set the environment based on the command line arguments. 18 environment = { 81 environment["PYTHONBUFFERED"] = "1" 87 # environment variable indicating that we want to execute them with 89 environment["__COMPAT_LAYER"] = "RunAsInvoker" 96 environment[var] = val 110 environment=environment, 168 environment, 185 self.environment 164 __init__( self, parent, name, suffixes, test_format, environment, substitutions, unsupported, test_exec_root, test_source_root, excludes, available_features, pipefail, limit_to_features=[], is_early=False, parallelism_group=None, standalone_tests=False, ) global() argument [all...] |
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | Environment.cpp | 1 //===- Environment.cpp - Map from Stmt* to Locations/Values ---------------===// 9 // This file defined the Environment and EnvironmentManager classes. 13 #include "clang/StaticAnalyzer/Core/PathSensitive/Environment.h" 80 SVal Environment::lookupExpr(const EnvironmentEntry &E) const { in lookupExpr() 89 SVal Environment::getSVal(const EnvironmentEntry &Entry, in getSVal() 95 "Environment can only argue about Exprs, since only they express " in getSVal() 96 "a value! Any non-expression statement stored in Environment is a " in getSVal() 138 Environment EnvironmentManager::bindExpr(Environment Env, in bindExpr() 144 return Environment(F.remove(Env.ExprBindings, E)); in bindExpr() 148 return Environment(F.add(Env.ExprBindings, E, V)); in bindExpr() [all …]
|
/llvm-project/lldb/test/API/ |
H A D | lit.cfg.py | 63 if "DYLD_INSERT_LIBRARIES" not in config.environment: 66 # If we're running in a virtual environment, we have to copy Python into 67 # the virtual environment for it to work. 103 # a virtual environment, we can't use it directly. Create a symlink 130 config.environment["MallocNanoZone"] = "0" 132 config.environment["ASAN_OPTIONS"] = "detect_stack_use_after_return=1" 134 config.environment["DYLD_INSERT_LIBRARIES"] = find_sanitizer_runtime( 139 config.environment["TSAN_OPTIONS"] = "halt_on_error=1" 141 config.environment["DYLD_INSERT_LIBRARIES"] = find_sanitizer_runtime( 162 config.environment [all...] |
/llvm-project/openmp/libompd/test/ |
H A D | lit.cfg | 24 if name in config.environment: 25 config.environment[name] = path + sep + config.environment[name] 27 config.environment[name] = path 28 # config.environment['PYTHONPATH'] = config.ompd_module + sep + config.environment['PYTHON_PATH'] 62 config.environment['INTEL_LICENSE_FILE'] = os.environ['INTEL_LICENSE_FILE'] 64 config.environment['OMP_NUM_THREADS'] = os.environ['OMP_NUM_THREADS'] 65 #config.environment['ompd'] = "/home/gu620893/LLVM-openmp-master/install/"
|
/llvm-project/flang/test/Unit/ |
H A D | lit.cfg.py | 25 (config.flang_tools_dir, config.llvm_tools_dir, config.environment["PATH"]) 27 config.environment["PATH"] = path 33 config.environment.get("LD_LIBRARY_PATH", ""), 36 config.environment["LD_LIBRARY_PATH"] = path 38 # Propagate PYTHON_EXECUTABLE into the environment 39 # config.environment['PYTHON_EXECUTABLE'] = sys.executable 44 config.environment[config.llvm_target_triple_env] = config.flang_test_triple
|