| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | JTFootprintReduction.cpp | 64 BC.MIB->matchIndJmp(BC.MIB->matchAnyOperand(), in checkOpportunities() 68 IndJmpMatcher->match(*BC.MRI, *BC.MIB, in checkOpportunities() 91 BC.MIB->matchIndJmp(BC.MIB->matchAdd( in checkOpportunities() 93 BC.MIB->matchLoad(BC.MIB->matchReg(BaseReg2), in checkOpportunities() 98 BC.MIB->matchAdd(BC.MIB->matchLoadAddr(BC.MIB->matchSymbol()), in checkOpportunities() 101 *BC.MRI, *BC.MIB, in checkOpportunities() 105 *BC.MRI, *BC.MIB, in checkOpportunities() 141 BC.MIB->matchIndJmp(BC.MIB->matchAnyOperand(Base), in tryOptimizeNonPIC() 144 if (!IndJmpMatcher->match(*BC.MRI, *BC.MIB, in tryOptimizeNonPIC() 181 BC.MIB->matchIndJmp(BC.MIB->matchAdd( in tryOptimizePIC() [all …]
|
| H A D | RegReAssign.cpp | 53 Operand.setReg(BC.MIB->getAliasSized(B, BC.MIB->getRegSize(Reg))); in swap() 60 Operand.setReg(BC.MIB->getAliasSized(A, BC.MIB->getRegSize(Reg))); in swap() 87 BC.MIB->getAliasSized(B, BC.MIB->getRegSize(Reg2)), in swap() 94 BC.MIB->getAliasSized(A, BC.MIB->getRegSize(Reg2)), in swap() 123 BC.MIB->getAliasSized(B, BC.MIB->getRegSize(Reg)), false)); in swap() 128 BC.MIB->getAliasSized(A, BC.MIB->getRegSize(Reg)), false)); in swap() 260 AliveAtStart |= BC.MIB->getAliases(BC.MIB->getFramePointer(), false); in aggressivePassOverFunction() 349 (void)BC; in conservativePassOverFunction() 375 ClassicRegs |= BC.MIB->getAliases(BC.MIB->getFramePointer(), false); in setupConservativePass() 404 setupAggressivePass(BC, BC.getBinaryFunctions()); in runOnFunctions() [all …]
|
| H A D | Instrumentation.cpp | 180 BC.MIB->createInstrIncMemory(CounterInstrs, Label, &*BC.Ctx, IsLeaf); in createInstrumentationSnippet() 512 if (!BC.isX86()) in runOnFunctions() 549 BC.getBinaryFunctionAtAddress(*BC.StartFunctionAddress); in runOnFunctions() 562 BC.MIB->createCall(NewInst, Target, BC.Ctx.get()); in runOnFunctions() 637 BC.MIB->createNumCountersGetter(BC.Ctx.get())); in createAuxiliaryFunctions() 641 BC.MIB->createInstrTablesGetter(BC.Ctx.get())); in createAuxiliaryFunctions() 645 if (BC.isELF()) { in createAuxiliaryFunctions() 648 BC.getBinaryFunctionAtAddress(*BC.StartFunctionAddress); in createAuxiliaryFunctions() 653 BC.MIB->createSymbolTrampoline(StartSym, BC.Ctx.get())); in createAuxiliaryFunctions() 657 BC.getBinaryFunctionAtAddress(*BC.FiniFunctionAddress); in createAuxiliaryFunctions() [all …]
|
| H A D | AllocCombiner.cpp | 32 return BC.MIB->evaluateStackOffsetExpr( in getStackAdjustmentSize() 38 if (BC.MIB->isCFI(Inst)) in isIndifferentToSP() 41 const MCInstrDesc II = BC.MII->get(Inst.getOpcode()); in isIndifferentToSP() 42 if (BC.MIB->isTerminator(Inst) || in isIndifferentToSP() 43 II.hasImplicitDefOfPhysReg(BC.MIB->getStackPointer(), BC.MRI.get()) || in isIndifferentToSP() 69 BinaryContext &BC = BF.getBinaryContext(); in combineAdjustments() local 74 if (isIndifferentToSP(Inst, BC)) in combineAdjustments() 78 if (!Prev || !BC.MIB->isStackAdjustment(Inst) || in combineAdjustments() 79 !BC.MIB->isStackAdjustment(*Prev) || in combineAdjustments() 92 if (BC.MIB->isSUB(Inst)) in combineAdjustments() [all …]
|
| H A D | LongJmp.cpp | 40 BC.MIB->createShortJmp(Seq, Tgt, BC.Ctx.get()); in relaxStubToShortJmp() 48 BC.MIB->createLongJmp(Seq, Tgt, BC.Ctx.get()); in relaxStubToLongJmp() 69 return (BC.MIB->isBranch(Inst) || BC.MIB->isCall(Inst)) && in shouldInsertStub() 70 !BC.MIB->isIndirectBranch(Inst) && !BC.MIB->isIndirectCall(Inst); in shouldInsertStub() 84 BC.MIB->createUncondBranch(Inst, TgtSym, BC.Ctx.get()); in createNewStub() 250 BC.MIB->replaceBranchTarget(Inst, StubSymbol, BC.Ctx.get()); in replaceTargetWithStub() 342 if (!BC.shouldEmit(*Func)) { in tentativeLayoutRelocMode() 383 if (!BC.HasRelocations) { in tentativeLayout() 489 if (BC.isAArch64() && !BC.HasFixedLoadAddress) { in relaxStub() 550 if (BC.MIB->isPseudo(Inst)) in relax() [all …]
|
| H A D | ThreeWayBranch.cpp | 21 BinaryContext &BC = Function.getBinaryContext(); in shouldRunOnFunction() local 24 if (BC.MIB->isPacked(Inst)) in shouldRunOnFunction() 30 BinaryContext &BC = Function.getBinaryContext(); in runOnFunction() local 31 MCContext *Ctx = BC.Ctx.get(); in runOnFunction() 86 BC.MIB->getInvertedCondCode(BC.MIB->getCondCodesLogicalOr( in runOnFunction() 87 BC.MIB->getInvertedCondCode(BC.MIB->getCondCode(*SecondJump)), in runOnFunction() 92 BC.MIB->getInvertedCondCode(BC.MIB->getCondCodesLogicalOr( in runOnFunction() 95 if (!BC.MIB->isValidCondCode(FirstCC) || in runOnFunction() 96 !BC.MIB->isValidCondCode(ThirdCC) || !BC.MIB->isValidCondCode(SecondCC)) in runOnFunction() 137 BC.MIB->replaceBranchCondition( in runOnFunction() [all …]
|
| H A D | AsmDump.cpp | 74 const BinaryContext &BC = BF.getBinaryContext(); in dumpTailCallFdata() local 160 BC.createIndependentMCCodeEmitter(); in dumpFunction() 163 BC.TheTarget->createMCAsmBackend(*BC.STI, *BC.MRI, MCTargetOptions())); in dumpFunction() 166 *BC.TheTriple, AsmPrinterVariant, *BC.AsmInfo, *BC.MII, *BC.MRI)); in dumpFunction() 175 AsmStreamer->initSections(true, *BC.STI); in dumpFunction() 206 if (BC.MIB->isPseudo(Instr)) { in dumpFunction() 207 if (BC.MIB->isCFI(Instr)) in dumpFunction() 213 bool IsCall = BC.MIB->isCall(Instr); in dumpFunction() 231 BC.InstPrinter->printInst(&Instr, 0, "", *BC.STI, OS); in dumpFunction() 235 if (BC.MIB->getJumpTable(Instr)) in dumpFunction() [all …]
|
| H A D | Inliner.cpp | 130 BC.MIB->createCall(Inst, BC.Ctx->createNamedTempSymbol(), BC.Ctx.get()); in getSizeOfCallInst() 141 BC.MIB->createTailCall(Inst, BC.Ctx->createNamedTempSymbol(), BC.Ctx.get()); in getSizeOfTailCallInst() 172 if (BC.MIB->isTailCall(Inst)) in getInliningInfo() 175 if (BC.MIB->isCFI(Inst)) { in getInliningInfo() 180 if (BC.MIB->isCall(Inst)) in getInliningInfo() 184 if (BC.MIB->isPush(Inst) || BC.MIB->isPop(Inst)) in getInliningInfo() 214 !BC.MIB->isTailCall(*LastInst)) { in getInliningInfo() 241 auto &MIB = *BC.MIB; in inlineCall() 326 BC.Ctx.get()); in inlineCall() 513 findInliningCandidates(BC); in runOnFunctions() [all …]
|
| H A D | ValidateInternalCalls.cpp | 68 if (BC.MIB->isReturn(Point)) { in computeNext() 189 if (!BC.MIB->isReturn(Inst)) in fixCFGForIC() 203 if (BC.MIB->isTailCall(Inst)) in hasTailCallsInRange() 213 BinaryContext &BC = Function.getBinaryContext(); in analyzeFunction() local 268 BC.MIB->getTouchedRegs(Use, UsedRegs); in analyzeFunction() 284 BC.InstPrinter->printInst(TargetInst, 0, "", *BC.STI, dbgs()); in analyzeFunction() 286 BC.InstPrinter->printInst(&Use, 0, "", *BC.STI, dbgs()); in analyzeFunction() 294 BC.InstPrinter->printInst(&Use, 0, "", *BC.STI, dbgs()); in analyzeFunction() 308 if (!BC.isX86()) in runOnFunctions() 313 for (auto &BFI : BC.getBinaryFunctions()) { in runOnFunctions() [all …]
|
| H A D | BinaryPasses.cpp | 544 if (BC.HasRelocations) in runOnFunctions() 967 if (!BC.isX86()) in runOnFunctions() 1003 if (!BC.MIB->shortenInstruction(Inst, *BC.STI)) in shortenInstructions() 1007 BC.scopeLock(); in shortenInstructions() 1023 if (!BC.isX86()) in runOnFunctions() 1204 if (!BC.HasRelocations) in runOnFunctions() 1599 if (!BC.isX86()) in runOnFunctions() 1624 if (!BC.isX86()) in runOnFunctions() 1711 if (!BC.isX86()) in runOnFunctions() 1767 BC.MIB->createCmpJE(BC.MIB->getIntArgRegister(2), 1, in runOnFunctions() [all …]
|
| H A D | FrameOptimizer.cpp | 242 FA = std::make_unique<FrameAnalysis>(BC, *CG); in runOnFunctions() 248 RA = std::make_unique<RegAnalysis>(BC, &BC.getBinaryFunctions(), CG.get()); in runOnFunctions() 253 for (auto &I : BC.getBinaryFunctions()) { in runOnFunctions() 265 << BC.getHotThreshold() << " )\n"); in runOnFunctions() 289 performShrinkWrapping(*RA, *FA, BC); in runOnFunctions() 318 BC.MIB->getOrCreateAnnotationIndex( in performShrinkWrapping() 320 BC.MIB->getOrCreateAnnotationIndex("ReachingDefs"); in performShrinkWrapping() 321 BC.MIB->getOrCreateAnnotationIndex("ReachingUses"); in performShrinkWrapping() 330 BC.MIB->getOrCreateAnnotationIndex("ShrinkWrap-Todo"); in performShrinkWrapping() 333 BC.MIB->getOrCreateAnnotationIndex("ReachingInsns"); in performShrinkWrapping() [all …]
|
| H A D | PatchEntries.cpp | 33 void PatchEntries::runOnFunctions(BinaryContext &BC) { in runOnFunctions() argument 38 for (auto &BFI : BC.getBinaryFunctions()) { in runOnFunctions() 40 if (!BC.shouldEmit(Function) && !Function.hasExternalRefRelocations()) { in runOnFunctions() 57 BC.MIB->createLongTailCall(Seq, BC.Ctx->createTempSymbol(), BC.Ctx.get()); in runOnFunctions() 58 PatchSize = BC.computeCodeSize(Seq.begin(), Seq.end()); in runOnFunctions() 61 for (auto &BFI : BC.getBinaryFunctions()) { in runOnFunctions() 65 if (!BC.shouldEmit(Function)) in runOnFunctions() 112 BinaryFunction *PatchFunction = BC.createInjectedBinaryFunction( in runOnFunctions() 120 BC.MIB->createLongTailCall(Seq, Patch.Symbol, BC.Ctx.get()); in runOnFunctions() 125 std::tie(HotSize, ColdSize) = BC.calculateEmittedSize(*PatchFunction); in runOnFunctions()
|
| H A D | ADRRelaxationPass.cpp | 31 BinaryContext &BC = BF.getBinaryContext(); in runOnFunction() local 35 if (!BC.MIB->isADR(Inst)) in runOnFunction() 38 const MCSymbol *Symbol = BC.MIB->getTargetSymbol(Inst); in runOnFunction() 48 BinaryFunction *TargetBF = BC.getFunctionForSymbol(Symbol); in runOnFunction() 53 BC.MIB->getADRReg(Inst, Reg); in runOnFunction() 54 int64_t Addend = BC.MIB->getTargetAddend(Inst); in runOnFunction() 56 BC.MIB->materializeAddress(Symbol, BC.Ctx.get(), Reg, Addend); in runOnFunction() 62 void ADRRelaxationPass::runOnFunctions(BinaryContext &BC) { in runOnFunctions() argument 63 if (!opts::AdrPassOpt || !BC.HasRelocations) in runOnFunctions() 71 BC, ParallelUtilities::SchedulingPolicy::SP_TRIVIAL, WorkFun, nullptr, in runOnFunctions()
|
| H A D | ShrinkWrapping.cpp | 232 .hasDefOfPhysReg(Point, BC.MIB->getFramePointer(), *BC.MRI)) in checkFramePointerInitialization() 262 .hasDefOfPhysReg(Point, BC.MIB->getStackPointer(), *BC.MRI)) in checkStackPointerRestore() 373 if (Reg == BC.MIB->getStackPointer() || Reg == BC.MIB->getFramePointer()) { in classifyCFIs() 518 if (BC.MIB->isPush(Inst) || BC.MIB->isPop(Inst)) in collapseRegion() 616 if (BC.MIB->isPush(Inst) || BC.MIB->isPop(Inst)) in insertRegion() 633 assert(BC.MIB->isPop(Inst) || BC.MIB->isPush(Inst)); in performChanges() 687 Success = BC.MIB->addToImm(Inst, Adjustment, &*BC.Ctx); in performChanges() 730 const BitVector &FPAliases = BC.MIB->getAliases(BC.MIB->getFramePointer()); in classifyCSRUses() 1679 if (!BC.MIB->createSaveToStack(NewInst, BC.MIB->getStackPointer(), in createStackAccess() 1694 if (!BC.MIB->createRestoreFromStack(NewInst, BC.MIB->getFramePointer(), in createStackAccess() [all …]
|
| H A D | TailDuplication.cpp | 84 if (!BC.MIB->isCall(Inst)) in getCallerSavedRegs() 87 BC.MIB->getCalleeSavedRegs(CallRegs); in getCallerSavedRegs() 95 BC.MIB->getWrittenRegs(Inst, WrittenRegs); in regIsPossiblyOverwritten() 96 getCallerSavedRegs(Inst, WrittenRegs, BC); in regIsPossiblyOverwritten() 97 if (BC.MIB->isRep(Inst)) in regIsPossiblyOverwritten() 98 BC.MIB->getRepRegs(WrittenRegs); in regIsPossiblyOverwritten() 109 if (BC.MIB->isRep(Inst)) in regIsDefinitelyOverwritten() 110 BC.MIB->getRepRegs(WrittenRegs); in regIsDefinitelyOverwritten() 118 BC.MIB->getSrcRegs(Inst, SrcRegs); in regIsUsed() 119 SrcRegs &= BC.MIB->getAliases(Reg, true); in regIsUsed() [all …]
|
| H A D | StokeInfo.cpp | 39 LLVM_DEBUG(dbgs() << BC.MRI->getName(RegIdx) << " "); in getRegNameFromBitVec() 41 NameVec->insert(std::string(BC.MRI->getName(RegIdx))); in getRegNameFromBitVec() 141 void StokeInfo::runOnFunctions(BinaryContext &BC) { in runOnFunctions() argument 157 BinaryFunctionCallGraph CG = buildCallGraph(BC); in runOnFunctions() 158 RegAnalysis RA(BC, &BC.getBinaryFunctions(), &CG); in runOnFunctions() 160 NumRegs = BC.MRI->getNumRegs(); in runOnFunctions() 166 BC.MIB->getDefaultDefIn(DefaultDefInMask); in runOnFunctions() 167 BC.MIB->getDefaultLiveOut(DefaultLiveOutMask); in runOnFunctions() 169 getRegNameFromBitVec(BC, DefaultDefInMask); in runOnFunctions() 170 getRegNameFromBitVec(BC, DefaultLiveOutMask); in runOnFunctions() [all …]
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | thinlto-function-summary.ll | 4 ; BC: <SOURCE_FILENAME 8 ; BC-NEXT: <FUNCTION op0=1 op1=3 10 ; BC-NEXT: <FUNCTION op0=4 op1=3 12 ; BC-NEXT: <FUNCTION op0=7 op1=39 14 ; BC-NEXT: <FUNCTION op0=46 op1=8 18 ; BC-NEXT: <ALIAS op0=67 op1=1 19 ; BC: <GLOBALVAL_SUMMARY_BLOCK 20 ; BC-NEXT: <VERSION 21 ; BC-NEXT: <FLAGS 27 ; BC-NEXT: <BLOCK_COUNT op0=5/> [all …]
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | ParallelUtilities.cpp | 83 return BC.getBinaryFunctions().size(); in estimateTotalCost() 86 for (auto &BFI : BC.getBinaryFunctions()) { in estimateTotalCost() 97 TotalCost = BC.getBinaryFunctions().size(); in estimateTotalCost() 117 if (BC.getBinaryFunctions().size() == 0) in runOnEachFunction() 136 runBlock(BC.getBinaryFunctions().begin(), BC.getBinaryFunctions().end()); in runOnEachFunction() 151 for (auto It = BC.getBinaryFunctions().begin(); in runOnEachFunction() 152 It != BC.getBinaryFunctions().end(); ++It) { in runOnEachFunction() 170 if (BC.getBinaryFunctions().size() == 0) in runOnEachFunctionWithUniqueAllocId() 191 runBlock(BC.getBinaryFunctions().begin(), BC.getBinaryFunctions().end(), 0); in runOnEachFunctionWithUniqueAllocId() 208 for (auto It = BC.getBinaryFunctions().begin(); in runOnEachFunctionWithUniqueAllocId() [all …]
|
| H A D | BinaryFunction.cpp | 210 if (BC.isELF()) in buildSectionName() 1821 if (BC.MIB->isLeave(Instr) || BC.MIB->isPop(Instr)) { in postProcessIndirectBranches() 1953 if (!BC.MIB->isPseudo(*RII) && !BC.MIB->isNoop(*RII)) { in buildCFG() 3744 BC.MIB->matchIndJmp(BC.MIB->matchReg(BaseReg1), in disambiguateJumpTables() 3748 *BC.MRI, *BC.MIB, in disambiguateJumpTables() 3757 BC.MIB->matchLoad(BC.MIB->matchReg(BaseReg1), in disambiguateJumpTables() 3764 *BC.MRI, *BC.MIB, in disambiguateJumpTables() 3776 BC.MIB->matchIndJmp(BC.MIB->matchAdd( in disambiguateJumpTables() 3778 BC.MIB->matchLoad(BC.MIB->matchReg(BaseReg2), in disambiguateJumpTables() 3788 *BC.MRI, *BC.MIB, in disambiguateJumpTables() [all …]
|
| H A D | BinaryEmitter.cpp | 120 BinaryContext &BC; member in __anon00ef77ed0111::BinaryEmitter 124 : Streamer(Streamer), BC(BC) {} in BinaryEmitter() 222 if (!BC.shouldEmit(*Function)) in emitFunctions() 284 if (BC.HasRelocations) { in emitFunction() 436 if (BC.MIB->isEHLabel(Instr)) { in emitFunctionBody() 443 if (BC.MIB->isCFI(Instr)) { in emitFunctionBody() 681 BC.Ctx->clearDwarfLocSeen(); in emitLineInfo() 700 BC.Ctx->clearDwarfLocSeen(); in emitLineInfoEnd() 723 BC.HasRelocations) { in emitJumpTables() 917 if (BC.HasFixedLoadAddress) { in emitLSDA() [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | LivenessAnalysis.h | 57 BitVector FP = BC.MIB->getAliases(BC.MIB->getFramePointer()); in scavengeRegAfter() 78 BC.MIB->getDefaultLiveOut(State); in getStartingStateAtBB() 79 BC.MIB->getCalleeSavedRegs(State); in getStartingStateAtBB() 82 State.reset(BC.MIB->getFlagsReg()); in getStartingStateAtBB() 112 BC.MIB->getDefaultLiveOut(Written); in computeNext() 117 BC.MIB->getCalleeSavedRegs(CSR); in computeNext() 126 if (!this->BC.MIB->isCFI(Point)) { in computeNext() 127 if (BC.MIB->isCleanRegXOR(Point)) in computeNext() 135 BC.MIB->getDefaultLiveOut(Used); in computeNext() 150 (!BC.MIB->isTailCall(Point) || !BC.MIB->isConditionalBranch(Point))) { in computeNext() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | RewriteInstance.cpp | 363 BC->TheTriple->getArch(), BC->MIA.get(), BC->MII.get(), BC->MRI.get()))); in RewriteInstance() 420 BC->EFMM.reset(new ExecutableFileMemoryManager(*BC, /*AllowStubs*/ false)); in discoverStorage() 437 BC->FirstAllocAddress = std::min(BC->FirstAllocAddress, in discoverStorage() 1658 if (BC->isAArch64() && !BC->HasRelocations) in adjustCommandLineOptions() 1670 if (BC->isX86() && BC->MAB->allowAutoPadding()) { in adjustCommandLineOptions() 1705 if (BC->isX86() && BC->HasRelocations && in adjustCommandLineOptions() 2987 BC->TotalScore = 0; in postProcessFunctions() 3027 BinaryContext &BC; member in __anonc7c09cfe1711::BOLTSymbolResolver 3030 BOLTSymbolResolver(BinaryContext &BC) : BC(BC) {} in BOLTSymbolResolver() argument 3586 BC->getUniqueSectionByName(BC->getMainCodeSectionName()); in mapCodeSections() [all …]
|
| H A D | MachORewriteInstance.cpp | 107 BC = std::move(BCOrErr.get()); in MachORewriteInstance() 109 BC->TheTriple->getArch(), BC->MIA.get(), BC->MII.get(), BC->MRI.get()))); in MachORewriteInstance() 156 BC->registerSection(Section); in readSpecialSections() 167 BC->printSections(outs()); in readSpecialSections() 295 for (auto &BFI : BC->getBinaryFunctions()) { in discoverFileObjects() 365 BinaryFunctionPassManager Manager(*BC); in runOptimizationPasses() 455 BinaryContext &BC; member in llvm::bolt::__anonf2314c260611::BOLTSymbolResolver 457 BOLTSymbolResolver(BinaryContext &BC) : BC(BC) {} in BOLTSymbolResolver() argument 493 auto Streamer = BC->createStreamer(*OS); in emitAndLink() 510 BC->EFMM.reset(new ExecutableFileMemoryManager(*BC, /*AllowStubs*/ false)); in emitAndLink() [all …]
|
| /llvm-project-15.0.7/bolt/unittests/Core/ |
| H A D | MCPlusBuilder.cpp | 52 BC = cantFail(BinaryContext::createBinaryContext( in initializeBolt() 54 ASSERT_FALSE(!BC); in initializeBolt() 56 GetParam(), BC->MIA.get(), BC->MII.get(), BC->MRI.get()))); in initializeBolt() 73 std::unique_ptr<BinaryContext> BC; member 124 bool Replaced = BC->MIB->replaceRegWithImm(*II, X86::EBX, 1); in TEST_P() 135 bool Success = BC->MIB->createTailCall(Inst, BC->Ctx->createNamedTempSymbol(), in TEST_P() 136 BC->Ctx.get()); in TEST_P() 138 MCSymbol *LPSymbol = BC->Ctx->createNamedTempSymbol("LP"); in TEST_P() 141 BC->MIB->addEHInfo(Inst, MCPlus::MCLandingPad(LPSymbol, Value)); in TEST_P() 152 Success = BC->MIB->createTailCall(Inst, BC->Ctx->createNamedTempSymbol(), in TEST_P() [all …]
|
| /llvm-project-15.0.7/bolt/lib/RuntimeLibs/ |
| H A D | InstrumentationRuntimeLibrary.cpp | 44 const BinaryContext &BC) const { in adjustCommandLineOptions() 45 if (!BC.HasRelocations) { in adjustCommandLineOptions() 54 if (!BC.StartFunctionAddress) { in adjustCommandLineOptions() 60 if (!BC.FiniFunctionAddress && !BC.IsStaticExecutable) { in adjustCommandLineOptions() 70 MCSection *Section = BC.isELF() in emitBinary() 131 auto emitValue = [&BC, &Streamer, emitDataPadding, in emitBinary() 165 emitPadding(BC.RegularPageSize); in emitBinary() 184 if (BC.isMachO()) { in emitBinary() 205 if (BC.isMachO()) in link() 230 emitTablesAsELFNote(BC); in link() [all …]
|