Home
last modified time | relevance | path

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

12345678910>>...28

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DZ3ConstraintManager.cpp150 Z3_inc_ref(Context.Context, AST); in Z3Expr()
155 Z3_inc_ref(Context.Context, AST); in Z3Expr()
162 Z3_dec_ref(Context.Context, AST); in operator =()
172 Z3_dec_ref(Context.Context, AST); in ~Z3Expr()
181 assert(Z3_is_eq_sort(Context.Context, Z3_get_sort(Context.Context, AST), in equal_to()
301 Context, Z3_get_sort(Context.Context, toZ3Expr(*Exp).AST)); in getSort()
411 Z3Expr(Context, Z3_mk_bvor(Context.Context, toZ3Expr(*LHS).AST, in mkBVOr()
481 Z3Expr(Context, Z3_mk_eq(Context.Context, toZ3Expr(*LHS).AST, in mkEqual()
670 Z3Expr(Context, Z3_mk_const(Context.Context, in mkSymbol()
755 Context.Context, Z3_to_app(Context.Context, toZ3Expr(*Exp).AST)); in getInterpretation()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTStructuralEquivalence.cpp836 if (Context.Complain) { in IsStructurallyEquivalent()
852 if (Context.Complain) { in IsStructurallyEquivalent()
867 if (Context.Complain) { in IsStructurallyEquivalent()
968 if (Context.Complain) { in IsStructurallyEquivalent()
1168 if (Context.Complain) { in IsStructurallyEquivalent()
1234 if (Context.Complain) { in IsStructurallyEquivalent()
1254 if (Context.Complain) { in IsStructurallyEquivalent()
1287 if (Context.Complain) { in IsStructurallyEquivalent()
1303 if (Context.Complain) { in IsStructurallyEquivalent()
1314 if (Context.Complain) { in IsStructurallyEquivalent()
[all …]
H A DRecordLayoutBuilder.cpp106 const ASTContext &Context; member in __anon2b6abd440111::EmptySubobjectMap
170 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap()
666 : Context(Context), EmptySubobjects(EmptySubobjects), Size(0), in ItaniumRecordLayoutBuilder()
1028 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1030 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1394 Context.UnsignedCharTy, Context.UnsignedShortTy, Context.UnsignedIntTy, in LayoutWideBitField()
1395 Context.UnsignedLongTy, Context.UnsignedLongLongTy in LayoutWideBitField()
1750 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(AS)); in LayoutField()
2258 MicrosoftRecordLayoutBuilder(const ASTContext &Context) : Context(Context) {} in MicrosoftRecordLayoutBuilder()
2509 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in initializeCXXLayout()
[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-12.1/contrib/llvm/lib/CodeGen/
H A DValueTypes.cpp18 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedTypeToInteger() local
19 return getIntegerVT(Context, getSizeInBits()); in changeExtendedTypeToInteger()
23 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementTypeToInteger() local
24 EVT IntTy = getIntegerVT(Context, getScalarSizeInBits()); in changeExtendedVectorElementTypeToInteger()
30 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT()
35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, in getExtendedVectorVT() argument
202 Type *EVT::getTypeForEVT(LLVMContext &Context) const { in getTypeForEVT()
207 case MVT::isVoid: return Type::getVoidTy(Context); in getTypeForEVT()
208 case MVT::i1: return Type::getInt1Ty(Context); in getTypeForEVT()
209 case MVT::i8: return Type::getInt8Ty(Context); in getTypeForEVT()
[all …]
/freebsd-12.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-12.1/contrib/llvm/lib/IR/
H A DProfileSummary.cpp31 Type *Int64Ty = Type::getInt64Ty(Context); in getKeyValMD()
32 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyValMD()
34 return MDTuple::get(Context, Ops); in getKeyValMD()
41 Metadata *Ops[2] = {MDString::get(Context, Key), MDString::get(Context, Val)}; in getKeyValMD()
42 return MDTuple::get(Context, Ops); in getKeyValMD()
52 Type *Int32Ty = Type::getInt32Ty(Context); in getDetailedSummaryMD()
53 Type *Int64Ty = Type::getInt64Ty(Context); in getDetailedSummaryMD()
63 return MDTuple::get(Context, Ops); in getDetailedSummaryMD()
75 getKeyValMD(Context, "MaxCount", getMaxCount()), in getMD()
80 getDetailedSummaryMD(Context), in getMD()
[all …]
H A DMDBuilder.cpp22 return MDString::get(Context, Str); in createString()
35 return MDNode::get(Context, Op); in createFPMath()
53 return MDNode::get(Context, Vals); in createBranchWeights()
57 return MDNode::get(Context, None); in createUnpredictable()
78 return MDNode::get(Context, Ops); in createFunctionEntryCount()
82 return MDNode::get(Context, in createFunctionSectionPrefix()
107 return MDNode::get(Context, Ops); in createCallees()
142 return MDNode::get(Context, in createTBAANode()
180 return MDNode::get(Context, Ops); in createTBAAStructTypeNode()
188 return MDNode::get(Context, in createTBAAScalarTypeNode()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2601 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in RewriteObjCBoolLiteralExpr()
2678 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCBoxedExpr()
2799 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCArrayLiteralExpr()
2950 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCDictionaryLiteralExpr()
3012 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
3240 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr()
3242 new (Context) DeclRefExpr(*Context, in SynthMessageExpr()
3336 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr()
3338 new (Context) DeclRefExpr(*Context, in SynthMessageExpr()
4976 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in SynthesizeByrefCopyDestroyHelper()
[all …]
H A DRewriteObjC.cpp67 ASTContext *Context; member in __anon0b295c890111::RewriteObjC
2562 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
2663 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr()
2665 new (Context) DeclRefExpr(*Context, in SynthMessageExpr()
2758 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr()
2760 new (Context) DeclRefExpr(*Context, in SynthMessageExpr()
2785 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr()
2987 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in SynthMessageExpr()
4125 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in SynthesizeByrefCopyDestroyHelper()
4127 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper()
[all …]
/freebsd-12.1/contrib/llvm/tools/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::__anon9a672b300111::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.cpp49 getUSRsForDeclaration(ND, Context.getASTContext()); in findSymbolOccurrences()
67 RenameOccurrences::initiate(RefactoringRuleContext &Context, in initiate() argument
72 return Context.createDiagnosticError( in initiate()
86 *Occurrences, Context.getASTContext().getSourceManager(), Name); in createSourceReplacements()
90 QualifiedRenameRule::initiate(RefactoringRuleContext &Context, in initiate() argument
94 getNamedDeclFor(Context.getASTContext(), OldQualifiedName); in initiate()
137 auto USRs = getUSRsForDeclaration(ND, Context.getASTContext()); in createSourceReplacements()
192 void HandleTranslationUnit(ASTContext &Context) override { in HandleTranslationUnit() argument
205 const SourceManager &SourceMgr = Context.getSourceManager(); in HandleOneRename()
208 USRs, PrevName, Context.getTranslationUnitDecl()); in HandleOneRename()
[all …]
H A DUSRLocFinder.cpp62 Context.getLangOpts()), in USRLocFindingASTVisitor()
63 USRSet(USRs.begin(), USRs.end()), PrevName(PrevName), Context(Context) { in USRLocFindingASTVisitor()
91 BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation()
94 Context.getSourceManager(), Context.getLangOpts()); in checkAndAddLocation()
107 const ASTContext &Context; member in clang::tooling::__anon1cca814e0111::USRLocFindingASTVisitor
159 : USRSet(USRs.begin(), USRs.end()), Context(Context) {} in RenameLocFinder()
171 const Decl *Context; member
354 auto Parents = Context.getParents(Loc); in VisitTypeLoc()
466 auto Parents = Context.getParents(Node); in getClosestAncestorDecl()
479 auto Parents = Context.getParents(Loc); in getParentTypeLoc()
[all …]
H A DUSRFindingAction.cpp64 AdditionalUSRFinder(const Decl *FoundDecl, ASTContext &Context) in AdditionalUSRFinder() argument
65 : FoundDecl(FoundDecl), Context(Context) {} in AdditionalUSRFinder()
69 TraverseDecl(Context.getTranslationUnitDecl()); in Find()
169 ASTContext &Context; member in clang::tooling::__anon61b30f150111::AdditionalUSRFinder
179 AdditionalUSRFinder Finder(ND, Context); in getUSRsForDeclaration()
197 DiagnosticsEngine &Engine = Context.getDiagnostics(); in FindSymbol()
242 AdditionalUSRFinder Finder(FoundDecl, Context); in FindSymbol()
247 void HandleTranslationUnit(ASTContext &Context) override { in HandleTranslationUnit() argument
248 const SourceManager &SourceMgr = Context.getSourceManager(); in HandleTranslationUnit()
250 if (!FindSymbol(Context, SourceMgr, Offset, "")) in HandleTranslationUnit()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp254 CallContext Context; in runOnMachineFunction() local
256 CallSeqVector.push_back(Context); in runOnMachineFunction()
359 Context.FrameSetup = FrameSetup; in collectCallInfo()
367 Context.NoStackParams = true; in collectCallInfo()
391 Context.SPCopy = &*J++; in collectCallInfo()
445 Context.ArgStoreVector[StackDisp] = &*I; in collectCallInfo()
463 Context.Call = &*I; in collectCallInfo()
469 auto MMI = Context.ArgStoreVector.begin(), MME = Context.ArgStoreVector.end(); in collectCallInfo()
484 Context.UsePush = true; in collectCallInfo()
584 if (Context.SPCopy && MRI->use_empty(Context.SPCopy->getOperand(0).getReg())) in adjustCallSequence()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp2366 Context, in ReadStmtFromStream()
2380 Context, in ReadStmtFromStream()
2386 Context, in ReadStmtFromStream()
2394 Context, in ReadStmtFromStream()
2401 Context, in ReadStmtFromStream()
2457 Context, in ReadStmtFromStream()
2463 Context, in ReadStmtFromStream()
2485 Context, in ReadStmtFromStream()
2501 Context, in ReadStmtFromStream()
3130 Context, in ReadStmtFromStream()
[all …]
/freebsd-12.1/contrib/llvm/tools/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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp226 ASTContext &Context = S.Context; in LookupObjCInterfaceDeclForLiteral() local
501 new (Context) ObjCBoxedExpr(ValueExpr, Context.DependentTy, nullptr, SR); in BuildObjCBoxedExpr()
516 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
965 Context.getObjCObjectType(Context.ObjCBuiltinIdTy, { }, in BuildObjCDictionaryLiteral()
1293 ASTContext &Context = S.Context; in getBaseMessageSendResultType() local
1828 return new (Context) in HandleExprPropertyRefExpr()
2699 Context, Context.DependentTy, VK_RValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage()
3315 ASTContext &Context; member in __anon375345810311::ARCCastChecker
3328 : Context(Context), SourceClass(source), TargetClass(target), in ARCCastChecker()
4329 return new (Context) in stripARCUnbridgedCast()
[all …]
H A DSemaDeclAttr.cpp404 D->addAttr(::new (S.Context) AttrType(SR, S.Context, SpellingIndex)); in handleSimpleAttribute()
1352 TD->addAttr(::new (S.Context) PackedAttr(AL.getRange(), S.Context, in handlePackedAttr()
2034 D->addAttr(::new (S.Context) NakedAttr(AL.getRange(), S.Context, in handleNakedAttr()
2213 D->addAttr(::new (S.Context) AttrTy(AL.getRange(), S.Context, Str, in handleAttrWithMessage()
2924 D->addAttr(::new (S.Context) WorkGroupAttr(AL.getRange(), S.Context, in handleWorkGroupSize()
2999 return ::new (Context) SectionAttr(Range, Context, Name, in mergeSectionAttr()
3065 return ::new (Context) CodeSegAttr(Range, Context, Name, in mergeCodeSegAttr()
4077 return ::new (Context) AlwaysInlineAttr(Range, Context, in mergeAlwaysInlineAttr()
4176 return ::new (Context) OptimizeNoneAttr(Range, Context, in mergeOptimizeNoneAttr()
4664 S.Context, S.Context.getConstType(S.Context.IntTy), /*consume*/ false); in makeLaunchBoundsArgExpr()
[all …]
H A DSema.cpp268 addImplicitTypedef("atomic_int", Context.getAtomicType(Context.IntTy)); in Initialize()
270 Context.getAtomicType(Context.UnsignedIntTy)); in Initialize()
271 auto AtomicLongT = Context.getAtomicType(Context.LongTy); in Initialize()
273 auto AtomicULongT = Context.getAtomicType(Context.UnsignedLongTy); in Initialize()
276 Context.getAtomicType(Context.FloatTy)); in Initialize()
277 auto AtomicDoubleT = Context.getAtomicType(Context.DoubleTy); in Initialize()
281 addImplicitTypedef("atomic_flag", Context.getAtomicType(Context.IntTy)); in Initialize()
282 auto AtomicIntPtrT = Context.getAtomicType(Context.getIntPtrType()); in Initialize()
284 auto AtomicUIntPtrT = Context.getAtomicType(Context.getUIntPtrType()); in Initialize()
286 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize()
[all …]
H A DSemaOverload.cpp1703 S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) { in IsStandardConversion()
1817 (&S.Context.getFloatTypeSemantics(S.Context.LongDoubleTy) == in IsStandardConversion()
2078 Context.IntTy, Context.UnsignedIntTy, in IsIntegralPromotion()
2079 Context.LongTy, Context.UnsignedLongTy , in IsIntegralPromotion()
2080 Context.LongLongTy, Context.UnsignedLongLongTy in IsIntegralPromotion()
4534 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) { in TryReferenceInit()
4966 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) { in TryListConversion()
7424 Context(SemaRef.Context) { } in BuiltinCandidateTypeSet()
12225 llvm::APSInt Zero(Context.getTypeSize(Context.IntTy), false); in CreateOverloadedUnaryOp()
12226 Args[1] = IntegerLiteral::Create(Context, Zero, Context.IntTy, in CreateOverloadedUnaryOp()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DLookup.cpp27 getAllNamedNamespaces(const DeclContext *Context) { in getAllNamedNamespaces() argument
29 auto GetNextNamedNamespace = [](const DeclContext *Context) { in getAllNamedNamespaces() argument
31 while (Context && (!isa<NamespaceDecl>(Context) || in getAllNamedNamespaces()
32 cast<NamespaceDecl>(Context)->isAnonymousNamespace())) in getAllNamedNamespaces()
33 Context = Context->getParent(); in getAllNamedNamespaces()
34 return Context; in getAllNamedNamespaces()
36 for (Context = GetNextNamedNamespace(Context); Context != nullptr; in getAllNamedNamespaces()
37 Context = GetNextNamedNamespace(Context->getParent())) in getAllNamedNamespaces()
38 Namespaces.push_back(cast<NamespaceDecl>(Context)); in getAllNamedNamespaces()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DNestedNameSpecifier.h113 static NestedNameSpecifier *FindOrInsert(const ASTContext &Context,
124 static NestedNameSpecifier *Create(const ASTContext &Context,
129 static NestedNameSpecifier *Create(const ASTContext &Context,
134 static NestedNameSpecifier *Create(const ASTContext &Context,
139 static NestedNameSpecifier *Create(const ASTContext &Context,
149 static NestedNameSpecifier *Create(const ASTContext &Context,
158 static NestedNameSpecifier *SuperSpecifier(const ASTContext &Context,
411 void Extend(ASTContext &Context, IdentifierInfo *Identifier,
425 void Extend(ASTContext &Context, NamespaceDecl *Namespace,
440 void Extend(ASTContext &Context, NamespaceAliasDecl *Alias,
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h76 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
85 clang::ASTContext * const Context; member
189 ASTContext &Context);
193 void matchAST(ASTContext &Context);
243 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
248 ASTContext &Context);
289 ASTContext &Context) { in match() argument
293 Finder.match(Node, Context); in match()
299 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match() argument
305 match(MatcherT Matcher, ASTContext &Context) { in match() argument
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DValueTypes.h68 return getExtendedIntegerVT(Context, BitWidth); in getIntegerVT()
80 return getExtendedVectorVT(Context, VT, NumElements);
90 return getExtendedVectorVT(Context, VT, EC.Min); in getVectorVT()
317 EVT getRoundIntegerType(LLVMContext &Context) const { in getRoundIntegerType()
322 return getIntegerVT(Context, 1 << Log2_32_Ceil(BitWidth)); in getRoundIntegerType()
328 EVT getHalfSizedIntegerVT(LLVMContext &Context) const { in getHalfSizedIntegerVT()
337 return getIntegerVT(Context, (EVTSize + 1) / 2); in getHalfSizedIntegerVT()
351 EVT getHalfNumVectorElementsVT(LLVMContext &Context) const { in getHalfNumVectorElementsVT()
355 return EVT::getVectorVT(Context, EltVT, EltCnt / 2); in getHalfNumVectorElementsVT()
366 EVT getPow2VectorType(LLVMContext &Context) const { in getPow2VectorType()
[all …]

12345678910>>...28