Home
last modified time | relevance | path

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

12345678910>>...49

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp203 Result << " "; in printHTMLStartTagComment()
212 Result << ">"; in printHTMLStartTagComment()
214 Result << "/>"; in printHTMLStartTagComment()
280 Result << " "; in visitInlineCommandComment()
324 Result << "<p>"; in visitParagraphComment()
329 Result << "</p>"; in visitParagraphComment()
521 Result << C; in appendToResultWithHTMLEscaping()
662 Result << ">"; in visitHTMLStartTagComment()
906 Result << ">"; in visitFullComment()
1098 Result << C; in appendToResultWithXMLEscaping()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCDuplexInfo.cpp697 MCInst Result; in deriveSubInst() local
730 addOps(Result, Inst, 0); in deriveSubInst()
731 addOps(Result, Inst, 1); in deriveSubInst()
732 addOps(Result, Inst, 2); in deriveSubInst()
736 addOps(Result, Inst, 0); in deriveSubInst()
737 addOps(Result, Inst, 1); in deriveSubInst()
738 addOps(Result, Inst, 2); in deriveSubInst()
742 addOps(Result, Inst, 2); in deriveSubInst()
758 addOps(Result, Inst, 1); in deriveSubInst()
759 addOps(Result, Inst, 2); in deriveSubInst()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroArgs.cpp47 MacroArgs *Result; in create() local
51 Result = new ( in create()
73 return Result; in create()
133 return Result; in getUnexpArgument()
170 if (!Result.empty()) return Result; in getPreExpArgument()
199 return Result; in getPreExpArgument()
220 Result += "\""; in StringifyArgument()
226 Result += ' '; in StringifyArgument()
282 Result += '"'; in StringifyArgument()
289 Result[Result.size()-1] = '\''; in StringifyArgument()
[all …]
H A DLexer.cpp269 return Result; in Stringify()
391 std::string Result; in getSpelling() local
393 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling()
394 return Result; in getSpelling()
2694 Result.getLocation(), Result.getLocation()); in SaveLineComment()
3021 if (Result) in ReadToEndOfLine()
3034 if (Result) in ReadToEndOfLine()
3427 if (Result) { in tryReadNumericUCN()
3521 if (Result) { in tryReadNamedUCN()
3841 Result, ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
[all …]
H A DPPExpressions.cpp105 Result.setBegin(beginLoc); in EvaluateDefined()
132 Result.Val = !!Macro; in EvaluateDefined()
278 Result.Val = 0; in EvaluateValue()
428 Result.Val = Val.extend(Result.Val.getBitWidth()); in EvaluateValue()
432 Result.Val = Val; in EvaluateValue()
475 Result.setBegin(Start); in EvaluateValue()
483 Result.setBegin(Loc); in EvaluateValue()
487 Result.Val = -Result.Val; in EvaluateValue()
490 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue()
508 Result.Val = ~Result.Val; in EvaluateValue()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h60 Result = B.CreateSelect(IsNegative, Rounded, Result); in Convert()
93 Result = B.CreateSelect(TooHigh, Max, Result, "satmax"); in Convert()
102 Result = B.CreateSelect(TooLow, Min, Result, "satmin"); in Convert()
109 return Result; in Convert()
184 Result = B.CreateFMul(Result, in CreateFixedToFloating()
187 Result = B.CreateFPTrunc(Result, DstTy); in CreateFixedToFloating()
196 Result = B.CreateFPExt(Result, OpTy); in CreateFloatingToFixed()
199 Result = B.CreateFMul(Result, in CreateFloatingToFixed()
208 Result = UseSigned ? B.CreateFPToSI(Result, ResultTy) in CreateFloatingToFixed()
216 Result = in CreateFloatingToFixed()
[all …]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Ddtexpress.c193 UINT64 Result; in DtResolveIntegerExpression() local
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()
361 ACPI_FORMAT_UINT64 (Result)); in DtDoOperator()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3677 Result += "\t"; Result += EC->getName(); Result += " = "; in RewriteObjCFieldDeclType()
6338 Result += "\""; Result += MethodTypeString; Result += "\""; in Write_method_list_t_initializer()
6367 Result += "\t"; Result += "sizeof(_prop_t)"; Result += ",\n"; in Write_prop_list_t_initializer()
6428 Result += "\""; Result += ClassName; Result += "\",\n\t"; in Write__class_ro_t_initializer()
6636 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t()
6639 Result += "\t\""; Result += ClassName; Result += "\",\n"; in Write_category_t()
6645 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t()
6654 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t()
6663 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t()
6671 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t()
[all …]
H A DRewriteObjC.cpp5062 Result += "0"; in RewriteIvarOffsetComputation()
5068 Result += ", "; in RewriteIvarOffsetComputation()
5070 Result += ")"; in RewriteIvarOffsetComputation()
5153 Result += "\n"; in RewriteObjCProtocolMetaData()
5204 Result += ", "; in RewriteObjCProtocolMetaData()
5250 Result += "\n"; in RewriteObjCProtocolListMetaData()
5254 Result += " \n"; in RewriteObjCProtocolListMetaData()
5431 Result += "\""; in RewriteObjCClassMetaData()
5492 Result += ")"; in RewriteObjCClassMetaData()
5563 Result += "_"; in RewriteMetaDataIntoBuffer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp416 auto Result = in toCodeViewSubsection() local
479 auto Result = in toCodeViewSubsection() local
802 if (!Result) in visitLines()
813 if (!Result) in visitFileChecksums()
824 if (!Result) in visitInlineeLines()
835 if (!Result) in visitCrossModuleExports()
846 if (!Result) in visitCrossModuleImports()
856 if (!Result) in visitStringTable()
865 if (!Result) in visitSymbols()
875 if (!Result) in visitFrameData()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h203 bool Lex(Token &Result);
207 bool LexDependencyDirectiveToken(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()
377 static bool getRawToken(SourceLocation Loc, Token &Result,
623 void FormTokenWithChars(Token &Result, const char *TokEnd, in FormTokenWithChars() argument
626 Result.setLength(TokLen); in FormTokenWithChars()
628 Result.setKind(Kind); in FormTokenWithChars()
732 void PropagateLineStartLeadingSpaceInfo(Token &Result);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp190 APSInt Result; in add() local
214 APSInt Result; in sub() local
255 APSInt Result; in mul() local
277 Overflowed = Result < Min || Result > Max; in mul()
314 APSInt Result; in div() local
321 Result = Result - 1; in div()
338 Overflowed = Result < Min || Result > Max; in div()
373 Overflowed = Result < Min || Result > Max; in shl()
455 Result = Result.extend(DstWidth); in convertToInt()
463 *Overflow = Result.isNegative() || Result.ugt(DstMax); in convertToInt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp558 Result.A -= C; in operator -()
559 return Result; in operator -()
565 Result.A += C; in operator +()
566 return Result; in operator +()
766 Result.BB = Old.BB; in computeFromBCI()
767 Result.PV = Old.PV; in computeFromBCI()
771 Result.SVI = nullptr; in computeFromBCI()
807 Result.BB = RHS.BB; in computeFromSVI()
808 Result.PV = RHS.PV; in computeFromSVI()
835 Result.SVI = SVI; in computeFromSVI()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp62 auto Note = E.Note->eval(Result); in translateEdits()
68 auto Metadata = E.Metadata(Result); in translateEdits()
80 return translateEdits(Result, Edits); in editList()
86 return translateEdits(Result, {Edit}); in edit()
149 Result->append(S); in eval()
228 *Builder = std::move(Result); in matches()
305 Finder.match(Node, *Result.Context); in rewriteDescendantsImpl()
350 Result.Nodes.getMap(); in rewriteDescendants()
449 auto &NodesMap = Result.Nodes.getMap(); in getRuleMatchLoc()
454 *Result.Context); in getRuleMatchLoc()
[all …]
H A DRangeSelector.cpp130 *Result.SourceManager, Result.Context->getLangOpts()); in after()
149 *Result.Context) in node()
160 *Result.Context); in statement()
166 Expected<CharSourceRange> BeginRange = Begin(Result); in enclose()
169 Expected<CharSourceRange> EndRange = End(Result); in enclose()
202 Expected<DynTypedNode> N = getNode(Result.Nodes, ID); in name()
262 Expected<DynTypedNode> N = getNode(Result.Nodes, ID); in operator ()()
266 return Func(Result, *Arg); in operator ()()
294 findOpenParen(CE, *Result.SourceManager, Result.Context->getLangOpts()) in getCallArgumentsRange()
323 tok::TokenKind::semi, *Result.Context); in getElseRange()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp111 TokenInfo Result; in getNextToken() local
118 return Result; in getNextToken()
123 Result.Text = ""; in getNextToken()
124 return Result; in getNextToken()
210 return Result; in getNextToken()
398 if (Result) { in parseIdentifierPrefixImpl()
619 *Value = Result; in parseMatcherBuilder()
730 *Value = Result; in parseMatcherExpressionImpl()
757 return Result; in getNamedValueCompletions()
917 if (!Result) { in parseMatcherExpression()
[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()
50 std::string &Result, bool CanHaveLeadingDot, in nonMicrosoftDemangle() argument
57 Result = "."; in nonMicrosoftDemangle()
[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
92 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const Solver::Result &);
93 llvm::raw_ostream &operator<<(llvm::raw_ostream &, Solver::Result::Assignment);
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTarget.cpp18 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
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
72 Result.set(Target.Arch); in mapToArchitectureSet()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopConstrainer.h66 LoopStructure Result; in map() local
67 Result.Tag = Tag; in map()
69 Result.Latch = cast<BasicBlock>(Map(Latch)); 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()
76 Result.LoopExitAt = Map(LoopExitAt); in map()
77 Result.IndVarIncreasing = IndVarIncreasing; in map()
79 Result.ExitCountTy = ExitCountTy; in map()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemAlloc.h26 void *Result = std::malloc(Sz); in safe_malloc() local
27 if (Result == nullptr) { in safe_malloc()
35 return Result; in safe_malloc()
40 void *Result = std::calloc(Count, Sz); in safe_calloc() local
41 if (Result == nullptr) { in safe_calloc()
49 return Result; in safe_calloc()
53 void *Result = std::realloc(Ptr, Sz); in safe_realloc() local
54 if (Result == nullptr) { in safe_realloc()
62 return Result; in safe_realloc()
H A DVersionTuple.h109 VersionTuple Result = *this; in normalize() local
110 if (Result.Build == 0) { in normalize()
111 Result.HasBuild = false; in normalize()
112 if (Result.Subminor == 0) { in normalize()
114 if (Result.Minor == 0) in normalize()
115 Result.HasMinor = false; in normalize()
118 return Result; in normalize()
202 Result = detail::combineHashValue(Result, *Minor);
204 Result = detail::combineHashValue(Result, *Subminor);
206 Result = detail::combineHashValue(Result, *Build);
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenInstAlias.cpp31 Init *Arg = Result->getArg(AliasOpNo); in tryAliasOpMatch()
38 if (!Result->getArgName(AliasOpNo)) in tryAliasOpMatch()
83 if (Result->getArgName(AliasOpNo)) in tryAliasOpMatch()
112 if (Result->getArgName(AliasOpNo)) in tryAliasOpMatch()
169 Result = R->getValueAsDag("ResultInst"); in CodeGenInstAlias()
173 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias()
184 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i)); in CodeGenInstAlias()
185 if (!ADI || !Result->getArgName(i)) in CodeGenInstAlias()
216 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias()
257 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringSwitch.h50 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()
78 Result = std::move(Value); in EndsWith()
85 Result = std::move(Value); in StartsWith()
144 Result = std::move(Value); in CaseLower()
151 Result = Value; in EndsWithLower()
183 if (Result) in Default()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp146 return Result; in alias()
167 return Result; in getModRefInfoMask()
181 return Result; in getArgModRefInfo()
262 return Result; in getModRefInfo()
332 if (R == Result) in getModRefInfo()
362 if (R == Result) in getModRefInfo()
369 return Result; in getModRefInfo()
381 return Result; in getMemoryEffects()
384 return Result; in getMemoryEffects()
400 return Result; in getMemoryEffects()
[all …]

12345678910>>...49