/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIAnnotateControlFlow.cpp | 94 void openIf(BranchInst *Term); 96 void insertElse(BranchInst *Term); 100 BranchInst *Term); 102 void handleLoop(BranchInst *Term); 210 void SIAnnotateControlFlow::openIf(BranchInst *Term) { argument 211 if (isUniform(Term)) 214 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); 215 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); 220 insertElse(BranchInst *Term) argument 230 handleLoopCondition( Value *Cond, PHINode *Broken, llvm::Loop *L, BranchInst *Term) argument 258 handleLoop(BranchInst *Term) argument 334 BranchInst *Term = dyn_cast<BranchInst>(BB->getTerminator()); local [all...] |
H A D | SIPreEmitPeephole.cpp | 157 for (MachineInstr &Term : Parent->terminators()) { 159 if (Term.isBranch()) 160 ToRemove.push_back(&Term); 162 Found = Term.isIdenticalTo(MI);
|
H A D | SIOptimizeExecMaskingPreRA.cpp | 240 MachineInstr &Term = MBB.back(); local 241 if (Term.getOpcode() != AMDGPU::S_ENDPGM || Term.getNumOperands() != 1)
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CoreEngine.cpp | 296 if (const Stmt *Term = B->getTerminatorStmt()) { 297 switch (Term->getStmtClass()) { 303 cast<CXXBindTemporaryExpr>(Term), B, Pred); 308 HandleStaticInit(cast<DeclStmt>(Term), B, Pred); 312 HandleBranch(cast<BinaryOperator>(Term)->getLHS(), Term, B, Pred); 317 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(), 318 Term, B, Pred); 325 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, 423 HandleBranch(const Stmt *Cond, const Stmt *Term, const CFGBlock * B, ExplodedNode *Pred) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | DivergenceAnalysis.cpp | 110 bool DivergenceAnalysis::updateTerminator(const Instruction &Term) const { 111 if (Term.getNumSuccessors() <= 1) 113 if (auto *BranchTerm = dyn_cast<BranchInst>(&Term)) { 117 if (auto *SwitchTerm = dyn_cast<SwitchInst>(&Term)) { 120 if (isa<InvokeInst>(Term)) { 305 void DivergenceAnalysis::propagateBranchDivergence(const Instruction &Term) { argument 306 LLVM_DEBUG(dbgs() << "propBranchDiv " << Term.getParent()->getName() << "\n"); 308 markDivergent(Term); 311 if (!DT.isReachableFromEntry(Term.getParent())) 314 const auto *BranchLoop = LI.getLoopFor(Term [all...] |
H A D | SyncDependenceAnalysis.cpp | 358 SyncDependenceAnalysis::join_blocks(const Instruction &Term) { argument 360 if (Term.getNumSuccessors() < 1) { 365 auto ItCached = CachedBranchJoins.find(&Term); 371 const auto &TermBlock = *Term.getParent(); 373 TermBlock, successors(Term.getParent()), LI.getLoopFor(&TermBlock)); 375 auto ItInserted = CachedBranchJoins.emplace(&Term, std::move(JoinBlocks));
|
H A D | CFG.cpp | 72 const Instruction *Term = BB->getTerminator(); local 74 unsigned e = Term->getNumSuccessors(); 78 if (Term->getSuccessor(i) == Succ)
|
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SequenceToOffsetTable.h | 202 const char *Term = "0") const { 212 OS << Term << ",\n"; local
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | StructurizeCFG.cpp | 270 Value *buildCondition(BranchInst *Term, unsigned Idx, bool Invert); 431 BranchInst *Term = cast<BranchInst>(BB->getTerminator()); local 433 for (BasicBlock *Succ : Term->successors()) 440 Value *StructurizeCFG::buildCondition(BranchInst *Term, unsigned Idx, argument 443 if (Term->isConditional()) { 444 Cond = Term->getCondition(); 467 BranchInst *Term = cast<BranchInst>(P->getTerminator()); local 468 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { 469 BasicBlock *Succ = Term->getSuccessor(i); 475 if (Term 671 Instruction *Term = BB->getTerminator(); local [all...] |
H A D | PlaceSafepoints.cpp | 350 Instruction *Term = Pred->getTerminator(); local 352 LLVM_DEBUG(dbgs() << "[LSP] terminator instruction: " << *Term); 354 PollLocations.push_back(Term); 536 for (Instruction *Term : PollLocations) { 552 for (unsigned i = 0; i < Term->getNumSuccessors(); i++) { 553 BasicBlock *Succ = Term->getSuccessor(i); 554 if (DT.dominates(Succ, Term->getParent())) { 565 BasicBlock *NewBB = SplitEdge(Term->getParent(), Header, &DT); 571 PollsNeeded.push_back(Term);
|
H A D | ADCE.cpp | 210 static bool isUnconditionalBranch(Instruction *Term) { argument 211 auto *BR = dyn_cast<BranchInst>(Term); 281 Instruction *Term = BB->getTerminator(); local 282 if (isLive(Term)) 288 markLive(Term);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | SyncDependenceAnalysis.h | 46 /// divergence in \p Term. 48 /// The set of blocks which are reachable by disjoint paths from \p Term. 50 /// one from \p Term to the loop exit and another from \p Term to the loop 52 /// If L is the parent loop of \p Term and an exit of L is in the returned 54 const ConstBlockSet &join_blocks(const Instruction &Term);
|
H A D | DivergenceAnalysis.h | 85 bool updateTerminator(const Instruction &Term) const; 139 /// Term. 140 void propagateBranchDivergence(const Instruction &Term);
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | prompt.c | 99 fprintf(p->Term, "\n"); 129 fprintf(p->Term, "%s%s%s> ", pconnect, pauth, shostname); 130 fflush(p->Term); 336 p->Term = stdout; 345 p->Term = fdopen(fd, "a+"); 366 if (p->Term != stdout) { 367 fclose(p->Term); 413 vfprintf(p->Term, pfmt, ap); 414 fflush(p->Term); 481 if (p->Term [all...] |
H A D | ccp.h | 134 void (*Term)(void *); member in struct:ccp_algorithm::__anon16629 145 void (*Term)(void *); member in struct:ccp_algorithm::__anon16630
|
H A D | prompt.h | 46 FILE *Term; /* sits on top of fd_out */ member in struct:prompt
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFGStmtMap.cpp | 73 if (Stmt *Term = B->getTerminatorStmt()) 74 SM[Term] = B;
|
H A D | ReachableCode.cpp | 52 if (const Stmt *Term = B->getTerminatorStmt()) { 53 if (const DoStmt *DS = dyn_cast<DoStmt>(Term)) { 296 if (const Stmt *Term = B->getTerminatorStmt()) { 297 if (isa<SwitchStmt>(Term)) 300 if (isa<BinaryOperator>(Term)) { 301 return isConfigurationValue(Term, PP);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUnroll.cpp | 702 auto *Term = cast<BranchInst>(Src->getTerminator()); 708 Term->setSuccessor(!(*ContinueOnTrue), Dest); 723 BranchInst::Create(Dest, Term); 724 Term->eraseFromParent(); 798 BranchInst *Term = cast<BranchInst>(Latches.back()->getTerminator()); local 799 new UnreachableInst(Term->getContext(), Term); 800 Term->eraseFromParent(); 830 Instruction *Term = ExitingBlocks[i]->getTerminator(); local 831 if (isa<BranchInst>(Term) 855 BranchInst *Term = dyn_cast<BranchInst>(Latch->getTerminator()); local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PHIElimination.cpp | 474 for (MachineBasicBlock::iterator Term = FirstTerm; 475 Term != opBlock.end(); ++Term) { 476 if (Term->readsRegister(SrcReg)) 477 KillInst = Term; 534 for (MachineBasicBlock::iterator Term = FirstTerm; 535 Term != opBlock.end(); ++Term) { 536 if (Term->readsRegister(SrcReg)) 537 KillInst = Term; [all...] |
/freebsd-13-stable/sys/contrib/dev/acpica/compiler/ |
H A D | aslrules.y | 242 Term 338 | TermList Term {$$ = TrLinkPeerOp ( 340 | TermList Term ';' {$$ = TrLinkPeerOp ( 342 | TermList ';' Term {$$ = TrLinkPeerOp ( 344 | TermList ';' Term ';' {$$ = TrLinkPeerOp (
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionOptimizer.cpp | 148 MachineBasicBlock::iterator Term = MBB->getFirstTerminator(); local 149 if (Term == MBB->end()) 152 if (Term->getOpcode() != AArch64::Bcc) 161 for (MachineBasicBlock::iterator B = MBB->begin(), It = Term; It != B;) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyCFGSort.cpp | 154 for (const MachineInstr &Term : MBB->terminators()) { 156 AnyBarrier |= Term.isBarrier(); 158 AllAnalyzable &= Term.isBranch() && !Term.isIndirectBranch();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | AnalysisBasedWarnings.cpp | 415 const Stmt *Term = B->getTerminatorStmt(); local 416 if (Term && isa<CXXTryStmt>(Term)) 464 const Stmt *Term = B.getTerminatorStmt(); local 465 if (Term && isa<CXXTryStmt>(Term)) { 845 const Stmt *Term = I->Terminator; local 861 switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) { 869 const IfStmt *IS = cast<IfStmt>(Term); 1103 const Stmt *Term = P->getTerminatorStmt(); local 1302 const Stmt *Term = B->getTerminatorStmt(); local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | BasicBlock.cpp | 369 auto *Term = getTerminator(); local 371 if (!Term) 375 assert(Term->getNumSuccessors() > 0); 378 return !Term->isExceptionalTerminator();
|