Searched refs:Term (Results 26 - 50 of 66) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp173 auto *Term = findTerminatingInstruction(F.getEntryBlock()); local
174 insertDbgVal(*Term, Term);
H A DFunctionComparator.cpp961 const Instruction *Term = BB->getTerminator(); local
962 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) {
963 if (!VisitedBBs.insert(Term->getSuccessor(i)).second)
965 BBs.push_back(Term->getSuccessor(i));
H A DCodeExtractor.cpp1028 Instruction *Term = TheCall->getParent()->getTerminator(); local
1055 Marker->insertBefore(Term);
1721 const Instruction *Term = BB.getTerminator();
1722 return isa<ReturnInst>(Term) || isa<ResumeInst>(Term);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp360 llvm::Instruction *Term = Block->getTerminator(); local
361 assert(Term && "can't transition block without terminator");
363 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) {
366 "cleanup.dest", Term);
372 return cast<llvm::SwitchInst>(Term);
583 llvm::Instruction *Term = Exit->getTerminator(); local
585 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) {
589 llvm::SwitchInst *Switch = cast<llvm::SwitchInst>(Term);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1001 static bool isLoop(const Stmt *Term) { argument
1002 switch (Term->getStmtClass()) {
1030 static const Stmt *getStmtBeforeCond(const ParentMap &PM, const Stmt *Term, argument
1036 if (!isContainedByStmt(PM, Term, S))
1044 static bool isInLoopBody(const ParentMap &PM, const Stmt *S, const Stmt *Term) { argument
1046 switch (Term->getStmtClass()) {
1048 const auto *FR = cast<CXXForRangeStmt>(Term);
1057 const auto *FS = cast<ForStmt>(Term);
1064 const auto *FC = cast<ObjCForCollectionStmt>(Term);
1069 LoopBody = cast<WhileStmt>(Term)
[all...]
H A DBugReporterVisitors.cpp2162 if (const Stmt *Term = SrcBlock->getTerminatorStmt()) {
2172 return VisitTerminator(Term, N, SrcBlock, BE->getDst(), BR, BRC);
2190 const Stmt *Term, const ExplodedNode *N, const CFGBlock *srcBlk,
2195 // In the code below, Term is a CFG terminator and Cond is a branch condition
2208 switch (Term->getStmtClass()) {
2214 Cond = cast<IfStmt>(Term)->getCond();
2217 Cond = cast<ConditionalOperator>(Term)->getCond();
2223 const auto *BO = cast<BinaryOperator>(Term);
2189 VisitTerminator( const Stmt *Term, const ExplodedNode *N, const CFGBlock *srcBlk, const CFGBlock *dstBlk, PathSensitiveBugReport &R, BugReporterContext &BRC) argument
H A DExprEngineC.cpp712 if (const BinaryOperator *Term = cast_or_null<BinaryOperator>(T.getStmt())) {
713 (void) Term;
714 assert(Term->isLogicalOp());
H A DExprEngine.cpp1962 const Stmt *Term = nodeBuilder.getContext().getBlock()->getTerminatorStmt(); local
1963 if (Term) {
1964 ProgramStateRef NewState = updateLoopStack(Term, AMgr.getASTContext(),
1983 const Stmt *Term = nodeBuilder.getContext().getBlock()->getTerminatorStmt(); local
1984 if (!(Term &&
1985 (isa<ForStmt>(Term) || isa<WhileStmt>(Term) || isa<DoStmt>(Term))))
1990 getWidenedLoopState(Pred->getState(), LCtx, BlockCount, Term);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp137 auto Term = BB.getTerminator(); local
138 return !BB.hasAddressTaken() && !BB.isEHPad() && !isa<InvokeInst>(Term) &&
139 !isa<ResumeInst>(Term);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp515 Instruction *Term = BB->getTerminator(); local
516 Builder.SetInsertPoint(Term);
518 Term->eraseFromParent();
H A DCorrelatedValuePropagation.cpp888 Instruction *Term = BB->getTerminator(); local
889 switch (Term->getOpcode()) {
891 BBChanged |= processSwitch(cast<SwitchInst>(Term), LVI, DT);
894 auto *RI = cast<ReturnInst>(Term);
H A DLoopPredication.cpp989 auto *Term = Pred->getTerminator(); local
993 if (parseWidenableBranch(Term, Cond, WC, IfTrueBB, IfFalseBB) &&
995 return cast<BranchInst>(Term);
H A DJumpThreading.cpp1659 Instruction *Term = BB->getTerminator(); local
1660 BranchInst::Create(OnlyDest, Term);
1661 Term->eraseFromParent();
2827 Instruction *Term = local
2830 BasicBlock *NewBB = Term->getParent();
2832 NewPN->addIncoming(SI->getTrueValue(), Term->getParent());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixIrreducibleControlFlow.cpp465 for (MachineInstr &Term : Pred->terminators())
466 for (auto &Op : Term.explicit_uses())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp636 const Stmt *Term = Block->getTerminatorStmt(); local
638 Term) {
651 if (isa<SwitchStmt>(Term)) {
662 Branch.Terminator = Term;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp58 SmallVectorImpl<Term> &Terms) {
76 SmallVector<Term, 32> Terms;
85 llvm::sort(Terms, [](const Term &LHS, const Term &RHS) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h239 VisitTerminator(const Stmt *Term, const ExplodedNode *N,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h172 struct Term { struct in class:llvm::coverage::CounterExpressionBuilder
176 Term(unsigned CounterID, int Factor) function in struct:llvm::coverage::CounterExpressionBuilder::Term
185 void extractTerms(Counter C, int Sign, SmallVectorImpl<Term> &Terms);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp515 const Instruction *Term = ExitBB->getTerminator(); local
516 const ReturnInst *Ret = dyn_cast<ReturnInst>(Term);
528 Call.getCallingConv() != CallingConv::Tail) || !isa<UnreachableInst>(Term)))
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp391 Instruction* Term = BB->getTerminator(); variable
412 PT->push_back(BinaryOperator::Create(Op, Val0, Val1, "B", Term));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILowerControlFlow.cpp178 for (auto &Term : MBB->terminators())
179 if (TII->isKillTerminator(Term.getOpcode()))
/freebsd-13-stable/usr.sbin/ppp/
H A Dccp.c196 " REQ%s, %u Term REQ%s\n", ccp->cfg.fsm.timeout,
414 /* Term REQ just sent by FSM */
420 /* Send Term ACK please */
453 (*algorithm[ccp->in.algorithm]->i.Term)(ccp->in.state);
458 (*algorithm[ccp->out.algorithm]->o.Term)(ccp->out.state);
/freebsd-13-stable/sys/contrib/dev/acpica/compiler/
H A Dasltypes.y183 %type <n> Term
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp557 MachineBasicBlock::iterator Term = MBB->getFirstTerminator(); local
558 adjustLiveRegs(Bundle.Mask, Term);
569 shuffleStackTop(Bundle.FixStack, Bundle.FixCount, Term);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h115 void HandleBranch(const Stmt *Cond, const Stmt *Term, const CFGBlock *B,

Completed in 308 milliseconds

123