/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 92 void openIf(BranchInst *Term); 94 void insertElse(BranchInst *Term); 98 BranchInst *Term, 101 void handleLoop(BranchInst *Term); 209 void SIAnnotateControlFlow::openIf(BranchInst *Term) { in openIf() argument 210 if (isUniform(Term)) in openIf() 213 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf() 214 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf() 215 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf() 219 void SIAnnotateControlFlow::insertElse(BranchInst *Term) { in insertElse() argument [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 84 void openIf(BranchInst *Term); 86 void insertElse(BranchInst *Term); 89 llvm::Loop *L, BranchInst *Term); 91 void handleLoop(BranchInst *Term); 215 void SIAnnotateControlFlow::openIf(BranchInst *Term) { in openIf() argument 216 if (isUniform(Term)) { in openIf() 219 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf() 220 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf() 221 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf() 225 void SIAnnotateControlFlow::insertElse(BranchInst *Term) { in insertElse() argument [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CFG.h | 98 const Term_ Term; variable 104 return idx >= 0 && (unsigned) idx < Term->getNumSuccessors(); in index_is_valid() 111 explicit inline SuccIterator(Term_ T) : Term(T), idx(0) {// begin iterator in SuccIterator() 114 : Term(T) { in SuccIterator() 115 if (Term) in SuccIterator() 116 idx = Term->getNumSuccessors(); in SuccIterator() 127 assert(Term == I.Term &&"Cannot assign iterators to two different blocks!"); 139 inline pointer operator*() const { return Term->getSuccessor(idx); } 154 assert(Term == x.Term && "Cannot compare iterators of different blocks!"); 159 assert(Term == x.Term && "Cannot compare iterators of different blocks!"); [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CoreEngine.cpp | 357 if (const Stmt *Term = B->getTerminator()) { in HandleBlockExit() local 358 switch (Term->getStmtClass()) { in HandleBlockExit() 369 HandleStaticInit(cast<DeclStmt>(Term), B, Pred); in HandleBlockExit() 373 HandleBranch(cast<BinaryOperator>(Term)->getLHS(), Term, B, Pred); in HandleBlockExit() 378 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(), in HandleBlockExit() 379 Term, B, Pred); in HandleBlockExit() 386 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() 403 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() 407 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() 411 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 214 Value *buildCondition(BranchInst *Term, unsigned Idx, bool Invert); 389 BranchInst *Term = cast<BranchInst>(BB->getTerminator()); in analyzeLoops() local 391 for (BasicBlock *Succ : Term->successors()) in analyzeLoops() 431 Value *StructurizeCFG::buildCondition(BranchInst *Term, unsigned Idx, in buildCondition() argument 434 if (Term->isConditional()) { in buildCondition() 435 Cond = Term->getCondition(); in buildCondition() 458 BranchInst *Term = cast<BranchInst>(P->getTerminator()); in gatherPredicates() local 459 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { in gatherPredicates() 460 BasicBlock *Succ = Term->getSuccessor(i); in gatherPredicates() 466 if (Term->isConditional()) { in gatherPredicates() [all …]
|
D | PlaceSafepoints.cpp | 351 TerminatorInst *Term = Pred->getTerminator(); in runOnLoop() local 353 LLVM_DEBUG(dbgs() << "[LSP] terminator instruction: " << *Term); in runOnLoop() 355 PollLocations.push_back(Term); in runOnLoop() 538 for (TerminatorInst *Term : PollLocations) { in runOnFunction() 554 for (unsigned i = 0; i < Term->getNumSuccessors(); i++) { in runOnFunction() 555 BasicBlock *Succ = Term->getSuccessor(i); in runOnFunction() 556 if (DT.dominates(Succ, Term->getParent())) { in runOnFunction() 567 BasicBlock *NewBB = SplitEdge(Term->getParent(), Header, &DT); in runOnFunction() 573 PollsNeeded.push_back(Term); in runOnFunction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 200 Value *buildCondition(BranchInst *Term, unsigned Idx, bool Invert); 369 BranchInst *Term = cast<BranchInst>(BB->getTerminator()); in analyzeLoops() local 371 for (BasicBlock *Succ : Term->successors()) in analyzeLoops() 416 Value *StructurizeCFG::buildCondition(BranchInst *Term, unsigned Idx, in buildCondition() argument 419 if (Term->isConditional()) { in buildCondition() 420 Cond = Term->getCondition(); in buildCondition() 446 BranchInst *Term = cast<BranchInst>((*PI)->getTerminator()); in gatherPredicates() local 447 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { in gatherPredicates() 448 BasicBlock *Succ = Term->getSuccessor(i); in gatherPredicates() 454 if (Term->isConditional()) { in gatherPredicates() [all …]
|
D | PlaceSafepoints.cpp | 342 TerminatorInst *Term = Pred->getTerminator(); in runOnLoop() local 344 DEBUG(dbgs() << "[LSP] terminator instruction: " << *Term); in runOnLoop() 346 PollLocations.push_back(Term); in runOnLoop() 526 for (TerminatorInst *Term : PollLocations) { in runOnFunction() 542 for (unsigned i = 0; i < Term->getNumSuccessors(); i++) { in runOnFunction() 543 BasicBlock *Succ = Term->getSuccessor(i); in runOnFunction() 544 if (DT.dominates(Succ, Term->getParent())) { in runOnFunction() 555 BasicBlock *NewBB = SplitEdge(Term->getParent(), Header, &DT); in runOnFunction() 561 PollsNeeded.push_back(Term); in runOnFunction()
|
/external/apache-commons-bcel/src/examples/Mini/ |
D | Mini.bnf | 58 Term [AddOp Term] 64 Term:
|
/external/llvm/lib/CodeGen/ |
D | PHIElimination.cpp | 428 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() local 429 Term != opBlock.end(); ++Term) { in LowerPHINode() 430 if (Term->readsRegister(SrcReg)) in LowerPHINode() 431 KillInst = Term; in LowerPHINode() 488 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() local 489 Term != opBlock.end(); ++Term) { in LowerPHINode() 490 if (Term->readsRegister(SrcReg)) in LowerPHINode() 491 KillInst = Term; in LowerPHINode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PHIElimination.cpp | 442 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() local 443 Term != opBlock.end(); ++Term) { in LowerPHINode() 444 if (Term->readsRegister(SrcReg)) in LowerPHINode() 445 KillInst = Term; in LowerPHINode() 502 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() local 503 Term != opBlock.end(); ++Term) { in LowerPHINode() 504 if (Term->readsRegister(SrcReg)) in LowerPHINode() 505 KillInst = Term; in LowerPHINode()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 328 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() local 351 Term->setSuccessor(!ContinueOnTrue, Dest); in UnrollLoop() 367 BranchInst::Create(Dest, Term); in UnrollLoop() 368 Term->eraseFromParent(); in UnrollLoop() 374 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() local 375 if (Term->isUnconditional()) { in UnrollLoop() 376 BasicBlock *Dest = Term->getSuccessor(0); in UnrollLoop()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | PHIElimination.cpp | 345 MachineBasicBlock::iterator Term = opBlock.getFirstTerminator(); in LowerAtomicPHINode() local 346 if (Term != opBlock.end() && Term->readsRegister(SrcReg)) { in LowerAtomicPHINode() 347 KillInst = Term; in LowerAtomicPHINode() 351 for (MachineBasicBlock::iterator TI = llvm::next(Term); in LowerAtomicPHINode() 362 KillInst = Term; in LowerAtomicPHINode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 711 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() local 743 Term->setSuccessor(!ContinueOnTrue, Dest); in UnrollLoop() 756 BranchInst::Create(Dest, Term); in UnrollLoop() 757 Term->eraseFromParent(); in UnrollLoop() 785 TerminatorInst *Term = IterLatch->getTerminator(); in UnrollLoop() local 786 if (isa<BranchInst>(Term) && cast<BranchInst>(Term)->isConditional()) { in UnrollLoop() 808 BranchInst *Term = cast<BranchInst>(Latch->getTerminator()); in UnrollLoop() local 809 if (Term->isUnconditional()) { in UnrollLoop() 810 BasicBlock *Dest = Term->getSuccessor(0); in UnrollLoop()
|
D | LoopUnrollAndJam.cpp | 488 BranchInst *Term = cast<BranchInst>(AftBlocksLast.back()->getTerminator()); in UnrollAndJamLoop() local 490 BranchInst::Create(LoopExit, Term); in UnrollAndJamLoop() 491 Term->eraseFromParent(); in UnrollAndJamLoop() 493 Term->setSuccessor(!ContinueOnTrue, ForeBlocksFirst[0]); in UnrollAndJamLoop() 534 BranchInst *Term = dyn_cast<BranchInst>(BB->getTerminator()); in UnrollAndJamLoop() local 535 if (Term && Term->isUnconditional() && L->contains(Term->getSuccessor(0))) { in UnrollAndJamLoop() 536 BasicBlock *Dest = Term->getSuccessor(0); in UnrollAndJamLoop()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 92 for (auto Term : Terms) { in simplify() local 93 if (Term.second <= 0) in simplify() 95 for (int I = 0; I < Term.second; ++I) in simplify() 97 C = Counter::getCounter(Term.first); in simplify() 100 Counter::getCounter(Term.first))); in simplify() 104 for (auto Term : Terms) { in simplify() local 105 if (Term.second >= 0) in simplify() 107 for (int I = 0; I < -Term.second; ++I) in simplify() 109 Counter::getCounter(Term.first))); in simplify()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyCFGSort.cpp | 71 for (const MachineInstr &Term : MBB->terminators()) { in MaybeUpdateTerminator() local 73 AnyBarrier |= Term.isBarrier(); in MaybeUpdateTerminator() 75 AllAnalyzable &= Term.isBranch() && !Term.isIndirectBranch(); in MaybeUpdateTerminator()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 711 const Stmt *Term = I->Terminator; in DiagUninitUse() local 727 switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) { in DiagUninitUse() 735 const IfStmt *IS = cast<IfStmt>(Term); in DiagUninitUse() 745 const ConditionalOperator *CO = cast<ConditionalOperator>(Term); in DiagUninitUse() 755 const BinaryOperator *BO = cast<BinaryOperator>(Term); in DiagUninitUse() 777 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse() 784 Range = cast<ForStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse() 800 Range = cast<CXXForRangeStmt>(Term)->getRangeInit()->getSourceRange(); in DiagUninitUse() 807 Range = cast<DoStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse() 816 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse() [all …]
|
/external/swiftshader/third_party/LLVM/test/Transforms/ArgumentPromotion/ |
D | 2008-09-08-CGUpdateSelfEdge.ll | 3 define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind { 15 define i32 @term_Sharing(i32* %Term) nounwind {
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ArgumentPromotion/ |
D | 2008-09-08-CGUpdateSelfEdge.ll | 3 define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind { 15 define i32 @term_Sharing(i32* %Term) nounwind {
|
/external/llvm/test/Transforms/ArgumentPromotion/ |
D | 2008-09-08-CGUpdateSelfEdge.ll | 3 define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind { 15 define i32 @term_Sharing(i32* %Term) nounwind {
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 511 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() local 539 Term->setSuccessor(!ContinueOnTrue, Dest); in UnrollLoop() 554 BranchInst::Create(Dest, Term); in UnrollLoop() 555 Term->eraseFromParent(); in UnrollLoop() 584 BranchInst *Term = cast<BranchInst>(Latch->getTerminator()); in UnrollLoop() local 585 if (Term->isUnconditional()) { in UnrollLoop() 586 BasicBlock *Dest = Term->getSuccessor(0); in UnrollLoop()
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | parser.y | 200 %type <expr> OptExprList ExprList Expr Term Lhs Terminal ArrayInit KeySyms 642 | Term 646 Term : MINUS Term 648 | PLUS Term 650 | EXCLAM Term 652 | INVERT Term
|
/external/clang/lib/Analysis/ |
D | CFGStmtMap.cpp | 74 if (Stmt *Term = B->getTerminator()) in Accumulate() local 75 SM[Term] = B; in Accumulate()
|
/external/llvm/lib/Analysis/ |
D | CFG.cpp | 74 const TerminatorInst *Term = BB->getTerminator(); in GetSuccessorNumber() local 76 unsigned e = Term->getNumSuccessors(); in GetSuccessorNumber() 80 if (Term->getSuccessor(i) == Succ) in GetSuccessorNumber()
|