Home
last modified time | relevance | path

Searched refs:TPC (Results 1 – 25 of 75) sorted by relevance

123

/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.cpp32 TracePC TPC; variable
471 fuzzer::TPC.HandlePCsInit(pcs_beg, pcs_end); in __sanitizer_cov_pcs_init()
478 fuzzer::TPC.HandleCallerCallee(PC, Callee); in __sanitizer_cov_trace_pc_indir()
486 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp8()
497 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp8()
505 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp4()
513 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp4()
521 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp2()
529 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp2()
537 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp1()
[all …]
H A DFuzzerLoop.cpp145 TPC.ResetMaps(); in Fuzzer()
149 TPC.SetUseCounters(Options.UseCounters); in Fuzzer()
153 TPC.PrintModuleInfo(); in Fuzzer()
329 if (size_t N = TPC.GetTotalPCCoverage()) in PrintStats()
402 TPC.ForEachObservedPC(HandlePC); in CheckExitOnSrcPosOrItem()
520 TPC.CollectFeatures([&](uint32_t Feature) { in RunOne()
535 TPC.UpdateObservedPCs(); in RunOne()
591 TPC.RecordInitialStack(); in ExecuteCallback()
610 TPC.ResetMaps(); in ExecuteCallback()
864 TPC.SetFocusFunction(FocusFunctionOrAuto); in Loop()
[all …]
H A DFuzzerMerge.cpp234 TPC.ResetMaps(); in CrashResistantMergeInternalStep()
241 TPC.CollectFeatures([&](size_t Feature) { Features.insert(Feature); }); in CrashResistantMergeInternalStep()
243 TPC.CollectFeatures([&](size_t Feature) { in CrashResistantMergeInternalStep()
247 TPC.UpdateObservedPCs(); in CrashResistantMergeInternalStep()
259 TPC.ForEachObservedPC([&](const TracePC::PCTableEntry *TE) { in CrashResistantMergeInternalStep()
261 OF << " " << TPC.PCTableEntryIdx(TE); in CrashResistantMergeInternalStep()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombiner.cpp90 Combiner::Combiner(CombinerInfo &Info, const TargetPassConfig *TPC) in Combiner() argument
91 : CInfo(Info), TPC(TPC) { in Combiner()
92 (void)this->TPC; // FIXME: Remove when used. in Combiner()
H A DInstructionSelect.cpp90 const TargetPassConfig &TPC = getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
122 reportGISelFailure(MF, TPC, MORE, "gisel-select", in runOnMachineFunction()
189 reportGISelFailure(MF, TPC, MORE, "gisel-select", "cannot select", MI); in runOnMachineFunction()
266 reportGISelFailure(MF, TPC, MORE, "gisel-select", in runOnMachineFunction()
274 MF, TPC, MORE, "gisel-select", in runOnMachineFunction()
285 reportGISelFailure(MF, TPC, MORE, R); in runOnMachineFunction()
H A DLegalizer.cpp310 const TargetPassConfig &TPC = getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
321 : TPC.isGISelCSEEnabled(); in runOnMachineFunction()
324 CSEInfo = &Wrapper.get(TPC.getCSEConfig()); in runOnMachineFunction()
344 reportGISelFailure(MF, TPC, MORE, "gisel-legalize", in runOnMachineFunction()
355 reportGISelFailure(MF, TPC, MORE, R); in runOnMachineFunction()
366 reportGISelWarning(MF, TPC, MORE, R); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DTargetOptionsTest.cpp55 TargetPassConfig *TPC = LLVMTM->createPassConfig(PM); in targetOptionsTest() local
56 (void)TPC; in targetOptionsTest()
60 delete TPC; in targetOptionsTest()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAssembler.cpp54 TargetPassConfig &TPC) { in addPass() argument
69 TPC.printAndVerify(Banner); in addPass()
228 TargetPassConfig *TPC = TM->createPassConfig(PM); in assembleToStream() local
229 PM.add(TPC); in assembleToStream()
231 TPC->printAndVerify("MachineFunctionGenerator::assemble"); in assembleToStream()
234 TPC->printAndVerify("After ExegesisTarget::addTargetSpecificPasses"); in assembleToStream()
241 if (addPass(PM, PassName, *TPC)) in assembleToStream()
243 TPC->setInitialized(); in assembleToStream()
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentParser.cpp286 S.actOnTParamCommandParamNameArg(TPC, in parseTParamCommandArgs()
311 TParamCommandComment *TPC = nullptr; in parseBlockCommand() local
341 } else if (TPC) { in parseBlockCommand()
342 S.actOnTParamCommandFinish(TPC, Paragraph); in parseBlockCommand()
343 return TPC; in parseBlockCommand()
350 if (PC || TPC || Info->NumArgs > 0) { in parseBlockCommand()
357 else if (TPC) in parseBlockCommand()
358 parseTParamCommandArgs(TPC, Retokenizer); in parseBlockCommand()
390 } else if (TPC) { in parseBlockCommand()
391 S.actOnTParamCommandFinish(TPC, Paragraph); in parseBlockCommand()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateKernelFeatures.cpp129 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in doInitialization() local
130 if (!TPC) in doInitialization()
133 TM = &TPC->getTM<TargetMachine>(); in doInitialization()
H A DAMDGPUPropagateAttributes.cpp375 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnFunction() local
376 if (!TPC) in runOnFunction()
379 TM = &TPC->getTM<TargetMachine>(); in runOnFunction()
390 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnModule() local
391 if (!TPC) in runOnModule()
394 TM = &TPC->getTM<TargetMachine>(); in runOnModule()
H A DAMDGPULowerIntrinsics.cpp124 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in makeLIDRangeMetadata() local
125 if (!TPC) in makeLIDRangeMetadata()
128 const TargetMachine &TM = TPC->getTM<TargetMachine>(); in makeLIDRangeMetadata()
/llvm-project-15.0.7/llvm/tools/llc/
H A Dllc.cpp427 StringRef PassName, TargetPassConfig &TPC) { in addPass() argument
448 TPC.addMachinePrePasses(); in addPass()
450 TPC.addMachinePostPasses(Banner); in addPass()
686 TargetPassConfig &TPC = *LLVMTM.createPassConfig(PM); in compileModule() local
687 if (TPC.hasLimitedCodeGenPipeline()) { in compileModule()
690 << TPC.getLimitedCodeGenPipelineReason(" and ") << ".\n"; in compileModule()
694 TPC.setDisableVerify(NoVerify); in compileModule()
695 PM.add(&TPC); in compileModule()
697 TPC.printAndVerify(""); in compileModule()
699 if (addPass(PM, argv0, RunPassName, TPC)) in compileModule()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DLiveDebugValues.cpp88 TargetPassConfig *TPC; member in __anonc0b7f6610111::LiveDebugValues
113 TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnMachineFunction()
123 return TheImpl->ExtendRanges(MF, DomTree, TPC, InputBBLimit, in runOnMachineFunction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombiner.h28 Combiner(CombinerInfo &CombinerInfo, const TargetPassConfig *TPC);
39 const TargetPassConfig *TPC; variable
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsModuleISelDAGToDAG.cpp49 auto &TPC = getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
50 auto &TM = TPC.getTM<MipsTargetMachine>(); in runOnMachineFunction()
H A DMipsPreLegalizerCombiner.cpp100 auto *TPC = &getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
102 Combiner C(PCInfo, TPC); in runOnMachineFunction()
H A DMipsPostLegalizerCombiner.cpp118 auto *TPC = &getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
130 Combiner C(PCInfo, TPC); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp156 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnModule() local
157 if (!TPC) in runOnModule()
160 auto &TM = TPC->getTM<PPCTargetMachine>(); in runOnModule()
H A DPPCGenScalarMASSEntries.cpp111 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnModule() local
112 if (!TPC || skipModule(M)) in runOnModule()
H A DPPCBoolRetToInt.cpp193 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnFunction() local
194 if (!TPC) in runOnFunction()
197 auto &TM = TPC->getTM<PPCTargetMachine>(); in runOnFunction()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp67 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnModule() local
68 if (!TPC) in runOnModule()
71 auto &TM = TPC->getTM<TargetMachine>(); in runOnModule()
H A DIndirectBrExpandPass.cpp83 auto *TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnFunction() local
84 if (!TPC) in runOnFunction()
87 auto &TM = TPC->getTM<TargetMachine>(); in runOnFunction()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64O0PreLegalizerCombiner.cpp148 auto &TPC = getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
154 Combiner C(PCInfo, &TPC); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp157 auto &TPC = getAnalysis<TargetPassConfig>(); in runOnFunction() local
158 auto &TM = TPC.getTM<RISCVTargetMachine>(); in runOnFunction()

123