Searched refs:Result (Results 26 - 50 of 1126) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h46 Value *Result = Src; local
55 Value *Zero = Constant::getNullValue(Result->getType());
56 Value *IsNegative = B.CreateICmpSLT(Result, Zero);
59 Value *Rounded = B.CreateAdd(Result, LowBits);
60 Result = B.CreateSelect(IsNegative, Rounded, Result);
63 Result = SrcIsSigned
64 ? B.CreateAShr(Result, SrcScale - DstScale, "downscale")
65 : B.CreateLShr(Result, SrcScale - DstScale, "downscale");
70 Result
176 Value *Result; local
193 Value *Result = Src; local
236 Value *Result; local
262 Value *Result; local
302 Value *Result = B.CreateIntrinsic( local
330 Value *Result = B.CreateIntrinsic( local
348 Value *Result; local
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp374 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
376 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
378 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
396 std::string &Result);
398 void RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result);
402 std::string &Result);
404 bool RewriteObjCFieldDeclType(QualType &Type, std::string &Result);
407 std::string &Result);
447 std::string &Result);
449 std::string &Result);
832 WriteInternalIvarName(const ObjCInterfaceDecl *IDecl, ObjCIvarDecl *IvarDecl, std::string &Result) argument
1973 std::string Result; local
3630 RewriteObjCFieldDeclType(QualType &Type, std::string &Result) argument
3694 RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result) argument
3724 RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, std::string &Result) argument
3836 ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result) argument
3848 ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result) argument
3860 ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result) argument
3875 RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, std::string &Result) argument
3952 RewriteIvarOffsetSymbols(ObjCInterfaceDecl *CDecl, std::string &Result) argument
5809 Write_ProtocolExprReferencedMetadata(ASTContext *Context, ObjCProtocolDecl *PDecl, std::string &Result) argument
6059 RewriteIvarOffsetComputation(ObjCIvarDecl *ivar, std::string &Result) argument
6175 WriteModernMetadataDeclarations(ASTContext *Context, std::string &Result) argument
6253 Write_protocol_list_t_TypeDecl(std::string &Result, long super_protocol_count) argument
6262 Write_method_list_t_TypeDecl(std::string &Result, unsigned int method_count) argument
6272 Write__prop_list_t_TypeDecl(std::string &Result, unsigned int property_count) argument
6282 Write__ivar_list_t_TypeDecl(std::string &Result, unsigned int ivar_count) argument
6292 Write_protocol_list_initializer(ASTContext *Context, std::string &Result, ArrayRef<ObjCProtocolDecl *> SuperProtocols, StringRef VarName, StringRef ProtocolName) argument
6315 Write_method_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCMethodDecl *> Methods, StringRef VarName, StringRef TopLevelDeclName, bool MethodImpl) argument
6355 Write_prop_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCPropertyDecl *> Properties, const Decl *Container, StringRef VarName, StringRef ProtocolName) argument
6404 Write__class_ro_t_initializer(ASTContext *Context, std::string &Result, unsigned int flags, const std::string &InstanceStart, const std::string &InstanceSize, ArrayRef<ObjCMethodDecl *>baseMethods, ArrayRef<ObjCProtocolDecl *>baseProtocols, ArrayRef<ObjCIvarDecl *>ivars, ArrayRef<ObjCPropertyDecl *>Properties, StringRef VarName, StringRef ClassName) argument
6471 Write_class_t(ASTContext *Context, std::string &Result, StringRef VarName, const ObjCInterfaceDecl *CDecl, bool metaclass) argument
6611 Write_category_t(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ObjCCategoryDecl *CatDecl, ObjCInterfaceDecl *ClassDecl, ArrayRef<ObjCMethodDecl *> InstanceMethods, ArrayRef<ObjCMethodDecl *> ClassMethods, ArrayRef<ObjCProtocolDecl *> RefedProtocols, ArrayRef<ObjCPropertyDecl *> ClassProperties) argument
6693 Write__extendedMethodTypes_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCMethodDecl *> Methods, StringRef VarName, StringRef ProtocolName) argument
6720 Write_IvarOffsetVar(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCIvarDecl *> Ivars, ObjCInterfaceDecl *CDecl) argument
6763 Write__ivar_list_t_initializer(RewriteModernObjC &RewriteObj, ASTContext *Context, std::string &Result, ArrayRef<ObjCIvarDecl *> OriginalIvars, StringRef VarName, ObjCInterfaceDecl *CDecl) argument
6838 RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, std::string &Result) argument
7000 RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, std::string &Result) argument
7157 RewriteClassSetupInitHook(std::string &Result) argument
7173 RewriteMetaDataIntoBuffer(std::string &Result) argument
7251 WriteImageInfo(std::string &Result) argument
7262 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, std::string &Result) argument
7339 RewriteCategorySetupInitHook(std::string &Result) argument
7362 RewriteObjCMethodsMetaData(MethodIterator MethodBegin, MethodIterator MethodEnd, bool IsInstanceMethod, StringRef prefix, StringRef ClassName, std::string &Result) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/
H A DSymbolSet.cpp17 auto Result = Symbols.try_emplace(SymbolsMapKey{Kind, Name}, nullptr); local
18 if (Result.second)
19 Result.first->second =
21 return Result.first->second;
H A DSymbol.cpp21 std::string Result; local
23 Result += "(undef) ";
25 Result += "(weak-def) ";
27 Result += "(weak-ref) ";
29 Result += "(tlv) ";
32 Result += Name.str();
35 Result += "(ObjC Class) " + Name.str();
38 Result += "(ObjC Class EH) " + Name.str();
41 Result += "(ObjC IVar) " + Name.str();
44 OS << Result; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLookupAndRecordAddrs.cpp29 OnRec = std::move(OnRecorded)](Expected<SymbolMap> Result) mutable {
30 if (!Result)
31 return OnRec(Result.takeError());
33 auto I = Result->find(KV.first);
35 I != Result->end() ? I->second.getAddress() : orc::ExecutorAddr();
64 auto Result = EPC.lookupSymbols(LR); local
65 if (!Result)
66 return Result.takeError();
68 if (Result->size() != 1)
71 if (Result
[all...]
H A DEPCDynamicLibrarySearchGenerator.cpp45 auto Result = EPC.lookupSymbols(Request); local
46 if (!Result)
47 return Result.takeError();
49 assert(Result->size() == 1 && "Results for more than one library returned");
50 assert(Result->front().size() == LookupSymbols.size() &&
51 "Result has incorrect number of elements");
53 auto ResultI = Result->front().begin();
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAnalysisManager.h86 template <> class LoopAnalysisManagerFunctionProxy::Result { class in class:llvm::LoopAnalysisManagerFunctionProxy
88 explicit Result(LoopAnalysisManager &InnerAM, LoopInfo &LI) function in class:llvm::LoopAnalysisManagerFunctionProxy::Result
90 Result(Result &&Arg) function in class:llvm::LoopAnalysisManagerFunctionProxy::Result
97 Result &operator=(Result &&RHS) {
107 ~Result() {
144 LoopAnalysisManagerFunctionProxy::Result
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopConstrainer.h66 LoopStructure Result; local
67 Result.Tag = Tag;
68 Result.Header = cast<BasicBlock>(Map(Header));
69 Result.Latch = cast<BasicBlock>(Map(Latch));
70 Result.LatchBr = cast<BranchInst>(Map(LatchBr));
71 Result.LatchExit = cast<BasicBlock>(Map(LatchExit));
72 Result.LatchBrExitIdx = LatchBrExitIdx;
73 Result.IndVarBase = Map(IndVarBase);
74 Result.IndVarStart = Map(IndVarStart);
75 Result
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); local
407 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes);
409 return Result;
416 auto Result = local
418 Result->setCodeSize(Lines.CodeSize);
419 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset);
420 Result->setFlags(Lines.Flags);
422 Result->createBlock(LC.FileName);
423 if (Result->hasColumnInfo()) {
428 Result
447 auto Result = std::make_shared<DebugInlineeLinesSubsection>( local
467 auto Result = std::make_shared<DebugCrossModuleExportsSubsection>(); local
479 auto Result = local
491 auto Result = std::make_shared<DebugSymbolsSubsection>(); local
502 auto Result = std::make_shared<DebugStringTableSubsection>(); local
513 auto Result = std::make_shared<DebugFrameDataSubsection>(true); local
534 auto Result = std::make_shared<DebugSymbolRVASubsection>(); local
568 auto Result = std::make_shared<YAMLChecksumsSubsection>(); local
584 auto Result = std::make_shared<YAMLLinesSubsection>(); local
622 auto Result = std::make_shared<YAMLInlineeLinesSubsection>(); local
649 auto Result = std::make_shared<YAMLCrossModuleExportsSubsection>(); local
658 auto Result = std::make_shared<YAMLCrossModuleImportsSubsection>(); local
674 auto Result = std::make_shared<YAMLSymbolsSubsection>(); local
692 auto Result = std::make_shared<YAMLStringTableSubsection>(); local
711 auto Result = std::make_shared<YAMLFrameDataSubsection>(); local
739 auto Result = std::make_shared<YAMLCoffSymbolRVASubsection>(); local
750 std::vector<std::shared_ptr<DebugSubsection>> Result; local
800 auto Result = YAMLLinesSubsection::fromCodeViewSubsection( local
811 auto Result = YAMLChecksumsSubsection::fromCodeViewSubsection(State.strings(), local
822 auto Result = YAMLInlineeLinesSubsection::fromCodeViewSubsection( local
833 auto Result = local
844 auto Result = YAMLCrossModuleImportsSubsection::fromCodeViewSubsection( local
855 auto Result = YAMLStringTableSubsection::fromCodeViewSubsection(Strings); local
864 auto Result = YAMLSymbolsSubsection::fromCodeViewSubsection(Symbols); local
873 auto Result = local
883 auto Result = YAMLCoffSymbolRVASubsection::fromCodeViewSubsection(RVAs); local
913 std::vector<YAMLDebugSubsection> Result; local
939 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC); local
951 auto Result = SS.Subsection->toCodeViewSubsection(Allocator, SC); local
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h77 auto Result = Us.Counters.find(CounterName); local
78 if (Result != Us.Counters.end()) {
79 auto &CounterInfo = Result->second;
107 auto Result = Us.Counters.find(ID); local
108 assert(Result != Us.Counters.end() && "Asking about a non-set counter");
109 return Result->second.Count;
161 unsigned Result = RegisteredCounters.insert(Name); local
162 Counters[Result] = {};
163 Counters[Result].Desc = Desc;
164 return Result;
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoring.cpp37 if (int Result = run(ActionFactory)) {
38 return Result;
58 bool Result = true; local
61 Result = tooling::applyAllReplacements(Entry.second, Rewrite) && Result;
62 return Result;
75 bool Result = true; local
97 Result = applyAllReplacements(*NewReplacements, Rewrite) && Result;
99 return Result;
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp266 std::string Result = std::string(Str); local
268 StringifyImpl(Result, Quote);
269 return Result;
391 std::string Result;
392 Result.resize(Tok.getLength());
393 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin()));
394 return Result;
465 bool Lexer::getRawToken(SourceLocation Loc, Token &Result, argument
493 TheLexer.LexFromRawLexer(Result);
1721 tryConsumeIdentifierUCN(const char *&CurPtr, unsigned Size, Token &Result) argument
1762 tryConsumeIdentifierUTF8Char(const char *&CurPtr, Token &Result) argument
1813 LexUnicodeIdentifierStart(Token &Result, uint32_t C, const char *CurPtr) argument
1890 LexIdentifierContinue(Token &Result, const char *CurPtr) argument
1986 LexNumericConstant(Token &Result, const char *CurPtr) argument
2054 LexUDSuffix(Token &Result, const char *CurPtr, bool IsStringLiteral) argument
2146 LexStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
2207 LexRawStringLiteral(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
2287 LexAngledStringLiteral(Token &Result, const char *CurPtr) argument
2364 LexCharConstant(Token &Result, const char *CurPtr, tok::TokenKind Kind) argument
2431 SkipWhitespace(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
2507 SkipLineComment(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
2673 SaveLineComment(Token &Result, const char *CurPtr) argument
2789 SkipBlockComment(Token &Result, const char *CurPtr, bool &TokAtPhysicalStartOfLine) argument
3009 ReadToEndOfLine(SmallVectorImpl<char> *Result) argument
3065 LexEndOfFile(Token &Result, const char *CurPtr) argument
3301 lexEditorPlaceholder(Token &Result, const char *CurPtr) argument
3329 tryReadNumericUCN(const char *&StartPtr, const char *SlashLoc, Token *Result) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp26 Value *Result = nullptr; local
32 if (Result)
33 Result = Builder->CreateAdd(Result, Offset, GEP->getName() + ".offs",
36 Result = Offset;
79 return Result ? Result : Constant::getNullValue(IntIdxTy);
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenInstAlias.cpp27 bool CodeGenInstAlias::tryAliasOpMatch(DagInit *Result, unsigned AliasOpNo, argument
31 Init *Arg = Result->getArg(AliasOpNo);
38 if (!Result->getArgName(AliasOpNo))
41 ResOp = ResultOperand(std::string(Result->getArgNameStr(AliasOpNo)),
60 ResOp = ResultOperand(std::string(Result->getArgNameStr(AliasOpNo)),
83 if (Result->getArgName(AliasOpNo))
112 if (Result->getArgName(AliasOpNo))
143 ResOp = ResultOperand(std::string(Result->getArgNameStr(AliasOpNo)),
169 Result = R->getValueAsDag("ResultInst");
173 DefInit *DI = dyn_cast<DefInit>(Result
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp190 APSInt Result; local
192 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal)
195 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed)
202 return APFixedPoint(Result, CommonFXSema);
214 APSInt Result; local
216 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal)
219 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed)
226 return APFixedPoint(Result, CommonFXSema);
255 APSInt Result; local
257 Result
314 APSInt Result; local
360 APSInt Result = ThisVal << Amt; local
448 APSInt Result = getIntPart(); local
[all...]
/freebsd-current/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);
217 /// Initializes \p Result with data from \p DDTok and advances \p BufferPtr to
221 const dependency_directives_scan::Token &DDTok, Token &Result);
230 void IndirectLex(Token &Result) override { Lex(Result); } variable
236 bool LexFromRawLexer(Token &Result) { argument
238 Lex(Result);
290 void ReadToEndOfLine(SmallVectorImpl<char> *Result
623 FormTokenWithChars(Token &Result, const char *TokEnd, tok::TokenKind Kind) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp40 std::vector<DwarfStringPoolEntryRef> Result; local
41 Result.reserve(Strings.size());
44 Result.emplace_back(E);
45 llvm::sort(Result, [](const DwarfStringPoolEntryRef A,
49 return Result;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFDirectiveParser.cpp66 auto Result = optTable.ParseArgs(Buffer, missingIndex, missingCount); local
70 Result.getArgString(missingIndex) +
73 for (auto *arg : Result.filtered(COFF_OPT_UNKNOWN))
74 dbgs() << "Unknown coff option argument: " << arg->getAsString(Result)
77 return std::move(Result);
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DFormula.cpp29 Formula *Result = new (Mem) Formula(); local
30 Result->FormulaKind = K;
31 Result->Value = Value;
35 llvm::copy(Operands, reinterpret_cast<const Formula **>(Result + 1));
36 return *Result;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringSwitch.h50 std::optional<T> Result; member in class:llvm::StringSwitch
54 : Str(S), Result() { }
64 : Str(other.Str), Result(std::move(other.Result)) { }
70 if (!Result && Str == S) {
71 Result = std::move(Value);
77 if (!Result && Str.ends_with(S)) {
78 Result = std::move(Value);
84 if (!Result && Str.starts_with(S)) {
85 Result
[all...]
H A DBitset.h99 Bitset Result = *this; local
100 Result ^= RHS;
101 return Result;
110 Bitset Result = *this; local
111 Result &= RHS;
112 return Result;
122 Bitset Result = *this; local
123 Result |= RHS;
124 return Result;
128 Bitset Result local
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/bugpoint/
H A DListReducer.h50 Expected<TestResult> Result = doTest(TheList, empty); local
51 if (Error E = Result.takeError())
53 switch (*Result) {
98 Expected<TestResult> Result = doTest(ShuffledList, empty); local
102 assert(!Result.takeError() && "Shuffling caused internal error?");
104 if (*Result == KeepPrefix) {
123 Expected<TestResult> Result = doTest(Prefix, Suffix); local
124 if (Error E = Result.takeError())
126 switch (*Result) {
186 Expected<TestResult> Result local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDataExtractor.cpp77 uint64_t Result = 0;
86 Result = getUnsigned(Offset, getAddressSize());
93 Result = getULEB128(Offset);
96 Result = getSLEB128(Offset);
99 Result = getUnsigned(Offset, 2);
102 Result = getUnsigned(Offset, 4);
105 Result = getUnsigned(Offset, 8);
108 Result = getSigned(Offset, 2);
111 Result = SignExtend64<32>(getRelocatedValue(4, Offset));
114 Result
[all...]
/freebsd-current/usr.sbin/ppp/
H A Dsig.c66 sig_type Result; local
74 Result = handler[sig - 1];
83 return Result;
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticError.h41 std::optional<PartialDiagnosticAt> Result; local
43 Result = std::move(E.getDiagnostic());
45 return Result;

Completed in 438 milliseconds

1234567891011>>