/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MemAlloc.h | 26 void *Result = std::malloc(Sz); local 27 if (Result == nullptr) { 35 return Result; 40 void *Result = std::calloc(Count, Sz); local 41 if (Result == nullptr) { 49 return Result; 53 void *Result = std::realloc(Ptr, Sz); local 54 if (Result == nullptr) { 62 return Result;
|
H A D | ConvertEBCDIC.h | 23 SmallVectorImpl<char> &Result); 25 void convertToUTF8(StringRef Source, SmallVectorImpl<char> &Result);
|
H A D | BLAKE3.h | 55 /// Finalize the hasher and put the result in \p Result. 59 void final(BLAKE3Result<NumBytes> &Result) { argument 60 llvm_blake3_hasher_finalize(&Hasher, Result.data(), Result.size()); 68 BLAKE3Result<NumBytes> Result; local 69 llvm_blake3_hasher_finalize(&Hasher, Result.data(), Result.size()); 70 return Result; 103 /// Finalize the hasher and put the result in \p Result. 106 void final(BLAKE3Result<NumBytes> &Result) { retur argument [all...] |
/freebsd-current/contrib/llvm-project/lldb/utils/TableGen/ |
H A D | LLDBTableGenUtils.cpp | 17 RecordsByName Result; local 19 Result[R->getValueAsString(Name).str()].push_back(R); 20 return Result;
|
/freebsd-current/contrib/llvm-project/clang/lib/Lex/ |
H A D | MacroArgs.cpp | 47 MacroArgs *Result; local 51 Result = new ( 55 Result = *ResultEnt; 57 *ResultEnt = Result->ArgCache; 58 Result->NumUnexpArgTokens = UnexpArgTokens.size(); 59 Result->VarargsElided = VarargsElided; 60 Result->NumMacroArgs = MI->getNumParams(); 70 Result->getTrailingObjects<Token>()); 73 return Result; 124 const Token *Result [all...] |
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | Solver.h | 30 struct Result { struct in class:clang::dataflow::Solver 50 static Result Satisfiable(llvm::DenseMap<Atom, Assignment> Solution) { 51 return Result(Status::Satisfiable, std::move(Solution)); 56 static Result Unsatisfiable() { return Result(Status::Unsatisfiable, {}); } 60 static Result TimedOut() { return Result(Status::TimedOut, {}); } 73 Result(Status SATCheckStatus, function in class:clang::dataflow::Solver::Result::Assignment 89 virtual Result solve(llvm::ArrayRef<const Formula *> Vals) = 0; 92 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const Solver::Result [all...] |
H A D | CFGMatchSwitch.h | 32 template <typename State, typename Result = void> 34 std::function<Result(const CFGElement &, ASTContext &, State &)>; 39 template <typename State, typename Result = void> class CFGMatchSwitchBuilder { 50 MatchSwitchAction<NodeT, State, Result> A) && { 65 MatchSwitchAction<NodeT, State, Result> A) && { 70 CFGMatchSwitch<State, Result> Build() && { 74 State &S) -> Result { 85 return Result(); 91 ASTMatchSwitchBuilder<Stmt, State, Result> StmtBuilder; 92 ASTMatchSwitchBuilder<CXXCtorInitializer, State, Result> InitBuilde [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Demangle/ |
H A D | Demangle.cpp | 21 std::string Result; local 23 if (nonMicrosoftDemangle(MangledName, Result)) 24 return Result; 27 nonMicrosoftDemangle(MangledName.substr(1), Result, 29 return Result; 32 Result = Demangled; 35 Result = MangledName; 37 return Result; 50 std::string &Result, bool CanHaveLeadingDot, 57 Result 49 nonMicrosoftDemangle(std::string_view MangledName, std::string &Result, bool CanHaveLeadingDot, bool ParseParams) argument [all...] |
/freebsd-current/sys/contrib/dev/acpica/compiler/ |
H A D | dtexpress.c | 193 UINT64 Result; local 201 Result = DtEvaluateExpression (Field->Value); 202 *ReturnValue = Result; 227 UINT64 Result; local 236 Result = ~RightValue; 241 Result = !RightValue; 246 Result = LeftValue * RightValue; 258 Result = LeftValue / RightValue; 270 Result = LeftValue % RightValue; 274 Result [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | RemarkFormat.cpp | 21 auto Result = StringSwitch<Format>(FormatStr) local 27 if (Result == Format::Unknown) 32 return Result; 36 auto Result = local 43 if (Result == Format::Unknown) 46 return Result;
|
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | EPCDebugObjectRegistrar.cpp | 39 auto Result = local 41 if (!Result) 42 return Result.takeError(); 44 assert(Result->size() == 1 && "Unexpected number of dylibs in result"); 45 assert((*Result)[0].size() == 1 && 48 ExecutorAddr RegisterAddr = (*Result)[0][0].getAddress();
|
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | Target.cpp | 18 auto Result = TargetValue.split('-'); local 19 auto ArchitectureStr = Result.first; 21 auto PlatformStr = Result.second; 56 PlatformVersionSet Result; local 58 Result.insert({Target.Platform, Target.MinDeployment}); 59 return Result; 63 PlatformSet Result; local 65 Result.insert(Target.Platform); 66 return Result; 70 ArchitectureSet Result; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/XRay/ |
H A D | LogBuilderConsumer.cpp | 30 Error Result = Error::success(); 32 Result = joinErrors(std::move(Result), R->apply(*V)); 33 return Result;
|
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | Hash.cpp | 21 uint32_t Result = 0; local 28 Result ^= Value; 37 Result ^= static_cast<uint32_t>(Value); 44 Result ^= *(Remainder++); 48 Result |= toLowerMask; 49 Result ^= (Result >> 11); 51 return Result ^ (Result >> 16);
|
/freebsd-current/contrib/llvm-project/llvm/lib/IR/ |
H A D | Statepoint.cpp | 25 StatepointDirectives Result; local 31 Result.StatepointID = StatepointID; 37 Result.NumPatchBytes = NumPatchBytes; 39 return Result;
|
/freebsd-current/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaHLSL.cpp | 21 HLSLBufferDecl *Result = HLSLBufferDecl::Create( local 24 PushOnScopeChains(Result, BufferScope); 25 PushDeclContext(BufferScope, Result); 27 return Result;
|
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | DebugSupport.cpp | 44 Solver::Result::Assignment Assignment) { 46 case Solver::Result::Assignment::AssignedFalse: 48 case Solver::Result::Assignment::AssignedTrue: 54 llvm::StringRef debugString(Solver::Result::Status Status) { 56 case Solver::Result::Status::Satisfiable: 58 case Solver::Result::Status::Unsatisfiable: 60 case Solver::Result::Status::TimedOut: 66 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Solver::Result &R) { 69 std::vector<std::pair<Atom, Solver::Result::Assignment>> Sorted = {
|
/freebsd-current/contrib/llvm-project/clang/lib/Index/ |
H A D | CommentToXML.cpp | 198 llvm::raw_svector_ostream &Result) { 199 Result << "<" << C->getTagName(); 203 Result << " "; 205 Result << Attr.Name; 207 Result << "=\"" << Attr.Value << "\""; 212 Result << ">"; 214 Result << "/>"; 224 FC(FC), Result(Str), Traits(Traits) 255 llvm::raw_svector_ostream Result; member in class:__anon652::CommentASTToHTMLConverter 280 Result << " "; 197 printHTMLStartTagComment(const HTMLStartTagComment *C, llvm::raw_svector_ostream &Result) argument 570 llvm::raw_svector_ostream Result; member in class:__anon653::CommentASTToXMLConverter [all...] |
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
H A D | Utils.h | 42 SmallString<128> Result; local 46 return Result; 48 Result = Base; 49 Result += "/Toolchains"; 50 return Result;
|
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | Transformer.cpp | 27 const ast_matchers::MatchFinder::MatchResult &Result) { 28 if (Result.Context->getDiagnostics().hasErrorOccurred()) 31 onMatchImpl(Result); 37 const MatchFinder::MatchResult &Result) { 42 auto ID = Result.SourceManager->getFileID(T.Range.getBegin()); 44 .emplace(ID, AtomicChange(*Result.SourceManager, 51 AC.replace(*Result.SourceManager, T.Range, T.Replacement)) { 76 void Transformer::run(const MatchFinder::MatchResult &Result) { argument 77 if (Result.Context->getDiagnostics().hasErrorOccurred()) 80 Impl->onMatch(Result); 26 onMatch( const ast_matchers::MatchFinder::MatchResult &Result) argument 35 convertToAtomicChanges( const llvm::SmallVectorImpl<transformer::Edit> &Edits, const MatchFinder::MatchResult &Result) argument [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCDuplexInfo.cpp | 697 MCInst Result; local 698 Result.setLoc(Inst.getLoc()); 710 Result.setOpcode(Hexagon::SA1_inc); 711 addOps(Result, Inst, 0); 712 addOps(Result, Inst, 1); 716 Result.setOpcode(Hexagon::SA1_dec); 717 addOps(Result, Inst, 0); 718 addOps(Result, Inst, 1); 719 addOps(Result, Inst, 2); 723 Result [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
H A D | DIASourceFile.cpp | 34 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); local 38 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); 39 if (S_OK != Result) 46 HRESULT Result = SourceFile->get_checksumType(&Type); local 47 if (S_OK != Result) 55 HRESULT Result = SourceFile->get_compilands(&DiaEnumerator); local 56 if (S_OK != Result)
|
/freebsd-current/contrib/llvm-project/clang/include/clang/Testing/ |
H A D | TestClangConfig.h | 66 std::vector<std::string> Result = getCommandLineArgsForTesting(Language); local 67 Result.push_back("-target"); 68 Result.push_back(Target); 69 return Result; 73 std::string Result; local 74 llvm::raw_string_ostream OS(Result); 76 return Result;
|
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/BTF/ |
H A D | BTFContext.cpp | 26 DILineInfo Result; local 28 return Result; 30 Result.LineSource = BTF.findString(LineInfo->LineOff); 31 Result.FileName = BTF.findString(LineInfo->FileNameOff); 32 Result.Line = LineInfo->getLine(); 33 Result.Column = LineInfo->getCol(); 34 return Result;
|
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | EHContGuardCatchret.cpp | 71 bool Result = false; 77 Result = true; 81 return Result;
|