Searched refs:Result (Results 26 - 50 of 858) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h78 auto Result = Us.Counters.find(CounterName); local
79 if (Result != Us.Counters.end()) {
80 auto &CounterInfo = Result->second;
108 auto Result = Us.Counters.find(ID); local
109 assert(Result != Us.Counters.end() && "Asking about a non-set counter");
110 return Result->second.Count;
162 unsigned Result = RegisteredCounters.insert(Name); local
163 Counters[Result] = {};
164 Counters[Result].Desc = Desc;
165 return Result;
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoring.cpp37 if (int Result = run(ActionFactory)) {
38 return Result;
58 bool Result = true; local
61 Result = tooling::applyAllReplacements(Entry.second, Rewrite) && Result;
62 return Result;
75 bool Result = true; local
100 Result = applyAllReplacements(*NewReplacements, Rewrite) && Result;
102 return Result;
[all...]
H A DRefactoringCallbacks.cpp89 const ast_matchers::MatchFinder::MatchResult &Result) {
90 if (const Stmt *FromMatch = Result.Nodes.getNodeAs<Stmt>(FromId)) {
92 *Result.SourceManager,
107 const ast_matchers::MatchFinder::MatchResult &Result) {
108 const Stmt *FromMatch = Result.Nodes.getNodeAs<Stmt>(FromId);
109 const Stmt *ToMatch = Result.Nodes.getNodeAs<Stmt>(ToId);
112 replaceStmtWithStmt(*Result.SourceManager, *FromMatch, *ToMatch));
127 const ast_matchers::MatchFinder::MatchResult &Result) {
128 if (const IfStmt *Node = Result.Nodes.getNodeAs<IfStmt>(Id)) {
132 Replace.add(replaceStmtWithStmt(*Result
88 run( const ast_matchers::MatchFinder::MatchResult &Result) argument
106 run( const ast_matchers::MatchFinder::MatchResult &Result) argument
126 run( const ast_matchers::MatchFinder::MatchResult &Result) argument
198 run( const ast_matchers::MatchFinder::MatchResult &Result) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp186 TResult &Result) {
190 Result.resize(Source.size() + 1);
191 char *ResultPtr = reinterpret_cast<char *>(&Result[0]);
194 Result.clear();
197 Result.resize(reinterpret_cast<wchar_t *>(ResultPtr) - &Result[0]);
201 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result) { argument
202 return ConvertUTF8toWideInternal(Source, Result);
205 bool ConvertUTF8toWide(const char *Source, std::wstring &Result) { argument
207 Result
185 ConvertUTF8toWideInternal(llvm::StringRef Source, TResult &Result) argument
213 convertWideToUTF8(const std::wstring &Source, std::string &Result) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp256 std::string Result = Str; local
258 StringifyImpl(Result, Quote);
259 return Result;
381 std::string Result;
382 Result.resize(Tok.getLength());
383 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin()));
384 return Result;
455 bool Lexer::getRawToken(SourceLocation Loc, Token &Result, argument
483 TheLexer.LexFromRawLexer(Result);
1593 tryConsumeIdentifierUCN(const char *&CurPtr, unsigned Size, Token &Result) argument
1618 llvm::ConversionResult Result = local
1639 LexIdentifier(Token &Result, const char *CurPtr) argument
1752 LexNumericConstant(Token &Result, const char *CurPtr) argument
1815 LexUDSuffix(Token &Result, const char *CurPtr, bool IsStringLiteral) argument
1906 LexStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
1968 LexRawStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
2048 LexAngledStringLiteral(Token &Result, const char *CurPtr) argument
2120 LexCharConstant(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
2187 SkipWhitespace(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
2246 SkipLineComment(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
2387 SaveLineComment(Token &Result, const char *CurPtr) argument
2489 SkipBlockComment(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
2657 ReadToEndOfLine(SmallVectorImpl<char> *Result) argument
2713 LexEndOfFile(Token &Result, const char *CurPtr) argument
2937 lexEditorPlaceholder(Token &Result, const char *CurPtr) argument
2965 tryReadUCN(const char *&StartPtr, const char *SlashLoc, Token *Result) argument
3076 CheckUnicodeWhitespace(Token &Result, uint32_t C, const char *CurPtr) argument
3091 LexUnicode(Token &Result, uint32_t C, const char *CurPtr) argument
3132 PropagateLineStartLeadingSpaceInfo(Token &Result) argument
3139 Lex(Token &Result) argument
3174 LexTokenInternal(Token &Result, bool TokAtPhysicalStartOfLine) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringSwitch.h48 Optional<T> Result; member in class:llvm::StringSwitch
52 : Str(S), Result() { }
62 : Str(other.Str), Result(std::move(other.Result)) { }
68 if (!Result && Str == S) {
69 Result = std::move(Value);
75 if (!Result && Str.endswith(S)) {
76 Result = std::move(Value);
82 if (!Result && Str.startswith(S)) {
83 Result
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp42 std::vector<DwarfStringPoolEntryRef> Result; local
43 Result.reserve(Strings.size());
46 Result.emplace_back(E, true);
47 llvm::sort(Result, [](const DwarfStringPoolEntryRef A,
51 return Result;
H A DInterleavedLoadCombinePass.cpp557 Polynomial Result(*this);
558 Result.A -= C;
559 return Result;
564 Polynomial Result(*this);
565 Result.A += C;
566 return Result;
709 /// \param Result Result of the computation
712 static bool compute(Value *V, VectorInfo &Result, const DataLayout &DL) { argument
715 return computeFromSVI(SVI, Result, D
731 computeFromBCI(BitCastInst *BCI, VectorInfo &Result, const DataLayout &DL) argument
786 computeFromSVI(ShuffleVectorInst *SVI, VectorInfo &Result, const DataLayout &DL) argument
868 computeFromLI(LoadInst *LI, VectorInfo &Result, const DataLayout &DL) argument
903 computePolynomialBinOp(BinaryOperator &BO, Polynomial &Result) argument
943 computePolynomial(Value &V, Polynomial &Result) argument
956 computePolynomialFromPointer(Value &Ptr, Polynomial &Result, Value *&BasePtr, const DataLayout &DL) argument
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dsig.c68 sig_type Result; local
76 Result = handler[sig - 1];
85 return Result;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticError.h40 Optional<PartialDiagnosticAt> Result; local
42 Result = std::move(E.getDiagnostic());
44 return Result;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DListReducer.h50 Expected<TestResult> Result = doTest(TheList, empty); local
51 if (Error E = Result.takeError())
53 switch (*Result) {
98 Expected<TestResult> Result = doTest(ShuffledList, empty); local
102 assert(!Result.takeError() && "Shuffling caused internal error?");
104 if (*Result == KeepPrefix) {
123 Expected<TestResult> Result = doTest(Prefix, Suffix); local
124 if (Error E = Result.takeError())
126 switch (*Result) {
186 Expected<TestResult> Result local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DWasmDump.cpp31 SmallVectorImpl<char> &Result) {
45 Result.append(SymName.begin(), SymName.end());
49 Result.append(FmtBuf.begin(), FmtBuf.end());
29 getWasmRelocationValueString(const WasmObjectFile *Obj, const RelocationRef &RelRef, SmallVectorImpl<char> &Result) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h118 GlobalDecl Result(*this);
119 Result.Value.setPointer(D);
120 return Result;
125 GlobalDecl Result(*this);
126 Result.Value.setInt(Type);
127 return Result;
132 GlobalDecl Result(*this);
133 Result.Value.setInt(Type);
134 return Result;
142 GlobalDecl Result(*thi
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
H A DDriverOptions.cpp44 auto Result = std::make_unique<DriverOptTable>();
48 OptTable &Opt = *Result;
52 return Result.release();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.h64 using Result = AMDGPUAAResult;
74 std::unique_ptr<AMDGPUAAResult> Result; member in class:llvm::AMDGPUAAWrapperPass
83 AMDGPUAAResult &getResult() { return *Result; }
84 const AMDGPUAAResult &getResult() const { return *Result; }
87 Result.reset(new AMDGPUAAResult(M.getDataLayout(),
93 Result.reset();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugStringTableSubsection.cpp38 StringRef Result; local
39 if (auto EC = Reader.readCString(Result))
41 return Result;
89 std::vector<uint32_t> Result; local
90 Result.reserve(IdToString.size());
92 Result.push_back(Entry.first);
93 llvm::sort(Result);
94 return Result;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DJITSymbol.cpp72 JITSymbolResolver::LookupResult Result; local
77 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags());
89 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags());
105 OnResolved(std::move(Result));
112 JITSymbolResolver::LookupSet Result; local
120 Result.insert(Symbol);
126 Result.insert(Symbol);
130 return std::move(Result);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAUtils.h19 HRESULT Result = (Object.*Func)(&Str16); local
20 if (S_OK != Result)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h33 Value *Result = Constant::getNullValue(IntIdxTy); local
59 Result = Builder->CreateAdd(Result, ConstantInt::get(IntIdxTy, Size),
73 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
92 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
94 return Result;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp108 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
109 Expected<CharSourceRange> SelectedRange = Selector(Result);
117 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
118 Expected<CharSourceRange> SelectedRange = Selector(Result);
124 SelectedRange->getEnd(), 0, Result.Context->getSourceManager(),
125 Result.Context->getLangOpts()));
130 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
131 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID);
136 *Result.Context)
142 return [ID](const MatchResult &Result)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DGlobalTypeTableBuilder.h79 auto Result = HashedRecords.try_emplace(Hash, nextTypeIndex());
81 if (LLVM_UNLIKELY(Result.second /*inserted*/ ||
82 Result.first->second.isSimple())) {
89 Result.first->getSecond() = TypeIndex(SimpleTypeKind::NotTranslated);
92 if (Result.first->second.isSimple()) {
93 assert(Result.first->second.getIndex() ==
99 Result.first->second = nextTypeIndex();
105 return Result.first->second;
74 assert(RecordSize < UINT32_MAX && �); assert(RecordSize % 4 == 0 && � �); auto Result = HashedRecords.try_emplace(Hash, nextTypeIndex()); if (LLVM_UNLIKELY(Result.second || Result.first->second.isSimple()) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassManagerInternal.h169 explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {} argument
172 AnalysisResultModel(const AnalysisResultModel &Arg) : Result(Arg.Result) {}
174 : Result(std::move(Arg.Result)) {}
178 swap(LHS.Result, RHS.Result);
198 ResultT Result; member in struct:llvm::detail::AnalysisResultModel
208 AnalysisResultModel(ResultT Result) argument
231 ResultT Result; member in struct:llvm::detail::AnalysisResultModel
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp68 LineNumberInfo Result; local
70 Result.Offset = Address - StartAddress;
71 Result.LineNumber = Line.Line;
73 return Result;
81 iJIT_Method_Load Result; local
82 memset(&Result, 0, sizeof(iJIT_Method_Load));
84 Result.method_id = Wrapper.iJIT_GetNewMethodID();
85 Result.method_name = const_cast<char*>(FnName);
86 Result.method_load_address = reinterpret_cast<void*>(FnStart);
87 Result
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DStatepoint.cpp61 StatepointDirectives Result; local
68 Result.StatepointID = StatepointID;
75 Result.NumPatchBytes = NumPatchBytes;
77 return Result;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAliasAnalysis.h74 typedef ObjCARCAAResult Result; typedef in class:llvm::objcarc::ObjCARCAA
81 std::unique_ptr<ObjCARCAAResult> Result; member in class:llvm::objcarc::ObjCARCAAWrapperPass
88 ObjCARCAAResult &getResult() { return *Result; }
89 const ObjCARCAAResult &getResult() const { return *Result; }

Completed in 406 milliseconds

1234567891011>>