| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Z3Solver.cpp | 153 Z3_inc_ref(Context.Context, AST); in Z3Expr() 158 Z3_inc_ref(Context.Context, AST); in Z3Expr() 165 Z3_dec_ref(Context.Context, AST); in operator =() 175 Z3_dec_ref(Context.Context, AST); in ~Z3Expr() 184 assert(Z3_is_eq_sort(Context.Context, Z3_get_sort(Context.Context, AST), in equal_to() 312 Z3Sort(Context, Z3_mk_bv_sort(Context.Context, BitWidth))); in getBitvectorSort() 419 Z3Expr(Context, Z3_mk_bvor(Context.Context, toZ3Expr(*LHS).AST, in mkBVOr() 489 Z3Expr(Context, Z3_mk_eq(Context.Context, toZ3Expr(*LHS).AST, in mkEqual() 763 Z3Expr(Context, Z3_mk_const(Context.Context, in mkSymbol() 848 Context.Context, Z3_to_app(Context.Context, toZ3Expr(*Exp).AST)); in getInterpretation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 21 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedTypeToInteger() local 22 return getIntegerVT(Context, getSizeInBits()); in changeExtendedTypeToInteger() 27 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementTypeToInteger() local 34 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementType() local 40 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT() 202 Type *EVT::getTypeForEVT(LLVMContext &Context) const { in getTypeForEVT() 208 case MVT::isVoid: return Type::getVoidTy(Context); in getTypeForEVT() 209 case MVT::i1: return Type::getInt1Ty(Context); in getTypeForEVT() 212 case MVT::i8: return Type::getInt8Ty(Context); in getTypeForEVT() 213 case MVT::i16: return Type::getInt16Ty(Context); in getTypeForEVT() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 1415 if (Context.Complain) { in IsStructurallyEquivalent() 1416 Context.Diag2( in IsStructurallyEquivalent() 1430 if (Context.Complain) { in IsStructurallyEquivalent() 1431 Context.Diag2( in IsStructurallyEquivalent() 1587 if (Context.Complain) { in IsStructurallyEquivalent() 1588 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( in IsStructurallyEquivalent() 1809 if (Context.Complain) { in IsStructurallyEquivalent() 1810 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( in IsStructurallyEquivalent() 1894 if (Context.Complain) { in IsStructurallyEquivalent() 1895 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( in IsStructurallyEquivalent() [all …]
|
| H A D | RecordLayoutBuilder.cpp | 106 const ASTContext &Context; member in __anonb9bd28ab0111::EmptySubobjectMap 171 : Context(Context), CharWidth(Context.getCharWidth()), Class(Class) { in EmptySubobjectMap() 582 const ASTContext &Context; member in __anonb9bd28ab0111::ItaniumRecordLayoutBuilder 693 : Context(Context), EmptySubobjects(EmptySubobjects), Size(0), in ItaniumRecordLayoutBuilder() 1479 Context.UnsignedCharTy, Context.UnsignedShortTy, Context.UnsignedIntTy, in LayoutWideBitField() 1480 Context.UnsignedLongTy, Context.UnsignedLongLongTy in LayoutWideBitField() 1622 if (StorageUnitSize < Context.getTypeSize(Context.UnsignedIntTy)) { in LayoutBitField() 1625 StorageUnitSize = Context.getTypeSize(Context.UnsignedIntTy); in LayoutBitField() 1626 } else if (StorageUnitSize > Context.getTypeSize(Context.UnsignedIntTy) && in LayoutBitField() 2165 Context.toBits(!Context.getTargetInfo().defaultsToAIXPowerAlignment() in FinishLayout() [all …]
|
| H A D | NestedNameSpecifier.cpp | 59 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-14.2/usr.sbin/ppp/ |
| H A D | chap_ms.c | 157 SHA_CTX Context; in ChallengeHash() local 167 SHA1_Init(&Context); in ChallengeHash() 219 SHA_CTX Context; in GenerateAuthenticatorResponse() local 251 SHA1_Init(&Context); in GenerateAuthenticatorResponse() 257 SHA1_Init(&Context); in GenerateAuthenticatorResponse() 281 SHA_CTX Context; in GetMasterKey() local 287 SHA1_Init(&Context); in GetMasterKey() 300 SHA_CTX Context; in GetAsymetricStartKey() local 339 SHA1_Init(&Context); in GetAsymetricStartKey() 353 SHA_CTX Context; in GetNewKeyFromSHA() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | SourceCode.h | 28 ASTContext &Context); 35 ASTContext &Context) { in getExtendedRange() argument 37 Next, Context); in getExtendedRange() 52 StringRef getText(CharSourceRange Range, const ASTContext &Context); 56 StringRef getText(const T &Node, const ASTContext &Context) { in getText() argument 58 Context); in getText() 85 ASTContext &Context) { in getExtendedText() argument 86 return getText(getExtendedRange(Node, Next, Context), Context); in getExtendedText() 119 return getFileRangeForEdit(EditRange, Context.getSourceManager(), 139 return getFileRange(EditRange, Context.getSourceManager(), in getFileRange() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCodeBuilders.cpp | 77 StringRef Text = getText(E, Context); in buildParens() 97 StringRef Text = getText(E, Context); in buildDereference() 120 StringRef Text = getText(E, Context); in buildAddressOf() 146 StringRef Text = getText(E, Context); in buildAccessForValue() 172 StringRef Text = getText(E, Context); in buildAccessForPointer() 182 return buildAccessForValue(E, Context); in buildDot() 187 return buildAccessForPointer(E, Context); in buildArrow() 206 return isKnownPointerLikeType(Ty, Context); in treatLikePointer() 230 return buildAccessForPointer(*E, Context); in buildAccess() 235 return buildAccessForPointer(*Obj, Context); in buildAccess() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | MDBuilder.cpp | 21 return MDString::get(Context, Str); in createString() 34 return MDNode::get(Context, Op); in createFPMath() 52 return MDNode::get(Context, Vals); in createBranchWeights() 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() 158 return MDNode::get(Context, Ops); in createRTTIPointerPrologue() 210 return MDNode::get(Context, in createTBAANode() [all …]
|
| H A D | ProfileSummary.cpp | 28 Type *Int64Ty = Type::getInt64Ty(Context); in getKeyValMD() 29 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyValMD() 31 return MDTuple::get(Context, Ops); in getKeyValMD() 36 Type *DoubleTy = Type::getDoubleTy(Context); in getKeyFPValMD() 39 return MDTuple::get(Context, Ops); in getKeyFPValMD() 46 Metadata *Ops[2] = {MDString::get(Context, Key), MDString::get(Context, Val)}; in getKeyValMD() 47 return MDTuple::get(Context, Ops); in getKeyValMD() 57 Type *Int32Ty = Type::getInt32Ty(Context); in getDetailedSummaryMD() 58 Type *Int64Ty = Type::getInt64Ty(Context); in getDetailedSummaryMD() 68 return MDTuple::get(Context, Ops); in getDetailedSummaryMD() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 68 ASTContext *Context; member in __anonceb1b5150111::RewriteModernObjC 2607 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in RewriteObjCBoolLiteralExpr() 2684 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCBoxedExpr() 2805 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCArrayLiteralExpr() 2957 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE); in RewriteObjCDictionaryLiteralExpr() 3019 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType() 3247 Context, Context->getObjCIdType(), CK_BitCast, in SynthMessageExpr() 3339 Context, Context->getObjCIdType(), CK_BitCast, in SynthMessageExpr() 3359 NoTypeInfoCStyleCastExpr(Context, Context->getObjCIdType(), in SynthMessageExpr() 4969 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); in SynthesizeByrefCopyDestroyHelper() [all …]
|
| H A D | RewriteObjC.cpp | 66 ASTContext *Context; member in __anone4fa00500111::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-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFinder.cpp | 38 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::__anon0ce6a5f70111::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 D | RenamingAction.cpp | 48 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-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | ExtractAPIVisitor.h | 43 ExtractAPIVisitorBase(ASTContext &Context, APISet &API) in ExtractAPIVisitorBase() argument 44 : Context(Context), API(API) {} in ExtractAPIVisitorBase() 156 ASTContext &Context; variable 198 APIRecord *determineParentRecord(const DeclContext *Context) { in determineParentRecord() argument 200 if (Context->getDeclKind() == Decl::TranslationUnit) in determineParentRecord() 270 SymbolReference Context; in VisitVarDecl() local 274 Context.Name = Record->getName(); in VisitVarDecl() 275 Context.USR = API.recordUSR(Record); in VisitVarDecl() 297 for (const auto &P : Context.getParents(*Method)) { in VisitFunctionDecl() 1415 ExtractAPIVisitor(ASTContext &Context, APISet &API) : Base(Context, API) {} in ExtractAPIVisitor() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelectionRequirements.cpp | 17 ASTSelectionRequirement::evaluate(RefactoringRuleContext &Context) const { in evaluate() 20 SourceRangeSelectionRequirement::evaluate(Context); in evaluate() 25 findSelectedASTNodes(Context.getASTContext(), *Range); in evaluate() 27 return Context.createDiagnosticError( in evaluate() 33 RefactoringRuleContext &Context) const { in evaluate() 36 ASTSelectionRequirement::evaluate(Context); in evaluate() 42 CodeRangeASTSelection::create(Context.getSelectionRange(), in evaluate() 45 return Context.createDiagnosticError( in evaluate() 46 Context.getSelectionRange().getBegin(), in evaluate() 48 Context.setASTSelection(std::move(StoredSelection)); in evaluate()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchFinder.h | 85 clang::ASTContext * const Context; member 195 match(clang::DynTypedNode::create(Node), Context); in match() 201 void matchAST(ASTContext &Context); 258 ASTContext &Context); 303 ASTContext &Context) { in match() argument 307 Finder.match(Node, Context); in match() 319 match(MatcherT Matcher, ASTContext &Context) { in match() argument 323 Finder.matchAST(Context); in match() 329 ASTContext &Context) { in matchDynamic() argument 333 Finder.match(Node, Context); in matchDynamic() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GenericConvergenceVerifierImpl.h | 72 {Context.print(&I)}); in visit() 75 {Context.print(&I)}); in visit() 79 {Context.print(&I)}); in visit() 85 {Context.print(&I)}); in visit() 89 {Context.print(&I)}); in visit() 93 {Context.print(&I)}); in visit() 106 {Context.print(&I)}); in visit() 110 {Context.print(&I)}); in visit() 148 {Context.print(Token), Context.print(User)}); in verify() 180 {Context.print(User), Context.printAsOperand(BB), CI.print(BBCycle)}); in verify() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 35 : 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-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CallFrameOptimization.cpp | 260 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() 583 if (Context.SPCopy && MRI->use_empty(Context.SPCopy->getOperand(0).getReg())) in adjustCallSequence() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaRISCVVectorLookup.cpp | 91 QT = Context.VoidTy; in RVVType2Qual() 94 QT = Context.getSizeType(); in RVVType2Qual() 103 QT = Context.LongTy; in RVVType2Qual() 106 QT = Context.BoolTy; in RVVType2Qual() 115 QT = Context.BFloat16Ty; in RVVType2Qual() 120 QT = Context.DoubleTy; in RVVType2Qual() 123 QT = Context.FloatTy; in RVVType2Qual() 126 QT = Context.Float16Ty; in RVVType2Qual() 157 ASTContext &Context; member in __anon4488c39f0211::RISCVIntrinsicManagerImpl 184 RISCVIntrinsicManagerImpl(clang::Sema &S) : S(S), Context(S.Context) { in RISCVIntrinsicManagerImpl() [all …]
|
| H A D | SemaDeclAttr.cpp | 403 D->addAttr(::new (S.Context) AttrType(S.Context, CI)); in handleSimpleAttribute() 2193 D->addAttr(::new (S.Context) NakedAttr(S.Context, AL)); in handleNakedAttr() 2893 return ::new (S.Context) T(S.Context, CI, value); in mergeVisibilityAttr() 3317 return ::new (Context) SectionAttr(Context, CI, Name); in mergeSectionAttr() 3417 return ::new (Context) CodeSegAttr(Context, CI, Name); in mergeCodeSegAttr() 4931 return ::new (Context) AlwaysInlineAttr(Context, CI); in mergeAlwaysInlineAttr() 4987 return ::new (Context) MinSizeAttr(Context, CI); in mergeMinSizeAttr() 5022 return ::new (Context) OptimizeNoneAttr(Context, CI); in mergeOptimizeNoneAttr() 5685 S.Context, S.Context.getConstType(S.Context.IntTy), /*consume*/ false); in makeLaunchBoundsArgExpr() 8129 return ::new (Context) DLLImportAttr(Context, CI); in mergeDLLImportAttr() [all …]
|
| H A D | SemaExprObjC.cpp | 228 ASTContext &Context = S.Context; in LookupObjCInterfaceDeclForLiteral() local 504 new (Context) ObjCBoxedExpr(ValueExpr, Context.DependentTy, nullptr, SR); in BuildObjCBoxedExpr() 519 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr() 1152 StrTy = Context.getStringLiteralArrayType(Context.CharTy, Str.size()); in BuildObjCEncodeExpression() 1462 ASTContext &Context = S.Context; in getBaseMessageSendResultType() local 2006 return new (Context) in HandleExprPropertyRefExpr() 2010 return new (Context) in HandleExprPropertyRefExpr() 2093 return new (Context) in HandleExprPropertyRefExpr() 2891 Context, Context.DependentTy, VK_PRValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage() 3540 ASTContext &Context; member in __anond6eeefa80411::ARCCastChecker [all …]
|
| H A D | Sema.cpp | 357 Context.getAtomicType(Context.UnsignedIntTy)); in Initialize() 359 Context.getAtomicType(Context.FloatTy)); in Initialize() 378 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize() 382 Context.getAtomicType(Context.getPointerDiffType()); in Initialize() 389 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize() 394 auto AtomicHalfT = Context.getAtomicType(Context.HalfTy); in Initialize() 404 auto AtomicDoubleT = Context.getAtomicType(Context.DoubleTy); in Initialize() 408 auto AtomicLongT = Context.getAtomicType(Context.LongTy); in Initialize() 409 auto AtomicULongT = Context.getAtomicType(Context.UnsignedLongTy); in Initialize() 414 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 2887 Context, in ReadStmtFromStream() 2901 Context, in ReadStmtFromStream() 2916 Context, in ReadStmtFromStream() 2923 Context, in ReadStmtFromStream() 2985 Context, in ReadStmtFromStream() 3021 Context, in ReadStmtFromStream() 3037 Context, in ReadStmtFromStream() 3224 Context, in ReadStmtFromStream() 3866 Context, in ReadStmtFromStream() 3876 Context, in ReadStmtFromStream() [all …]
|