Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 816) sorted by relevance

12345678910>>...33

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp151 Z3_inc_ref(Context.Context, AST); in Z3Expr()
156 Z3_inc_ref(Context.Context, AST); in Z3Expr()
163 Z3_dec_ref(Context.Context, AST); in operator =()
173 Z3_dec_ref(Context.Context, AST); in ~Z3Expr()
182 assert(Z3_is_eq_sort(Context.Context, Z3_get_sort(Context.Context, AST), in equal_to()
310 Z3Sort(Context, Z3_mk_bv_sort(Context.Context, BitWidth))); in getBitvectorSort()
417 Z3Expr(Context, Z3_mk_bvor(Context.Context, toZ3Expr(*LHS).AST, in mkBVOr()
487 Z3Expr(Context, Z3_mk_eq(Context.Context, toZ3Expr(*LHS).AST, in mkEqual()
761 Z3Expr(Context, Z3_mk_const(Context.Context, in mkSymbol()
846 Context.Context, Z3_to_app(Context.Context, toZ3Expr(*Exp).AST)); in getInterpretation()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp19 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedTypeToInteger() local
20 return getIntegerVT(Context, getSizeInBits()); in changeExtendedTypeToInteger()
25 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementTypeToInteger() local
32 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementType() local
38 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT()
181 Type *EVT::getTypeForEVT(LLVMContext &Context) const { in getTypeForEVT()
186 case MVT::isVoid: return Type::getVoidTy(Context); in getTypeForEVT()
187 case MVT::i1: return Type::getInt1Ty(Context); in getTypeForEVT()
188 case MVT::i8: return Type::getInt8Ty(Context); in getTypeForEVT()
189 case MVT::i16: return Type::getInt16Ty(Context); in getTypeForEVT()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1250 if (Context.Complain) { in IsStructurallyEquivalent()
1251 Context.Diag2( in IsStructurallyEquivalent()
1265 if (Context.Complain) { in IsStructurallyEquivalent()
1266 Context.Diag2( in IsStructurallyEquivalent()
1365 if (Context.Complain) { in IsStructurallyEquivalent()
1366 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( in IsStructurallyEquivalent()
1580 if (Context.Complain) { in IsStructurallyEquivalent()
1581 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( in IsStructurallyEquivalent()
1652 if (Context.Complain) { in IsStructurallyEquivalent()
1653 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( in IsStructurallyEquivalent()
[all …]
H A DRecordLayoutBuilder.cpp106 const ASTContext &Context; member in __anon146c45a90111::EmptySubobjectMap
171 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
693 : Context(Context), EmptySubobjects(EmptySubobjects), Size(0), in ItaniumRecordLayoutBuilder()
1063 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1065 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1477 Context.UnsignedCharTy, Context.UnsignedShortTy, Context.UnsignedIntTy, in LayoutWideBitField()
1478 Context.UnsignedLongTy, Context.UnsignedLongLongTy in LayoutWideBitField()
1620 if (StorageUnitSize < Context.getTypeSize(Context.UnsignedIntTy)) { in LayoutBitField()
1623 StorageUnitSize = Context.getTypeSize(Context.UnsignedIntTy); in LayoutBitField()
2115 Context.toBits(!Context.getTargetInfo().defaultsToAIXPowerAlignment() in FinishLayout()
[all …]
H A DNestedNameSpecifier.cpp59 NestedNameSpecifier::Create(const ASTContext &Context, in Create() argument
68 return FindOrInsert(Context, Mockup); in Create()
72 NestedNameSpecifier::Create(const ASTContext &Context, in Create() argument
84 return FindOrInsert(Context, Mockup); in Create()
100 return FindOrInsert(Context, Mockup); in Create()
112 return FindOrInsert(Context, Mockup); in Create()
122 return FindOrInsert(Context, Mockup); in Create()
127 if (!Context.GlobalNestedNameSpecifier) in GlobalSpecifier()
128 Context.GlobalNestedNameSpecifier = in GlobalSpecifier()
130 return Context.GlobalNestedNameSpecifier; in GlobalSpecifier()
[all …]
/freebsd-13.1/usr.sbin/ppp/
H A Dchap_ms.c159 SHA_CTX Context; in ChallengeHash() local
169 SHA1_Init(&Context); in ChallengeHash()
221 SHA_CTX Context; in GenerateAuthenticatorResponse() local
253 SHA1_Init(&Context); in GenerateAuthenticatorResponse()
259 SHA1_Init(&Context); in GenerateAuthenticatorResponse()
283 SHA_CTX Context; in GetMasterKey() local
289 SHA1_Init(&Context); in GetMasterKey()
302 SHA_CTX Context; in GetAsymetricStartKey() local
341 SHA1_Init(&Context); in GetAsymetricStartKey()
355 SHA_CTX Context; in GetNewKeyFromSHA() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp21 return MDString::get(Context, Str); in createString()
34 return MDNode::get(Context, Op); in createFPMath()
52 return MDNode::get(Context, Vals); in createBranchWeights()
56 return MDNode::get(Context, None); in createUnpredictable()
75 return MDNode::get(Context, Ops); in createFunctionEntryCount()
79 return MDNode::get(Context, in createFunctionSectionPrefix()
104 return MDNode::get(Context, Ops); in createCallees()
121 return MDNode::get(Context, Ops); in createCallbackEncoding()
150 return MDNode::get(Context, Ops); in mergeCallbackEncodings()
181 return MDNode::get(Context, in createTBAANode()
[all …]
H A DProfileSummary.cpp29 Type *Int64Ty = Type::getInt64Ty(Context); in getKeyValMD()
30 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyValMD()
32 return MDTuple::get(Context, Ops); in getKeyValMD()
37 Type *DoubleTy = Type::getDoubleTy(Context); in getKeyFPValMD()
40 return MDTuple::get(Context, Ops); in getKeyFPValMD()
47 Metadata *Ops[2] = {MDString::get(Context, Key), MDString::get(Context, Val)}; in getKeyValMD()
48 return MDTuple::get(Context, Ops); in getKeyValMD()
58 Type *Int32Ty = Type::getInt32Ty(Context); in getDetailedSummaryMD()
59 Type *Int64Ty = Type::getInt64Ty(Context); in getDetailedSummaryMD()
69 return MDTuple::get(Context, Ops); in getDetailedSummaryMD()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h27 ASTContext &Context);
34 ASTContext &Context) { in getExtendedRange() argument
36 Next, Context); in getExtendedRange()
44 CharSourceRange getAssociatedRange(const Decl &D, ASTContext &Context);
47 StringRef getText(CharSourceRange Range, const ASTContext &Context);
51 StringRef getText(const T &Node, const ASTContext &Context) { in getText() argument
53 Context); in getText()
80 ASTContext &Context) { in getExtendedText() argument
81 return getText(getExtendedRange(Node, Next, Context), Context); in getExtendedText()
98 return getRangeForEdit(EditRange, Context.getSourceManager(), in getRangeForEdit()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp67 ASTContext *Context; member in __anonedadf7530111::RewriteModernObjC
2606 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in RewriteObjCBoolLiteralExpr()
2683 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCBoxedExpr()
2804 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCArrayLiteralExpr()
2956 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCDictionaryLiteralExpr()
3018 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
3246 Context, Context->getObjCIdType(), CK_BitCast, in SynthMessageExpr()
3338 Context, Context->getObjCIdType(), CK_BitCast, in SynthMessageExpr()
3358 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr()
4969 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in SynthesizeByrefCopyDestroyHelper()
[all …]
H A DRewriteObjC.cpp66 ASTContext *Context; member in __anone5f8ec0e0111::RewriteObjC
455 if (OCT == Context->getCanonicalType(Context->getObjCIdType()) || in isObjCType()
2572 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
2674 Context, Context->getObjCIdType(), CK_BitCast, in SynthMessageExpr()
2765 Context, Context->getObjCIdType(), CK_BitCast, in SynthMessageExpr()
2788 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr()
2990 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in SynthMessageExpr()
4123 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in SynthesizeByrefCopyDestroyHelper()
4125 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper()
4431 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp38 const ASTContext &Context) in NamedDeclOccurrenceFindingVisitor() argument
39 : RecursiveSymbolVisitor(Context.getSourceManager(), in NamedDeclOccurrenceFindingVisitor()
40 Context.getLangOpts()), in NamedDeclOccurrenceFindingVisitor()
41 Point(Point), Context(Context) {} in NamedDeclOccurrenceFindingVisitor()
72 const ASTContext &Context; member in clang::tooling::__anondbfc6fb50111::NamedDeclOccurrenceFindingVisitor
77 const NamedDecl *getNamedDeclAt(const ASTContext &Context, in getNamedDeclAt() argument
79 const SourceManager &SM = Context.getSourceManager(); in getNamedDeclAt()
80 NamedDeclOccurrenceFindingVisitor Visitor(Point, Context); in getNamedDeclAt()
85 for (auto *CurrDecl : Context.getTranslationUnitDecl()->decls()) { in getNamedDeclAt()
128 const NamedDecl *getNamedDeclFor(const ASTContext &Context, in getNamedDeclFor() argument
[all …]
H A DRenamingAction.cpp48 getUSRsForDeclaration(ND, Context.getASTContext()); in findSymbolOccurrences()
66 RenameOccurrences::initiate(RefactoringRuleContext &Context, in initiate() argument
71 return Context.createDiagnosticError( in initiate()
87 *Occurrences, Context.getASTContext().getSourceManager(), Name); in createSourceReplacements()
91 QualifiedRenameRule::initiate(RefactoringRuleContext &Context, in initiate() argument
95 getNamedDeclFor(Context.getASTContext(), OldQualifiedName); in initiate()
138 auto USRs = getUSRsForDeclaration(ND, Context.getASTContext()); in createSourceReplacements()
194 void HandleTranslationUnit(ASTContext &Context) override { in HandleTranslationUnit() argument
207 const SourceManager &SourceMgr = Context.getSourceManager(); in HandleOneRename()
210 USRs, PrevName, Context.getTranslationUnitDecl()); in HandleOneRename()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp378 D->addAttr(::new (S.Context) AttrType(S.Context, CI)); in handleSimpleAttribute()
2046 D->addAttr(::new (S.Context) NakedAttr(S.Context, AL)); in handleNakedAttr()
2669 return ::new (S.Context) T(S.Context, CI, value); in mergeVisibilityAttr()
3086 return ::new (Context) SectionAttr(Context, CI, Name); in mergeSectionAttr()
3170 return ::new (Context) CodeSegAttr(Context, CI, Name); in mergeCodeSegAttr()
4401 return ::new (Context) AlwaysInlineAttr(Context, CI); in mergeAlwaysInlineAttr()
4455 return ::new (Context) MinSizeAttr(Context, CI); in mergeMinSizeAttr()
4488 return ::new (Context) OptimizeNoneAttr(Context, CI); in mergeOptimizeNoneAttr()
5092 S.Context, S.Context.getConstType(S.Context.IntTy), /*consume*/ false); in makeLaunchBoundsArgExpr()
7194 return ::new (Context) DLLImportAttr(Context, CI); in mergeDLLImportAttr()
[all …]
H A DSemaExprObjC.cpp227 ASTContext &Context = S.Context; in LookupObjCInterfaceDeclForLiteral() local
503 new (Context) ObjCBoxedExpr(ValueExpr, Context.DependentTy, nullptr, SR); in BuildObjCBoxedExpr()
518 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
1041 Context.getObjCObjectType(Context.ObjCBuiltinIdTy, { }, in BuildObjCDictionaryLiteral()
1154 StrTy = Context.getStringLiteralArrayType(Context.CharTy, Str.size()); in BuildObjCEncodeExpression()
1463 ASTContext &Context = S.Context; in getBaseMessageSendResultType() local
2006 return new (Context) in HandleExprPropertyRefExpr()
2010 return new (Context) in HandleExprPropertyRefExpr()
2890 Context, Context.DependentTy, VK_PRValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage()
3541 ASTContext &Context; member in __anonb843a6260411::ARCCastChecker
[all …]
H A DSema.cpp334 Context.getAtomicType(Context.UnsignedIntTy)); in Initialize()
336 Context.getAtomicType(Context.FloatTy)); in Initialize()
355 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize()
356 auto AtomicIntPtrT = Context.getAtomicType(Context.getIntPtrType()); in Initialize()
359 Context.getAtomicType(Context.getPointerDiffType()); in Initialize()
366 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize()
376 auto AtomicDoubleT = Context.getAtomicType(Context.DoubleTy); in Initialize()
380 auto AtomicLongT = Context.getAtomicType(Context.LongTy); in Initialize()
381 auto AtomicULongT = Context.getAtomicType(Context.UnsignedLongTy); in Initialize()
386 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelectionRequirements.cpp16 ASTSelectionRequirement::evaluate(RefactoringRuleContext &Context) const { in evaluate()
19 SourceRangeSelectionRequirement::evaluate(Context); in evaluate()
24 findSelectedASTNodes(Context.getASTContext(), *Range); in evaluate()
26 return Context.createDiagnosticError( in evaluate()
32 RefactoringRuleContext &Context) const { in evaluate()
35 ASTSelectionRequirement::evaluate(Context); in evaluate()
41 Context.getSelectionRange(), *StoredSelection); in evaluate()
43 return Context.createDiagnosticError( in evaluate()
44 Context.getSelectionRange().getBegin(), in evaluate()
46 Context.setASTSelection(std::move(StoredSelection)); in evaluate()
H A DLookup.cpp30 getAllNamedNamespaces(const DeclContext *Context) { in getAllNamedNamespaces() argument
32 auto GetNextNamedNamespace = [](const DeclContext *Context) { in getAllNamedNamespaces() argument
34 while (Context && (!isa<NamespaceDecl>(Context) || in getAllNamedNamespaces()
35 cast<NamespaceDecl>(Context)->isAnonymousNamespace())) in getAllNamedNamespaces()
36 Context = Context->getParent(); in getAllNamedNamespaces()
37 return Context; in getAllNamedNamespaces()
39 for (Context = GetNextNamedNamespace(Context); Context != nullptr; in getAllNamedNamespaces()
40 Context = GetNextNamedNamespace(Context->getParent())) in getAllNamedNamespaces()
41 Namespaces.push_back(cast<NamespaceDecl>(Context)); in getAllNamedNamespaces()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp35 : Context(Ctx), Module(M), CodeGenOpts(CGO), in CodeGenTBAA()
134 return getTypeInfo(Context.ShortTy); in getTypeInfoHelper()
136 return getTypeInfo(Context.IntTy); in getTypeInfoHelper()
138 return getTypeInfo(Context.LongTy); in getTypeInfoHelper()
140 return getTypeInfo(Context.LongLongTy); in getTypeInfoHelper()
142 return getTypeInfo(Context.Int128Ty); in getTypeInfoHelper()
147 return getTypeInfo(Context.FractTy); in getTypeInfoHelper()
149 return getTypeInfo(Context.LongFractTy); in getTypeInfoHelper()
154 return getTypeInfo(Context.SatFractTy); in getTypeInfoHelper()
161 return getTypeInfo(Context.AccumTy); in getTypeInfoHelper()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h84 clang::ASTContext * const Context; member
193 match(clang::DynTypedNode::create(Node), Context); in match()
199 void matchAST(ASTContext &Context);
255 ASTContext &Context);
300 ASTContext &Context) { in match() argument
304 Finder.match(Node, Context); in match()
316 match(MatcherT Matcher, ASTContext &Context) { in match() argument
320 Finder.matchAST(Context); in match()
326 ASTContext &Context) { in matchDynamic() argument
330 Finder.match(Node, Context); in matchDynamic()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp260 CallContext Context; in runOnMachineFunction() local
262 CallSeqVector.push_back(Context); in runOnMachineFunction()
365 Context.FrameSetup = FrameSetup; in collectCallInfo()
373 Context.NoStackParams = true; in collectCallInfo()
397 Context.SPCopy = &*J++; in collectCallInfo()
451 Context.ArgStoreVector[StackDisp] = &*I; in collectCallInfo()
469 Context.Call = &*I; in collectCallInfo()
475 auto MMI = Context.ArgStoreVector.begin(), MME = Context.ArgStoreVector.end(); in collectCallInfo()
490 Context.UsePush = true; in collectCallInfo()
592 if (Context.SPCopy && MRI->use_empty(Context.SPCopy->getOperand(0).getReg())) in adjustCallSequence()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp25 Context::Context(ASTContext &Ctx) : Ctx(Ctx), P(new Program(*this)) {} in Context() function in Context
27 Context::~Context() {} in ~Context()
29 bool Context::isPotentialConstantExpr(State &Parent, const FunctionDecl *FD) { in isPotentialConstantExpr()
49 bool Context::evaluateAsRValue(State &Parent, const Expr *E, APValue &Result) { in evaluateAsRValue()
54 bool Context::evaluateAsInitializer(State &Parent, const VarDecl *VD, in evaluateAsInitializer()
60 const LangOptions &Context::getLangOpts() const { return Ctx.getLangOpts(); } in getLangOpts()
62 llvm::Optional<PrimType> Context::classify(QualType T) { in classify()
109 unsigned Context::getCharBit() const { in getCharBit()
113 bool Context::Run(State &Parent, Function *Func, APValue &Result) { in Run()
122 bool Context::Check(State &Parent, llvm::Expected<bool> &&Flag) { in Check()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp2728 Context, in ReadStmtFromStream()
2742 Context, in ReadStmtFromStream()
2748 Context, in ReadStmtFromStream()
2756 Context, in ReadStmtFromStream()
2763 Context, in ReadStmtFromStream()
2825 Context, in ReadStmtFromStream()
2831 Context, in ReadStmtFromStream()
2857 Context, in ReadStmtFromStream()
2873 Context, in ReadStmtFromStream()
2952 Context, in ReadStmtFromStream()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp65 StringRef Text = getText(E, Context); in buildParens()
74 tooling::buildDereference(const Expr &E, const ASTContext &Context) { in buildDereference() argument
79 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildDereference()
85 StringRef Text = getText(E, Context); in buildDereference()
102 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildAddressOf()
108 StringRef Text = getText(E, Context); in buildAddressOf()
118 const ASTContext &Context) { in buildDot() argument
123 StringRef DerefText = getText(*SubExpr, Context); in buildDot()
132 StringRef Text = getText(E, Context); in buildDot()
147 StringRef DerefText = getText(*SubExpr, Context); in buildArrow()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h69 return getExtendedIntegerVT(Context, BitWidth); in getIntegerVT()
88 return getExtendedVectorVT(Context, VT, EC); in getVectorVT()
381 EVT getRoundIntegerType(LLVMContext &Context) const { in getRoundIntegerType()
386 return getIntegerVT(Context, 1 << Log2_32_Ceil(BitWidth)); in getRoundIntegerType()
392 EVT getHalfSizedIntegerVT(LLVMContext &Context) const { in getHalfSizedIntegerVT()
401 return getIntegerVT(Context, (EVTSize + 1) / 2); in getHalfSizedIntegerVT()
415 EVT getHalfNumVectorElementsVT(LLVMContext &Context) const { in getHalfNumVectorElementsVT()
428 return EVT::getVectorVT(Context, EltVT, EltCnt * 2); in getDoubleNumVectorElementsVT()
439 EVT getPow2VectorType(LLVMContext &Context) const { in getPow2VectorType()
457 Type *getTypeForEVT(LLVMContext &Context) const;
[all …]

12345678910>>...33