Home
last modified time | relevance | path

Searched refs:PCC (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/tools/libclang/
H A DCXComment.cpp261 const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC); in clang_ParamCommandComment_getParamName() local
262 if (!PCC || !PCC->hasParamName()) in clang_ParamCommandComment_getParamName()
265 return cxstring::createRef(PCC->getParamNameAsWritten()); in clang_ParamCommandComment_getParamName()
270 if (!PCC) in clang_ParamCommandComment_isParamIndexValid()
273 return PCC->isParamIndexValid(); in clang_ParamCommandComment_isParamIndexValid()
278 if (!PCC || !PCC->isParamIndexValid() || PCC->isVarArgParam()) in clang_ParamCommandComment_getParamIndex()
281 return PCC->getParamIndex(); in clang_ParamCommandComment_getParamIndex()
286 if (!PCC) in clang_ParamCommandComment_isDirectionExplicit()
289 return PCC->isDirectionExplicit(); in clang_ParamCommandComment_isDirectionExplicit()
295 if (!PCC) in clang_ParamCommandComment_getDirection()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.cons/
H A Ddeduct_const.pass.cpp40 using PCC = std::pair<const int, const long>; typedef
45 const PCC arr[] = { {1,1L}, {2,2L}, {1,1L}, {INT_MAX,1L}, {3,1L} }; in main()
49 const PCC expected_m[] = { {1,1L}, {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main()
54 const PCC arr[] = { {1,1L}, {2,2L}, {1,1L}, {INT_MAX,1L}, {3,1L} }; in main()
58 const PCC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main()
63 const PCC arr[] = { {1,1L}, {2,2L}, {1,1L}, {INT_MAX,1L}, {3,1L} }; in main()
64 … std::multimap m(std::begin(arr), std::end(arr), std::greater<int>(), test_allocator<PCC>(0, 42)); in main()
66 …ERT_SAME_TYPE(decltype(m), std::multimap<int, const long, std::greater<int>, test_allocator<PCC>>); in main()
67 const PCC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1,1L}, {1,1L} }; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.cons/
H A Ddeduct_const.pass.cpp40 using PCC = std::pair<const int, const long>; typedef
45 const PCC arr[] = { {1,1L}, {2,2L}, {1,1L}, {INT_MAX,1L}, {3,1L} }; in main()
49 const PCC expected_m[] = { {1,1L}, {2,2L}, {3,1L}, {INT_MAX,1L} }; in main()
54 const PCC arr[] = { {1,1L}, {2,2L}, {1,1L}, {INT_MAX,1L}, {3,1L} }; in main()
58 const PCC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1, 1L} }; in main()
63 const PCC arr[] = { {1,1L}, {2,2L}, {1,1L}, {INT_MAX,1L}, {3,1L} }; in main()
64 std::map m(std::begin(arr), std::end(arr), std::greater<int>(), test_allocator<PCC>(0, 42)); in main()
66 … ASSERT_SAME_TYPE(decltype(m), std::map<int, const long, std::greater<int>, test_allocator<PCC>>); in main()
67 const PCC expected_m[] = { {INT_MAX,1L}, {3,1L}, {2,2L}, {1, 1L} }; in main()
/llvm-project-15.0.7/clang/unittests/AST/
H A DCommentParser.cpp199 if (PCC->getDirection() != Direction) in HasParamCommandAt()
215 StringRef ActualParamName = PCC->hasParamName() ? PCC->getParamNameAsWritten() : ""; in HasParamCommandAt()
222 Paragraph = PCC->getParagraph(); in HasParamCommandAt()
757 ParamCommandComment *PCC; in TEST_F() local
763 ASSERT_TRUE(HasChildCount(PCC, 1)); in TEST_F()
776 ParamCommandComment *PCC; in TEST_F() local
810 ParamCommandComment *PCC; in TEST_F() local
840 ParamCommandComment *PCC; in TEST_F() local
870 ParamCommandComment *PCC; in TEST_F() local
901 ParamCommandComment *PCC; in TEST_F() local
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentSema.cpp723 ParamCommandComment *PCC = dyn_cast<ParamCommandComment>(*I); in resolveParamCommandIndexes() local
724 if (!PCC || !PCC->hasParamName()) in resolveParamCommandIndexes()
726 StringRef ParamName = PCC->getParamNameAsWritten(); in resolveParamCommandIndexes()
732 PCC->setIsVarArgParam(); in resolveParamCommandIndexes()
736 UnresolvedParamCommands.push_back(PCC); in resolveParamCommandIndexes()
739 PCC->setParamIndex(ResolvedParamIndex); in resolveParamCommandIndexes()
741 SourceRange ArgRange = PCC->getParamNameRange(); in resolveParamCommandIndexes()
748 ParamVarDocs[ResolvedParamIndex] = PCC; in resolveParamCommandIndexes()
762 const ParamCommandComment *PCC = UnresolvedParamCommands[i]; in resolveParamCommandIndexes() local
764 SourceRange ArgRange = PCC->getParamNameRange(); in resolveParamCommandIndexes()
[all …]
/llvm-project-15.0.7/clang/lib/Index/
H A DCommentToXML.cpp144 const ParamCommandComment *PCC = cast<ParamCommandComment>(Child); in FullCommentParts() local
145 if (!PCC->hasParamName()) in FullCommentParts()
148 if (!PCC->isDirectionExplicit() && !PCC->hasNonWhitespaceParagraph()) in FullCommentParts()
151 Params.push_back(PCC); in FullCommentParts()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kRegisterInfo.td112 def PCC : MxRegClass<[i32], 32, (add PC)>;
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp584 static unsigned getBranchHint(unsigned PCC, in getBranchHint() argument
4687 unsigned PCC = 0; in tryFoldSWTestBRCC() local
4693 PCC = IsCCNE ? PPC::PRED_UN : PPC::PRED_NU; in tryFoldSWTestBRCC()
4696 PCC = IsCCNE ? PPC::PRED_EQ : PPC::PRED_NE; in tryFoldSWTestBRCC()
4709 PCC = IsCCNE ? PPC::PRED_UN : PPC::PRED_NU; in tryFoldSWTestBRCC()
4711 if (PCC) { in tryFoldSWTestBRCC()
5731 PCC |= getBranchHint(PCC, *FuncInfo, N->getOperand(3)); in Select()
5733 SDValue Pred = getI32Imm(PCC, dl); in Select()
5743 unsigned PCC = in Select() local
5749 switch (PCC) { in Select()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCodeComplete.cpp4124 mapCodeCompletionContext(Sema &S, Sema::ParserCompletionContext PCC) { in mapCodeCompletionContext() argument
4125 switch (PCC) { in mapCodeCompletionContext()
4732 auto PCC = in CodeCompleteExpression() local
4738 else if (WantTypesInContext(PCC, getLangOpts())) in CodeCompleteExpression()
4756 AddOrdinaryNameResults(PCC, S, *this, Results); in CodeCompleteExpression()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZScheduleZ196.td606 def : InstRW<[WLat30, WLat30, WLat30, MCD], (instregex "(KIMD|KLMD|KMAC|PCC)$")>;
H A DSystemZScheduleZEC12.td619 def : InstRW<[WLat30, WLat30, WLat30, MCD], (instregex "(KIMD|KLMD|KMAC|PCC)$")>;
H A DSystemZScheduleZ13.td649 (instregex "(KIMD|KLMD|KMAC|PCC|PPNO)$")>;
H A DSystemZScheduleZ16.td675 (instregex "(PCC|PPNO|PRNO)$")>;
H A DSystemZScheduleZ15.td675 (instregex "(PCC|PPNO|PRNO)$")>;
H A DSystemZScheduleZ14.td661 (instregex "(PCC|PPNO|PRNO)$")>;
H A DSystemZInstrInfo.td1951 def PCC : SideEffectInherentRRE<"pcc", 0xB92C>;