Home
last modified time | relevance | path

Searched refs:Term (Results 1 – 25 of 99) sorted by relevance

1234

/external/llvm/lib/Target/R600/
DSIAnnotateControlFlow.cpp79 void openIf(BranchInst *Term);
81 void insertElse(BranchInst *Term);
85 void handleLoop(BranchInst *Term);
192 void SIAnnotateControlFlow::openIf(BranchInst *Term) { in openIf() argument
193 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf()
194 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf()
195 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf()
199 void SIAnnotateControlFlow::insertElse(BranchInst *Term) { in insertElse() argument
200 Value *Ret = CallInst::Create(Else, popSaved(), "", Term); in insertElse()
201 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse()
[all …]
/external/llvm/include/llvm/IR/
DCFG.h114 const Term_ Term;
119 return idx >= 0 && (unsigned) idx < Term->getNumSuccessors(); in index_is_valid()
135 it.Term->setSuccessor(it.idx, r);
143 explicit inline SuccIterator(Term_ T) : Term(T), idx(0) {// begin iterator in SuccIterator()
146 : Term(T) { in SuccIterator()
147 if (Term) in SuccIterator()
148 idx = Term->getNumSuccessors(); in SuccIterator()
159 assert(Term == I.Term &&"Cannot assign iterators to two different blocks!");
171 inline reference operator*() const { return Term->getSuccessor(idx); }
186 assert(Term == x.Term && "Cannot compare iterators of different blocks!");
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp344 if (const Stmt *Term = B->getTerminator()) { in HandleBlockExit() local
345 switch (Term->getStmtClass()) { in HandleBlockExit()
351 HandleStaticInit(cast<DeclStmt>(Term), B, Pred); in HandleBlockExit()
355 HandleBranch(cast<BinaryOperator>(Term)->getLHS(), Term, B, Pred); in HandleBlockExit()
360 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(), in HandleBlockExit()
361 Term, B, Pred); in HandleBlockExit()
368 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
385 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
389 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
393 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
[all …]
DBugReporter.cpp1306 static bool isLoop(const Stmt *Term) { in isLoop() argument
1307 switch (Term->getStmtClass()) { in isLoop()
1327 static bool isLoopJumpPastBody(const Stmt *Term, const BlockEdge *BE) { in isLoopJumpPastBody() argument
1328 if (!isLoop(Term)) in isLoopJumpPastBody()
1344 static const Stmt *getStmtBeforeCond(ParentMap &PM, const Stmt *Term, in getStmtBeforeCond() argument
1350 if (!isContainedByStmt(PM, Term, S)) in getStmtBeforeCond()
1358 static bool isInLoopBody(ParentMap &PM, const Stmt *S, const Stmt *Term) { in isInLoopBody() argument
1360 switch (Term->getStmtClass()) { in isInLoopBody()
1362 const CXXForRangeStmt *FR = cast<CXXForRangeStmt>(Term); in isInLoopBody()
1371 const ForStmt *FS = cast<ForStmt>(Term); in isInLoopBody()
[all …]
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp191 Value *buildCondition(BranchInst *Term, unsigned Idx, bool Invert);
299 BranchInst *Term = cast<BranchInst>(BB->getTerminator()); in analyzeLoops() local
301 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { in analyzeLoops()
302 BasicBlock *Succ = Term->getSuccessor(i); in analyzeLoops()
349 Value *StructurizeCFG::buildCondition(BranchInst *Term, unsigned Idx, in buildCondition() argument
352 if (Term->isConditional()) { in buildCondition()
353 Cond = Term->getCondition(); in buildCondition()
379 BranchInst *Term = cast<BranchInst>((*PI)->getTerminator()); in gatherPredicates() local
380 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { in gatherPredicates()
381 BasicBlock *Succ = Term->getSuccessor(i); in gatherPredicates()
[all …]
/external/llvm/lib/CodeGen/
DPHIElimination.cpp426 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() local
427 Term != opBlock.end(); ++Term) { in LowerPHINode()
428 if (Term->readsRegister(SrcReg)) in LowerPHINode()
429 KillInst = Term; in LowerPHINode()
486 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() local
487 Term != opBlock.end(); ++Term) { in LowerPHINode()
488 if (Term->readsRegister(SrcReg)) in LowerPHINode()
489 KillInst = Term; in LowerPHINode()
/external/skia/include/core/
DSkGraphics.h27 static void Term();
168 SkGraphics::Term(); in ~SkAutoGraphics()
/external/llvm/test/Transforms/ArgumentPromotion/
D2008-09-08-CGUpdateSelfEdge.ll3 define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind {
15 define i32 @term_Sharing(i32* %Term) nounwind {
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dcommit-log-editor160 Term::ReadKey::ReadMode('cbreak');
161 my $key = Term::ReadKey::ReadKey(0);
162 Term::ReadKey::ReadMode('normal');
319 eval { require Term::ReadKey; };
/external/chromium_org/third_party/skia/include/core/
DSkGraphics.h27 static void Term();
187 SkGraphics::Term(); in ~SkAutoGraphics()
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp377 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() local
404 Term->setSuccessor(!ContinueOnTrue, Dest); in UnrollLoop()
420 BranchInst::Create(Dest, Term); in UnrollLoop()
421 Term->eraseFromParent(); in UnrollLoop()
427 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() local
428 if (Term->isUnconditional()) { in UnrollLoop()
429 BasicBlock *Dest = Term->getSuccessor(0); in UnrollLoop()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp704 const Stmt *Term = I->Terminator; in DiagUninitUse() local
720 switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) { in DiagUninitUse()
728 const IfStmt *IS = cast<IfStmt>(Term); in DiagUninitUse()
738 const ConditionalOperator *CO = cast<ConditionalOperator>(Term); in DiagUninitUse()
748 const BinaryOperator *BO = cast<BinaryOperator>(Term); in DiagUninitUse()
770 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse()
777 Range = cast<ForStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse()
793 Range = cast<CXXForRangeStmt>(Term)->getRangeInit()->getSourceRange(); in DiagUninitUse()
800 Range = cast<DoStmt>(Term)->getCond()->getSourceRange(); in DiagUninitUse()
809 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
[all …]
/external/chromium_org/third_party/skia/tools/
DiOSShell.cpp99 SkEvent::Term(); in application_term()
100 SkGraphics::Term(); in application_term()
/external/clang/lib/Analysis/
DCFGStmtMap.cpp74 if (Stmt *Term = B->getTerminator()) in Accumulate() local
75 SM[Term] = B; in Accumulate()
DReachableCode.cpp52 if (const Stmt *Term = B->getTerminator()) { in isTrivialDoWhile() local
53 if (const DoStmt *DS = dyn_cast<DoStmt>(Term)) { in isTrivialDoWhile()
254 if (const Stmt *Term = B->getTerminator()) { in shouldTreatSuccessorsAsReachable() local
255 if (isa<SwitchStmt>(Term)) in shouldTreatSuccessorsAsReachable()
258 if (isa<BinaryOperator>(Term)) { in shouldTreatSuccessorsAsReachable()
259 return isConfigurationValue(Term, PP); in shouldTreatSuccessorsAsReachable()
/external/chromium_org/third_party/skia/experimental/SimpleiOSApp/
DSimpleApp.mm38 SkGraphics::Term();
39 SkEvent::Term();
/external/skia/experimental/SimpleiOSApp/
DSimpleApp.mm37 SkGraphics::Term();
38 SkEvent::Term();
/external/llvm/lib/Analysis/
DCFG.cpp73 TerminatorInst *Term = BB->getTerminator(); in GetSuccessorNumber() local
75 unsigned e = Term->getNumSuccessors(); in GetSuccessorNumber()
79 if (Term->getSuccessor(i) == Succ) in GetSuccessorNumber()
/external/skia/src/core/
DSkGraphics.cpp129 void SkGraphics::Term() { in Term() function in SkGraphics
131 SkPaint::Term(); in Term()
/external/chromium_org/third_party/skia/src/core/
DSkGraphics.cpp129 void SkGraphics::Term() { in Term() function in SkGraphics
132 SkPaint::Term(); in Term()
/external/skia/experimental/Intersection/
DEdgeDemoApp.mm64 SkGraphics::Term();
65 SkEvent::Term();
/external/chromium_org/third_party/skia/experimental/Intersection/
DEdgeDemoApp.mm64 SkGraphics::Term();
65 SkEvent::Term();
/external/chromium_org/third_party/skia/experimental/pixman/
Dpixman.mm69 SkGraphics::Term();
70 SkEvent::Term();
/external/skia/experimental/pixman/
Dpixman.mm69 SkGraphics::Term();
70 SkEvent::Term();
/external/llvm/utils/TableGen/
DSequenceToOffsetTable.h112 const char *Term = "0") const {
122 OS << Term << ",\n";

1234