Home
last modified time | relevance | path

Searched refs:variables (Results 1 – 25 of 759) sorted by relevance

12345678910>>...31

/llvm-project-15.0.7/llvm/utils/lit/lit/
H A DBooleanExpression.py29 def evaluate(string, variables, triple=""): argument
31 parser = BooleanExpression(string, set(variables), triple)
38 def __init__(self, string, variables, triple=""): argument
40 self.variables = variables
41 self.variables.add('true')
154 variables = {'its-true', 'false-lol-true', 'under_score',
156 self.assertTrue(BooleanExpression.evaluate('true', variables))
161 self.assertTrue(BooleanExpression.evaluate('d1g1ts', variables))
170 self.assertFalse(BooleanExpression.evaluate('false', variables))
171 self.assertFalse(BooleanExpression.evaluate('True', variables))
[all …]
/llvm-project-15.0.7/lldb/test/API/commands/frame/recognizer/
H A DTestFrameRecognizer.py79 variables = frame.GetVariables(lldb.SBVariablesOptions())
80 self.assertEqual(variables.GetSize(), 0)
84 variables = frame.GetVariables(lldb.SBVariablesOptions())
85 self.assertEqual(variables.GetSize(), 2)
90 self.assertEqual(variables.GetSize(), 0)
95 variables = frame.GetVariables(opts)
97 self.assertEqual(variables.GetSize(), 2)
98 self.assertEqual(variables.GetValueAtIndex(0).name, "a")
101 self.assertEqual(variables.GetValueAtIndex(1).name, "b")
254 variables = frame.GetVariables(opts)
[all …]
/llvm-project-15.0.7/libcxx/utils/
H A Dgenerate_header_tests.py82 def execute_script(script, variables): argument
89 exec(code, variables)
107 def produce(test_file, variables): argument
109 result = execute_script(script, variables)
129 variables = {
140 produce(test.joinpath('libcxx/clang_tidy.sh.cpp'), variables)
141 produce(test.joinpath('libcxx/double_include.sh.cpp'), variables)
143 produce(test.joinpath('libcxx/modules_include.sh.cpp'), variables)
144 produce(test.joinpath('libcxx/nasty_macros.compile.pass.cpp'), variables)
146 produce(test.joinpath('libcxx/private_headers.verify.cpp'), variables)
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dnon-private-member-variables-in-classes.rst1 .. title:: clang-tidy - cppcoreguidelines-non-private-member-variables-in-classes
3 :http-equiv=refresh: 5;URL=../misc/non-private-member-variables-in-classes.html
5 cppcoreguidelines-non-private-member-variables-in-classes
8 The cppcoreguidelines-non-private-member-variables-in-classes check is an alias,
10 `misc-non-private-member-variables-in-classes <../misc/non-private-member-variables-in-classes.html…
H A Davoid-non-const-global-variables.rst1 .. title:: clang-tidy - cppcoreguidelines-avoid-non-const-global-variables
3 cppcoreguidelines-avoid-non-const-global-variables
6 Finds non-const global variables as described in `I.2 of C++ Core Guidelines <https://github.com/is…
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Ddllexport.mm4 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
6 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
8 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
10 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
12 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
15 // expected-warning@-1{{'dllexport' attribute only applies to functions, variables, classes, and Ob…
H A Ddllimport.mm4 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
6 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
8 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
10 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
12 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
15 // expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Ob…
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/
H A Dlocstats.ll17 ; CHECK: "#variables processed by location statistics": 6,
18 ; CHECK-NEXT: "#variables with 0% of parent scope covered by DW_AT_location": 1,
19 ; CHECK-NEXT: "#variables with (0%,10%) of parent scope covered by DW_AT_location": 0,
20 ; CHECK-NEXT: "#variables with [10%,20%) of parent scope covered by DW_AT_location": 0,
21 ; CHECK-NEXT: "#variables with [20%,30%) of parent scope covered by DW_AT_location": 0,
22 ; CHECK-NEXT: "#variables with [30%,40%) of parent scope covered by DW_AT_location": 0,
23 ; CHECK-NEXT: "#variables with [40%,50%) of parent scope covered by DW_AT_location": 0,
24 ; CHECK-NEXT: "#variables with [50%,60%) of parent scope covered by DW_AT_location": 1,
25 ; CHECK-NEXT: "#variables with [60%,70%) of parent scope covered by DW_AT_location": 0,
26 ; CHECK-NEXT: "#variables with [70%,80%) of parent scope covered by DW_AT_location": 0,
[all …]
H A Dstats-multiple-cu-members.ll5 ; the number of total vars ("source variables") will include every copy,
6 ; so the number of "variables with location" doesn't exceed the number of total vars.
19 ; CHECK: "#source variables": 4,
20 ; CHECK: "#source variables with location": 4,
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dflexible-array.m4 // ## Instance variables only in interface.
16 // ## Instance variables in implementation.
28 …e sized type 'char[]' is not visible to subclasses and can conflict with their instance variables}}
35 …e sized type 'char[]' is not visible to subclasses and can conflict with their instance variables}}
49 // ## Non-instance variables in implementation.
58 // ## Instance variables in class extension.
111 // ## Instance variables in named categories.
115 char flexible[]; // expected-error {{instance variables may not be placed in categories}}
126 // ## Synthesize other instance variables.
173 // ## Instance variables only in interface.
[all …]
H A Dno-ivar-in-interface-block.m6 …@protected int P_IVAR; // expected-warning {{declaration of instance variables in the interface i…
8 …@public int PU_IVAR; // expected-warning {{declaration of instance variables in the interface …
10 …@private int PRV_IVAR; // expected-warning {{declaration of instance variables in the interface…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dnon-private-member-variables-in-classes.rst1 .. title:: clang-tidy - misc-non-private-member-variables-in-classes
3 misc-non-private-member-variables-in-classes
6 `cppcoreguidelines-non-private-member-variables-in-classes` redirects here
20 Allows to completely ignore classes if **all** the member variables in that
25 Allows to ignore (not diagnose) **all** the member variables declared with
H A Dconst-correctness.rst6 This check implements detection of local variables which could be declared as
7 ``const`` but are not. Declaring variables as ``const`` is required or recommended by many
46 The automatic code transformation is only applied to variables that are declared in single
51 `cppcoreguidelines-avoid-non-const-global-variables <../cppcoreguidelines/avoid-non-const-global-va…
59 The check will not analyze templated variables or variables that are instantiation dependent.
85 Enable or disable the analysis of ordinary value variables, like ``int i = 42;``
101 Enable or disable the analysis of reference variables, like ``int &ref = i;``
/llvm-project-15.0.7/clang/docs/
H A DBlockLanguageSpec.rst153 local variables. [testme]
155 Local automatic (stack) variables referenced within the compound
183 Block variables at global or local static scope.
235 normal variables are.
276 scope of the compound statement. These variables are implicitly
278 copy. The net effect is that instance variables can be mutated.
283 Object variables of ``__block`` storage type are assumed to hold
292 variables to be kept without retain messages being sent. This
305 ``__weak`` ``__block`` variables.
327 A Block that referenced these variables would import the variables as
[all …]
H A DBlock-ABI-Apple.rst57 // imported variables
101 ``Block`` variables of global or ``static`` local variables.
170 variables, and variables marked ``__block``. In Objective-C, variables may
189 variables.
199 Imported ``const`` copy variables
352 Imported ``__block`` marked variables
355 Layout of ``__block`` marked variables argument
579 variables.
609 variables:
859 storage variables, ``__attribute__((NSObject))`` variables, or C++ ``const``
[all …]
/llvm-project-15.0.7/llvm/utils/
H A Dconvert-constraint-log-to-z3.py52 variables = set()
55 variables.add(m.group())
56 if len(variables) == 0:
58 for v in variables:
/llvm-project-15.0.7/lldb/examples/test/
H A Dlldbtest-stderr7 Test that lldb persistent variables works correctly. ... ok
16 Test that lldb persistent variables works correctly. ... ok
25 Test that lldb persistent variables works correctly. ... ok
34 Test that lldb persistent variables works correctly. ... ok
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dwriteonly.ll1 ; Checks that we optimize writeonly variables and corresponding stores using llvm-lto
9 ; Check that we optimize write-only variables
18 ; STATS: 2 module-summary-index - Number of live global variables marked write only
20 ; Check that we've optimized out variables and corresponding stores
31 ; STATS-NOPROP-NOT: Number of live global variables marked write only
40 ; Should not be counted in the stats of live write only variables since it is
H A Dfuncimport-stats.ll17 ; CHECK-NEXT: [[NUM_VARS]] function-import - Number of global variables imported in backend
18 ; CHECK-NEXT: [[NUM_VARS]] function-import - Number of global variables thin link decided to import
20 ; CHECK-NEXT: [[NUM_VARS]] module-summary-index - Number of live global variables marked read only
21 ; CHECK-NEXT: 1 module-summary-index - Number of live global variables marked write only
/llvm-project-15.0.7/llvm/docs/
H A DStackSafetyAnalysis.rst9 The Stack Safety Analysis determines if stack allocated variables can be
13 unnecessary instrumentation of 'safe' variables. SafeStack is going to be the
16 'safe' variables can be defined as variables that can not be used out-of-scope
46 We expect that users can tolerate false classification of variables as
51 AddressSanitizer may help with this validation. We can instrument all variables
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/darwin/
H A Ddispatch-once-nonstatic.mm8 // CHECK-MESSAGES: :[[@LINE-1]]:24: warning: dispatch_once_t variables must have static or global s…
29 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: dispatch_once_t variables must have static or global s…
45 …: warning: dispatch_once_t variables must have static or global storage duration and cannot be Obj…
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl07.rst26 for an imperative language with mutable variables.
111 to talk about how LLVM represents stack variables.
167 variables without the need to create Phi nodes at all:
211 variables in certain circumstances:
256 mutable variables now!
266 #. The ability to define new variables.
269 variables for incoming arguments as well as for induction variables, and
299 In order to mutate variables, we have to change our existing variables
318 variables in addition to other user-defined variables. This means that
637 own local variables, let's add this next!
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtls-android-negative.ll34 ; no direct access to emulated TLS variables.
35 ; no definition of emulated TLS variables.
36 ; no initializer for external TLS variables, __emutls_t.external_x
37 ; no initializer for 0-initialized TLS variables, __emutls_t.internal_y0
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dla-03.ll21 ; Test loads of external variables, which must go via the GOT.
29 ; Check loads of locally-defined normal-visibility variables, which might
38 ; Check loads of protected variables, which in the small code model
47 ; ...likewise hidden variables.
H A Dla-02.ll23 ; Test loads of external variables. There is no guarantee that the
32 ; ...likewise locally-defined normal-visibility variables.
40 ; ...likewise protected variables.
48 ; ...likewise hidden variables.

12345678910>>...31