Searched refs:Result (Results 1 - 25 of 858) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemAlloc.h26 void *Result = std::malloc(Sz); local
27 if (Result == nullptr) {
35 return Result;
40 void *Result = std::calloc(Count, Sz); local
41 if (Result == nullptr) {
49 return Result;
53 void *Result = std::realloc(Ptr, Sz); local
54 if (Result == nullptr) {
62 return Result;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TextAPI/MachO/
H A DSymbol.cpp21 std::string Result; local
23 Result += "(undef) ";
25 Result += "(weak-def) ";
27 Result += "(weak-ref) ";
29 Result += "(tlv) ";
32 Result += Name.str();
35 Result += "(ObjC Class) " + Name.str();
38 Result += "(ObjC Class EH) " + Name.str();
41 Result += "(ObjC IVar) " + Name.str();
44 OS << Result; local
[all...]
H A DTarget.cpp21 auto Result = TargetValue.split('-'); local
22 auto ArchitectureStr = Result.first;
24 auto PlatformStr = Result.second;
61 PlatformSet Result; local
63 Result.insert(Target.Platform);
64 return Result;
68 ArchitectureSet Result; local
70 Result.set(Target.Arch);
71 return Result;
/freebsd-11-stable/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBTableGenUtils.cpp17 RecordsByName Result; local
19 Result[R->getValueAsString(Name).str()].push_back(R);
20 return Result;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DMacroArgs.cpp47 MacroArgs *Result; local
51 Result = new (
55 Result = *ResultEnt;
57 *ResultEnt = Result->ArgCache;
58 Result->NumUnexpArgTokens = UnexpArgTokens.size();
59 Result->VarargsElided = VarargsElided;
60 Result->NumMacroArgs = MI->getNumParams();
70 Result->getTrailingObjects<Token>());
73 return Result;
124 const Token *Result
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFLAliasAnalysisUtils.h24 FunctionHandle(Function *Fn, AAResult *Result) argument
25 : CallbackVH(Fn), Result(Result) {
27 assert(Result != nullptr);
34 AAResult *Result; member in struct:llvm::cflaa::final
37 assert(Result != nullptr);
39 Result->evict(cast<Function>(Val));
H A DLoopAnalysisManager.h86 template <> class LoopAnalysisManagerFunctionProxy::Result { class in class:llvm::LoopAnalysisManagerFunctionProxy
88 explicit Result(LoopAnalysisManager &InnerAM, LoopInfo &LI) function in class:llvm::LoopAnalysisManagerFunctionProxy::Result
90 Result(Result &&Arg) function in class:llvm::LoopAnalysisManagerFunctionProxy::Result
97 Result &operator=(Result &&RHS) {
107 ~Result() {
144 LoopAnalysisManagerFunctionProxy::Result
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Ddtexpress.c193 UINT64 Result; local
201 Result = DtEvaluateExpression (Field->Value);
202 *ReturnValue = Result;
227 UINT64 Result; local
236 Result = ~RightValue;
241 Result = !RightValue;
246 Result = LeftValue * RightValue;
258 Result = LeftValue / RightValue;
270 Result = LeftValue % RightValue;
274 Result
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkFormat.cpp21 auto Result = StringSwitch<Format>(FormatStr) local
27 if (Result == Format::Unknown)
32 return Result;
36 auto Result = local
43 if (Result == Format::Unknown)
46 return Result;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDataExtractor.cpp40 uint64_t Result = 0;
49 Result = getUnsigned(Offset, getAddressSize());
56 Result = getULEB128(Offset);
59 Result = getSLEB128(Offset);
62 Result = getUnsigned(Offset, 2);
65 Result = getUnsigned(Offset, 4);
68 Result = getUnsigned(Offset, 8);
71 Result = getSigned(Offset, 2);
74 Result = getSigned(Offset, 4);
77 Result
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/
H A DLogBuilderConsumer.cpp30 Error Result = Error::success();
32 Result = joinErrors(std::move(Result), R->apply(*V));
33 return Result;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DHash.cpp21 uint32_t Result = 0; local
28 Result ^= Value;
37 Result ^= static_cast<uint32_t>(Value);
44 Result ^= *(Remainder++);
48 Result |= toLowerMask;
49 Result ^= (Result >> 11);
51 return Result ^ (Result >> 16);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp36 std::string Result; local
38 llvm::raw_string_ostream OS(Result);
48 Result.c_str()) < MaxLength;
53 std::string Result; local
55 llvm::raw_string_ostream OS(Result);
65 Result.c_str()) < MaxLength;
72 std::string Result = local
75 Result.c_str()) < MaxLength
76 ? static_cast<int>(Result.size() + 1)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp196 llvm::raw_svector_ostream &Result) {
197 Result << "<" << C->getTagName();
201 Result << " ";
203 Result << Attr.Name;
205 Result << "=\"" << Attr.Value << "\"";
210 Result << ">";
212 Result << "/>";
222 FC(FC), Result(Str), Traits(Traits)
253 llvm::raw_svector_ostream Result; member in class:__anon538::CommentASTToHTMLConverter
278 Result << " ";
195 printHTMLStartTagComment(const HTMLStartTagComment *C, llvm::raw_svector_ostream &Result) argument
568 llvm::raw_svector_ostream Result; member in class:__anon539::CommentASTToXMLConverter
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp28 void Transformer::run(const MatchFinder::MatchResult &Result) { argument
29 if (Result.Context->getDiagnostics().hasErrorOccurred())
33 transformer::detail::findSelectedCase(Result, Rule);
34 auto Transformations = transformer::detail::translateEdits(Result, Case.Edits);
42 transformer::detail::getRuleMatchLoc(Result).print(
43 llvm::errs() << "note: skipping match at loc ", *Result.SourceManager);
50 AtomicChange AC(*Result.SourceManager,
53 if (auto Err = AC.replace(*Result.SourceManager, T.Range, T.Replacement)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCDuplexInfo.cpp703 MCInst Result; local
715 Result.setOpcode(Hexagon::SA1_inc);
716 addOps(Result, Inst, 0);
717 addOps(Result, Inst, 1);
721 Result.setOpcode(Hexagon::SA1_dec);
722 addOps(Result, Inst, 0);
723 addOps(Result, Inst, 1);
724 addOps(Result, Inst, 2);
728 Result.setOpcode(Hexagon::SA1_addsp);
729 addOps(Result, Ins
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASourceFile.cpp34 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); local
38 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]);
39 if (S_OK != Result)
46 HRESULT Result = SourceFile->get_checksumType(&Type); local
47 if (S_OK != Result)
55 HRESULT Result = SourceFile->get_compilands(&DiaEnumerator); local
56 if (S_OK != Result)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp373 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
375 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
377 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
395 std::string &Result);
397 void RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result);
401 std::string &Result);
403 bool RewriteObjCFieldDeclType(QualType &Type, std::string &Result);
406 std::string &Result);
446 std::string &Result);
448 std::string &Result);
830 WriteInternalIvarName(const ObjCInterfaceDecl *IDecl, ObjCIvarDecl *IvarDecl, std::string &Result) argument
1970 std::string Result; local
3631 RewriteObjCFieldDeclType(QualType &Type, std::string &Result) argument
3696 RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result) argument
3726 RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, std::string &Result) argument
3839 ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result) argument
3851 ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result) argument
3863 ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result) argument
3878 RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, std::string &Result) argument
3955 RewriteIvarOffsetSymbols(ObjCInterfaceDecl *CDecl, std::string &Result) argument
5810 Write_ProtocolExprReferencedMetadata(ASTContext *Context, ObjCProtocolDecl *PDecl, std::string &Result) argument
6060 RewriteIvarOffsetComputation(ObjCIvarDecl *ivar, std::string &Result) argument
6176 WriteModernMetadataDeclarations(ASTContext *Context, std::string &Result) argument
6254 Write_protocol_list_t_TypeDecl(std::string &Result, long super_protocol_count) argument
6263 Write_method_list_t_TypeDecl(std::string &Result, unsigned int method_count) argument
6273 Write__prop_list_t_TypeDecl(std::string &Result, unsigned int property_count) argument
6283 Write__ivar_list_t_TypeDecl(std::string &Result, unsigned int ivar_count) argument
6293 Write_protocol_list_initializer(ASTContext *Context, std::string &Result, ArrayRef<ObjCProtocolDecl *> SuperProtocols, StringRef VarName, StringRef ProtocolName) argument
6316 Write_method_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCMethodDecl *> Methods, StringRef VarName, StringRef TopLevelDeclName, bool MethodImpl) argument
6356 Write_prop_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCPropertyDecl *> Properties, const Decl *Container, StringRef VarName, StringRef ProtocolName) argument
6405 Write__class_ro_t_initializer(ASTContext *Context, std::string &Result, unsigned int flags, const std::string &InstanceStart, const std::string &InstanceSize, ArrayRef<ObjCMethodDecl *>baseMethods, ArrayRef<ObjCProtocolDecl *>baseProtocols, ArrayRef<ObjCIvarDecl *>ivars, ArrayRef<ObjCPropertyDecl *>Properties, StringRef VarName, StringRef ClassName) argument
6472 Write_class_t(ASTContext *Context, std::string &Result, StringRef VarName, const ObjCInterfaceDecl *CDecl, bool metaclass) argument
6612 Write_category_t(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ObjCCategoryDecl *CatDecl, ObjCInterfaceDecl *ClassDecl, ArrayRef<ObjCMethodDecl *> InstanceMethods, ArrayRef<ObjCMethodDecl *> ClassMethods, ArrayRef<ObjCProtocolDecl *> RefedProtocols, ArrayRef<ObjCPropertyDecl *> ClassProperties) argument
6694 Write__extendedMethodTypes_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCMethodDecl *> Methods, StringRef VarName, StringRef ProtocolName) argument
6721 Write_IvarOffsetVar(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCIvarDecl *> Ivars, ObjCInterfaceDecl *CDecl) argument
6764 Write__ivar_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCIvarDecl *> OriginalIvars, StringRef VarName, ObjCInterfaceDecl *CDecl) argument
6839 RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, std::string &Result) argument
7001 RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, std::string &Result) argument
7158 RewriteClassSetupInitHook(std::string &Result) argument
7174 RewriteMetaDataIntoBuffer(std::string &Result) argument
7252 WriteImageInfo(std::string &Result) argument
7263 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, std::string &Result) argument
7340 RewriteCategorySetupInitHook(std::string &Result) argument
7363 RewriteObjCMethodsMetaData(MethodIterator MethodBegin, MethodIterator MethodEnd, bool IsInstanceMethod, StringRef prefix, StringRef ClassName, std::string &Result) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticIDs.h109 DiagnosticMapping Result; local
110 Result.Severity = (unsigned)Severity;
111 Result.IsUser = IsUser;
112 Result.IsPragma = IsPragma;
113 Result.HasNoWarningAsError = 0;
114 Result.HasNoErrorAsFatal = 0;
115 Result.WasUpgradedFromWarning = 0;
116 return Result;
149 DiagnosticMapping Result; local
150 Result
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
H A DDarwinSDKInfo.cpp28 Expected<llvm::json::Value> Result = local
30 if (!Result)
31 return Result.takeError();
33 if (const auto *Obj = Result->getAsObject()) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/Disassembler/
H A DAVRDisassembler.cpp119 DecodeStatus Result; local
123 Result = readInstruction16(Bytes, Address, Size, Insn);
125 if (Result == MCDisassembler::Fail) return MCDisassembler::Fail;
128 Result = decodeInstruction(getDecoderTable(Size), Instr,
131 if (Result != MCDisassembler::Fail)
132 return Result;
137 Result = readInstruction32(Bytes, Address, Size, Insn);
139 if (Result == MCDisassembler::Fail) return MCDisassembler::Fail;
141 Result = decodeInstruction(getDecoderTable(Size), Instr, Insn,
144 if (Result !
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLegacy.cpp33 LookupResult Result;
35 Result[*KV.first] = std::move(KV.second);
36 OnResolved(Result);
58 LookupSet Result; local
61 Result.insert(*S);
64 return Result;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp44 CachedFileSystemEntry Result; local
45 Result.MaybeStat = std::move(*Stat);
46 Result.Contents.reserve(Buffer->getBufferSize() + 1);
47 Result.Contents.append(Buffer->getBufferStart(), Buffer->getBufferEnd());
49 Result.Contents.push_back('\0');
50 Result.Contents.pop_back();
51 return Result;
54 CachedFileSystemEntry Result; local
56 Result.MaybeStat = llvm::vfs::Status(Stat->getName(), Stat->getUniqueID(),
68 Result
97 auto Result = CachedFileSystemEntry(); local
165 const CachedFileSystemEntry *Result; local
202 const llvm::ErrorOr<const CachedFileSystemEntry *> Result = local
263 const llvm::ErrorOr<const CachedFileSystemEntry *> Result = local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h179 bool Lex(Token &Result);
188 void IndirectLex(Token &Result) override { Lex(Result); } variable
194 bool LexFromRawLexer(Token &Result) { argument
196 Lex(Result);
248 void ReadToEndOfLine(SmallVectorImpl<char> *Result = nullptr);
341 static bool getRawToken(SourceLocation Loc, Token &Result,
568 bool LexTokenInternal(Token &Result, bool TokAtPhysicalStartOfLine);
570 bool CheckUnicodeWhitespace(Token &Result, uint32_t C, const char *CurPtr);
575 bool LexUnicode(Token &Result, uint32_
582 FormTokenWithChars(Token &Result, const char *TokEnd, tok::TokenKind Kind) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); local
407 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes);
409 return Result;
416 auto Result = local
418 Result->setCodeSize(Lines.CodeSize);
419 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset);
420 Result->setFlags(Lines.Flags);
422 Result->createBlock(LC.FileName);
423 if (Result->hasColumnInfo()) {
428 Result
447 auto Result = std::make_shared<DebugInlineeLinesSubsection>( local
467 auto Result = std::make_shared<DebugCrossModuleExportsSubsection>(); local
479 auto Result = local
491 auto Result = std::make_shared<DebugSymbolsSubsection>(); local
502 auto Result = std::make_shared<DebugStringTableSubsection>(); local
513 auto Result = std::make_shared<DebugFrameDataSubsection>(true); local
534 auto Result = std::make_shared<DebugSymbolRVASubsection>(); local
568 auto Result = std::make_shared<YAMLChecksumsSubsection>(); local
584 auto Result = std::make_shared<YAMLLinesSubsection>(); local
622 auto Result = std::make_shared<YAMLInlineeLinesSubsection>(); local
649 auto Result = std::make_shared<YAMLCrossModuleExportsSubsection>(); local
658 auto Result = std::make_shared<YAMLCrossModuleImportsSubsection>(); local
674 auto Result = std::make_shared<YAMLSymbolsSubsection>(); local
692 auto Result = std::make_shared<YAMLStringTableSubsection>(); local
711 auto Result = std::make_shared<YAMLFrameDataSubsection>(); local
739 auto Result = std::make_shared<YAMLCoffSymbolRVASubsection>(); local
750 std::vector<std::shared_ptr<DebugSubsection>> Result; local
800 auto Result = YAMLLinesSubsection::fromCodeViewSubsection( local
811 auto Result = YAMLChecksumsSubsection::fromCodeViewSubsection(State.strings(), local
822 auto Result = YAMLInlineeLinesSubsection::fromCodeViewSubsection( local
833 auto Result = local
844 auto Result = YAMLCrossModuleImportsSubsection::fromCodeViewSubsection( local
855 auto Result = YAMLStringTableSubsection::fromCodeViewSubsection(Strings); local
864 auto Result = YAMLSymbolsSubsection::fromCodeViewSubsection(Symbols); local
873 auto Result = local
883 auto Result = YAMLCoffSymbolRVASubsection::fromCodeViewSubsection(RVAs); local
913 std::vector<YAMLDebugSubsection> Result; local
939 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC); local
951 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC); local
[all...]

Completed in 307 milliseconds

1234567891011>>