Home
last modified time | relevance | path

Searched refs:identifiers (Results 1 – 25 of 89) sorted by relevance

1234

/llvm-project/mlir/unittests/Analysis/Presburger/
H A DIntegerRelationTest.cpp175 int identifiers[6] = {0, 1, 2, 3, 4}; in TEST() local
178 space.setId(VarKind::Domain, 0, Identifier(&identifiers[0])); in TEST()
179 space.setId(VarKind::Domain, 1, Identifier(&identifiers[1])); in TEST()
182 space.setId(VarKind::Range, 0, Identifier(&identifiers[2])); in TEST()
185 space.setId(VarKind::Symbol, 0, Identifier(&identifiers[3])); in TEST()
186 space.setId(VarKind::Symbol, 1, Identifier(&identifiers[4])); in TEST()
224 int identifiers[7] = {0, 1, 2, 3, 4, 5, 6}; in TEST() local
227 space.setId(VarKind::Domain, 0, Identifier(&identifiers[0])); in TEST()
228 space.setId(VarKind::Domain, 1, Identifier(&identifiers[1])); in TEST()
231 space.setId(VarKind::Range, 0, Identifier(&identifiers[2])); in TEST()
[all …]
H A DPresburgerSpaceTest.cpp56 int identifiers[2] = {0, 1}; in TEST() local
59 space.setId(VarKind::Domain, 0, Identifier(&identifiers[0])); in TEST()
60 space.setId(VarKind::Domain, 1, Identifier(&identifiers[1])); in TEST()
71 EXPECT_EQ(space.getId(VarKind::Domain, 2), Identifier(&identifiers[0])); in TEST()
72 EXPECT_EQ(space.getId(VarKind::Domain, 3), Identifier(&identifiers[1])); in TEST()
78 int identifiers[6] = {0, 1, 2, 3, 4, 5}; in TEST() local
81 space.setId(VarKind::Domain, 0, Identifier(&identifiers[0])); in TEST()
82 space.setId(VarKind::Domain, 1, Identifier(&identifiers[1])); in TEST()
85 space.setId(VarKind::Range, 0, Identifier(&identifiers[2])); in TEST()
88 space.setId(VarKind::Symbol, 0, Identifier(&identifiers[3])); in TEST()
[all …]
/llvm-project/mlir/lib/Analysis/Presburger/
H A DPresburgerSpace.cpp128 // Insert NULL identifiers if `usingIds` and variables inserted are in insertVar()
131 identifiers.insert(identifiers.begin() + absolutePos, num, Identifier()); in insertVar()
153 // Remove identifiers if `usingIds` and variables removed are not in removeVarRange()
156 identifiers.erase(identifiers.begin() + getVarKindOffset(kind) + varStart, in removeVarRange()
157 identifiers.begin() + getVarKindOffset(kind) + varLimit);
169 // Move identifiers if `usingIds` and variables moved are not locals. in convertVarKind()
173 identifiers.insert(identifiers in convertVarKind()
[all...]
/llvm-project/mlir/include/mlir/Analysis/Presburger/
H A DPresburgerSpace.h63 /// Checking equality asserts that the type of the equal identifiers is same.
65 /// are considered unequal to any other identifier, including other identifiers
97 /// Check if the two identifiers are equal. Null identifiers are considered
98 /// not equal. Asserts if two identifiers are equal but their types are not.
112 /// TypeID of the identifiers in space. This should be used in asserts only.
157 /// used to enable/reset these identifiers. The user can identify each variable
221 /// If identifiers are being used, the newly added variables have no
222 /// identifiers.
257 assert(kind != VarKind::Local && "Local variables have no identifiers"); in getId()
341 SmallVector<Identifier, 0> identifiers; global() variable
[all...]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dconfusable-identifiers.rst1 .. title:: clang-tidy - misc-confusable-identifiers
3 misc-confusable-identifiers
6 Warn about confusable identifiers, i.e. identifiers that are visually close to
H A Dmisleading-identifier.rst6 Finds identifiers that contain Unicode characters with right-to-left direction,
/llvm-project/mlir/docs/Dialects/
H A DAffine.md15 Dimensions and symbols are the two kinds of identifiers that can appear in the
28 Dimensional identifiers correspond to the dimensions of the underlying structure
30 example, a three-dimensional loop nest has three dimensional identifiers. Symbol
31 identifiers represent an unknown quantity that can be treated as constant for a
40 // Uses of SSA values that are passed to dimensional identifiers.
63 identifiers to enable powerful analysis and transformation. An SSA value's use
72 5. the result of a `Pure` operation whose operands are valid symbolic identifiers.
151 The identifiers in the dimensions and symbols lists must be unique. These are
152 the only identifiers that may appear in 'multi-dim-affine-expr'. Affine maps
205 `floordiv`, `ceildiv`, and `mod` with respect to symbolic identifiers
[all...]
H A DBuiltin.md33 unique identifiers are generated during pretty printing. This delayed
34 numbering ensures the printed identifiers are deterministic even if
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dreserved-identifier.rst8 Checks for usages of identifiers reserved for use by the implementation.
12 - identifiers that begin with an underscore followed by an uppercase letter;
13 - identifiers in the global namespace that begin with an underscore.
/llvm-project/mlir/utils/vim/syntax/
H A Dmlir.vim91 " Prefixed identifiers usually used for ssa values and symbols.
94 " Prefixed identifiers usually used for blocks.
97 " Prefixed identifiers usually used for types.
100 " Prefixed identifiers usually used for attribute aliases and result numbers.
/llvm-project/clang-tools-extra/pseudo/
H A DDisambiguation.md
/llvm-project/mlir/lib/Support/
H A DTiming.cpp51 llvm::StringSet<llvm::BumpPtrAllocator &> identifiers; member in mlir::detail::TimingManagerImpl
58 TimingManagerImpl() : identifiers(identifierAllocator) {} in TimingManagerImpl()
93 auto it = impl.identifiers.find(str); in get()
94 if (it != impl.identifiers.end()) { in get()
102 auto it = impl.identifiers.insert(str).first; in get()
/llvm-project/mlir/test/Dialect/Affine/
H A Dload-store.mlir36 // be parsed as dim identifiers).
53 // be parsed as symbol identifiers).
108 // Dim identifiers are assigned in parse order:
130 // Dim and symbol identifiers are assigned in parse order:
/llvm-project/lldb/test/API/lang/c/unicode/
H A DMakefile2 CFLAGS_EXTRAS := -finput-charset=UTF-8 -fextended-identifiers -std=c99
/llvm-project/llvm/test/Verifier/
H A Dmodule-flags-1.ll29 ; CHECK: module flag identifiers must be unique (or of 'require' type)
32 ; CHECK-NOT: module flag identifiers must be unique
/llvm-project/llvm/test/TableGen/
H A DValidIdentifiers.td4 // Ensure that generated names for anonymous records are valid identifiers via the ctags index.
/llvm-project/llvm/test/Instrumentation/AddressSanitizer/
H A Dinstrument-section-invalid-c-ident.ll1 ; This test checks that sections with names not resembling valid C identifiers
/llvm-project/llvm/test/Transforms/LowerTypeTests/
H A Dnonstring.ll3 ; Tests that non-string metadata nodes may be used as bitset identifiers.
/llvm-project/clang/test/SemaObjC/
H A Dparameterized_classes.m203 // Type arguments with a mix of identifiers and type-names.
206 // Type arguments with only identifiers.
209 // Type arguments with only identifiers; one is ambiguous (resolved as
213 // Type arguments with only identifiers; one is ambiguous (resolved as
223 // Type arguments and protocol qualifiers (identifiers).
/llvm-project/llvm/test/DebugInfo/X86/
H A Dc-type-units.ll7 ; no known LLVM frontends produce appropriate unique identifiers for C types,
/llvm-project/lldb/test/API/lang/objc/cpp_keyword_identifiers/
H A Dmain.m2 // Disable clang-format as it gets confused by the keyword identifiers.
/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp1427 ArrayRef<IdentifierInfo *> identifiers, in actOnObjCTypeArgsOrProtocolQualifiers()
1438 assert(numProtocolsResolved == identifiers.size() && "Unresolved protocols"); in actOnObjCTypeArgsOrProtocolQualifiers()
1491 SemaRef.LookupSingleName(S, identifiers[i], identifierLocs[i], in actOnObjCTypeArgsOrProtocolQualifiers()
1534 // Attempt to resolve all of the identifiers as protocols. in actOnObjCTypeArgsOrProtocolQualifiers()
1535 for (unsigned i = 0, n = identifiers.size(); i != n; ++i) { in actOnObjCTypeArgsOrProtocolQualifiers()
1536 ObjCProtocolDecl *proto = LookupProtocol(identifiers[i], identifierLocs[i]); in actOnObjCTypeArgsOrProtocolQualifiers()
1543 if (numProtocolsResolved == identifiers.size()) in actOnObjCTypeArgsOrProtocolQualifiers()
1546 // Attempt to resolve all of the identifiers as type names or in actOnObjCTypeArgsOrProtocolQualifiers()
1553 for (unsigned i = 0, n = identifiers.size(); i != n; ++i) { in actOnObjCTypeArgsOrProtocolQualifiers()
1555 S, identifiers[ in actOnObjCTypeArgsOrProtocolQualifiers()
1428 actOnObjCTypeArgsOrProtocolQualifiers(Scope * S,ParsedType baseType,SourceLocation lAngleLoc,ArrayRef<IdentifierInfo * > identifiers,ArrayRef<SourceLocation> identifierLocs,SourceLocation rAngleLoc,SourceLocation & typeArgsLAngleLoc,SmallVectorImpl<ParsedType> & typeArgs,SourceLocation & typeArgsRAngleLoc,SourceLocation & protocolLAngleLoc,SmallVectorImpl<Decl * > & protocols,SourceLocation & protocolRAngleLoc,bool warnOnIncompleteProtocols) actOnObjCTypeArgsOrProtocolQualifiers() argument
[all...]
/llvm-project/lld/test/ELF/
H A Dgc-sections-startstop.s26 ## If -z nostart-stop-gc, sections whose names are C identifiers are retained by
/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp437 /// the locations of the protocol identifiers for a list of protocol
455 /// \param protocolIdents Will capture the list of identifiers, if the
469 // Local function to "flush" the protocol identifiers, turning them into in parseObjCTypeParamListOrProtocolRefs()
1629 // Convert the list of protocols identifiers into a list of protocol decls. in parseObjCProtocolQualifierType()
1676 // identifiers, which might be types or might be protocols. in parseObjCTypeArgsOrProtocolQualifiers()
1678 SmallVector<IdentifierInfo *, 4> identifiers; in parseObjCTypeArgsOrProtocolQualifiers()
1681 // Parse a list of comma-separated identifiers, bailing out if we in parseObjCTypeArgsOrProtocolQualifiers()
1689 identifiers.push_back(Tok.getIdentifierInfo()); in parseObjCTypeArgsOrProtocolQualifiers()
1697 for (unsigned i = 0, n = identifiers.size(); i != n; ++i) { in parseObjCTypeArgsOrProtocolQualifiers()
1698 identifierLocPairs.push_back(IdentifierLocPair(identifiers[ in parseObjCTypeArgsOrProtocolQualifiers()
1666 SmallVector<IdentifierInfo *, 4> identifiers; parseObjCTypeArgsOrProtocolQualifiers() local
[all...]
/llvm-project/polly/test/CodeGen/
H A Dnon-affine-update.ll14 ; At some point this did not work due to memory access identifiers not being

1234