| /openbsd-src/gnu/usr.bin/perl/dist/Term-ReadLine/lib/Term/ |
| H A D | ReadLine.pm | 205 package Term::ReadLine::Stub; 210 *rl_term_set = \@Term::ReadLine::TermCap::rl_term_set; 221 if not $Term::ReadLine::registered and $Term::ReadLine::toloop; 297 local $Term::ReadLine::termcap_nowarn = 1; 327 package Term::ReadLine; # So late to allow the above code be defined? 354 if (defined &Term::ReadLine::Gnu::readline) { 356 } elsif (defined &Term::ReadLine::EditLine::readline) { 358 } elsif (defined &Term::ReadLine::Perl::readline) { 366 package Term::ReadLine::TermCap; 378 require Term::Cap; [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIAnnotateControlFlow.cpp | 78 bool openIf(BranchInst *Term); 80 bool insertElse(BranchInst *Term); 84 BranchInst *Term); 86 bool handleLoop(BranchInst *Term); 205 bool SIAnnotateControlFlow::openIf(BranchInst *Term) { in openIf() argument 206 if (isUniform(Term)) in openIf() 209 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf() 210 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf() 211 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf() 216 bool SIAnnotateControlFlow::insertElse(BranchInst *Term) { in insertElse() argument [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Term-ANSIColor/t/module/ |
| H A D | basic.t | 40 $Term::ANSIColor::AUTORESET = 1; 43 $Term::ANSIColor::AUTORESET = 0; 46 $Term::ANSIColor::EACHLINE = "\n"; 49 $Term::ANSIColor::EACHLINE = "\r\n"; 55 $Term::ANSIColor::EACHLINE = "\n"; 125 $Term::ANSIColor::EACHLINE = "\n"; 145 $Term::ANSIColor::AUTOLOCAL = 1; 148 $Term::ANSIColor::AUTOLOCAL = 0; 154 $Term::ANSIColor::AUTOLOCAL = 1; 155 $Term::ANSIColor::AUTORESET = 1; [all …]
|
| H A D | eval.t | 54 $Term::ANSIColor::AUTORESET = 1; 59 $Term::ANSIColor::AUTORESET = 0; 62 $Term::ANSIColor::AUTOLOCAL = 1; 67 $Term::ANSIColor::AUTOLOCAL = 0;
|
| H A D | basic256.t | 113 $Term::ANSIColor::AUTORESET = 1; 126 $Term::ANSIColor::AUTORESET = 0; 129 $Term::ANSIColor::AUTOLOCAL = 1; 142 $Term::ANSIColor::AUTOLOCAL = 0;
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Term-ReadKey/example/ |
| H A D | test.pl | 21 use Term::ReadKey; 111 if ( &Term::ReadKey::termoptions() == 1 ) 116 elsif ( &Term::ReadKey::termoptions() == 2 ) 121 elsif ( &Term::ReadKey::termoptions() == 3 ) 126 elsif ( &Term::ReadKey::termoptions() == 4 ) 131 elsif ( &Term::ReadKey::termoptions() == 5 ) 149 push( @modes, "O_NODELAY" ) if &Term::ReadKey::blockoptions() & 1; 150 push( @modes, "poll()" ) if &Term::ReadKey::blockoptions() & 2; 151 push( @modes, "select()" ) if &Term::ReadKey::blockoptions() & 4; 152 push( @modes, "Win32" ) if &Term::ReadKey::blockoptions() & 8; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Term-ReadLine/t/ |
| H A D | ReadLine-STDERR.t | 22 is( Term::ReadLine->devtty(), q{/dev/tty}, "check sub devtty" ); 25 open my $tty, "<", Term::ReadLine->devtty() 29 my @out = Term::ReadLine::Stub::findConsole(); 39 local *Term::ReadLine::Stub::devtty = 40 *Term::ReadLine::Stub::devtty = sub { $donotexist }; 41 is( Term::ReadLine->devtty(), $donotexist, "devtty mocked" ); 43 my @out = Term::ReadLine::Stub::findConsole(); 47 my $tr = Term::ReadLine->new('whatever');
|
| H A D | Tk.t | 23 require Term::ReadLine; 27 my $t = Term::ReadLine->new('Tk');
|
| H A D | AE.t | 17 require Term::ReadLine; 20 my $t = Term::ReadLine->new('AE');
|
| /openbsd-src/gnu/usr.bin/perl/dist/Term-Complete/t/ |
| H A D | Complete.t | 5 use vars qw( $Term::Complete::complete $complete $Term::Complete::stty ); 14 unless defined $Term::Complete::tty_raw_noecho && 15 defined $Term::Complete::tty_restore; 18 undef $Term::Complete::tty_restore; 19 undef $Term::Complete::tty_raw_noecho; 20 undef $Term::Complete::stty; 22 *complete = \$Term::Complete::complete;
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Term-Cap/ |
| H A D | test.pl | 46 my $path = join '', Term::Cap::termcap_path(); 54 ok( grep($file, Term::Cap::termcap_path()), 58 ok( grep($file, Term::Cap::termcap_path()), 98 eval { local $^W = 1; $t = Term::Cap->Tgetent($vals) }; 105 eval { local $^W = 0; $t = Term::Cap->Tgetent($vals) }; 111 eval { $t = Term::Cap->Tgetent($vals) }; 123 eval { $t = Term::Cap->Tgetent($vals) }; 133 eval { $t = Term::Cap->Tgetent($vals) }; 146 $t = Term::Cap->Tgetent($vals); 169 my $foo = Term::Cap->Tgetent();
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | SimplifyCFGPass.cpp | 99 auto *Term = BBs[0]->getTerminator(); in performBlockTailMerging() local 104 F.getContext(), Twine("common.") + Term->getOpcodeName(), &F, BBs[0]); in performBlockTailMerging() 106 NewOps.resize(Term->getNumOperands()); in performBlockTailMerging() 107 for (auto I : zip(Term->operands(), NewOps)) { in performBlockTailMerging() 115 CanonicalTerm = Term->clone(); in performBlockTailMerging() 126 auto *Term = BB->getTerminator(); in performBlockTailMerging() local 127 assert(Term->getOpcode() == CanonicalTerm->getOpcode() && in performBlockTailMerging() 133 for (auto I : zip(Term->operands(), NewOps)) in performBlockTailMerging() 138 CommonDebugLoc = Term->getDebugLoc(); in performBlockTailMerging() 141 DILocation::getMergedLocation(CommonDebugLoc, Term->getDebugLoc()); in performBlockTailMerging() [all …]
|
| H A D | StructurizeCFG.cpp | 273 Value *buildCondition(BranchInst *Term, unsigned Idx, bool Invert); 443 BranchInst *Term = cast<BranchInst>(BB->getTerminator()); in analyzeLoops() local 445 for (BasicBlock *Succ : Term->successors()) in analyzeLoops() 452 Value *StructurizeCFG::buildCondition(BranchInst *Term, unsigned Idx, in buildCondition() argument 455 if (Term->isConditional()) { in buildCondition() 456 Cond = Term->getCondition(); in buildCondition() 479 BranchInst *Term = cast<BranchInst>(P->getTerminator()); in gatherPredicates() local 480 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { in gatherPredicates() 481 BasicBlock *Succ = Term->getSuccessor(i); in gatherPredicates() 487 if (Term->isConditional()) { in gatherPredicates() [all …]
|
| H A D | PlaceSafepoints.cpp | 351 Instruction *Term = Pred->getTerminator(); in runOnLoop() local 353 LLVM_DEBUG(dbgs() << "[LSP] terminator instruction: " << *Term); in runOnLoop() 355 PollLocations.push_back(Term); in runOnLoop() 537 for (Instruction *Term : PollLocations) { in runOnFunction() 553 for (unsigned i = 0; i < Term->getNumSuccessors(); i++) { in runOnFunction() 554 BasicBlock *Succ = Term->getSuccessor(i); in runOnFunction() 555 if (DT.dominates(Succ, Term->getParent())) { in runOnFunction() 566 BasicBlock *NewBB = SplitEdge(Term->getParent(), Header, &DT); in runOnFunction() 572 PollsNeeded.push_back(Term); in runOnFunction()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | CoreEngine.cpp | 325 if (const Stmt *Term = B->getTerminatorStmt()) { in HandleBlockExit() local 326 switch (Term->getStmtClass()) { in HandleBlockExit() 332 cast<CXXBindTemporaryExpr>(Term), B, Pred); in HandleBlockExit() 337 HandleStaticInit(cast<DeclStmt>(Term), B, Pred); in HandleBlockExit() 341 HandleBranch(cast<BinaryOperator>(Term)->getLHS(), Term, B, Pred); in HandleBlockExit() 346 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(), in HandleBlockExit() 347 Term, B, Pred); in HandleBlockExit() 354 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() 370 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() 374 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Term-ReadKey/t/ |
| H A D | 02_terminal_functions.t | 14 use Term::ReadKey; 41 skip( 'Because Term::ReadKey need at least a tty to be useful', 7 ) if $@; 57 if ( Term::ReadKey::termoptions() == $i ){ 66 push( @modes, "O_NODELAY" ) if Term::ReadKey::blockoptions() & 1; 67 push( @modes, "poll()" ) if Term::ReadKey::blockoptions() & 2; 68 push( @modes, "select()" ) if Term::ReadKey::blockoptions() & 4; 69 push( @modes, "Win32" ) if Term::ReadKey::blockoptions() & 8;
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceBasicBlocks.cpp | 37 auto *Term = BB.getTerminator(); in replaceBranchTerminator() local 45 if (ChunkSuccessors.size() == Term->getNumSuccessors()) in replaceBranchTerminator() 48 bool IsBranch = isa<BranchInst>(Term); in replaceBranchTerminator() 49 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(Term)) { in replaceBranchTerminator() 69 if (auto *IndBI = dyn_cast<IndirectBrInst>(Term)) in replaceBranchTerminator() 72 Term->replaceAllUsesWith(getDefaultValue(Term->getType())); in replaceBranchTerminator() 73 Term->eraseFromParent(); in replaceBranchTerminator()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | StructuralHash.cpp | 50 const Instruction *Term = BB->getTerminator(); in update() local 51 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { in update() 52 if (!VisitedBBs.insert(Term->getSuccessor(i)).second) in update() 54 BBs.push_back(Term->getSuccessor(i)); in update()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LoopPeel.cpp | 616 static void updateBranchWeights(Instruction *Term, WeightInfo &Info) { in updateBranchWeights() argument 617 MDBuilder MDB(Term->getContext()); in updateBranchWeights() 618 Term->setMetadata(LLVMContext::MD_prof, in updateBranchWeights() 633 Instruction *Term = ExitingBlock->getTerminator(); in initBranchWeights() local 635 if (!extractBranchWeights(*Term, Weights)) in initBranchWeights() 642 for (auto [Succ, Weight] : zip(successors(Term), Weights)) { in initBranchWeights() 654 for (auto [Succ, Weight] : zip(successors(Term), Weights)) { in initBranchWeights() 667 WeightInfos.insert({Term, {std::move(Weights), std::move(SubWeights)}}); in initBranchWeights() 673 static void fixupBranchWeights(Instruction *Term, const WeightInfo &Info) { in fixupBranchWeights() argument 674 MDBuilder MDB(Term->getContext()); in fixupBranchWeights() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/Builder/ |
| H A D | Tester.pm | 452 The color function doesn't work unless L<Term::ANSIColor> is 562 eval { require Term::ANSIColor }; 568 my $green = Term::ANSIColor::color("black") . Term::ANSIColor::color("on_green"); 569 my $red = Term::ANSIColor::color("black") . Term::ANSIColor::color("on_red"); 570 my $reset = Term::ANSIColor::color("reset");
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 34 VPRecipeBase *Term = VPBB->getTerminator(); in VPInstructionsToVPRecipes() local 35 auto EndIter = Term ? Term->getIterator() : VPBB->end(); in VPInstructionsToVPRecipes() 487 static bool canSimplifyBranchOnCond(VPInstruction *Term) { in canSimplifyBranchOnCond() argument 488 VPInstruction *Not = dyn_cast<VPInstruction>(Term->getOperand(0)); in canSimplifyBranchOnCond() 503 auto *Term = dyn_cast<VPInstruction>(&ExitingVPBB->back()); in optimizeForVFAndUF() local 509 if (!Term || (Term->getOpcode() != VPInstruction::BranchOnCount && in optimizeForVFAndUF() 510 (Term->getOpcode() != VPInstruction::BranchOnCond || in optimizeForVFAndUF() 511 !canSimplifyBranchOnCond(Term)))) in optimizeForVFAndUF() 528 Term->eraseFromParent(); in optimizeForVFAndUF()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ReturnThunks.cpp | 75 for (MachineInstr &Term : MBB.terminators()) in runOnMachineFunction() 76 if (Term.getOpcode() == RetOpc) in runOnMachineFunction() 77 Rets.push_back(&Term); in runOnMachineFunction()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/podlators/lib/Pod/Text/ |
| H A D | Color.pm | 20 use Term::ANSIColor qw(color colored); 34 local $Term::ANSIColor::EACHLINE = "\n"; 70 local $Term::ANSIColor::EACHLINE = "\n"; 76 # version. We will eventually want to use colorstrip() from Term::ANSIColor, 168 Term::ANSIColor is used to get colors and therefore must be installed to use
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | PHIElimination.cpp | 530 for (MachineBasicBlock::iterator Term = InsertPos; Term != opBlock.end(); in LowerPHINode() local 531 ++Term) { in LowerPHINode() 532 if (Term->readsRegister(SrcReg)) in LowerPHINode() 533 KillInst = Term; in LowerPHINode() 588 for (MachineBasicBlock::iterator Term = InsertPos; in LowerPHINode() local 589 Term != opBlock.end(); ++Term) { in LowerPHINode() 590 if (Term->readsRegister(SrcReg)) in LowerPHINode() 591 KillInst = Term; in LowerPHINode()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | SyncDependenceAnalysis.cpp | 450 SyncDependenceAnalysis::getJoinBlocks(const Instruction &Term) { in getJoinBlocks() argument 452 if (Term.getNumSuccessors() <= 1) { in getJoinBlocks() 457 auto ItCached = CachedControlDivDescs.find(&Term); in getJoinBlocks() 463 const auto &TermBlock = *Term.getParent(); in getJoinBlocks() 467 LLVM_DEBUG(dbgs() << "Result (" << Term.getParent()->getName() << "):\n"; in getJoinBlocks() 473 auto ItInserted = CachedControlDivDescs.emplace(&Term, std::move(DivDesc)); in getJoinBlocks()
|