Home
last modified time | relevance | path

Searched refs:NumResults (Results 1 – 17 of 17) sorted by relevance

/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp534 unsigned NumResults) { in ProcessCodeCompleteResults() argument
535 StoredResults.reserve(StoredResults.size() + NumResults); in ProcessCodeCompleteResults()
536 for (unsigned I = 0; I != NumResults; ++I) { in ProcessCodeCompleteResults()
646 AllocatedResults.NumResults = StoredResults.size(); in Finish()
713 Results->NumResults = 0; in clang_codeCompleteAt_Impl()
778 os << ", \"numRes\": " << Results->NumResults; in clang_codeCompleteAt_Impl()
989 unsigned NumResults) { in clang_sortCodeCompletionResults() argument
990 std::stable_sort(Results, Results + NumResults, OrderCompletionResults()); in clang_sortCodeCompletionResults()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h204 unsigned NumResults; variable
210 unsigned getNumResults() const { return NumResults; } in getNumResults()
327 unsigned NumResults) in TreePatternNode() argument
329 Types.resize(NumResults); in TreePatternNode()
331 TreePatternNode(Init *val, unsigned NumResults) // leaf ctor in TreePatternNode() argument
333 Types.resize(NumResults); in TreePatternNode()
DCodeGenDAGPatterns.cpp815 unsigned NumResults = NodeInfo.getNumResults(); in getOperandNum() local
816 if (OpNo < NumResults) { in getOperandNum()
821 OpNo -= NumResults; in getOperandNum()
825 << (OpNo+NumResults) << " "; in getOperandNum()
928 NumResults = TypeProfile->getValueAsInt("NumResults"); in SDNodeInfo()
975 unsigned NumResults = getNumResults(); in getKnownType() local
976 assert(NumResults <= 1 && in getKnownType()
982 if (TypeConstraints[i].OperandNo >= NumResults) // FIXME: need value # in getKnownType()
1862 unsigned NumResults = GetNumNodeResults(Operator, CDP); in ParseTreePattern() local
1863 TreePatternNode *Result = new TreePatternNode(Operator, Children, NumResults); in ParseTreePattern()
[all …]
DDAGISelMatcherGen.cpp716 unsigned NumResults = Inst.getNumResults(); in EmitResultInstructionAsOperand() local
725 for (unsigned ChildNo = 0, InstOpNo = NumResults, e = II.Operands.size(); in EmitResultInstructionAsOperand()
DDAGISelMatcherEmitter.cpp528 if (unsigned NumResults = EN->getNumVTs()) { in EmitMatcher() local
531 for (unsigned i = 0; i != NumResults; ++i) in EmitMatcher()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp222 unsigned NumResults = CountResults(Node); in CreateVirtualRegisters() local
223 VRBase = cast<RegisterSDNode>(Node->getOperand(i-NumResults))->getReg(); in CreateVirtualRegisters()
723 unsigned NumResults = CountResults(Node); in EmitMachineNode() local
727 bool HasPhysRegOuts = NumResults > II.getNumDefs() && II.getImplicitDefs()!=0; in EmitMachineNode()
729 unsigned NumMIOperands = NodeOperands + NumResults; in EmitMachineNode()
745 if (NumResults) in EmitMachineNode()
750 bool HasOptPRefs = II.getNumDefs() > NumResults; in EmitMachineNode()
753 unsigned NumSkip = HasOptPRefs ? II.getNumDefs() - NumResults : 0; in EmitMachineNode()
786 for (unsigned i = II.getNumDefs(); i < NumResults; ++i) { in EmitMachineNode()
DLegalizeTypes.cpp222 for (unsigned i = 0, NumResults = N->getNumValues(); i < NumResults; ++i) { in run() local
DSelectionDAGISel.cpp2892 unsigned NumResults = MatcherTable[MatcherIndex++]; in SelectCodeCommon() local
2894 for (unsigned i = 0; i != NumResults; ++i) { in SelectCodeCommon()
/external/clang/lib/AST/
DExprCXX.cpp269 Results(0), NumResults(End - Begin), in OverloadExpr()
272 NumResults = End - Begin; in OverloadExpr()
273 if (NumResults) { in OverloadExpr()
285 C.Allocate(sizeof(DeclAccessPair) * NumResults, in OverloadExpr()
288 NumResults * sizeof(DeclAccessPair)); in OverloadExpr()
323 NumResults = End - Begin; in initializeResults()
324 if (NumResults) { in initializeResults()
326 C.Allocate(sizeof(DeclAccessPair) * NumResults, in initializeResults()
330 NumResults * sizeof(DeclAccessPair)); in initializeResults()
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp469 unsigned NumResults) { in ProcessCodeCompleteResults() argument
470 std::stable_sort(Results, Results + NumResults); in ProcessCodeCompleteResults()
473 for (unsigned I = 0; I != NumResults; ++I) { in ProcessCodeCompleteResults()
DSemaCodeComplete.cpp2942 unsigned NumResults) { in HandleCodeCompleteResults() argument
2944 CodeCompleter->ProcessCodeCompleteResults(*S, Context, Results, NumResults); in HandleCodeCompleteResults()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h947 unsigned NumResults) { }
989 unsigned NumResults);
/external/clang/lib/Frontend/
DASTUnit.cpp2100 unsigned NumResults);
2122 unsigned NumResults, in CalculateHiddenNames() argument
2172 for (unsigned I = 0; I != NumResults; ++I) { in CalculateHiddenNames()
2206 unsigned NumResults) { in ProcessCodeCompleteResults() argument
2227 CalculateHiddenNames(Context, Results, NumResults, S.Context, in ProcessCodeCompleteResults()
2229 AllResults.insert(AllResults.end(), Results, Results + NumResults); in ProcessCodeCompleteResults()
2287 Next.ProcessCodeCompleteResults(S, Context, Results, NumResults); in ProcessCodeCompleteResults()
/external/clang/include/clang-c/
DIndex.h4370 unsigned NumResults; member
4623 unsigned NumResults);
/external/clang/include/clang/AST/
DExprCXX.h2273 unsigned NumResults; variable
2299 : Expr(K, Empty), QualifierLoc(), Results(0), NumResults(0), in OverloadExpr()
2347 return UnresolvedSetIterator(Results + NumResults); in decls_end()
2351 unsigned getNumDecls() const { return NumResults; } in getNumDecls()
/external/clang/tools/c-index-test/
Dc-index-test.c1784 unsigned i, n = results->NumResults, containerIsIncomplete = 0; in perform_code_completion()
1791 clang_sortCodeCompletionResults(results->Results, results->NumResults); in perform_code_completion()
/external/llvm/include/llvm/Target/
DTargetSelectionDAG.td83 int NumResults = numresults;