Home
last modified time | relevance | path

Searched refs:PI (Results 1 – 25 of 187) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/include/llvm/
H A DPassAnalysisSupport.h165 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument
168 if (AnalysisImpl.first == PI) { in findImplPass()
177 std::tuple<Pass *, bool> findImplPass(Pass *P, AnalysisID PI, Function &F);
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()
223 return (AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI); in getAnalysisIfAvailable()
236 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const { in getAnalysisID() argument
[all …]
H A DPassSupport.h40 PassInfo *PI = new PassInfo( \
43 Registry.registerPass(*PI, true); \
44 return PI; \
60 PassInfo *PI = new PassInfo( \
63 Registry.registerPass(*PI, true); \
64 return PI; \
172 PassInfo *PI = new PassInfo( \
175 Registry.registerPass(*PI, true); \
194 PassInfo *PI = new PassInfo( \
197 Registry.registerPass(*PI, true); \
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassManagerImpl.h32 const PassInstrumentation &PI; in run() local
37 explicit StackTraceEntry(const PassInstrumentation &PI, IRUnitT &IR) in run()
38 : PI(PI), IR(IR) {} in run()
46 auto PassName = PI.getPassNameForClassName(ClassName); in run()
63 PassInstrumentation PI = in run() local
71 StackTraceEntry Entry(PI, IR); in run()
78 if (!PI.runBeforePass<IRUnitT>(*Pass, IR)) in run()
89 PI.runAfterPass<IRUnitT>(*Pass, IR, PassPA); in run()
121 if (auto *PI = getCachedResult<PassInstrumentationAnalysis>(IR)) in clear() local
122 PI->runAnalysesCleared(Name); in clear()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp517 PHIInfo &PI = PHIs.back(); in canConvertIf() local
519 for (unsigned i = 1; i != PI.PHI->getNumOperands(); i += 2) { in canConvertIf()
520 if (PI.PHI->getOperand(i+1).getMBB() == TPred) in canConvertIf()
521 PI.TReg = PI.PHI->getOperand(i).getReg(); in canConvertIf()
522 if (PI.PHI->getOperand(i+1).getMBB() == FPred) in canConvertIf()
523 PI.FReg = PI.PHI->getOperand(i).getReg(); in canConvertIf()
525 assert(Register::isVirtualRegister(PI.TReg) && "Bad PHI"); in canConvertIf()
526 assert(Register::isVirtualRegister(PI.FReg) && "Bad PHI"); in canConvertIf()
529 if (!TII->canInsertSelect(*Head, Cond, PI.PHI->getOperand(0).getReg(), in canConvertIf()
530 PI.TReg, PI.FReg, PI.CondCycles, PI.TCycles, in canConvertIf()
[all …]
H A DMachinePassManager.cpp114 PassInstrumentation PI = FAM.getResult<PassInstrumentationAnalysis>(F); in run() local
123 if (!PI.runBeforePass<MachineFunction>(*Pass, MF)) in run()
127 PI.runAfterPass(*Pass, MF, PassPA); in run()
144 PassInstrumentation PI = MFAM.getResult<PassInstrumentationAnalysis>(MF); in run() local
147 if (!PI.runBeforePass<MachineFunction>(*Pass, MF)) in run()
152 PI.runAfterPass(*Pass, MF, PassPA); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp176 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU() local
177 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU()
179 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU()
190 if (PI->ReleaseAtCycle> 1) in dumpSU()
191 OS << "(" << PI->ReleaseAtCycle << "cyc)"; in dumpSU()
297 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction() local
298 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction()
300 if (SchedModel->getProcResource(PI in EmitInstruction()
401 PI = SchedModel->getWriteProcResBegin(SC), resourcesCost() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPassRegistry.cpp49 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 DLegacyPassManager.cpp422 std::tuple<Pass *, bool> getOnTheFlyPass(Pass *MP, AnalysisID PI,
674 const PassInfo *PI = findAnalysisPassInfo(P->getPassID()); in schedulePass() local
675 if (PI && PI->isAnalysis() && findAnalysisPass(P->getPassID())) { in schedulePass()
693 const PassInfo *PI = findAnalysisPassInfo(ID); in schedulePass() local
695 if (!PI) { in schedulePass()
714 assert(PI && "Expected required passes to be initialized"); in schedulePass()
715 AnalysisPass = PI->createPass(); in schedulePass()
748 if (PI && !PI->isAnalysis() && shouldPrintBeforePass(PI->getPassArgument())) { in schedulePass()
751 " (" + PI->getPassArgument() + ") ***") in schedulePass()
759 if (PI && !PI->isAnalysis() && shouldPrintAfterPass(PI->getPassArgument())) { in schedulePass()
[all …]
H A DPass.cpp83 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName() local
84 if (PI) in getPassName()
85 return PI->getPassName(); in getPassName()
201 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass()
202 if (!PI)
204 return PI->createPass();
276 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved()
278 if (PI)
279 pushUnique(Preserved, PI->getTypeInfo()); in addRequiredID()
197 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); createPass() local
272 const PassInfo *PI = Pass::lookupPassInfo(Arg); addPreserved() local
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DProgram.cpp25 static bool Execute(ProcessInfo &PI, StringRef Program,
40 ProcessInfo PI; in ExecuteAndWait() local
41 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteAndWait()
46 PI, SecondsToWait == 0 ? std::nullopt : std::optional(SecondsToWait), in ExecuteAndWait()
64 ProcessInfo PI; in ExecuteNoWait() local
67 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteNoWait()
72 return PI; in ExecuteNoWait()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp77 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithLoopNestPasses() local
94 PassPA = runSinglePass(L, Pass, AM, AR, U, PI); in runWithLoopNestPasses()
113 PassPA = runSinglePass(*LoopNestPtr, Pass, AM, AR, U, PI); in runWithLoopNestPasses()
158 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithoutLoopNestPasses() local
161 runSinglePass(L, Pass, AM, AR, U, PI); in runWithoutLoopNestPasses()
204 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(F); in run() local
209 if (PI.runBeforePass<Function>(LoopCanonicalizationFPM, F)) { in run()
211 PI.runAfterPass<Function>(LoopCanonicalizationFPM, F, PA); in run()
269 PI.pushBeforeNonSkippedPassCallback([&LAR, &LI](StringRef PassID, Any IR) { in run()
303 if (!PI in run()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h116 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DErlangGCPrinter.cpp88 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()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DRegisterFileStatistics.cpp34 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp121 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in createWrapper() local
134 for (; AI != AE && PI != PE; ++AI, ++PI) { in createWrapper()
136 Type *ParamType = *PI; in createWrapper()
162 for (; PI != PE; ++PI) in createWrapper()
163 Args.push_back(UndefValue::get(*PI)); in createWrapper()
/freebsd/contrib/ntp/util/
H A Dtg.c74 #define PI 800 /* WWV/H PI pulse */ macro
138 {DATA, PI}, /* 9 p1 */
148 {DEC, PI}, /* 19 p2 */
158 {DEC, PI}, /* 29 p3 */
168 {DEC, PI}, /* 39 p4 */
178 {DATA, PI}, /* 49 p5 */
188 {DATA, PI}, /* 59 p6 */
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAutomaton.h99 auto PI = lower_bound(Pairs, NfaStatePair{Head->State, 0ULL}); in transition()
103 for (; PI != PE; ++PI) in transition()
104 if (PI->FromDfaState == Head->State) in transition()
105 Heads.push_back(makePathSegment(PI->ToDfaState, Head)); in transition()
101 auto PI = lower_bound(Pairs, NfaStatePair{Head->State, 0ULL}); transition() local
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A Dbugpoint.cpp88 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in add() local
89 D.addPass(std::string(PI->getPassArgument())); in add()
159 for (const PassInfo *PI : PassList) in main() local
160 D.addPass(std::string(PI->getPassArgument())); in main()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp242 PredicateInfo &PI; member in llvm::PredicateInfoBuilder
281 PredicateInfoBuilder(PredicateInfo &PI, Function &F, DominatorTree &DT, in PredicateInfoBuilder() argument
283 : PI(PI), F(F), DT(DT), AC(AC) { in PredicateInfoBuilder()
382 PI.AllInfos.push_back(PB); in addInfoFor()
565 PI.CreatedDeclarations.insert(IF); in materializeStack()
568 PI.PredicateMap.insert({PIC, ValInfo}); in materializeStack()
581 PI.CreatedDeclarations.insert(IF); in materializeStack()
583 PI.PredicateMap.insert({PIC, ValInfo}); in materializeStack()
832 const auto *PI = PredInfo.getPredicateInfoFor(&Inst); in replaceCreatedSSACopys() local
834 if (!PI || !II || II->getIntrinsicID() != Intrinsic::ssa_copy) in replaceCreatedSSACopys()
[all …]
/freebsd/contrib/ntp/include/
H A Dntpsim.h33 #ifdef PI
34 # undef PI
36 #define PI 3.1415926535 /* The world's most famous constant */ macro
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc174 static bool Execute(ProcessInfo &PI, StringRef Program,
312 PI.Pid = pi.dwProcessId;
313 PI.Process = pi.hProcess;
414 ProcessInfo sys::Wait(const ProcessInfo &PI,
419 assert(PI.Pid && "invalid pid to wait on, process not started?");
420 assert((PI.Process && PI.Process != INVALID_HANDLE_VALUE) &&
424 ProcessInfo WaitResult = PI;
427 DWORD WaitStatus = WaitForSingleObject(PI.Process, milliSecondsToWait);
430 if (!TerminateProcess(PI.Process, 1)) {
436 CloseHandle(PI.Process);
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp226 PI = IndProps.begin(), PE = IndProps.end(); PI != PE; ++PI) { in checkAllAtProps() local
227 QualType T = (*PI)->getType(); in checkAllAtProps()
236 PI = IndProps.begin(), PE = IndProps.end(); PI != PE; ++PI) { in checkAllAtProps() local
237 ObjCPropertyDecl *PD = *PI; in checkAllAtProps()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp68 PassInstrumentation PI = in run() local
84 if (!PI.runBeforePass(*Pass, *C)) in run()
105 PI.runAfterPassInvalidated<LazyCallGraph::SCC>(*Pass, PassPA); in run()
117 PI.runAfterPass<LazyCallGraph::SCC>(*Pass, *C, PassPA); in run()
172 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(M); in run() local
271 if (!PI.runBeforePass<LazyCallGraph::SCC>(*Pass, *C)) in run()
296 PI.runAfterPassInvalidated<LazyCallGraph::SCC>(*Pass, PassPA); in run()
312 PI.runAfterPass<LazyCallGraph::SCC>(*Pass, *C, PassPA); in run()
365 PassInstrumentation PI = in run() local
410 if (!PI.runBeforePass<LazyCallGraph::SCC>(*Pass, *C)) in run()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp389 MachineBasicBlock::iterator PI = MergeWithPrevious ? std::prev(MBBI) : MBBI; in mergeSPUpdates() local
392 unsigned Opc = PI->getOpcode(); in mergeSPUpdates()
401 if (Opc == M68k::ADD32ai && PI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdates()
402 assert(PI->getOperand(1).getReg() == StackPtr); in mergeSPUpdates()
403 Offset += PI->getOperand(2).getImm(); in mergeSPUpdates()
404 MBB.erase(PI); in mergeSPUpdates()
407 } else if (Opc == M68k::SUB32ai && PI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdates()
408 assert(PI->getOperand(1).getReg() == StackPtr); in mergeSPUpdates()
409 Offset -= PI->getOperand(2).getImm(); in mergeSPUpdates()
410 MBB.erase(PI); in mergeSPUpdates()
[all …]
/freebsd/usr.bin/pom/
H A Dpom.c55 #ifndef PI
56 #define PI 3.14159265358979323846 macro
184 Ec = 360 / PI * ECCEN * sin(dtor(Msol)); /* sec 42 #5 */ in potm()
214 return(deg * PI / 180); in dtor()

12345678