Home
last modified time | relevance | path

Searched refs:getFirst (Results 1 – 25 of 68) sorted by relevance

123

/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map.h54 P->getFirst() = EmptyKey; in clear()
58 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear()
59 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear()
63 P->getFirst() = EmptyKey; in clear()
175 TheBucket->getFirst() = getTombstoneKey(); in insert_as()
185 TheBucket->getFirst() = getTombstoneKey();
219 const KeyT K = P->getFirst(); in FindAndConstruct()
243 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in forEach()
244 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
246 P->getFirst()
[all...]
H A Dsanitizer_dense_map_info.h54 KeyT &getFirst() { return first; } in getFirst() function
55 const KeyT &getFirst() const { return first; } in getFirst() function
/llvm-project/llvm/include/llvm/ADT/
H A DDenseMap.h45 KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; } in getFirst() function
46 const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; } in getFirst() function
126 P->getFirst() = EmptyKey; in clear()
131 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear()
132 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear()
136 P->getFirst() = EmptyKey; in clear()
327 TheBucket->getFirst() = getTombstoneKey(); in insert_or_assign()
335 TheBucket->getFirst() = getTombstoneKey(); in getOrInsertDefault()
377 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in FindAndConstruct()
378 !KeyInfoT::isEqual(P->getFirst(), TombstoneKe in FindAndConstruct()
[all...]
H A DDenseSet.h38 KeyT &getFirst() { return key; } in getFirst() function
39 const KeyT &getFirst() const { return key; } in getFirst() function
120 ValueT &operator*() { return I->getFirst(); }
121 const ValueT &operator*() const { return I->getFirst(); }
122 ValueT *operator->() { return &I->getFirst(); }
123 const ValueT *operator->() const { return &I->getFirst(); }
158 const ValueT &operator*() const { return I->getFirst(); }
159 const ValueT *operator->() const { return &I->getFirst(); }
H A DAPFloat.h829 inline APFloat &getFirst(); in Storage()
830 inline const APFloat &getFirst() const; in Storage()
1012 return U.Double.getFirst().U.IEEE;
1020 return U.Double.getFirst().U.IEEE;
1646 APFloat &DoubleAPFloat::getFirst() { return Floats[0]; }
1647 const APFloat &DoubleAPFloat::getFirst() const { return Floats[0]; }
1539 APFloat &DoubleAPFloat::getFirst() { return Floats[0]; } getFirst() function
1540 const APFloat &DoubleAPFloat::getFirst() const { return Floats[0]; } getFirst() function
/llvm-project/clang/test/CodeGenHLSL/
H A Dthis-reference.hlsl7 int getFirst() {
19 Vals.First = Vals.getFirst();
31 // CHECK: [[getFirst:![0-9]+]] = distinct !DISubprogram(name: "getFirst"
33 // CHECK: [[FirstThis:![0-9]+]] = !DILocalVariable(name: "this", arg: 1, scope: [[getFirst]], type: [[thisType:![0-9]+]]
H A Dthis-assignment.hlsl7 int getFirst() {
30 Vals.First = Vals.getFirst();
36 // CHECK-LABEL: define {{.*}}getFirst
H A Dthis-assignment-overload.hlsl6 int getFirst() {
23 Vals.First = Vals.getFirst();
/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp67 It->getFirst().print(llvm::dbgs(), SM); llvm::dbgs() << " to "; in MacroExpands()
74 llvm::dbgs() << "remaps "; It->getFirst().print(llvm::dbgs(), SM); in MacroExpands()
127 assert(It->getFirst() != It->getSecond() && in getOriginalText()
131 CharSourceRange::getCharRange(It->getFirst(), It->getSecond()), *SM, in getOriginalText()
147 std::make_pair(Record.getFirst(), Record.getSecond())); in dumpExpansionRangesToStream()
166 std::make_pair(Record.getFirst(), Record.getSecond())); in dumpExpandedTextsToStream()
/llvm-project/clang/test/AST/HLSL/
H A Dthis-reference-template.hlsl8 K getFirst() {
20 Vals.First = Vals.getFirst();
24 // CHECK: -CXXMethodDecl 0x{{[0-9A-Fa-f]+}} <line:8:3, line:10:3> line:8:5 getFirst 'K ()' impl…
35 // CHECK: -CXXMethodDecl 0x{{[0-9A-Fa-f]+}} <line:8:3, line:10:3> line:8:5 used getFirst 'int (…
H A Dthis-reference.hlsl7 int getFirst() {
27 Vals.First = Vals.getFirst();
37 // CHECK: -CXXMethodDecl 0x{{[0-9A-Fa-f]+}} <line:7:3, line:9:3> line:7:7 used getFirst 'int ()…
/llvm-project/llvm/lib/Analysis/
H A DStackLifetime.cpp155 ProcessMarker(BlockMarkerSet.begin()->getFirst(), in collectMarkers()
246 const BasicBlock *BB = IT.getFirst(); in calculateLiveIntervals()
301 const BasicBlock *BB = IT.getFirst(); in dumpBlockLiveness()
364 Names.push_back(KV.getFirst()->getName()); in printInstrAlive()
385 if (SL.isAliveAfter(KV.getFirst(), Instr)) in printInfoComment()
386 Names.push_back(KV.getFirst()->getName()); in printInfoComment()
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeCollection.h24 virtual std::optional<TypeIndex> getFirst() = 0;
35 std::optional<TypeIndex> Next = getFirst(); in ForEachRecord()
H A DTypeTableCollection.h24 std::optional<TypeIndex> getFirst() override;
H A DAppendingTypeTableBuilder.h39 std::optional<TypeIndex> getFirst() override;
H A DMergingTypeTableBuilder.h48 std::optional<TypeIndex> getFirst() override;
H A DLazyRandomTypeCollection.h78 std::optional<TypeIndex> getFirst() override;
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dconst-return-type.cpp364 typename PairType::first_type getFirst() { in getFirst() function
369 getFirst<Pair<int, int>>(); in test()
/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp48 if (KeyVersion.tryParse(KV.getFirst()) || ValueVersion.tryParse(*Val)) in parseJSON()
92 auto Pair = StringRef(KV.getFirst()).split("_"); in parseDarwinSDKSettingsJSON()
/llvm-project/mlir/lib/Dialect/MLProgram/Transforms/
H A DPipelineGlobalOps.cpp86 opLoadSymbols[callable.getFirst()] = std::move(loadSymbols); in buildGlobalMap()
87 opStoreSymbols[callable.getFirst()] = std::move(storeSymbols); in buildGlobalMap()
/llvm-project/clang-tools-extra/clangd/unittests/
H A DASTSignalsTests.cpp60 Sym.emplace_back(P.getFirst(), P.getSecond()); in TEST()
H A DHeadersTests.cpp155 if (arg.getFirst() != File)
156 *result_listener << "file =" << static_cast<unsigned>(arg.getFirst());
159 return arg.getFirst() == File && arg.getSecond() == D; in TEST_F()
/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeTableCollection.cpp23 std::optional<TypeIndex> TypeTableCollection::getFirst() {
24 std::optional<TypeIndex> TypeTableCollection::getFirst() { getFirst() function in TypeTableCollection
/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp28 std::optional<TypeIndex> TI = Types.getFirst(); in NativeEnumTypes()
/llvm-project/mlir/lib/Dialect/Async/Transforms/
H A DAsyncRuntimeRefCounting.cpp280 Block *block = blockAndUser.getFirst(); in addDropRefAfterLastUse()
384 Block *block = kv.getFirst(); in addDropRefInDivergentLivenessSuccessor()

123