| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | CommentToXML.cpp | 199 llvm::raw_svector_ostream &Result) { in printHTMLStartTagComment() argument 200 Result << "<" << C->getTagName(); in printHTMLStartTagComment() 204 Result << " "; in printHTMLStartTagComment() 206 Result << Attr.Name; in printHTMLStartTagComment() 208 Result << "=\"" << Attr.Value << "\""; in printHTMLStartTagComment() 213 Result << ">"; in printHTMLStartTagComment() 215 Result << "/>"; in printHTMLStartTagComment() 225 FC(FC), Result(Str), Traits(Traits) in CommentASTToHTMLConverter() 256 llvm::raw_svector_ostream Result; member in __anon841f57080111::CommentASTToHTMLConverter 281 Result << " "; in visitInlineCommandComment() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCDuplexInfo.cpp | 697 MCInst Result; in deriveSubInst() local 698 Result.setLoc(Inst.getLoc()); in deriveSubInst() 710 Result.setOpcode(Hexagon::SA1_inc); in deriveSubInst() 711 addOps(Result, Inst, 0); in deriveSubInst() 712 addOps(Result, Inst, 1); in deriveSubInst() 716 Result.setOpcode(Hexagon::SA1_dec); in deriveSubInst() 717 addOps(Result, Inst, 0); in deriveSubInst() 718 addOps(Result, Inst, 1); in deriveSubInst() 719 addOps(Result, Inst, 2); in deriveSubInst() 723 Result.setOpcode(Hexagon::SA1_addsp); in deriveSubInst() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | MacroArgs.cpp | 47 MacroArgs *Result; in create() local 51 Result = new ( in create() 55 Result = *ResultEnt; in create() 57 *ResultEnt = Result->ArgCache; in create() 58 Result->NumUnexpArgTokens = UnexpArgTokens.size(); in create() 59 Result->VarargsElided = VarargsElided; in create() 60 Result->NumMacroArgs = MI->getNumParams(); in create() 70 Result->getTrailingObjects<Token>()); in create() 73 return Result; in create() 124 const Token *Result = Start; in getUnexpArgument() local [all …]
|
| H A D | Lexer.cpp | 311 std::string Result = std::string(Str); in Stringify() local 313 StringifyImpl(Result, Quote); in Stringify() 314 return Result; in Stringify() 436 std::string Result; in getSpelling() local 437 Result.resize(Tok.getLength()); in getSpelling() 438 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling() 439 return Result; in getSpelling() 510 bool Lexer::getRawToken(SourceLocation Loc, Token &Result, in getRawToken() argument 538 TheLexer.LexFromRawLexer(Result); in getRawToken() 1767 Token &Result) { in tryConsumeIdentifierUCN() argument [all …]
|
| H A D | PPExpressions.cpp | 102 static bool EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, in EvaluateDefined() argument 105 Result.setBegin(beginLoc); in EvaluateDefined() 132 Result.Val = !!Macro; in EvaluateDefined() 133 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. in EvaluateDefined() 141 if (Result.Val != 0 && ValueLive) in EvaluateDefined() 150 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined() 161 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined() 164 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined() 233 static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, in EvaluateValue() argument 237 Result.setIdentifier(nullptr); in EvaluateValue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | FixedPointBuilder.h | 46 Value *Result = Src; in Convert() local 55 Value *Zero = Constant::getNullValue(Result->getType()); in Convert() 56 Value *IsNegative = B.CreateICmpSLT(Result, Zero); in Convert() 59 Value *Rounded = B.CreateAdd(Result, LowBits); in Convert() 60 Result = B.CreateSelect(IsNegative, Rounded, Result); in Convert() 63 Result = SrcIsSigned in Convert() 64 ? B.CreateAShr(Result, SrcScale - DstScale, "downscale") in Convert() 65 : B.CreateLShr(Result, SrcScale - DstScale, "downscale"); in Convert() 70 Result = B.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize"); in Convert() 74 Result = B.CreateShl(Result, DstScale - SrcScale, "upscale"); in Convert() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 373 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); [all …]
|
| /freebsd/sys/contrib/dev/acpica/compiler/ |
| H A D | dtexpress.c | 193 UINT64 Result; in DtResolveIntegerExpression() local 201 Result = DtEvaluateExpression (Field->Value); in DtResolveIntegerExpression() 202 *ReturnValue = Result; in DtResolveIntegerExpression() 227 UINT64 Result; in DtDoOperator() local 236 Result = ~RightValue; in DtDoOperator() 241 Result = !RightValue; in DtDoOperator() 246 Result = LeftValue * RightValue; in DtDoOperator() 258 Result = LeftValue / RightValue; in DtDoOperator() 270 Result = LeftValue % RightValue; in DtDoOperator() 274 Result = LeftValue + RightValue; in DtDoOperator() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLDebugSections.cpp | 405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() local 407 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes); in toCodeViewSubsection() 409 return Result; in toCodeViewSubsection() 416 auto Result = in toCodeViewSubsection() local 418 Result->setCodeSize(Lines.CodeSize); in toCodeViewSubsection() 419 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset); in toCodeViewSubsection() 420 Result->setFlags(Lines.Flags); in toCodeViewSubsection() 422 Result->createBlock(LC.FileName); in toCodeViewSubsection() 423 if (Result->hasColumnInfo()) { in toCodeViewSubsection() 428 Result in toCodeViewSubsection() 447 auto Result = std::make_shared<DebugInlineeLinesSubsection>( toCodeViewSubsection() local 467 auto Result = std::make_shared<DebugCrossModuleExportsSubsection>(); toCodeViewSubsection() local 479 auto Result = toCodeViewSubsection() local 491 auto Result = std::make_shared<DebugSymbolsSubsection>(); toCodeViewSubsection() local 502 auto Result = std::make_shared<DebugStringTableSubsection>(); toCodeViewSubsection() local 513 auto Result = std::make_shared<DebugFrameDataSubsection>(true); toCodeViewSubsection() local 534 auto Result = std::make_shared<DebugSymbolRVASubsection>(); toCodeViewSubsection() local 547 SourceFileChecksumEntry Result; convertOneChecksum() local 568 auto Result = std::make_shared<YAMLChecksumsSubsection>(); fromCodeViewSubsection() local 584 auto Result = std::make_shared<YAMLLinesSubsection>(); fromCodeViewSubsection() local 622 auto Result = std::make_shared<YAMLInlineeLinesSubsection>(); fromCodeViewSubsection() local 649 auto Result = std::make_shared<YAMLCrossModuleExportsSubsection>(); fromCodeViewSubsection() local 658 auto Result = std::make_shared<YAMLCrossModuleImportsSubsection>(); fromCodeViewSubsection() local 674 auto Result = std::make_shared<YAMLSymbolsSubsection>(); fromCodeViewSubsection() local 692 auto Result = std::make_shared<YAMLStringTableSubsection>(); fromCodeViewSubsection() local 711 auto Result = std::make_shared<YAMLFrameDataSubsection>(); fromCodeViewSubsection() local 739 auto Result = std::make_shared<YAMLCoffSymbolRVASubsection>(); fromCodeViewSubsection() local 750 std::vector<std::shared_ptr<DebugSubsection>> Result; toCodeViewSubsectionList() local 800 auto Result = YAMLLinesSubsection::fromCodeViewSubsection( visitLines() local 811 auto Result = YAMLChecksumsSubsection::fromCodeViewSubsection(State.strings(), visitFileChecksums() local 822 auto Result = YAMLInlineeLinesSubsection::fromCodeViewSubsection( visitInlineeLines() local 833 auto Result = visitCrossModuleExports() local 844 auto Result = YAMLCrossModuleImportsSubsection::fromCodeViewSubsection( visitCrossModuleImports() local 855 auto Result = YAMLStringTableSubsection::fromCodeViewSubsection(Strings); visitStringTable() local 864 auto Result = YAMLSymbolsSubsection::fromCodeViewSubsection(Symbols); visitSymbols() local 873 auto Result = visitFrameData() local 883 auto Result = YAMLCoffSymbolRVASubsection::fromCodeViewSubsection(RVAs); visitCOFFSymbolRVAs() local 913 std::vector<YAMLDebugSubsection> Result; fromDebugS() local 939 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC); initializeStringsAndChecksums() local 951 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC); initializeStringsAndChecksums() local [all...] |
| /freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evpciph_aes_siv.txt | 380 Result = TAG_VALUE_MISMATCH 388 Result = TAG_VALUE_MISMATCH 396 Result = TAG_VALUE_MISMATCH 404 Result = TAG_VALUE_MISMATCH 414 Result = TAG_VALUE_MISMATCH 422 Result = TAG_VALUE_MISMATCH 430 Result = TAG_VALUE_MISMATCH 438 Result = TAG_VALUE_MISMATCH 448 Result = TAG_VALUE_MISMATCH 456 Result = TAG_VALUE_MISMATCH [all …]
|
| H A D | evppkey_ml_kem_1024_decap.txt | 718 Result = TEST_PARSE_PRIVATE_KEY_ERROR 726 Result = TEST_PARSE_PRIVATE_KEY_ERROR 734 Result = TEST_PARSE_PRIVATE_KEY_ERROR 742 Result = TEST_PARSE_PRIVATE_KEY_ERROR 750 Result = TEST_PARSE_PRIVATE_KEY_ERROR 758 Result = TEST_PARSE_PRIVATE_KEY_ERROR 766 Result = TEST_PARSE_PRIVATE_KEY_ERROR 774 Result = TEST_PARSE_PRIVATE_KEY_ERROR 782 Result = TEST_PARSE_PRIVATE_KEY_ERROR 790 Result = TEST_PARSE_PRIVATE_KEY_ERROR [all …]
|
| H A D | evppkey_ml_kem_768_decap.txt | 718 Result = TEST_PARSE_PRIVATE_KEY_ERROR 726 Result = TEST_PARSE_PRIVATE_KEY_ERROR 734 Result = TEST_PARSE_PRIVATE_KEY_ERROR 742 Result = TEST_PARSE_PRIVATE_KEY_ERROR 750 Result = TEST_PARSE_PRIVATE_KEY_ERROR 758 Result = TEST_PARSE_PRIVATE_KEY_ERROR 766 Result = TEST_PARSE_PRIVATE_KEY_ERROR 774 Result = TEST_PARSE_PRIVATE_KEY_ERROR 782 Result = TEST_PARSE_PRIVATE_KEY_ERROR 790 Result = TEST_PARSE_PRIVATE_KEY_ERROR [all …]
|
| H A D | evppkey_ml_dsa_sigver.txt | 21 Result = VERIFY_ERROR 33 Result = VERIFY_ERROR 44 Result = VERIFY_ERROR 56 Result = VERIFY_ERROR 67 Result = VERIFY_ERROR 79 Result = VERIFY_ERROR 111 Result = VERIFY_ERROR 123 Result = VERIFY_ERROR 134 Result = VERIFY_ERROR 156 Result = VERIFY_ERROR [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 196 APSInt Result; in add() local 198 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal) in add() 201 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed) in add() 208 return APFixedPoint(Result, CommonFXSema); in add() 220 APSInt Result; in sub() local 222 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal) in sub() 225 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed) in sub() 232 return APFixedPoint(Result, CommonFXSema); in sub() 261 APSInt Result; in mul() local 263 Result = ThisVal.smul_ov(OtherVal, Overflowed) in mul() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 557 Polynomial Result(*this); in operator -() local 558 Result.A -= C; in operator -() 559 return Result; in operator -() 564 Polynomial Result(*this); in operator +() local 565 Result.A += C; in operator +() 566 return Result; in operator +() 713 static bool compute(Value *V, VectorInfo &Result, const DataLayout &DL) { in compute() 716 return computeFromSVI(SVI, Result, DL); in compute() 719 return computeFromLI(LI, Result, DL); in compute() 722 return computeFromBCI(BCI, Result, DL); in compute() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RewriteRule.cpp | 35 translateEdits(const MatchResult &Result, ArrayRef<ASTEdit> ASTEdits) { in translateEdits() argument 38 Expected<CharSourceRange> Range = E.TargetRange(Result); in translateEdits() 42 tooling::getFileRangeForEdit(*Range, *Result.Context); in translateEdits() 56 auto Replacement = E.Replacement->eval(Result); in translateEdits() 62 auto Note = E.Note->eval(Result); in translateEdits() 68 auto Metadata = E.Metadata(Result); in translateEdits() 79 return [Edits = std::move(Edits)](const MatchResult &Result) { in editList() argument 80 return translateEdits(Result, Edits); in editList() 85 return [Edit = std::move(Edit)](const MatchResult &Result) { in edit() argument 86 return translateEdits(Result, {Edit}); in edit() [all …]
|
| H A D | RangeSelector.cpp | 100 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> { in before() argument 101 Expected<CharSourceRange> SelectedRange = Selector(Result); in before() 109 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> { in after() argument 110 Expected<CharSourceRange> SelectedRange = Selector(Result); in after() 123 *Result.SourceManager, Result.Context->getLangOpts()); in after() 135 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in node() argument 136 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in node() 142 *Result.Context) in node() 148 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in statement() argument 149 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in statement() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | DylibVerifier.cpp | 58 char *Result = llvm::itaniumDemangle(Name); in demangle() local 59 if (!Result) in demangle() 62 std::string Demangled(Result); in demangle() 63 free(Result); in demangle() 123 static DylibVerifier::Result updateResult(const DylibVerifier::Result Prev, in updateResult() 124 const DylibVerifier::Result Curr) { in updateResult() 129 if ((Prev == DylibVerifier::Result::Invalid) || in updateResult() 130 (Prev == DylibVerifier::Result::NoVerify)) in updateResult() 134 if (Prev == DylibVerifier::Result::Valid && in updateResult() 135 Curr == DylibVerifier::Result::Ignore) in updateResult() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | Solver.h | 30 struct Result { struct 50 static Result Satisfiable(llvm::DenseMap<Atom, Assignment> Solution) { in Satisfiable() argument 51 return Result(Status::Satisfiable, std::move(Solution)); in Satisfiable() 56 static Result Unsatisfiable() { return Result(Status::Unsatisfiable, {}); } in Unsatisfiable() argument 60 static Result TimedOut() { return Result(Status::TimedOut, {}); } in TimedOut() argument 73 Result(Status SATCheckStatus, in Result() argument 89 virtual Result solve(llvm::ArrayRef<const Formula *> Vals) = 0; argument 95 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const Solver::Result &); 96 llvm::raw_ostream &operator<<(llvm::raw_ostream &, Solver::Result::Assignment);
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | Target.cpp | 18 auto Result = TargetValue.split('-'); in create() local 19 auto ArchitectureStr = Result.first; in create() 21 auto PlatformStr = Result.second; in create() 56 PlatformVersionSet Result; in operator <<() 58 Result.insert({Target.Platform, Target.MinDeployment}); in operator <<() 59 return Result; in operator <<() 63 PlatformSet Result; in mapToPlatformVersionSet() 65 Result.insert(Target.Platform); in mapToPlatformVersionSet() 66 return Result; in mapToPlatformVersionSet() 70 ArchitectureSet Result; in mapToPlatformSet() 62 PlatformVersionSet Result; mapToPlatformVersionSet() local 69 PlatformSet Result; mapToPlatformSet() local 76 ArchitectureSet Result; mapToArchitectureSet() local [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | Demangle.cpp | 21 std::string Result; in demangle() local 23 if (nonMicrosoftDemangle(MangledName, Result)) in demangle() 24 return Result; in demangle() 27 nonMicrosoftDemangle(MangledName.substr(1), Result, in demangle() 29 return Result; in demangle() 32 Result = Demangled; in demangle() 35 Result = MangledName; in demangle() 37 return Result; in demangle() 50 std::string &Result, bool CanHaveLeadingDot, in nonMicrosoftDemangle() 57 Result in nonMicrosoftDemangle() 49 nonMicrosoftDemangle(std::string_view MangledName,std::string & Result) nonMicrosoftDemangle() argument [all...] |
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenInstAlias.cpp | 27 bool CodeGenInstAlias::tryAliasOpMatch(DagInit *Result, unsigned AliasOpNo, in tryAliasOpMatch() argument 31 Init *Arg = Result->getArg(AliasOpNo); in tryAliasOpMatch() 38 if (!Result->getArgName(AliasOpNo)) in tryAliasOpMatch() 41 ResOp = ResultOperand(std::string(Result->getArgNameStr(AliasOpNo)), in tryAliasOpMatch() 60 ResOp = ResultOperand(std::string(Result->getArgNameStr(AliasOpNo)), in tryAliasOpMatch() 83 if (Result->getArgName(AliasOpNo)) in tryAliasOpMatch() 112 if (Result->getArgName(AliasOpNo)) in tryAliasOpMatch() 143 ResOp = ResultOperand(std::string(Result->getArgNameStr(AliasOpNo)), in tryAliasOpMatch() 169 Result = R->getValueAsDag("ResultInst"); in CodeGenInstAlias() 173 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | StringSwitch.h | 50 std::optional<T> Result; variable 54 : Str(S), Result() { } in StringSwitch() 64 : Str(other.Str), Result(std::move(other.Result)) { } in StringSwitch() 70 if (!Result && Str == S) { in Case() 71 Result = std::move(Value); in Case() 77 if (!Result && Str.ends_with(S)) { in EndsWith() 78 Result = std::move(Value); in EndsWith() 84 if (!Result && Str.starts_with(S)) { in StartsWith() 85 Result in StartsWith() [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 116 AliasResult Result = AliasResult::MayAlias; in alias() local 127 Result = AA->alias(LocA, LocB, AAQI, CtxI); in alias() 128 if (Result != AliasResult::MayAlias) in alias() 137 << *LocB.Ptr << " @ " << LocB.Size << " = " << Result << "\n"; in alias() 141 if (Result == AliasResult::NoAlias) in alias() 143 else if (Result == AliasResult::MustAlias) in alias() 148 return Result; in alias() 159 ModRefInfo Result = ModRefInfo::ModRef; in getModRefInfoMask() local 162 Result &= AA->getModRefInfoMask(Loc, AAQI, IgnoreLocals); in getModRefInfoMask() 165 if (isNoModRef(Result)) in getModRefInfoMask() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | VersionTuple.h | 109 VersionTuple Result = *this; 110 if (Result.Build == 0) { in normalize() 111 Result.HasBuild = false; in normalize() local 112 if (Result.Subminor == 0) { in normalize() 113 Result.HasSubminor = false; in normalize() 114 if (Result.Minor == 0) in normalize() 115 Result.HasMinor = false; in normalize() 118 return Result; in normalize() 200 unsigned Result = Value.getMajor(); 202 Result [all...] |