Searched refs:Context (Results 1 - 25 of 723) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp21 StringRef getText(CharSourceRange Range, const ASTContext &Context) { argument
22 return Lexer::getSourceText(Range, Context.getSourceManager(),
23 Context.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp42 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { argument
44 llvm::Twine(Z3_get_error_msg(Context, Error)));
50 Z3_context Context; member in class:__anon2011::Z3Context
53 Context = Z3_mk_context_rc(Z3Config().Config);
56 Z3_set_error_handler(Context, Z3ErrorHandler);
60 Z3_del_context(Context);
61 Context = nullptr;
69 Z3Context &Context; member in class:__anon2011::Z3Sort
75 Z3Sort(Z3Context &C, Z3_sort ZS) : Context(C), Sort(ZS) {
76 Z3_inc_ref(Context
144 Z3Context &Context; member in class:__anon2011::Z3Expr
201 Z3Context &Context; member in class:__anon2011::Z3Model
260 Z3Context Context; member in class:__anon2011::Z3Solver
[all...]
H A DBinaryStreamError.cpp19 BinaryStreamError::BinaryStreamError(StringRef Context) argument
20 : BinaryStreamError(stream_error_code::unspecified, Context) {}
22 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) argument
43 if (!Context.empty()) {
45 ErrMsg += Context;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp18 LLVMContext &Context = LLVMTy->getContext(); local
19 return getIntegerVT(Context, getSizeInBits());
23 LLVMContext &Context = LLVMTy->getContext(); local
24 EVT IntTy = getIntegerVT(Context, getScalarSizeInBits());
25 return getVectorVT(Context, IntTy, getVectorNumElements());
28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { argument
30 VT.LLVMTy = IntegerType::get(Context, BitWidth);
35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, argument
38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
140 Type *EVT::getTypeForEVT(LLVMContext &Context) cons
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDataCollection.cpp19 ASTContext &Context, SourceLocation Loc) {
20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(),
21 Context.getLangOpts());
33 std::string getMacroStack(SourceLocation Loc, ASTContext &Context) { argument
36 SourceManager &SM = Context.getSourceManager();
41 printMacroName(MacroStackStream, Context, Loc);
18 printMacroName(llvm::raw_string_ostream &MacroStack, ASTContext &Context, SourceLocation Loc) argument
H A DASTStructuralEquivalence.cpp42 // static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
52 // IsStructurallyEquivalent(StructuralEquivalenceContext &Context, Decl *D1,
97 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
99 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
101 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
104 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
110 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, argument
125 return IsStructurallyEquivalent(Context, Name1.getCXXNameType(),
130 Context, Name1.getCXXDeductionGuideTemplate()->getDeclName(),
133 return IsStructurallyEquivalent(Context,
159 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, const Expr *E1, const Expr *E2) argument
197 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, NestedNameSpecifier *NNS1, NestedNameSpecifier *NNS2) argument
235 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, const TemplateName &N1, const TemplateName &N2) argument
307 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, const TemplateArgument &Arg1, const TemplateArgument &Arg2) argument
364 IsArrayStructurallyEquivalent(StructuralEquivalenceContext &Context, const ArrayType *Array1, const ArrayType *Array2) argument
381 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, FunctionType::ExtInfo EI1, FunctionType::ExtInfo EI2) argument
405 IsEquivalentExceptionSpec(StructuralEquivalenceContext &Context, const FunctionProtoType *Proto1, const FunctionProtoType *Proto2) argument
435 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, QualType T1, QualType T2) argument
964 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, FieldDecl *Field1, FieldDecl *Field2) argument
1057 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, CXXMethodDecl *Method1, CXXMethodDecl *Method2) argument
1110 IsStructurallyEquivalentLambdas(StructuralEquivalenceContext &Context, CXXRecordDecl *D1, CXXRecordDecl *D2) argument
1122 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, RecordDecl *D1, RecordDecl *D2) argument
1355 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, EnumDecl *D1, EnumDecl *D2) argument
1416 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, TemplateParameterList *Params1, TemplateParameterList *Params2) argument
1451 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, TemplateTypeParmDecl *D1, TemplateTypeParmDecl *D2) argument
1469 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, NonTypeTemplateParmDecl *D1, NonTypeTemplateParmDecl *D2) argument
1500 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, TemplateTemplateParmDecl *D1, TemplateTemplateParmDecl *D2) argument
1531 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, ClassTemplateDecl *D1, ClassTemplateDecl *D2) argument
1543 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, FunctionTemplateDecl *D1, FunctionTemplateDecl *D2) argument
1555 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, ConceptDecl *D1, ConceptDecl *D2) argument
1567 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, FriendDecl *D1, FriendDecl *D2) argument
1583 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, FunctionDecl *D1, FunctionDecl *D2) argument
1593 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, Decl *D1, Decl *D2) argument
1638 ASTContext &Context = Anon->getASTContext(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/
H A DLinkAllIR.h43 llvm::LLVMContext Context;
44 (void)new llvm::Module("", Context);
45 (void)new llvm::UnreachableInst(Context);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h26 ASTContext &Context);
33 ASTContext &Context) {
35 Next, Context);
39 StringRef getText(CharSourceRange Range, const ASTContext &Context);
43 StringRef getText(const T &Node, const ASTContext &Context) { argument
45 Context);
62 /// getText(S1, Context) = "if (!x) return foo()"
63 /// getExtendedText(S1, tok::TokenKind::semi, Context)
65 /// getExtendedText(*S1.getThen(), tok::TokenKind::semi, Context)
67 /// getExtendedText(*S2.getThen(), tok::TokenKind::semi, Context)
32 getExtendedRange(const T &Node, tok::TokenKind Next, ASTContext &Context) argument
71 getExtendedText(const T &Node, tok::TokenKind Next, ASTContext &Context) argument
84 getRangeForEdit(const CharSourceRange &EditRange, const ASTContext &Context) argument
[all...]
H A DSourceCodeBuilders.h54 const ASTContext &Context);
59 const ASTContext &Context);
64 const ASTContext &Context);
72 llvm::Optional<std::string> buildDot(const Expr &E, const ASTContext &Context);
81 const ASTContext &Context);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelectionRequirements.cpp16 ASTSelectionRequirement::evaluate(RefactoringRuleContext &Context) const {
19 SourceRangeSelectionRequirement::evaluate(Context);
24 findSelectedASTNodes(Context.getASTContext(), *Range);
26 return Context.createDiagnosticError(
32 RefactoringRuleContext &Context) const {
35 ASTSelectionRequirement::evaluate(Context);
41 Context.getSelectionRange(), *StoredSelection);
43 return Context.createDiagnosticError(
44 Context.getSelectionRange().getBegin(),
46 Context
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp37 const ASTContext &Context)
38 : RecursiveSymbolVisitor(Context.getSourceManager(),
39 Context.getLangOpts()),
40 Point(Point), Context(Context) {}
64 (Context.getSourceManager().isBeforeInTranslationUnit(Start,
66 Context.getSourceManager().isBeforeInTranslationUnit(Point, End));
71 const ASTContext &Context; member in class:clang::tooling::__anon1070::NamedDeclOccurrenceFindingVisitor
76 const NamedDecl *getNamedDeclAt(const ASTContext &Context, argument
78 const SourceManager &SM = Context
36 NamedDeclOccurrenceFindingVisitor(const SourceLocation Point, const ASTContext &Context) argument
127 getNamedDeclFor(const ASTContext &Context, const std::string &Name) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCShuffler.h31 HexagonMCShuffler(MCContext &Context, bool Fatal, MCInstrInfo const &MCII, argument
33 : HexagonShuffler(Context, Fatal, MCII, STI) {
37 HexagonMCShuffler(MCContext &Context, bool Fatal, MCInstrInfo const &MCII, argument
40 : HexagonShuffler(Context, Fatal, MCII, STI) {
56 bool HexagonMCShuffle(MCContext &Context, bool Fatal, MCInstrInfo const &MCII,
58 bool HexagonMCShuffle(MCContext &Context, MCInstrInfo const &MCII,
61 bool HexagonMCShuffle(MCContext &Context, MCInstrInfo const &MCII,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Index/
H A DCommentToXML.h31 const ASTContext &Context);
35 const ASTContext &Context);
39 const ASTContext &Context);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRTargetStreamer.cpp26 MCContext &Context = OS.getContext(); local
28 MCSymbol *DoCopyData = Context.getOrCreateSymbol("__do_copy_data");
29 MCSymbol *DoClearBss = Context.getOrCreateSymbol("__do_clear_bss");
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp1 //===--- Context.cpp - Context for the constexpr VM -------------*- C++ -*-===//
9 #include "Context.h"
24 Context::Context(ASTContext &Ctx) : Ctx(Ctx), P(new Program(*this)) {} function in class:Context
26 Context::~Context() {}
28 bool Context::isPotentialConstantExpr(State &Parent, const FunctionDecl *FD) {
48 bool Context::evaluateAsRValue(State &Parent, const Expr *E, APValue &Result) {
53 bool Context
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp26 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, argument
28 Type *Int64Ty = Type::getInt64Ty(Context);
29 Metadata *Ops[2] = {MDString::get(Context, Key),
31 return MDTuple::get(Context, Ops);
36 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, argument
38 Metadata *Ops[2] = {MDString::get(Context, Key), MDString::get(Context, Val)};
39 return MDTuple::get(Context, Ops);
47 Metadata *ProfileSummary::getDetailedSummaryMD(LLVMContext &Context) { argument
49 Type *Int32Ty = Type::getInt32Ty(Context);
68 getMD(LLVMContext &Context) argument
[all...]
H A DMDBuilder.cpp21 return MDString::get(Context, Str);
33 createConstant(ConstantFP::get(Type::getFloatTy(Context), Accuracy));
34 return MDNode::get(Context, Op);
48 Type *Int32Ty = Type::getInt32Ty(Context);
52 return MDNode::get(Context, Vals);
56 return MDNode::get(Context, None);
62 Type *Int64Ty = Type::getInt64Ty(Context);
75 return MDNode::get(Context, Ops);
79 return MDNode::get(Context,
87 Type *Ty = IntegerType::get(Context, L
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCNullStreamer.cpp20 MCNullStreamer(MCContext &Context) : MCStreamer(Context) {} argument
47 MCStreamer *llvm::createNullStreamer(MCContext &Context) { argument
48 return new MCNullStreamer(Context);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IRReader/
H A DIRReader.h36 SMDiagnostic &Err, LLVMContext &Context,
45 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
56 LLVMContext &Context,
68 LLVMContext &Context,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFStreamer.cpp22 AMDGPUELFStreamer(const Triple &T, MCContext &Context, argument
26 : MCELFStreamer(Context, std::move(MAB), std::move(OW),
33 const Triple &T, MCContext &Context, std::unique_ptr<MCAsmBackend> MAB,
36 return new AMDGPUELFStreamer(T, Context, std::move(MAB), std::move(OW),
32 createAMDGPUELFStreamer( const Triple &T, MCContext &Context, std::unique_ptr<MCAsmBackend> MAB, std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, bool RelaxAll) argument
/freebsd-11-stable/usr.sbin/ppp/
H A Dchap_ms.c159 SHA_CTX Context; local
169 SHA1_Init(&Context);
171 SHA1_Update(&Context, PeerChallenge, 16);
172 SHA1_Update(&Context, AuthenticatorChallenge, 16);
173 SHA1_Update(&Context, Name, strlen(Name));
175 SHA1_Final(Digest, &Context);
221 SHA_CTX Context; local
253 SHA1_Init(&Context);
254 SHA1_Update(&Context, PasswordHashHash, 16);
255 SHA1_Update(&Context, NTRespons
283 SHA_CTX Context; local
302 SHA_CTX Context; local
355 SHA_CTX Context; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRFinder.h34 const NamedDecl *getNamedDeclAt(const ASTContext &Context,
40 const NamedDecl *getNamedDeclFor(const ASTContext &Context,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringActionRuleRequirements.h32 /// 'Expected<SourceRange> evaluate(RefactoringRuleContext &Context) const'
37 // Expected<T> evaluate(RefactoringRuleContext &Context) const;
48 Expected<SourceRange> evaluate(RefactoringRuleContext &Context) const {
49 if (Context.getSelectionRange().isValid())
50 return Context.getSelectionRange();
51 return Context.createDiagnosticError(diag::err_refactor_no_selection);
62 Expected<SelectedASTNode> evaluate(RefactoringRuleContext &Context) const;
77 evaluate(RefactoringRuleContext &Context) const;
H A DRefactoringActionRules.h55 RefactoringRuleContext &Context) final override {
56 Expected<AtomicChanges> Changes = createSourceReplacements(Context);
65 createSourceReplacements(RefactoringRuleContext &Context) = 0;
77 RefactoringRuleContext &Context) final override {
78 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(Context);
87 findSymbolOccurrences(RefactoringRuleContext &Context) = 0;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.h32 struct Context { struct in class:llvm::Win64EH::Dumper
37 Context(const object::COFFObjectFile &COFF, SymbolResolver Resolver, function in struct:llvm::Win64EH::Dumper::Context
43 void printRuntimeFunctionEntry(const Context &Ctx,
48 void printUnwindInfo(const Context &Ctx, const object::coff_section *Section,
50 void printRuntimeFunction(const Context &Ctx,
57 void printData(const Context &Ctx);

Completed in 130 milliseconds

1234567891011>>