Searched refs:Result (Results 76 - 100 of 1126) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp23 std::string Result; local
24 Result.reserve(UTF16Str.size());
31 Result += ChValue;
33 Result += '?';
35 return Result;
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h164 GlobalDecl Result(*this);
165 Result.Value.setPointer(D);
166 return Result;
171 GlobalDecl Result(*this);
172 Result.Value.setInt(Type);
173 return Result;
178 GlobalDecl Result(*this);
179 Result.Value.setInt(Type);
180 return Result;
189 GlobalDecl Result(*thi
[all...]
H A DLexicallyOrderedRecursiveASTVisitor.h70 bool Result = BaseType::TraverseObjCImplementationDecl(D); local
71 return TraverseAdditionalLexicallyNestedDeclarations() ? Result : false;
75 bool Result = BaseType::TraverseObjCCategoryImplDecl(D); local
76 return TraverseAdditionalLexicallyNestedDeclarations() ? Result : false;
/freebsd-current/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DTransformer.h29 void onMatch(const ast_matchers::MatchFinder::MatchResult &Result);
39 const ast_matchers::MatchFinder::MatchResult &Result);
43 onMatchImpl(const ast_matchers::MatchFinder::MatchResult &Result) = 0;
83 llvm::Expected<TransformerResult<void>> Result) {
84 if (Result)
85 Consumer(Result->Changes);
87 Consumer(Result.takeError());
108 void run(const ast_matchers::MatchFinder::MatchResult &Result) override;
115 /// Runs the metadata generator on \c Rule and stuffs it into \c Result.
122 TransformerResult<T> &Result) {
119 populateMetadata(const transformer::RewriteRuleWith<T> &Rule, size_t SelectedCase, const ast_matchers::MatchFinder::MatchResult &Match, TransformerResult<T> &Result) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFI386.h152 uint64_t Result = variable
157 assert(Result <= UINT32_MAX && "relocation overflow");
161 << " Value: " << format("0x%08" PRIx32, Result)
163 writeBytesUnaligned(Result, Target, 4);
169 uint64_t Result = variable
172 assert(Result <= UINT32_MAX && "relocation overflow");
176 << " Value: " << format("0x%08" PRIx32, Result)
178 writeBytesUnaligned(Result, Target, 4);
183 uint64_t Result = RE.Sections.SectionA == static_cast<uint32_t>(-1) variable
186 Result
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp102 static bool EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, argument
105 Result.setBegin(beginLoc);
132 Result.Val = !!Macro;
133 Result.Val.setIsUnsigned(false); // Result is signed intmax_t.
141 if (Result.Val != 0 && ValueLive)
150 Result.setEnd(PeekTok.getLocation());
161 Result.setEnd(PeekTok.getLocation());
164 Result.setEnd(PeekTok.getLocation());
226 /// return the computed value in Result
233 EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, bool ValueLive, Preprocessor &PP) argument
[all...]
H A DPPLexerChange.cpp226 FileEntryRef File, SmallString<128> &Result) {
227 Result.clear();
234 Result = FilePath.substr(Path.size());
235 llvm::sys::path::append(Result,
244 Result = File.getName();
247 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) {
249 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result);
253 CurLexer->PropagateLineStartLeadingSpaceInfo(Result);
332 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) {
355 Result
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/
H A DFileMatchTrie.cpp123 StringRef Result = MatchingChild->getValue().findEquivalent( local
126 if (!Result.empty() || IsAmbiguous)
127 return Result;
138 StringRef Result; local
141 if (Result.empty()) {
142 Result = Child;
149 return Result;
203 StringRef Result = Root->findEquivalent(*Comparator, FileName, IsAmbiguous); local
206 return Result;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.cpp36 Expected<ExecutorAddr> Result) mutable {
37 if (!Result) {
38 OnFinalize(Result.takeError());
42 OnFinalize(FinalizedAlloc(*Result));
77 Expected<ExecutorAddrRange> Result) mutable {
78 if (!Result) {
80 return OnAllocated(Result.takeError());
83 auto NextSegAddr = Result->Start;
99 SI.Offset = Seg.Addr - Result->Start;
108 UsedMemory.insert({Result
[all...]
H A DEPCGenericDylibManager.cpp87 Expected<std::vector<ExecutorSymbolDef>> Result(
91 SAs.Lookup, Result, SAs.Instance, H, Lookup))
93 return Result;
99 Expected<std::vector<ExecutorSymbolDef>> Result(
103 SAs.Lookup, Result, SAs.Instance, H, Lookup))
105 return Result;
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DAssumeBundleQueries.cpp70 void llvm::fillMapFromAssume(AssumeInst &Assume, RetainedKnowledgeMap &Result) { argument
80 Result[Key][&Assume] = {0, 0};
88 auto Lookup = Result.find(Key);
89 if (Lookup == Result.end() || !Lookup->second.count(&Assume)) {
90 Result[Key][&Assume] = {Val, Val};
101 RetainedKnowledge Result; local
103 return Result;
105 Result.AttrKind = Attribute::getAttrKindFromName(BOI.Tag->getKey());
107 Result.WasOn = getValueFromBundleOpInfo(Assume, BOI, ABA_WasOn);
115 Result
[all...]
H A DAnalysis.cpp74 LLVMBool Result = verifyModule(*unwrap(M), OutMessages ? &MsgsOS : DebugOS); local
80 if (Action == LLVMAbortProcessAction && Result)
86 return Result;
90 LLVMBool Result = verifyFunction( local
94 if (Action == LLVMAbortProcessAction && Result)
97 return Result;
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp54 Result = ND;
58 const NamedDecl *getNamedDecl() const { return Result; }
70 const NamedDecl *Result = nullptr; member in class:clang::tooling::__anon2366::NamedDeclOccurrenceFindingVisitor
115 Result = ND;
119 const NamedDecl *getNamedDecl() const { return Result; }
122 const NamedDecl *Result = nullptr; member in class:clang::tooling::__anon2367::NamedDeclFindingVisitor
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSetOperations.h50 S1Ty Result; local
54 Result.insert(*SI);
55 return Result;
71 S1Ty Result; local
75 Result.insert(*SI);
76 return Result;
/freebsd-current/contrib/bmake/unit-tests/
H A Dvardebug.exp18 Result of ${VAR:M[2]} is "2"
23 Result of ${VAR:N[2]} is "1 3"
29 Result of ${VAR:S,2,two,} is "1 two 3"
32 Result of ${VAR:Q} is "1\ 2\ 3"
35 Result of ${VAR:tu} is "1 2 3"
37 Result of ${VAR:tl} is "1 2 3"
39 Result of ${VAR:Q} is "1\ 2\ 3"
42 Result of ${:Uvalue} is "value" (eval-defined, defined)
47 Result of ${:M*e} is "value" (eval-defined, defined)
51 Result o
[all...]
H A Dvar-op-append.exp3 Result of ${:U\$\$\$\$\$\$\$\$} is "$$$$$$$$" (eval, defined)
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDOTGraphTraitsPass.h27 /// This assumes that 'GraphT' is 'AnalysisT::Result *', and pass it through
28 template <typename Result, typename GraphT = Result *>
30 static GraphT getGraph(Result R) { return &R; }
43 typename GraphT = typename AnalysisT::Result *,
45 DefaultAnalysisGraphTraits<typename AnalysisT::Result &, GraphT>>
56 /// @param Result The current analysis result for this function.
58 const typename AnalysisT::Result &Result) {
63 auto &Result local
57 processFunction(Function &F, const typename AnalysisT::Result &Result) argument
141 processFunction(Function &F, const typename AnalysisT::Result &Result) argument
147 auto &Result = FAM.getResult<AnalysisT>(F); local
[all...]
H A DInlineSizeEstimatorAnalysis.h27 using Result = std::optional<size_t>;
28 Result run(const Function &F, FunctionAnalysisManager &FAM);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DInstructionCost.h103 InstructionCost::CostType Result; local
104 if (AddOverflow(Value, RHS.Value, Result))
105 Result = RHS.Value > 0 ? getMaxValue() : getMinValue();
107 Value = Result;
121 InstructionCost::CostType Result; local
122 if (SubOverflow(Value, RHS.Value, Result))
123 Result = RHS.Value > 0 ? getMinValue() : getMaxValue();
124 Value = Result;
138 InstructionCost::CostType Result; local
139 if (MulOverflow(Value, RHS.Value, Result)) {
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp44 bool Context::evaluateAsRValue(State &Parent, const Expr *E, APValue &Result) { argument
46 ByteCodeExprGen<EvalEmitter> C(*this, *P, Parent, Stk, Result);
68 Result = *RValueResult;
70 Result = Res.toAPValue();
76 bool Context::evaluate(State &Parent, const Expr *E, APValue &Result) { argument
78 ByteCodeExprGen<EvalEmitter> C(*this, *P, Parent, Stk, Result);
92 Result = Res.toAPValue();
97 APValue &Result) {
99 ByteCodeExprGen<EvalEmitter> C(*this, *P, Parent, Stk, Result);
126 Result
96 evaluateAsInitializer(State &Parent, const VarDecl *VD, APValue &Result) argument
207 Run(State &Parent, const Function *Func, APValue &Result) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1096 std::optional<DynAlloc *> Result; local
1099 Result = &It->second;
1100 return Result;
1863 static bool Evaluate(APValue &Result, EvalInfo &Info, const Expr *E);
1864 static bool EvaluateInPlace(APValue &Result, EvalInfo &Info,
1867 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info,
1869 static bool EvaluatePointer(const Expr *E, LValue &Result, EvalInfo &Info,
1871 static bool EvaluateMemberPointer(const Expr *E, MemberPtr &Result,
1873 static bool EvaluateTemporary(const Expr *E, LValue &Result, EvalInfo &Info);
1874 static bool EvaluateInteger(const Expr *E, APSInt &Result, EvalInf
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DMergingTypeTableBuilder.cpp92 auto Result = HashedRecords.try_emplace(WeakHash, nextTypeIndex()); local
94 if (Result.second) {
96 Result.first->first.RecordData = RecordData;
101 TypeIndex ActualTI = Result.first->second;
133 auto Result = HashedRecords.try_emplace(WeakHash, Index.toArrayIndex()); local
134 if (!Result.second) {
135 Index = Result.first->second;
141 Result.first->first.RecordData = Record;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DJITSymbol.cpp110 JITSymbolResolver::LookupResult Result; local
115 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags());
127 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags());
143 OnResolved(std::move(Result));
150 JITSymbolResolver::LookupSet Result; local
158 Result.insert(Symbol);
164 Result.insert(Symbol);
168 return std::move(Result);
/freebsd-current/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp89 virtual void handleDeclaration(const CodeCompletionResult &Result) { argument
92 Results.push_back(Result.Declaration->getName().str());
96 if (auto *VD = dyn_cast<VarDecl>(Result.Declaration)) {
120 virtual void handleKeyword(const CodeCompletionResult &Result) { argument
126 if (StringRef(Result.Keyword).starts_with(Prefix))
127 Results.push_back(Result.Keyword);
132 virtual void handlePattern(const CodeCompletionResult &Result) {} argument
136 virtual void handleMacro(const CodeCompletionResult &Result) {} argument
144 void handleDeclaration(const CodeCompletionResult &Result) override {
145 auto *ID = Result
182 auto &Result = InResults[I]; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordsSlice.cpp142 auto Result = Globals.insert({Name, nullptr}); local
143 if (Result.second)
144 Result.first->second =
147 updateLinkage(Result.first->second.get(), Linkage);
148 updateFlags(Result.first->second.get(), Flags);
150 return Result.first->second.get();
157 auto Result = Classes.insert({Name, nullptr}); local
158 if (Result.second) {
159 Result.first->second =
165 updateLinkage(Result
185 auto Result = Categories.insert({Name, Record}); local
194 auto Result = local
224 auto Result = IVars.insert({IVar, nullptr}); local
[all...]

Completed in 213 milliseconds

1234567891011>>