/netbsd/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | CommentToXML.cpp | 203 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 …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCDuplexInfo.cpp | 701 MCInst Result; in deriveSubInst() local 733 addOps(Result, Inst, 0); in deriveSubInst() 734 addOps(Result, Inst, 1); in deriveSubInst() 735 addOps(Result, Inst, 2); in deriveSubInst() 739 addOps(Result, Inst, 0); in deriveSubInst() 740 addOps(Result, Inst, 1); in deriveSubInst() 741 addOps(Result, Inst, 2); in deriveSubInst() 745 addOps(Result, Inst, 2); in deriveSubInst() 761 addOps(Result, Inst, 1); in deriveSubInst() 762 addOps(Result, Inst, 2); in deriveSubInst() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | MacroArgs.cpp | 47 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 D | Lexer.cpp | 262 return Result; in Stringify() 384 std::string Result; in getSpelling() local 386 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling() 387 return Result; in getSpelling() 2435 Result.getLocation(), Result.getLocation()); in SaveLineComment() 2696 if (Result) in ReadToEndOfLine() 2709 if (Result) in ReadToEndOfLine() 3045 if (Result) { in tryReadUCN() 3382 Result, ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal() 3637 if (SkipLineComment(Result, ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal() [all …]
|
H A D | PPExpressions.cpp | 105 Result.setBegin(beginLoc); in EvaluateDefined() 132 Result.Val = !!Macro; in EvaluateDefined() 274 Result.Val = 0; in EvaluateValue() 407 Result.Val = Val.extend(Result.Val.getBitWidth()); in EvaluateValue() 411 Result.Val = Val; in EvaluateValue() 454 Result.setBegin(Start); in EvaluateValue() 462 Result.setBegin(Loc); in EvaluateValue() 466 Result.Val = -Result.Val; in EvaluateValue() 469 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue() 487 Result.Val = ~Result.Val; in EvaluateValue() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | FixedPointBuilder.h | 58 Result = B.CreateSelect(IsNegative, Rounded, Result); in Convert() 91 Result = B.CreateSelect(TooHigh, Max, Result, "satmax"); in Convert() 100 Result = B.CreateSelect(TooLow, Min, Result, "satmin"); in Convert() 107 return Result; in Convert() 182 Result = B.CreateFMul(Result, in CreateFixedToFloating() 185 Result = B.CreateFPTrunc(Result, DstTy); in CreateFixedToFloating() 194 Result = B.CreateFPExt(Result, OpTy); in CreateFloatingToFixed() 197 Result = B.CreateFMul(Result, in CreateFloatingToFixed() 206 Result = UseSigned ? B.CreateFPToSI(Result, ResultTy) in CreateFloatingToFixed() 214 Result = in CreateFloatingToFixed() [all …]
|
H A D | PassManagerInternal.h | 191 explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {} 194 AnalysisResultModel(const AnalysisResultModel &Arg) : Result(Arg.Result) {} 196 : Result(std::move(Arg.Result)) {} 200 swap(LHS.Result, RHS.Result); 220 ResultT Result; 230 explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {} 233 AnalysisResultModel(const AnalysisResultModel &Arg) : Result(Arg.Result) {} 235 : Result(std::move(Arg.Result)) {} 239 swap(LHS.Result, RHS.Result); 250 return Result.invalidate(IR, PA, Inv); [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 3686 Result += "\t"; Result += EC->getName(); Result += " = "; in RewriteObjCFieldDeclType() 6350 Result += "\""; Result += MethodTypeString; Result += "\""; in Write_method_list_t_initializer() 6379 Result += "\t"; Result += "sizeof(_prop_t)"; Result += ",\n"; in Write_prop_list_t_initializer() 6440 Result += "\""; Result += ClassName; Result += "\",\n\t"; in Write__class_ro_t_initializer() 6648 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t() 6651 Result += "\t\""; Result += ClassName; Result += "\",\n"; in Write_category_t() 6657 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t() 6666 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t() 6675 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t() 6683 Result += ClassName; Result += "_$_"; Result += CatName; in Write_category_t() [all …]
|
H A D | RewriteObjC.cpp | 5074 Result += "0"; in RewriteIvarOffsetComputation() 5080 Result += ", "; in RewriteIvarOffsetComputation() 5082 Result += ")"; in RewriteIvarOffsetComputation() 5165 Result += "\n"; in RewriteObjCProtocolMetaData() 5216 Result += ", "; in RewriteObjCProtocolMetaData() 5262 Result += "\n"; in RewriteObjCProtocolListMetaData() 5266 Result += " \n"; in RewriteObjCProtocolListMetaData() 5443 Result += "\""; in RewriteObjCClassMetaData() 5504 Result += ")"; in RewriteObjCClassMetaData() 5575 Result += "_"; in RewriteMetaDataIntoBuffer() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 416 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 …]
|
/netbsd/sys/external/bsd/acpica/dist/compiler/ |
H A D | dtexpress.c | 85 UINT64 Result; in DtResolveIntegerExpression() local 94 *ReturnValue = Result; in DtResolveIntegerExpression() 119 UINT64 Result; in DtDoOperator() local 128 Result = ~RightValue; in DtDoOperator() 133 Result = !RightValue; in DtDoOperator() 138 Result = LeftValue * RightValue; in DtDoOperator() 150 Result = LeftValue / RightValue; in DtDoOperator() 162 Result = LeftValue % RightValue; in DtDoOperator() 166 Result = LeftValue + RightValue; in DtDoOperator() 253 ACPI_FORMAT_UINT64 (Result)); in DtDoOperator() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 185 APSInt Result; in add() local 209 APSInt Result; in sub() local 250 APSInt Result; in mul() local 272 Overflowed = Result < Min || Result > Max; in mul() 303 APSInt Result; in div() local 310 Result = Result - 1; in div() 327 Overflowed = Result < Min || Result > Max; in div() 362 Overflowed = Result < Min || Result > Max; in shl() 424 Result = Result.extend(DstWidth); in convertToInt() 432 *Overflow = Result.isNegative() || Result.ugt(DstMax); in convertToInt() [all …]
|
H A D | ConvertUTFWrapper.cpp | 192 Result.resize(Source.size() + 1); in ConvertUTF8toWideInternal() 196 Result.clear(); in ConvertUTF8toWideInternal() 199 Result.resize(reinterpret_cast<wchar_t *>(ResultPtr) - &Result[0]); in ConvertUTF8toWideInternal() 204 return ConvertUTF8toWideInternal(Source, Result); in ConvertUTF8toWide() 209 Result.clear(); in ConvertUTF8toWide() 222 Result.resize(Source.size()); in convertWideToUTF8() 223 memcpy(&Result[0], Source.data(), Source.size()); in convertWideToUTF8() 229 Result); in convertWideToUTF8() 236 UTF8 *ResultEnd = reinterpret_cast<UTF8 *>(&Result[0] + Result.size()); in convertWideToUTF8() 239 Result.resize(reinterpret_cast<char *>(ResultPtr) - &Result[0]); in convertWideToUTF8() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.cpp | 50 Result.Contents.pop_back(); in createFileEntry() 51 return Result; in createFileEntry() 54 CachedFileSystemEntry Result; in createFileEntry() local 71 Result.Contents.pop_back(); in createFileEntry() 91 return Result; in createFileEntry() 99 return Result; in createDirectoryEntry() 191 Result = &CacheEntry; in getOrCreateFileSystemEntry() 196 return Result; in getOrCreateFileSystemEntry() 205 if (!Result) in status() 206 return Result.getError(); in status() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | InterleavedLoadCombinePass.cpp | 558 Result.A -= C; in operator -() 559 return Result; in operator -() 565 Result.A += C; in operator +() 566 return Result; in operator +() 765 Result.BB = Old.BB; in computeFromBCI() 766 Result.PV = Old.PV; in computeFromBCI() 770 Result.SVI = nullptr; in computeFromBCI() 806 Result.BB = RHS.BB; in computeFromSVI() 807 Result.PV = RHS.PV; in computeFromSVI() 834 Result.SVI = SVI; in computeFromSVI() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
H A D | RewriteRule.cpp | 56 auto Metadata = E.Metadata(Result); in translateEdits() 71 return translateEdits(Result, Edits); in editList() 77 return translateEdits(Result, {Edit}); in edit() 133 Result->append(S); in eval() 194 Result.setBinding(N.first, N.second); in matches() 196 *Builder = std::move(Result); in matches() 274 Finder.match(Node, *Result.Context); in rewriteDescendantsImpl() 319 Result.Nodes.getMap(); in rewriteDescendants() 415 auto &NodesMap = Result.Nodes.getMap(); in getRuleMatchLoc() 420 *Result.Context); in getRuleMatchLoc() [all …]
|
H A D | RangeSelector.cpp | 130 *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() 260 Expected<DynTypedNode> N = getNode(Result.Nodes, ID); in operator ()() 264 return Func(Result, *Arg); in operator ()() 292 findOpenParen(CE, *Result.SourceManager, Result.Context->getLangOpts()) in getCallArgumentsRange() 321 tok::TokenKind::semi, *Result.Context); in getElseRange() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-cfi-verify/lib/ |
H A D | GraphBuilder.cpp | 97 GraphResult Result; in buildFlowGraph() local 98 Result.BaseAddress = Address.Address; in buildFlowGraph() 105 return Result; in buildFlowGraph() 109 return Result; in buildFlowGraph() 185 Result.IntermediateNodes[CurrentAddress] = NextAddress; in buildFlowsToUndefined() 203 Result.OrphanedNodes.push_back(Address); in buildFlowGraphImpl() 209 Result.OrphanedNodes.push_back(Address); in buildFlowGraphImpl() 212 if (Result.IntermediateNodes.count(Address)) in buildFlowGraphImpl() 220 Result.OrphanedNodes.push_back(Address); in buildFlowGraphImpl() 312 Result.ConditionalBranchNodes.push_back(BranchNode); in buildFlowGraphImpl() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
H A D | Parser.cpp | 111 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() 590 *Value = Result; in parseMatcherBuilder() 618 if (Result.isNull()) in parseMatcherBuilder() 621 *Value = Result; in parseMatcherBuilder() 732 *Value = Result; in parseMatcherExpressionImpl() 759 return Result; in getNamedValueCompletions() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | Lexer.h | 183 bool Lex(Token &Result); 192 void IndirectLex(Token &Result) override { Lex(Result); } in IndirectLex() argument 198 bool LexFromRawLexer(Token &Result) { in LexFromRawLexer() argument 200 Lex(Result); in LexFromRawLexer() 345 static bool getRawToken(SourceLocation Loc, Token &Result, 586 void FormTokenWithChars(Token &Result, const char *TokEnd, in FormTokenWithChars() argument 589 Result.setLength(TokLen); in FormTokenWithChars() 591 Result.setKind(Kind); in FormTokenWithChars() 698 void PropagateLineStartLeadingSpaceInfo(Token &Result); 700 const char *LexUDSuffix(Token &Result, const char *CurPtr, [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 160 return Result; in alias() 189 return Result; in getArgModRefInfo() 245 Result = clearMod(Result); in getModRefInfo() 247 Result = clearRef(Result); in getModRefInfo() 273 Result = intersectModRef(Result, AllArgsMask); in getModRefInfo() 275 Result = IsMustAlias ? setMust(Result) : clearMust(Result); in getModRefInfo() 281 Result = clearMod(Result); in getModRefInfo() 283 return Result; in getModRefInfo() 323 Result = clearMod(Result); in getModRefInfo() 325 Result = clearRef(Result); in getModRefInfo() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCodeComplete.cpp | 735 return Result; in getRequiredQualification() 2762 return Result; in formatObjCParamQualifiers() 2843 Result = in FormatFunctionParameter() 2884 Result = "(" + Quals + " " + Result + ")"; in FormatFunctionParameter() 2950 Result = Result + " (^"; in formatBlockPlaceholder() 2957 Result = '^' + Result; in formatBlockPlaceholder() 2964 return Result; in formatBlockPlaceholder() 3781 Result.AddResultTypeChunk(Result.getAllocator().CopyString( in CreateSignatureString() 3801 Result.AddResultTypeChunk(Result.getAllocator().CopyString( in CreateSignatureString() 4671 Result R = in AddObjCProperties() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/TextAPI/ |
H A D | Symbol.cpp | 21 std::string Result; in dump() local 23 Result += "(undef) "; in dump() 25 Result += "(weak-def) "; in dump() 27 Result += "(weak-ref) "; in dump() 29 Result += "(tlv) "; in dump() 32 Result += Name.str(); in dump() 35 Result += "(ObjC Class) " + Name.str(); in dump() 38 Result += "(ObjC Class EH) " + Name.str(); in dump() 41 Result += "(ObjC IVar) " + Name.str(); in dump() 44 OS << Result; in dump()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | StringSwitch.h | 48 Optional<T> Result; variable 52 : Str(S), Result() { } in StringSwitch() 62 : Str(other.Str), Result(std::move(other.Result)) { } in StringSwitch() 68 if (!Result && Str == S) { in Case() 69 Result = std::move(Value); in Case() 76 Result = std::move(Value); in EndsWith() 83 Result = std::move(Value); in StartsWith() 142 Result = std::move(Value); in CaseLower() 149 Result = Value; in EndsWithLower() 182 if (Result) in Default() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | ExprConstant.cpp | 7936 : ExprEvaluatorBaseTy(Info), Result(Result), in LValueExprEvaluatorBase() 8588 : ExprEvaluatorBaseTy(info), Result(Result), in PointerExprEvaluator() 8754 if (!Result.Base && Result.Offset.isZero()) in VisitCastExpr() 8766 if (!Result.Base && Result.Offset.isZero()) in VisitCastExpr() 9043 Result.adjustOffset(NewOffset - Result.Offset); in VisitBuiltinCallExpr() 9549 : ExprEvaluatorBaseTy(Info), Result(Result) {} in MemberPointerExprEvaluator() 10128 : ExprEvaluatorBaseTy(info), Result(Result) {} in VectorExprEvaluator() 10464 if (Result.isArray() && Result.hasArrayFiller()) in VisitInitListExpr() 12259 Result.Failed = !Evaluate(Result.Val, Info, E); in EvaluateExpr() 13770 Result = in VisitCastExpr() [all …]
|