| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | ppc32-long-thunk.s | 26 # PI-NEXT: bl 0x2038 44 # PI-NEXT: 2018: mflr 0 46 # PI-NEXT: 2020: mflr 12 49 # PI-NEXT: mtlr 0 50 # PI-NEXT: mtctr 12 51 # PI-NEXT: bctr 54 # PI: <__LongThunk_>: 55 # PI-NEXT: 2038: mflr 0 57 # PI-NEXT: 2040: mflr 12 60 # PI-NEXT: mtlr 0 [all …]
|
| /llvm-project-15.0.7/llvm/test/Linker/ |
| H A D | partial-type-refinement-link.ll | 9 %PI = type { i8, i8, i8, i8, i8, i8, %"vector<const PI*>", %P* } 10 %"SmallVImpl<const PI*>" = type { i8, %PI* } 11 %"_V_base<const PI*>" = type { %"_V_base<const PI*>::_V_impl" } 12 %"_V_base<const PI*>::_V_impl" = type { %PI*, i8, i8 } 14 %"vector<const PI*>" = type { %"_V_base<const PI*>" } 16 define void @f(%"SmallVImpl<const PI*>"* %this) { 18 …%x = getelementptr inbounds %"SmallVImpl<const PI*>", %"SmallVImpl<const PI*>"* %this, i64 0, i32 1
|
| H A D | partial-type-refinement.ll | 4 ; CHECK: load %PI*, %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>", %"RegisterP<Lower… 11 %PI = type { i8, i8, i8, i8, i8, i8, %"vector<const PI*>", %P* } 12 %"RegisterP<LowerArrayLength>" = type { %PI } 13 %"_V_base<const PI*>" = type { %"_V_base<const PI*>::_V_impl" } 14 %"_V_base<const PI*>::_V_impl" = type { %PI*, i8, i8 } 16 %"vector<const PI*>" = type { %"_V_base<const PI*>" } 22 …%0 = load %PI*, %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>", %"RegisterP<LowerArr…
|
| /llvm-project-15.0.7/llvm/include/llvm/ |
| H A D | PassAnalysisSupport.h | 165 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument 168 if (AnalysisImpl.first == PI) { in findImplPass() 179 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { in addAnalysisImplsPair() argument 180 if (findImplPass(PI) == P) in addAnalysisImplsPair() 182 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); in addAnalysisImplsPair() 214 const void *PI = &AnalysisType::ID; in getAnalysisIfAvailable() local 216 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI); in getAnalysisIfAvailable() 236 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const { in getAnalysisID() argument 237 assert(PI && "getAnalysis for unregistered pass!"); in getAnalysisID() 242 Pass *ResultPass = Resolver->findImplPass(PI); in getAnalysisID() [all …]
|
| H A D | PassSupport.h | 39 PassInfo *PI = new PassInfo( \ 42 Registry.registerPass(*PI, true); \ 43 return PI; \ 59 PassInfo *PI = new PassInfo( \ 62 Registry.registerPass(*PI, true); \ 63 return PI; \ 157 PassInfo *PI = new PassInfo( \ 160 Registry.registerPass(*PI, true); \ 179 PassInfo *PI = new PassInfo( \ 182 Registry.registerPass(*PI, true); \
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | EarlyIfConversion.cpp | 515 PI.TReg = PI.PHI->getOperand(i).getReg(); in canConvertIf() 517 PI.FReg = PI.PHI->getOperand(i).getReg(); in canConvertIf() 524 PI.TReg, PI.FReg, PI.CondCycles, PI.TCycles, in canConvertIf() 615 PHIInfo &PI = PHIs[i]; in replacePHIInstrs() local 618 if (hasSameValue(*MRI, TII, PI.TReg, PI.FReg)) { in replacePHIInstrs() 629 PI.PHI = nullptr; in replacePHIInstrs() 647 if (hasSameValue(*MRI, TII, PI.TReg, PI.FReg)) { in rewritePHIOperands() 650 DstReg = PI.TReg; in rewritePHIOperands() 655 DstReg, Cond, PI.TReg, PI.FReg); in rewritePHIOperands() 949 unsigned TDepth = adjCycles(TBBTrace.getPHIDepth(*PI.PHI), PI.TCycles); in shouldConvertIf() [all …]
|
| H A D | MachinePassManager.cpp | 38 PassInstrumentation PI = MFAM.getResult<PassInstrumentationAnalysis>(M); in run() local 43 PI.pushBeforeNonSkippedPassCallback([&MFAM](StringRef PassID, Any IR) { in run() 84 PassInstrumentation PI = MFAM.getResult<PassInstrumentationAnalysis>(MF); in run() local 89 if (!PI.runBeforePass<MachineFunction>(*P, MF)) in run() 94 PI.runAfterPass(*P, MF, PassPA); in run()
|
| H A D | GCMetadata.cpp | 116 for (GCFunctionInfo::iterator PI = FD->begin(), PE = FD->end(); PI != PE; in runOnFunction() local 117 ++PI) { in runOnFunction() 119 OS << "\t" << PI->Label->getName() << ": " << "post-call" in runOnFunction() 123 for (const GCRoot &R : make_range(FD->live_begin(PI), FD->live_end(PI))) in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZHazardRecognizer.cpp | 176 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU() local 177 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU() 190 if (PI->Cycles > 1) in dumpSU() 191 OS << "(" << PI->Cycles << "cyc)"; in dumpSU() 297 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction() local 298 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction() 303 ProcResourceCounters[PI->ProcResourceIdx]; in EmitInstruction() 304 CurrCounter += PI->Cycles; in EmitInstruction() 315 CriticalResourceIdx = PI->ProcResourceIdx; in EmitInstruction() 402 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) in resourcesCost() [all …]
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | objc-modern-StretAPI.mm | 24 I* PI(); function 29 struct S s = [PI() Meth : 1 : (id)0]; 31 U u = [PI() Meth2 : 3.14]; 33 S s1 = [PI() VAMeth : 12, 13.4, 1000, "hello"]; 35 S s2 = [PI() VAMeth : 12]; 37 S s3 = [PI() VAMeth : 0, "hello", "there"]; 39 S s4 = [PI() VAMeth : 2, ^{}, &foo]; 41 return [PI() Meth1];
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | PassRegistry.cpp | 49 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass() argument 52 PassInfoMap.insert(std::make_pair(PI.getTypeInfo(), &PI)).second; in registerPass() 55 PassInfoStringMap[PI.getPassArgument()] = &PI; in registerPass() 59 Listener->passRegistered(&PI); in registerPass() 62 ToFree.push_back(std::unique_ptr<const PassInfo>(&PI)); in registerPass()
|
| H A D | LegacyPassManager.cpp | 669 if (PI && PI->isAnalysis() && findAnalysisPass(P->getPassID())) { in schedulePass() 689 if (!PI) { in schedulePass() 742 if (PI && !PI->isAnalysis() && shouldPrintBeforePass(PI->getPassArgument())) { in schedulePass() 753 if (PI && !PI->isAnalysis() && shouldPrintAfterPass(PI->getPassArgument())) { in schedulePass() 786 if (!PI) in findAnalysisPassInfo() 792 return PI; in findAnalysisPassInfo() 841 if (!PI->isAnalysisGroup()) in dumpArguments() 872 AnalysisID PI = P->getPassID(); in recordAvailableAnalysis() local 874 AvailableAnalysis[PI] = P; in recordAvailableAnalysis() 1004 AvailableAnalysis.erase(PI); in freePass() [all …]
|
| H A D | Pass.cpp | 82 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName() local 83 if (PI) in getPassName() 84 return PI->getPassName(); in getPassName() 195 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass() local 196 if (!PI) in createPass() 198 return PI->createPass(); in createPass() 270 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved() local 272 if (PI) in addPreserved() 273 pushUnique(Preserved, PI->getTypeInfo()); in addPreserved()
|
| H A D | BasicBlock.cpp | 262 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getSinglePredecessor() local 263 if (PI == E) return nullptr; // No preds. in getSinglePredecessor() 264 const BasicBlock *ThePred = *PI; in getSinglePredecessor() 265 ++PI; in getSinglePredecessor() 266 return (PI == E) ? ThePred : nullptr /*multiple preds*/; in getSinglePredecessor() 270 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getUniquePredecessor() local 271 if (PI == E) return nullptr; // No preds. in getUniquePredecessor() 272 const BasicBlock *PredBB = *PI; in getUniquePredecessor() 273 ++PI; in getUniquePredecessor() 274 for (;PI != E; ++PI) { in getUniquePredecessor() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Program.cpp | 25 static bool Execute(ProcessInfo &PI, StringRef Program, 39 ProcessInfo PI; in ExecuteAndWait() local 40 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteAndWait() 45 Wait(PI, SecondsToWait, /*WaitUntilTerminates=*/SecondsToWait == 0, in ExecuteAndWait() 62 ProcessInfo PI; in ExecuteNoWait() local 65 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteNoWait() 70 return PI; in ExecuteNoWait()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPassManager.cpp | 77 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithLoopNestPasses() local 93 PassPA = runSinglePass(L, Pass, AM, AR, U, PI); in runWithLoopNestPasses() 104 PassPA = runSinglePass(*LoopNestPtr, Pass, AM, AR, U, PI); in runWithLoopNestPasses() 149 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithoutLoopNestPasses() local 194 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(F); in run() local 199 if (PI.runBeforePass<Function>(LoopCanonicalizationFPM, F)) { in run() 201 PI.runAfterPass<Function>(LoopCanonicalizationFPM, F, PA); in run() 291 if (!PI.runBeforePass<Loop>(*Pass, *L)) in run() 302 PI.runAfterPassInvalidated<Loop>(*Pass, PassPA); in run() 304 PI.runAfterPass<Loop>(*Pass, *L, PassPA); in run() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | TimePassesTest.cpp | 67 PassInstrumentation PI(&PIC); in TEST() local 120 PassInstrumentation PI(&PIC); in TEST() local 137 PI.runBeforePass(Pass1, M); in TEST() 138 PI.runBeforePass(Pass2, M); in TEST() 139 PI.runAfterPass(Pass2, M, PreservedAnalyses::all()); in TEST() 140 PI.runAfterPass(Pass1, M, PreservedAnalyses::all()); in TEST() 158 PI.runBeforePass(Pass2, M); in TEST() 159 PI.runAfterPass(Pass2, M, PreservedAnalyses::all()); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | PassManagerImpl.h | 38 if (auto *PI = getCachedResult<PassInstrumentationAnalysis>(IR)) in clear() local 39 PI->runAnalysesCleared(Name); in clear() 66 PassInstrumentation PI; in getResultImpl() local 68 PI = getResult<PassInstrumentationAnalysis>(IR, ExtraArgs...); in getResultImpl() 69 PI.runBeforeAnalysis(P, IR); in getResultImpl() 75 PI.runAfterAnalysis(P, IR); in getResultImpl() 134 if (auto *PI = getCachedResult<PassInstrumentationAnalysis>(IR)) in invalidate() local 135 PI->runAnalysisInvalidated(this->lookUpPass(ID), IR); in invalidate()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.task/futures.task.members/ |
| H A D | ctor2.compile.pass.cpp | 31 using PI = std::packaged_task<int(int)>; typedef 38 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, const PI&>::value… 39 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, const PI&&>::valu… 40 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, volatile PI&>::va… 41 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, volatile PI&&>::v…
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 116 PtrInfo PI; variable 220 PI.reset(); in visitPtr() 235 if (PI.isAborted()) in visitPtr() 238 return PI; in visitPtr() 244 PI.setEscaped(&SI); in visitStoreInst() 256 PI.setEscaped(&I); in visitPtrToIntInst() 291 PI.setEscaped(&CB); in visitCallBase()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | str-int-3.ll | 23 ; CHECK-NEXT: store i32 1, i32* [[PI:%.*]], align 4 24 ; CHECK-NEXT: [[PIA0B:%.*]] = getelementptr i32, i32* [[PI]], i64 1 26 ; CHECK-NEXT: [[PIA1A:%.*]] = getelementptr i32, i32* [[PI]], i64 2 28 ; CHECK-NEXT: [[PIA1B:%.*]] = getelementptr i32, i32* [[PI]], i64 3 93 ; CHECK-NEXT: store i64 1, i64* [[PI:%.*]], align 4 94 ; CHECK-NEXT: [[PIA0B:%.*]] = getelementptr i64, i64* [[PI]], i64 1 96 ; CHECK-NEXT: [[PIA0C:%.*]] = getelementptr i64, i64* [[PI]], i64 2 98 ; CHECK-NEXT: [[PIA1A:%.*]] = getelementptr i64, i64* [[PI]], i64 3 151 ; CHECK-NEXT: store i64 1, i64* [[PI:%.*]], align 4 209 ; CHECK-NEXT: store i64 1, i64* [[PI:%.*]], align 4 [all …]
|
| H A D | sprintf-2.ll | 20 ; CHECK-NEXT: store i32 1, i32* [[PI:%.*]], align 4 21 ; CHECK-NEXT: [[PIA0AP1:%.*]] = getelementptr i32, i32* [[PI]], i64 1 23 ; CHECK-NEXT: [[PIA0B:%.*]] = getelementptr i32, i32* [[PI]], i64 2 25 ; CHECK-NEXT: [[PIA0BP1:%.*]] = getelementptr i32, i32* [[PI]], i64 3 27 ; CHECK-NEXT: [[PIA0BP2:%.*]] = getelementptr i32, i32* [[PI]], i64 4 29 ; CHECK-NEXT: [[PIA0C:%.*]] = getelementptr i32, i32* [[PI]], i64 5 31 ; CHECK-NEXT: [[PIA1A:%.*]] = getelementptr i32, i32* [[PI]], i64 6 33 ; CHECK-NEXT: [[PIA1B:%.*]] = getelementptr i32, i32* [[PI]], i64 7 35 ; CHECK-NEXT: [[PIA1C:%.*]] = getelementptr i32, i32* [[PI]], i64 8
|
| /llvm-project-15.0.7/mlir/test/Target/Cpp/ |
| H A D | for.mlir | 48 // CPP-DEFAULT-NEXT: float [[PI:[^ ]*]] = [[P0]]; 51 // CPP-DEFAULT-NEXT: float [[PN:[^ ]*]] = mul([[PI]], [[ITER]]); 53 // CPP-DEFAULT-NEXT: [[PI]] = [[PN]]; 56 // CPP-DEFAULT-NEXT: [[PE]] = [[PI]]; 75 // CPP-DECLTOP-NEXT: float [[PI:[^ ]*]] = [[P0]]; 78 // CPP-DECLTOP-NEXT: [[PN]] = mul([[PI]], [[ITER]]); 80 // CPP-DECLTOP-NEXT: [[PI]] = [[PN]]; 83 // CPP-DECLTOP-NEXT: [[PE]] = [[PI]];
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | ErlangGCPrinter.cpp | 88 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly() local 104 AP.emitInt16(MD.live_size(PI)); in finishAssembly() 107 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly() 108 LE = MD.live_end(PI); in finishAssembly()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/Views/ |
| H A D | RegisterFileStatistics.cpp | 34 const MCExtraProcessorInfo &PI = SM.getExtraProcessorInfo(); in RegisterFileStatistics() local 38 unsigned NumRegFiles = std::max(PI.NumRegisterFiles, 1U); in RegisterFileStatistics() 123 const MCExtraProcessorInfo &PI = in printView() local 125 assert(I <= PI.NumRegisterFiles && "Unexpected register file index!"); in printView() 126 const MCRegisterFileDesc &RFDesc = PI.RegisterFiles[I]; in printView()
|