Home
last modified time | relevance | path

Searched refs:Result (Results 1 – 25 of 1380) sorted by relevance

12345678910>>...56

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp198 llvm::raw_svector_ostream &Result) { in printHTMLStartTagComment() argument
199 Result << "<" << C->getTagName(); in printHTMLStartTagComment()
203 Result << " "; in printHTMLStartTagComment()
205 Result << Attr.Name; in printHTMLStartTagComment()
207 Result << "=\"" << Attr.Value << "\""; in printHTMLStartTagComment()
212 Result << ">"; in printHTMLStartTagComment()
214 Result << "/>"; in printHTMLStartTagComment()
224 FC(FC), Result(Str), Traits(Traits) in CommentASTToHTMLConverter()
255 llvm::raw_svector_ostream Result; member in __anon841f57080111::CommentASTToHTMLConverter
280 Result << " "; in visitInlineCommandComment()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroArgs.cpp46 MacroArgs *Result; in create() local
50 Result = new ( in create()
54 Result = *ResultEnt; in create()
56 *ResultEnt = Result->ArgCache; in create()
57 Result->NumUnexpArgTokens = UnexpArgTokens.size(); in create()
58 Result->VarargsElided = VarargsElided; in create()
59 Result->NumMacroArgs = MI->getNumParams(); in create()
69 Result->getTrailingObjects()); in create()
72 return Result; in create()
123 const Token *Result = Start; in getUnexpArgument() local
[all …]
H A DLexHLSLRootSignature.cpp33 RootSignatureToken Result(LocOffset); in lexToken() local
41 Result.TokKind = TokenKind::pu_##X; \ in lexToken()
43 return Result; \ in lexToken()
52 Result.NumSpelling = Buffer.take_while(isNumberChar); in lexToken()
55 bool IsInteger = Result.NumSpelling.find_if_not(isdigit) == StringRef::npos; in lexToken()
57 Result.TokKind = in lexToken()
59 advanceBuffer(Result.NumSpelling.size()); in lexToken()
60 return Result; in lexToken()
65 Result = RootSignatureToken(TokenKind::invalid, LocOffset); in lexToken()
66 return Result; in lexToken()
[all …]
H A DLexer.cpp310 std::string Result = std::string(Str); in Stringify() local
312 StringifyImpl(Result, Quote); in Stringify()
313 return Result; in Stringify()
435 std::string Result; in getSpelling() local
436 Result.resize(Tok.getLength()); in getSpelling()
437 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling()
438 return Result; in getSpelling()
509 bool Lexer::getRawToken(SourceLocation Loc, Token &Result, in getRawToken() argument
537 TheLexer.LexFromRawLexer(Result); in getRawToken()
1786 Token &Result) { in tryConsumeIdentifierUCN() argument
[all …]
H A DPPExpressions.cpp102 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/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCDuplexInfo.cpp697 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/llvm/include/llvm/IR/
H A DFixedPointBuilder.h46 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/llvm/lib/ExecutionEngine/Orc/
H A DInProcessMemoryAccess.cpp67 ReadUIntsResult<uint8_t> Result; in readUInt8sAsync() local
68 Result.reserve(Rs.size()); in readUInt8sAsync()
70 Result.push_back(*R.toPtr<uint8_t *>()); in readUInt8sAsync()
71 OnComplete(std::move(Result)); in readUInt8sAsync()
76 ReadUIntsResult<uint16_t> Result; in readUInt16sAsync() local
77 Result.reserve(Rs.size()); in readUInt16sAsync()
79 Result.push_back(*R.toPtr<uint16_t *>()); in readUInt16sAsync()
80 OnComplete(std::move(Result)); in readUInt16sAsync()
85 ReadUIntsResult<uint32_t> Result; in readUInt32sAsync() local
86 Result.reserve(Rs.size()); in readUInt32sAsync()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp372 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
374 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
376 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
394 std::string &Result);
396 void RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result);
400 std::string &Result);
402 bool RewriteObjCFieldDeclType(QualType &Type, std::string &Result);
405 std::string &Result);
445 std::string &Result);
447 std::string &Result);
[all …]
H A DRewriteObjC.cpp321 std::string &Result);
326 virtual void RewriteMetaDataIntoBuffer(std::string &Result) = 0;
330 std::string &Result) = 0;
332 std::string &Result) = 0;
336 std::string &Result) = 0;
338 std::string &Result) = 0;
343 std::string &Result) = 0;
523 std::string &Result);
526 std::string &Result) override;
529 StringRef prefix, StringRef ClassName, std::string &Result) override;
[all …]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Ddtexpress.c193 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 DCodeViewYAMLDebugSections.cpp403 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() local
405 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes); in toCodeViewSubsection()
407 return Result; in toCodeViewSubsection()
414 auto Result = in toCodeViewSubsection() local
416 Result->setCodeSize(Lines.CodeSize); in toCodeViewSubsection()
417 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset); in toCodeViewSubsection()
418 Result->setFlags(Lines.Flags); in toCodeViewSubsection()
420 Result->createBlock(LC.FileName); in toCodeViewSubsection()
421 if (Result->hasColumnInfo()) { in toCodeViewSubsection()
426 Result->addLineAndColumnInfo(L.Offset, in toCodeViewSubsection()
[all …]
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devpciph_aes_siv.txt380 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 …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp101 DecomposedBitTest Result; in decomposeBitTestICmp() local
108 Result.Mask = APInt::getSignMask(C.getBitWidth()); in decomposeBitTestICmp()
109 Result.C = APInt::getZero(C.getBitWidth()); in decomposeBitTestICmp()
110 Result.Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
117 Result.Mask = -FlippedSign; in decomposeBitTestICmp()
118 Result.C = APInt::getSignMask(C.getBitWidth()); in decomposeBitTestICmp()
119 Result.Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp()
125 Result.Mask = FlippedSign; in decomposeBitTestICmp()
126 Result.C = C; in decomposeBitTestICmp()
127 Result.Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTextEncoding.cpp59 SmallVectorImpl<char> &Result) { in HandleOverflow() argument
64 (Capacity < Result.max_size() / 2) ? 2 * Capacity : Result.max_size(); in HandleOverflow()
65 Result.resize(0); in HandleOverflow()
66 Result.resize_for_overwrite(Capacity); in HandleOverflow()
67 Output = static_cast<char *>(Result.data()); in HandleOverflow()
90 SmallVectorImpl<char> &Result) override;
97 SmallVectorImpl<char> &Result) { in convertString() argument
100 ConverterEBCDIC::convertToUTF8(Source, Result); in convertString()
103 return ConverterEBCDIC::convertToEBCDIC(Source, Result); in convertString()
130 SmallVectorImpl<char> &Result) override;
[all …]
H A DAPFixedPoint.cpp206 APSInt Result; in add() local
208 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal) in add()
211 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed) in add()
218 return APFixedPoint(Result, CommonFXSema); in add()
230 APSInt Result; in sub() local
232 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal) in sub()
235 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed) in sub()
242 return APFixedPoint(Result, CommonFXSema); in sub()
271 APSInt Result; in mul() local
273 Result = ThisVal.smul_ov(OtherVal, Overflowed) in mul()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h203 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,
630 bool LexTokenInternal(Token &Result, bool TokAtPhysicalStartOfLine);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp99 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> { in before() argument
100 Expected<CharSourceRange> SelectedRange = Selector(Result); in before()
108 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> { in after() argument
109 Expected<CharSourceRange> SelectedRange = Selector(Result); in after()
122 *Result.SourceManager, Result.Context->getLangOpts()); in after()
134 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in node() argument
135 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in node()
141 *Result.Context) in node()
147 return [ID](const MatchResult &Result) -> Expected<CharSourceRange> { in statement() argument
148 Expected<DynTypedNode> Node = getNode(Result.Nodes, ID); in statement()
[all …]
H A DRewriteRule.cpp34 translateEdits(const MatchResult &Result, ArrayRef<ASTEdit> ASTEdits) { in translateEdits() argument
37 Expected<CharSourceRange> Range = E.TargetRange(Result); in translateEdits()
41 tooling::getFileRangeForEdit(*Range, *Result.Context); in translateEdits()
55 auto Replacement = E.Replacement->eval(Result); in translateEdits()
61 auto Note = E.Note->eval(Result); in translateEdits()
67 auto Metadata = E.Metadata(Result); in translateEdits()
78 return [Edits = std::move(Edits)](const MatchResult &Result) { in editList() argument
79 return translateEdits(Result, Edits); in editList()
84 return [Edit = std::move(Edit)](const MatchResult &Result) { in edit() argument
85 return translateEdits(Result, {Edit}); in edit()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp556 Polynomial Result(*this); in operator -() local
557 Result.A -= C; in operator -()
558 return Result; in operator -()
563 Polynomial Result(*this); in operator +() local
564 Result.A += C; in operator +()
565 return Result; in operator +()
712 static bool compute(Value *V, VectorInfo &Result, const DataLayout &DL) { in compute()
715 return computeFromSVI(SVI, Result, DL); in compute()
718 return computeFromLI(LI, Result, DL); in compute()
721 return computeFromBCI(BCI, Result, DL); in compute()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp110 TokenInfo Result; in getNextToken() local
111 Result.Range.Start = currentLocation(); in getNextToken()
114 Result.Kind = TokenInfo::TK_CodeCompletion; in getNextToken()
115 Result.Text = StringRef(CodeCompletionLocation, 0); in getNextToken()
117 return Result; in getNextToken()
121 Result.Kind = TokenInfo::TK_Eof; in getNextToken()
122 Result.Text = ""; in getNextToken()
123 return Result; in getNextToken()
131 Result.Kind = TokenInfo::TK_Comma; in getNextToken()
132 Result.Text = Code.substr(0, 1); in getNextToken()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DDemangle.cpp21 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()
51 std::string &Result, bool CanHaveLeadingDot, in nonMicrosoftDemangle() argument
58 Result = "."; in nonMicrosoftDemangle()
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDylibVerifier.cpp77 char *Result = llvm::itaniumDemangle(Name); in demangle() local
78 if (!Result) in demangle()
81 std::string Demangled(Result); in demangle()
82 free(Result); in demangle()
142 static DylibVerifier::Result updateResult(const DylibVerifier::Result Prev, in updateResult()
143 const DylibVerifier::Result Curr) { in updateResult()
148 if ((Prev == DylibVerifier::Result::Invalid) || in updateResult()
149 (Prev == DylibVerifier::Result::NoVerify)) in updateResult()
153 if (Prev == DylibVerifier::Result::Valid && in updateResult()
154 Curr == DylibVerifier::Result::Ignore) in updateResult()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DSolver.h30 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/utils/TableGen/Common/
H A DCodeGenInstAlias.cpp27 bool CodeGenInstAlias::tryAliasOpMatch(const DagInit *Result, in tryAliasOpMatch() argument
33 const Init *Arg = Result->getArg(AliasOpNo); in tryAliasOpMatch()
40 if (!Result->getArgName(AliasOpNo)) in tryAliasOpMatch()
43 ResOp = ResultOperand(Result->getArgNameStr(AliasOpNo).str(), ResultRecord); in tryAliasOpMatch()
61 ResOp = ResultOperand(Result->getArgNameStr(AliasOpNo).str(), ResultRecord); in tryAliasOpMatch()
83 if (Result->getArgName(AliasOpNo)) in tryAliasOpMatch()
112 if (Result->getArgName(AliasOpNo)) in tryAliasOpMatch()
143 ResultOperand(Result->getArgNameStr(AliasOpNo).str(), ADI->getDef()); in tryAliasOpMatch()
169 Result = R->getValueAsDag("ResultInst"); in CodeGenInstAlias()
173 const DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias()
[all …]

12345678910>>...56