| /openbsd-src/gnu/llvm/llvm/include/llvm/ |
| H A D | PassAnalysisSupport.h | 165 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 D | PassSupport.h | 40 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); \
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | EarlyIfConversion.cpp | 517 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 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()
|
| /openbsd-src/gnu/llvm/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() 179 *SchedModel->getProcResource(PI->ProcResourceIdx); 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() 300 if (SchedModel->getProcResource(PI->ProcResourceIdx)->BufferSize == 1) in EmitInstruction() 303 ProcResourceCounters[PI->ProcResourceIdx]; in EmitInstruction() 304 CurrCounter += PI->Cycles; in EmitInstruction() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/bignum/t/ |
| H A D | e_pi-bigint.t | 4 # test for e() and PI() exports 11 use bigint qw/e PI bpi bexp/; 14 is(PI, "3", 'PI'); 18 is(bpi(10), "3", 'PI');
|
| H A D | e_pi-bignum.t | 4 # test for e() and PI() exports 11 use bignum qw/e PI bexp bpi/; 14 is(PI, "3.141592653589793238462643383279502884197", 'PI');
|
| H A D | e_pi-bigfloat.t | 4 # test for e() and PI() exports 11 use bigfloat qw/e PI bexp bpi/; 14 is(PI, "3.141592653589793238462643383279502884197", 'PI');
|
| H A D | e_pi-bigrat.t | 4 # test for e() and PI() exports 11 use bigrat qw/e PI bexp bpi/; 15 is(PI, "3141592653589793238462643383279502884197/" 16 . "1000000000000000000000000000000000000000", 'PI');
|
| /openbsd-src/gnu/llvm/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 | 421 std::tuple<Pass *, bool> getOnTheFlyPass(Pass *MP, AnalysisID PI, 668 const PassInfo *PI = findAnalysisPassInfo(P->getPassID()); in schedulePass() local 669 if (PI && PI->isAnalysis() && findAnalysisPass(P->getPassID())) { in schedulePass() 687 const PassInfo *PI = findAnalysisPassInfo(ID); in schedulePass() local 689 if (!PI) { in schedulePass() 708 assert(PI && "Expected required passes to be initialized"); in schedulePass() 709 AnalysisPass = PI->createPass(); in schedulePass() 742 if (PI && !PI->isAnalysis() && shouldPrintBeforePass(PI->getPassArgument())) { in schedulePass() 745 " (" + PI->getPassArgument() + ") ***") in schedulePass() 753 if (PI && !PI->isAnalysis() && shouldPrintAfterPass(PI->getPassArgument())) { in schedulePass() [all …]
|
| H A D | Pass.cpp | 83 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName() local 84 if (PI) in getPassName() 85 return PI->getPassName(); in getPassName() 197 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass() local 198 if (!PI) in createPass() 200 return PI->createPass(); in createPass() 272 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved() local 274 if (PI) in addPreserved() 275 pushUnique(Preserved, PI->getTypeInfo()); in addPreserved()
|
| H A D | BasicBlock.cpp | 285 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getSinglePredecessor() local 286 if (PI == E) return nullptr; // No preds. in getSinglePredecessor() 287 const BasicBlock *ThePred = *PI; in getSinglePredecessor() 288 ++PI; in getSinglePredecessor() 289 return (PI == E) ? ThePred : nullptr /*multiple preds*/; in getSinglePredecessor() 293 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getUniquePredecessor() local 294 if (PI == E) return nullptr; // No preds. in getUniquePredecessor() 295 const BasicBlock *PredBB = *PI; in getUniquePredecessor() 296 ++PI; in getUniquePredecessor() 297 for (;PI != E; ++PI) { in getUniquePredecessor() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | Program.cpp | 25 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() 63 ProcessInfo PI; in ExecuteNoWait() local 66 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteNoWait() 71 return PI; in ExecuteNoWait()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPassManager.cpp | 77 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() 302 if (!PI.runBeforePass<Loop>(*Pass, *L)) in run() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/regress/lib/libm/cephes/ |
| H A D | const.c | 91 double PI = 3.14159265358979323846; /* pi */ variable 137 unsigned short PI[4] = {0x2d18,0x5444,0x21fb,0x4009}; variable 183 unsigned short PI[4] = {0x4009,0x21fb,0x5444,0x2d18}; variable 221 unsigned short PI[4] = {040511,007732,0121041,064302,}; variable 249 extern unsigned short PI[];
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | BuildSystem.cpp | 50 PI = path::begin(virtualPath), in clang_VirtualFileOverlay_addFileMapping() local 51 PE = path::end(virtualPath); PI != PE; ++PI) { in clang_VirtualFileOverlay_addFileMapping() 52 StringRef Comp = *PI; in clang_VirtualFileOverlay_addFileMapping()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | Automaton.h | 101 auto PI = lower_bound(Pairs, NfaStatePair{Head->State, 0ULL}); in transition() local 105 for (; PI != PE; ++PI) in transition() 106 if (PI->FromDfaState == Head->State) in transition() 107 Heads.push_back(makePathSegment(PI->ToDfaState, Head)); in transition()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 121 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()
|
| /openbsd-src/regress/usr.bin/bc/ |
| H A D | t19.c | 22 #define PI 3.141592653589793238462643383279502884L macro 24 long double num[] = {-10.0L, -PI, -3.0L, -2.0L, -1.0L, -0.5L, -0.01L, 0.0L, 25 0.01L, 0.5L, 1.0L, 2.0L, 3.0L, PI, 10.0L};
|