Home
last modified time | relevance | path

Searched refs:PairType (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DInfoByHwMode.cpp33 for (const HwModeSelect::PairType &P : MS.Items) { in ValueTypeByHwMode()
87 std::vector<const PairType*> Pairs; in writeToStream()
90 llvm::sort(Pairs, deref<std::less<PairType>>()); in writeToStream()
94 for (const PairType *P : Pairs) in writeToStream()
143 for (const HwModeSelect::PairType &P : MS.Items) { in RegSizeInfoByHwMode()
175 typedef typename decltype(Map)::value_type PairType; in writeToStream() typedef
176 std::vector<const PairType*> Pairs; in writeToStream()
179 llvm::sort(Pairs, deref<std::less<PairType>>()); in writeToStream()
183 for (const PairType *P : Pairs) in writeToStream()
190 for (const HwModeSelect::PairType &P : MS.Items) { in EncodingInfoByHwMode()
H A DCodeGenHwModes.h37 typedef std::pair<unsigned, Record*> PairType; typedef
38 std::vector<PairType> Items;
H A DCodeGenHwModes.cpp49 for (const PairType &P : Items) in dump()
H A DInfoByHwMode.h60 typedef typename MapType::value_type PairType; typedef
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp461 using PairType= std::pair<const Stmt *, PropagationInfo>; typedef in clang::consumed::ConsumedStmtVisitor
484 PropagationMap.insert(PairType(E->IgnoreParens(), PI)); in insertInfo()
677 PropagationMap.insert(PairType(Call, in handleCall()
725 PropagationMap.insert(PairType(BinOp, PropagationInfo(BinOp, in VisitBinaryOperator()
767 PropagationMap.insert(PairType(Temp, PropagationInfo(Temp))); in VisitCXXBindTemporaryExpr()
783 PropagationMap.insert(PairType(Call, PropagationInfo(RetState))); in VisitCXXConstructExpr()
785 PropagationMap.insert(PairType(Call, in VisitCXXConstructExpr()
798 PropagationMap.insert(PairType(Call, PropagationInfo(RetState))); in VisitCXXConstructExpr()
835 PropagationMap.insert(PairType(DeclRef, PropagationInfo(Var))); in VisitDeclRefExpr()
845 PropagationMap.insert(PairType(DeclS, PropagationInfo(Var))); in VisitDeclStmt()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DSTLExtrasTest.cpp94 typedef std::pair<std::size_t, int> PairType; in TEST() typedef
95 std::vector<PairType> Results; in TEST()
104 EXPECT_EQ(PairType(0u, 1), Results[0]); in TEST()
105 EXPECT_EQ(PairType(1u, 2), Results[1]); in TEST()
106 EXPECT_EQ(PairType(2u, 3), Results[2]); in TEST()
113 typedef std::pair<std::size_t, char> PairType; in TEST() typedef
114 std::vector<PairType> Results; in TEST()
122 EXPECT_EQ(PairType(0u, '2'), Results[0]); in TEST()
123 EXPECT_EQ(PairType(1u, '3'), Results[1]); in TEST()
124 EXPECT_EQ(PairType(2u, '4'), Results[2]); in TEST()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h2536 template <typename PairType>
2537 class KeyMatcherImpl : public MatcherInterface<PairType> {
2550 bool MatchAndExplain(PairType key_value,
2586 template <typename PairType>
2587 operator Matcher<PairType>() const {
2588 return Matcher<PairType>(
2600 template <typename PairType>
2633 bool MatchAndExplain(PairType a_pair,
2692 template <typename PairType>
2693 operator Matcher<PairType> () const {
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp1429 typedef typename MapType::value_type PairType; in ImportOffsetMap() typedef
1430 std::vector<PairType> sorted_items; in ImportOffsetMap()