| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCObjectFileInfo.cpp | 55 EHFrameSection = Ctx->getMachOSection( in initMachOMCObjectFileInfo() 368 TLSBSSSection = Ctx->getELFSection( in initELFMCObjectFileInfo() 527 BSSSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 531 TextSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 537 DataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 752 PDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 756 XDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 885 TextSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo() 890 DataSection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo() 913 LSDASection = Ctx->getXCOFFSection( in initXCOFFMCObjectFileInfo() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | NSAPI.cpp | 47 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); in getNSStringSelector() 66 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); in getNSStringSelector() 69 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); in getNSStringSelector() 83 Sel = Ctx.Selectors.getNullarySelector(&Ctx.Idents.get("array")); in getNSArraySelector() 86 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("arrayWithArray")); in getNSArraySelector() 103 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithArray")); in getNSArraySelector() 109 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("objectAtIndex")); in getNSArraySelector() 120 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("addObject")); in getNSArraySelector() 161 Sel = Ctx.Selectors.getNullarySelector(&Ctx.Idents.get("dictionary")); in getNSDictionarySelector() 262 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("addObject")); in getNSSetSelector() [all …]
|
| H A D | QualTypeNames.cpp | 31 const ASTContext &Ctx, 50 const ASTContext &Ctx, const Decl *decl, 71 Ctx, NNS, WithGlobalNsPrefix); in getFullyQualifiedTemplateName() 134 Ctx, Arg, WithGlobalNsPrefix); in getFullyQualifiedTemplateType() 165 Ctx, Arg, WithGlobalNsPrefix); in getFullyQualifiedTemplateType() 227 Ctx, in getFullyQualifiedNestedNameSpecifier() 350 Ctx, in createNestedNameSpecifier() 370 Ctx, createOuterNNS(Ctx, TD, FullyQualify, WithGlobalNsPrefix), in createNestedNameSpecifier() 384 QT = Ctx.getPointerType(QT); in getFullyQualifiedType() 386 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType() [all …]
|
| H A D | ExprClassification.cpp | 43 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyImpl() 213 return ClassifyInternal(Ctx, in ClassifyInternal() 323 return ClassifyUnnamed(Ctx, cast<CallExpr>(E)->getCallReturnType(Ctx)); in ClassifyInternal() 373 return ClassifyUnnamed(Ctx, in ClassifyInternal() 501 if (E->getType() == Ctx.UnknownAnyTy) in ClassifyMemberExpr() 506 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyMemberExpr() 516 return ClassifyInternal(Ctx, Base); in ClassifyMemberExpr() 558 assert(Ctx.getLangOpts().CPlusPlus && in ClassifyBinaryOp() 594 assert(Ctx.getLangOpts().CPlusPlus && in ClassifyConditional() 658 if (Ctx.getLangOpts().OpenCL && in IsModifiable() [all …]
|
| H A D | ScanfFormatString.cpp | 238 return ArgType::PtrTo(Ctx.IntTy); in getArgType() 242 return ArgType::PtrTo(Ctx.ShortTy); in getArgType() 244 return ArgType::PtrTo(Ctx.LongTy); in getArgType() 247 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType() 258 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType() 321 return ArgType::PtrTo(Ctx.FloatTy); in getArgType() 323 return ArgType::PtrTo(Ctx.DoubleTy); in getArgType() 376 return ArgType::PtrTo(Ctx.IntTy); in getArgType() 380 return ArgType::PtrTo(Ctx.ShortTy); in getArgType() 382 return ArgType::PtrTo(Ctx.LongTy); in getArgType() [all …]
|
| H A D | PrintfFormatString.cpp | 493 return Ctx.IntTy; in getScalarArgType() 499 return Ctx.IntTy; in getScalarArgType() 509 return Ctx.LongLongTy; in getScalarArgType() 512 return Ctx.IntTy; in getScalarArgType() 580 return Ctx.HalfTy; in getScalarArgType() 582 return Ctx.FloatTy; in getScalarArgType() 585 return Ctx.DoubleTy; in getScalarArgType() 591 return Ctx.DoubleTy; in getScalarArgType() 631 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType() 640 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 73 if (Ctx.Ptr == Ctx.End) in readUint8() 79 if (Ctx.Ptr + 4 > Ctx.End) in readUint32() 87 if (Ctx.Ptr + 4 > Ctx.End) in readFloat32() 96 if (Ctx.Ptr + 8 > Ctx.End) in readFloat64() 272 Ctx.Ptr = Ctx.Start + 4; in WasmObjectFile() 305 Ctx.Ptr = Ctx.Start; in parseSection() 352 if (Ctx.Ptr != Ctx.End) in parseDylinkSection() 422 if (Ctx.Ptr != Ctx.End) in parseNameSection() 811 if (Ctx.Ptr != Ctx.End) in parseProducersSection() 840 if (Ctx.Ptr != Ctx.End) in parseTargetFeaturesSection() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRAsmBackend.cpp | 49 if (Ctx) { in signed_width() 68 if (Ctx) { in unsigned_width() 106 adjustBranch(Size, Fixup, Value, Ctx); in fixup_call() 213 MCContext *Ctx = nullptr) { in lo8() argument 215 ldi::fixup(Size, Fixup, Value, Ctx); in lo8() 219 MCContext *Ctx = nullptr) { in hi8() argument 221 ldi::fixup(Size, Fixup, Value, Ctx); in hi8() 225 MCContext *Ctx = nullptr) { in hh8() argument 227 ldi::fixup(Size, Fixup, Value, Ctx); in hh8() 233 ldi::fixup(Size, Fixup, Value, Ctx); in ms8() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | LocalizationChecker.cpp | 162 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods() 166 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods() 195 &Ctx.Idents.get("buttonWithTitle"), &Ctx.Idents.get("image"), in initUIMethods() 196 &Ctx.Idents.get("target"), &Ctx.Idents.get("action")}; in initUIMethods() 203 &Ctx.Idents.get("buttonWithTitle"), &Ctx.Idents.get("target"), in initUIMethods() 233 &Ctx.Idents.get("actionWithTitle"), &Ctx.Idents.get("style"), in initUIMethods() 281 &Ctx.Idents.get("setLabel"), &Ctx.Idents.get("forSegment")}; in initUIMethods() 361 &Ctx.Idents.get("initWithName"), &Ctx.Idents.get("target"), in initUIMethods() 439 &Ctx.Idents.get("order"), &Ctx.Idents.get("handler")}; in initUIMethods() 552 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("style"), in initUIMethods() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 104 CallingContext Ctx(nullptr, D); in translateAttrExpr() local 109 Ctx.SelfArg = ME->getBase(); in translateAttrExpr() 118 Ctx.FunArgs = CE->getArgs(); in translateAttrExpr() 122 Ctx.FunArgs = CE->getArgs(); in translateAttrExpr() 125 Ctx.SelfArg = DeclExp; in translateAttrExpr() 130 if (SelfDecl && !Ctx.SelfArg) { in translateAttrExpr() 134 Ctx.SelfArg = &SelfDRE; in translateAttrExpr() 281 if (Ctx && Ctx->FunArgs) { in translateDeclRefExpr() 288 return translate(Ctx->FunArgs[I], Ctx->Prev); in translateDeclRefExpr() 305 if (Ctx && Ctx->SelfArg) in translateCXXThisExpr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGLoopInfo.cpp | 51 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.pipeline.disable"), in createPipeliningMetadata() 107 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.unroll.disable"))); in createPartialUnrollMetadata() 159 Ctx, MDString::get(Ctx, "llvm.loop.unroll_and_jam.disable"))); in createUnrollAndJamMetadata() 195 Ctx, {MDString::get(Ctx, "llvm.loop.unroll_and_jam.followup_outer"), in createUnrollAndJamMetadata() 200 Ctx, {MDString::get(Ctx, "llvm.loop.unroll_and_jam.followup_inner"), in createUnrollAndJamMetadata() 229 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.vectorize.enable"), in createLoopVectorizeMetadata() 243 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.isvectorized"))); in createLoopVectorizeMetadata() 311 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.vectorize.enable"), in createLoopVectorizeMetadata() 318 Ctx, in createLoopVectorizeMetadata() 369 Ctx, in createLoopDistributeMetadata() [all …]
|
| H A D | CGNonTrivialStruct.cpp | 28 return FD->getBitWidthValue(Ctx); in getFieldSize() 29 return Ctx.getTypeSize(FT); in getFieldSize() 37 StructVisitor(ASTContext &Ctx) : Ctx(Ctx) {} in StructVisitor() 74 ASTContext &Ctx; member 83 CopyStructVisitor(ASTContext &Ctx) : StructVisitor<Derived>(Ctx) {} in CopyStructVisitor() 221 : StructVisitor<Derived>(Ctx) { in GenUnaryFuncName() 311 QualType ParamTy = Ctx.getPointerType(Ctx.VoidPtrTy); in getFunctionInfo() 315 Ctx, nullptr, SourceLocation(), &Ctx.Idents.get(ValNameStr[I]), ParamTy, in getFunctionInfo() 514 GenBinaryFunc(ASTContext &Ctx) : CopyStructVisitor<Derived, IsMove>(Ctx) {} in GenBinaryFunc() 583 GenDestructor(ASTContext &Ctx) : StructVisitor<GenDestructor>(Ctx) {} in GenDestructor() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 525 return create(Add, LHS, RHS, Ctx); in createAdd() 530 return create(And, LHS, RHS, Ctx); in createAnd() 535 return create(Div, LHS, RHS, Ctx); in createDiv() 540 return create(EQ, LHS, RHS, Ctx); in createEQ() 545 return create(GT, LHS, RHS, Ctx); in createGT() 550 return create(GTE, LHS, RHS, Ctx); in createGTE() 560 return create(LOr, LHS, RHS, Ctx); in createLOr() 565 return create(LT, LHS, RHS, Ctx); in createLT() 570 return create(LTE, LHS, RHS, Ctx); in createLTE() 585 return create(NE, LHS, RHS, Ctx); in createNE() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIChecker.cpp | 40 ProgramStateRef State = Ctx.getState(); in checkDoubleNonblocking() 48 Ctx.addTransition(ErrorNode->getState(), ErrorNode); in checkDoubleNonblocking() 53 Ctx.addTransition(State); in checkDoubleNonblocking() 75 ProgramStateRef State = Ctx.getState(); in checkUnmatchedWaits() 95 Ctx.addTransition(State); in checkUnmatchedWaits() 97 Ctx.addTransition(State, ErrorNode); in checkUnmatchedWaits() 103 ProgramStateRef State = Ctx.getState(); in checkMissingWaits() 129 Ctx.addTransition(State); in checkMissingWaits() 131 Ctx.addTransition(State, ErrorNode); in checkMissingWaits() 165 Ctx.getState(), SuperRegion, Ctx.getSValBuilder(), in allRegionsUsedByWait() [all …]
|
| H A D | MPIChecker.h | 35 void checkPreCall(const CallEvent &CE, CheckerContext &Ctx) const { in checkPreCall() argument 36 dynamicInit(Ctx); in checkPreCall() 37 checkUnmatchedWaits(CE, Ctx); in checkPreCall() 38 checkDoubleNonblocking(CE, Ctx); in checkPreCall() 42 dynamicInit(Ctx); in checkDeadSymbols() 43 checkMissingWaits(SymReaper, Ctx); in checkDeadSymbols() 46 void dynamicInit(CheckerContext &Ctx) const { in dynamicInit() argument 50 .reset(new MPIFunctionClassifier{Ctx.getASTContext()}); in dynamicInit() 67 clang::ento::CheckerContext &Ctx) const; 73 clang::ento::CheckerContext &Ctx) const; [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 31 LabelScope(ByteCodeStmtGen<Emitter> *Ctx) : Ctx(Ctx) {} in LabelScope() argument 33 ByteCodeStmtGen<Emitter> *Ctx; member in clang::interp::LabelScope 44 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in LoopScope() 45 OldContinueLabel(Ctx->ContinueLabel) { in LoopScope() 46 this->Ctx->BreakLabel = BreakLabel; in LoopScope() 47 this->Ctx->ContinueLabel = ContinueLabel; in LoopScope() 51 this->Ctx->BreakLabel = OldBreakLabel; in ~LoopScope() 69 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in SwitchScope() 72 this->Ctx->BreakLabel = BreakLabel; in SwitchScope() 73 this->Ctx->DefaultLabel = DefaultLabel; in SwitchScope() [all …]
|
| H A D | ByteCodeExprGen.h | 59 Context &Ctx; variable 67 : Emitter(Ctx, P, Args...), Ctx(Ctx), P(P) {} in ByteCodeExprGen() 92 auto &ASTContext = Ctx.getASTContext(); in getIntWidth() 98 auto &ASTContext = Ctx.getASTContext(); in getCharBit() 107 return Ctx.classify(Ty); in classify() 268 : Ctx(Ctx), Parent(Ctx->VarScope) { in VariableScope() 269 Ctx->VarScope = this; in VariableScope() 273 ByteCodeExprGen<Emitter> *Ctx; variable 284 LocalScope(ByteCodeExprGen<Emitter> *Ctx) : VariableScope<Emitter>(Ctx) {} in LocalScope() argument 311 BlockScope(ByteCodeExprGen<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in BlockScope() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.cpp | 135 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) { in formatSymbol() 148 } else if (!getSymbol(Ctx.COFF, Ctx.COFF.getImageBase() + Displacement, in formatSymbol() 174 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) in resolveRelocation() 185 ResolvedSection = Ctx.COFF.getCOFFSection(**SI); in resolveRelocation() 319 void Dumper::printRuntimeFunction(const Context &Ctx, in printRuntimeFunction() argument 333 XData = getSectionContaining(Ctx.COFF, Address); in printRuntimeFunction() 341 reportError(std::move(E), Ctx.COFF.getFileName()); in printRuntimeFunction() 350 printUnwindInfo(Ctx, XData, Offset, *UI); in printRuntimeFunction() 353 void Dumper::printData(const Context &Ctx) { in printData() argument 354 for (const auto &Section : Ctx.COFF.sections()) { in printData() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64ELFObjectWriter.cpp | 140 Ctx.reportError(Fixup.getLoc(), in getRelocType() 148 Ctx.reportError(Fixup.getLoc(), in getRelocType() 170 Ctx.reportError(Fixup.getLoc(), in getRelocType() 204 Ctx.reportError(Fixup.getLoc(), in getRelocType() 228 Ctx.reportError(Fixup.getLoc(), in getRelocType() 243 Ctx.reportError(Fixup.getLoc(), in getRelocType() 258 Ctx.reportError(Fixup.getLoc(), in getRelocType() 317 Ctx.reportError(Fixup.getLoc(), in getRelocType() 366 Ctx.reportError(Fixup.getLoc(), in getRelocType() 381 Ctx.reportError(Fixup.getLoc(), in getRelocType() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 44 SourceManager &SM = Ctx.getSourceManager(); in isEmptyARCMTMacroStatement() 77 ASTContext &Ctx; member in __anon49635ec20111::EmptyChecker 82 : Ctx(ctx), MacroLocs(macroLocs) { } in EmptyChecker() 101 if (hasSideEffects(condE, Ctx)) in VisitIfStmt() 113 if (hasSideEffects(condE, Ctx)) in VisitWhileStmt() 123 if (hasSideEffects(condE, Ctx)) in VisitDoStmt() 133 if (hasSideEffects(Exp, Ctx)) in VisitObjCForCollectionStmt() 170 ASTContext &getContext() { return Pass.Ctx; } in getContext() 187 if (!EmptyChecker(Ctx, MacroLocs).Visit(I)) in isBodyEmpty() 194 ASTContext &Ctx = pass.Ctx; in cleanupDeallocOrFinalize() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 340 Ctx.getTypeSize(FromTy)); in getCastExpr() 361 *RetTy = Ctx.BoolTy; in getBinExpr() 369 *RetTy = Ctx.getPointerDiffType(); in getBinExpr() 430 return fromData(Solver, Ctx, SD); in getSymExpr() 561 NewInt = Int.extend(Ctx.getTypeSize(Ctx.BoolTy)); in fixAPSInt() 582 Solver, Ctx, LHS, LTy, RHS, RTy); in doTypeConversion() 588 Solver, Ctx, LHS, LTy, RHS, RTy); in doTypeConversion() 621 assert((Ctx.getTypeSize(LTy) == Ctx.getTypeSize(RTy)) && in doTypeConversion() 651 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doIntTypeConversion() 652 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doIntTypeConversion() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStubCommon.cpp | 24 ScalarTraits<StringRef>::output(Value, Ctx, OS); in output() 28 return ScalarTraits<StringRef>::input(Value, Ctx, Out.value); in input() 48 const auto *Ctx = reinterpret_cast<TextAPIContext *>(IO); in output() local 49 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in output() 52 if (Ctx && Ctx->FileKind == TBD_V3 && Values.count(PlatformKind::macOS) && in output() 95 const auto *Ctx = reinterpret_cast<TextAPIContext *>(IO); in input() local 96 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in input() 100 if (Ctx && Ctx->FileKind == FileType::TBD_V3) { in input() 119 if (Ctx && Ctx->FileKind != FileType::TBD_V3) in input() 191 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in input() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCDisassembler/ |
| H A D | MCExternalSymbolizer.cpp | 93 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); in tryAddingSymbolicOperand() 94 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 104 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); in tryAddingSymbolicOperand() 105 Sub = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 113 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand() 119 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand() 121 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand() 123 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand() 128 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand() 135 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMELFObjectWriter.cpp | 31 bool IsPCRel, MCContext &Ctx) const; 38 unsigned getRelocType(MCContext &Ctx, const MCValue &Target, 75 return GetRelocTypeInner(Target, Fixup, IsPCRel, Ctx); in getRelocType() 81 MCContext &Ctx) const { in GetRelocTypeInner() 95 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner() 167 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner() 176 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner() 185 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner() 249 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner() 260 Ctx.reportError(Fixup.getLoc(), in GetRelocTypeInner() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingPlatformFuchsia.c | 67 struct lprofVMOWriterCtx *Ctx = (struct lprofVMOWriterCtx *)This->WriterCtx; in lprofVMOWriter() local 75 zx_status_t Status = _zx_vmo_set_size(Ctx->Vmo, Ctx->Offset + Length); in lprofVMOWriter() 83 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter() 89 Ctx->Offset += Length; in lprofVMOWriter() 93 _zx_object_set_property(Ctx->Vmo, ZX_PROP_VMO_CONTENT_SIZE, &Ctx->Offset, in lprofVMOWriter() 94 sizeof(Ctx->Offset)); in lprofVMOWriter() 99 static void initVMOWriter(ProfDataWriter *This, struct lprofVMOWriterCtx *Ctx) { in initVMOWriter() argument 101 This->WriterCtx = Ctx; in initVMOWriter() 150 struct lprofVMOWriterCtx Ctx = {.Vmo = Vmo, .Offset = 0}; in __llvm_profile_initialize() local 151 initVMOWriter(&VMOWriter, &Ctx); in __llvm_profile_initialize()
|