| /src/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 __anonfb99497d0111::CommentASTToHTMLConverter 281 Result << " "; in visitInlineCommandComment() [all …]
|
| /src/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 …]
|
| /src/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 …]
|
| /src/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 …]
|
| /src/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 …]
|
| H A D | RewriteObjC.cpp | 323 std::string &Result); 328 virtual void RewriteMetaDataIntoBuffer(std::string &Result) = 0; 332 std::string &Result) = 0; 334 std::string &Result) = 0; 338 std::string &Result) = 0; 340 std::string &Result) = 0; 345 std::string &Result) = 0; 525 std::string &Result); 528 std::string &Result) override; 531 StringRef prefix, StringRef ClassName, std::string &Result) override; [all …]
|
| /src/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 …]
|
| /src/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->addLineAndColumnInfo(L.Offset, in toCodeViewSubsection() [all …]
|
| /src/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 …]
|
| /src/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 203 bool Lex(Token &Result); 207 bool LexDependencyDirectiveToken(Token &Result); 211 bool LexDependencyDirectiveTokenWhileSkipping(Token &Result); 221 const dependency_directives_scan::Token &DDTok, Token &Result); 230 void IndirectLex(Token &Result) override { Lex(Result); } in IndirectLex() argument 236 bool LexFromRawLexer(Token &Result) { in LexFromRawLexer() argument 238 Lex(Result); in LexFromRawLexer() 290 void ReadToEndOfLine(SmallVectorImpl<char> *Result = nullptr); 377 static bool getRawToken(SourceLocation Loc, Token &Result, 612 bool LexTokenInternal(Token &Result, bool TokAtPhysicalStartOfLine); [all …]
|
| /src/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 …]
|
| /src/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 …]
|
| /src/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 …]
|
| /src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Parser.cpp | 111 TokenInfo Result; in getNextToken() local 112 Result.Range.Start = currentLocation(); in getNextToken() 115 Result.Kind = TokenInfo::TK_CodeCompletion; in getNextToken() 116 Result.Text = StringRef(CodeCompletionLocation, 0); in getNextToken() 118 return Result; in getNextToken() 122 Result.Kind = TokenInfo::TK_Eof; in getNextToken() 123 Result.Text = ""; in getNextToken() 124 return Result; in getNextToken() 132 Result.Kind = TokenInfo::TK_Comma; in getNextToken() 133 Result.Text = Code.substr(0, 1); in getNextToken() [all …]
|
| /src/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 …]
|
| /src/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() argument 57 Result = "."; in nonMicrosoftDemangle() [all …]
|
| /src/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);
|
| /src/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 mapToPlatformVersionSet() local 58 Result.insert({Target.Platform, Target.MinDeployment}); in mapToPlatformVersionSet() 59 return Result; in mapToPlatformVersionSet() 63 PlatformSet Result; in mapToPlatformSet() local 65 Result.insert(Target.Platform); in mapToPlatformSet() 66 return Result; in mapToPlatformSet() 70 ArchitectureSet Result; in mapToArchitectureSet() local [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | LoopConstrainer.h | 66 LoopStructure Result; in map() local 67 Result.Tag = Tag; in map() 68 Result.Header = cast<BasicBlock>(Map(Header)); in map() 69 Result.Latch = cast<BasicBlock>(Map(Latch)); in map() 70 Result.LatchBr = cast<BranchInst>(Map(LatchBr)); in map() 71 Result.LatchExit = cast<BasicBlock>(Map(LatchExit)); in map() 72 Result.LatchBrExitIdx = LatchBrExitIdx; in map() 73 Result.IndVarBase = Map(IndVarBase); in map() 74 Result.IndVarStart = Map(IndVarStart); in map() 75 Result.IndVarStep = Map(IndVarStep); in map() [all …]
|
| /src/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 …]
|
| /src/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 = std::move(Value); in StartsWith() 143 if (!Result && Str.equals_insensitive(S)) in CaseLower() [all …]
|