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

1234567891011>>

/freebsd-13-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-13-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-13-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-13-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-13-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 DInlineFeaturesAnalysis.h21 struct Result { struct in class:llvm::InlineFeaturesAnalysis
41 Result run(const Function &F, FunctionAnalysisManager &FAM);
H A DInlineSizeEstimatorAnalysis.h27 using Result = Optional<size_t>;
28 Result run(const Function &F, FunctionAnalysisManager &FAM);
H A DLoopAnalysisManager.h85 template <> class LoopAnalysisManagerFunctionProxy::Result { class in class:llvm::LoopAnalysisManagerFunctionProxy
87 explicit Result(LoopAnalysisManager &InnerAM, LoopInfo &LI) function in class:llvm::LoopAnalysisManagerFunctionProxy::Result
89 Result(Result &&Arg) function in class:llvm::LoopAnalysisManagerFunctionProxy::Result
96 Result &operator=(Result &&RHS) {
106 ~Result() {
143 LoopAnalysisManagerFunctionProxy::Result
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DStatepoint.cpp27 StatepointDirectives Result; local
34 Result.StatepointID = StatepointID;
41 Result.NumPatchBytes = NumPatchBytes;
43 return Result;
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp198 llvm::raw_svector_ostream &Result) {
199 Result << "<" << C->getTagName();
203 Result << " ";
205 Result << Attr.Name;
207 Result << "=\"" << Attr.Value << "\"";
212 Result << ">";
214 Result << "/>";
224 FC(FC), Result(Str), Traits(Traits)
255 llvm::raw_svector_ostream Result; member in class:__anon1938::CommentASTToHTMLConverter
280 Result << " ";
197 printHTMLStartTagComment(const HTMLStartTagComment *C, llvm::raw_svector_ostream &Result) argument
570 llvm::raw_svector_ostream Result; member in class:__anon1939::CommentASTToXMLConverter
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCDuplexInfo.cpp701 MCInst Result; local
713 Result.setOpcode(Hexagon::SA1_inc);
714 addOps(Result, Inst, 0);
715 addOps(Result, Inst, 1);
719 Result.setOpcode(Hexagon::SA1_dec);
720 addOps(Result, Inst, 0);
721 addOps(Result, Inst, 1);
722 addOps(Result, Inst, 2);
726 Result.setOpcode(Hexagon::SA1_addsp);
727 addOps(Result, Ins
[all...]
/freebsd-13-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-13-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp29 void Transformer::run(const MatchFinder::MatchResult &Result) { argument
30 if (Result.Context->getDiagnostics().hasErrorOccurred())
34 transformer::detail::findSelectedCase(Result, Rule);
35 auto Transformations = Case.Edits(Result);
43 transformer::detail::getRuleMatchLoc(Result).print(
44 llvm::errs() << "note: skipping match at loc ", *Result.SourceManager);
53 auto ID = Result.SourceManager->getFileID(T.Range.getBegin());
55 .emplace(ID, AtomicChange(*Result.SourceManager,
59 if (auto Err = AC.replace(*Result.SourceManager, T.Range, T.Replacement)) {
H A DRangeSelector.cpp106 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
107 Expected<CharSourceRange> SelectedRange = Selector(Result);
115 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> {
116 Expected<CharSourceRange> SelectedRange = Selector(Result);
122 SelectedRange->getEnd(), 0, Result.Context->getSourceManager(),
123 Result.Context->getLangOpts()));
128 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> {
129 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID);
134 *Result.Context)
140 return [ID](const MatchResult &Result)
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp38 std::string Result; local
40 llvm::raw_string_ostream OS(Result);
57 Result.c_str()) < MaxLength;
62 std::string Result; local
64 llvm::raw_string_ostream OS(Result);
74 Result.c_str()) < MaxLength;
81 std::string Result = local
84 Result.c_str()) < MaxLength
85 ? static_cast<int>(Result.size() + 1)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDataExtractor.cpp73 uint64_t Result = 0;
82 Result = getUnsigned(Offset, getAddressSize());
89 Result = getULEB128(Offset);
92 Result = getSLEB128(Offset);
95 Result = getUnsigned(Offset, 2);
98 Result = getUnsigned(Offset, 4);
101 Result = getUnsigned(Offset, 8);
104 Result = getSigned(Offset, 2);
107 Result = getSigned(Offset, 4);
110 Result
[all...]
/freebsd-13-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
1971 std::string Result; local
3633 RewriteObjCFieldDeclType(QualType &Type, std::string &Result) argument
3698 RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result) argument
3728 RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, std::string &Result) argument
3841 ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result) argument
3853 ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result) argument
3865 ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result) argument
3880 RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, std::string &Result) argument
3957 RewriteIvarOffsetSymbols(ObjCInterfaceDecl *CDecl, std::string &Result) argument
5814 Write_ProtocolExprReferencedMetadata(ASTContext *Context, ObjCProtocolDecl *PDecl, std::string &Result) argument
6064 RewriteIvarOffsetComputation(ObjCIvarDecl *ivar, std::string &Result) argument
6180 WriteModernMetadataDeclarations(ASTContext *Context, std::string &Result) argument
6258 Write_protocol_list_t_TypeDecl(std::string &Result, long super_protocol_count) argument
6267 Write_method_list_t_TypeDecl(std::string &Result, unsigned int method_count) argument
6277 Write__prop_list_t_TypeDecl(std::string &Result, unsigned int property_count) argument
6287 Write__ivar_list_t_TypeDecl(std::string &Result, unsigned int ivar_count) argument
6297 Write_protocol_list_initializer(ASTContext *Context, std::string &Result, ArrayRef<ObjCProtocolDecl *> SuperProtocols, StringRef VarName, StringRef ProtocolName) argument
6320 Write_method_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCMethodDecl *> Methods, StringRef VarName, StringRef TopLevelDeclName, bool MethodImpl) argument
6360 Write_prop_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCPropertyDecl *> Properties, const Decl *Container, StringRef VarName, StringRef ProtocolName) argument
6409 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
6476 Write_class_t(ASTContext *Context, std::string &Result, StringRef VarName, const ObjCInterfaceDecl *CDecl, bool metaclass) argument
6616 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
6698 Write__extendedMethodTypes_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCMethodDecl *> Methods, StringRef VarName, StringRef ProtocolName) argument
6725 Write_IvarOffsetVar(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCIvarDecl *> Ivars, ObjCInterfaceDecl *CDecl) argument
6768 Write__ivar_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCIvarDecl *> OriginalIvars, StringRef VarName, ObjCInterfaceDecl *CDecl) argument
6843 RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, std::string &Result) argument
7005 RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, std::string &Result) argument
7162 RewriteClassSetupInitHook(std::string &Result) argument
7178 RewriteMetaDataIntoBuffer(std::string &Result) argument
7256 WriteImageInfo(std::string &Result) argument
7267 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, std::string &Result) argument
7344 RewriteCategorySetupInitHook(std::string &Result) argument
7367 RewriteObjCMethodsMetaData(MethodIterator MethodBegin, MethodIterator MethodEnd, bool IsInstanceMethod, StringRef prefix, StringRef ClassName, std::string &Result) argument
[all...]
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DFixedPoint.cpp161 llvm::APSInt Result; local
163 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal)
166 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed)
173 return APFixedPoint(Result, CommonFXSema);
185 llvm::APSInt Result; local
187 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal)
190 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed)
197 return APFixedPoint(Result, CommonFXSema);
226 llvm::APSInt Result; local
228 Result
279 llvm::APSInt Result; local
359 llvm::APSInt Result = getIntPart(); local
[all...]

Completed in 247 milliseconds

1234567891011>>