HomeSort by relevance Sort by last modified time
    Searched full:getterminator (Results 1 - 25 of 115) sorted by null

1 2 3 4 5

  /external/llvm/tools/llvm-stress/
llvm-stress.cpp 283 Value *V = new LoadInst(Ptr, "L", BB->getTerminator());
302 new StoreInst(Val, Ptr, BB->getTerminator());
324 Instruction* Term = BB->getTerminator();
416 "E", BB->getTerminator());
443 BB->getTerminator());
459 "I", BB->getTerminator());
487 new BitCastInst(V, DestTy, "PC", BB->getTerminator()));
496 new BitCastInst(V, DestTy, "BC", BB->getTerminator()));
504 new TruncInst(V, DestTy, "Tr", BB->getTerminator()));
509 new ZExtInst(V, DestTy, "ZE", BB->getTerminator()));
    [all...]
  /external/llvm/lib/CodeGen/
SjLjEHPrepare.cpp 235 EntryBB->getTerminator());
237 EntryBB->getTerminator());
241 EntryBB->getTerminator());
244 EntryBB->getTerminator());
245 new StoreInst(LSDA, LSDAFieldPtr, true, EntryBB->getTerminator());
403 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) {
406 } else if (ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator())) {
429 EntryBB->getTerminator());
434 EntryBB->getTerminator());
439 EntryBB->getTerminator());
    [all...]
  /external/llvm/lib/Transforms/Utils/
LowerInvoke.cpp 174 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) {
396 if (ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator())) {
400 } else if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) {
441 EntryBB->getTerminator());
445 EntryBB->getTerminator());
446 new StoreInst(OldBuf, OldJmpBufPtr, true, EntryBB->getTerminator());
449 new StoreInst(JmpBuf, JBListHead, true, EntryBB->getTerminator());
467 InvokeNum, true, EntryBB->getTerminator());
483 BasicBlock *ContBlock = EntryBB->splitBasicBlock(EntryBB->getTerminator(),
488 EntryBB->getTerminator());
    [all...]
LoopUnrollRuntime.cpp 76 PrologEnd->getTerminator());
108 Instruction *InsertPt = PrologEnd->getTerminator();
165 InsertTop->getTerminator()->setSuccessor(0, NewBB);
189 VMap.erase((*BB)->getTerminator());
190 NewBB->getTerminator()->eraseFromParent();
272 BasicBlock *NewPH = SplitBlock(PEnd, PEnd->getTerminator(), LPM->getAsPass());
273 BranchInst *PreHeaderBR = cast<BranchInst>(PH->getTerminator());
351 PH->getTerminator()->setSuccessor(0, NewBB);
UnifyFunctionExitNodes.cpp 55 if (isa<ReturnInst>(I->getTerminator()))
57 else if (isa<UnreachableInst>(I->getTerminator()))
115 PN->addIncoming(BB->getTerminator()->getOperand(0), BB);
BasicBlockUtils.cpp 39 TerminatorInst *BBTerm = BB->getTerminator();
126 if (isa<InvokeInst>(PredBB->getTerminator())) return false;
243 TerminatorInst *Term = BB->getTerminator();
260 TerminatorInst *LatchTerm = BB->getTerminator();
277 assert(BB->getTerminator()->getNumSuccessors() == 1 &&
279 return SplitBlock(BB, BB->getTerminator(), P);
469 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) &&
471 Preds[i]->getTerminator()->replaceUsesOfWith(BB, NewBB);
529 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) &&
531 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1)
    [all...]
LoopSimplify.cpp 173 TerminatorInst *TI = (*I)->getTerminator();
175 (*I)->getTerminator()->eraseFromParent();
188 if (BranchInst *BI = dyn_cast<BranchInst>((*I)->getTerminator()))
296 BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator());
312 Preheader ? Preheader->getTerminator() : 0)) {
375 if (isa<IndirectBrInst>(P->getTerminator())) return 0;
394 PreheaderBB->getTerminator()->setDebugLoc(
415 if (isa<IndirectBrInst>(P->getTerminator())) return 0;
560 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator()))
666 if (isa<IndirectBrInst>(P->getTerminator()))
    [all...]
SimplifyCFG.cpp 144 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator());
145 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator());
197 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator());
285 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator());
554 Value *PredVal = isValueEqualityComparison(Pred->getTerminator());
563 BasicBlock *PredDef = GetValueEqualityComparisonCases(Pred->getTerminator(),
592 DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator()
605 DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator()
656 DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator()
700 TerminatorInst *PTI = Pred->getTerminator();
    [all...]
DemoteRegToStack.cpp 60 PN->getIncomingBlock(i)->getTerminator());
123 P->getIncomingBlock(i)->getTerminator());
LowerExpectIntrinsic.cpp 148 if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) {
151 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) {
  /external/llvm/include/llvm/Analysis/
CFGPrinter.h 86 if (const BranchInst *BI = dyn_cast<BranchInst>(Node->getTerminator()))
91 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
  /external/mesa3d/src/pixelflinger2/
llvm_helper.h 166 if (!m_builder.GetInsertBlock()->getTerminator()) // ret void is a block terminator
170 m_builder.GetInsertBlock()->getTerminator()->dump();
181 if (!m_builder.GetInsertBlock()->getTerminator()) // ret void is a block terminator
185 m_builder.GetInsertBlock()->getTerminator()->dump();
  /external/llvm/lib/Transforms/IPO/
PartialInlining.cpp 53 BranchInst *BR = dyn_cast<BranchInst>(entryBlock->getTerminator());
62 if (isa<ReturnInst>((*SI)->getTerminator())) {
109 newEntryBlock->getTerminator()->replaceUsesOfWith(preReturn, newReturnBlock);
LoopExtractor.cpp 101 L->getHeader()->getParent()->getEntryBlock().getTerminator();
112 if (!isa<ReturnInst>(ExitBlocks[i]->getTerminator())) {
231 isa<InvokeInst>(Parent->getTerminator())) {
297 dyn_cast<InvokeInst>(BlocksToExtract[i]->getTerminator()))
PruneEH.cpp 104 if (CheckUnwind && isa<ResumeInst>(BB->getTerminator())) {
107 } else if (CheckReturn && isa<ReturnInst>(BB->getTerminator())) {
174 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()))
  /external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp 172 << "' with terminator: " << *BB->getTerminator() << '\n');
180 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
600 TerminatorInst *BBTerm = BB->getTerminator();
641 if (SinglePred->getTerminator()->getNumSuccessors() == 1 &&
665 Instruction *Terminator = BB->getTerminator();
696 TerminatorInst *BBTerm = BB->getTerminator();
714 << "' folding terminator: " << *BB->getTerminator() << '\n');
735 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
797 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
803 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
    [all...]
SimplifyCFGPass.cpp 160 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()))
220 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator());
253 cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0)) {
262 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0);
270 RetBlock->getTerminator()->setOperand(0, RetBlockPHI);
277 BB.getTerminator()->eraseFromParent();
LoopIdiomRecognize.cpp 474 IRBuilder<> Builder(Preheader->getTerminator());
485 Preheader->getTerminator());
511 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator());
563 IRBuilder<> Builder(Preheader->getTerminator());
575 Preheader->getTerminator());
591 Preheader->getTerminator());
617 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator());
  /external/llvm/lib/Analysis/
BranchProbabilityInfo.cpp 89 return UINT32_MAX / BB->getTerminator()->getNumSuccessors();
98 TerminatorInst *TI = BB->getTerminator();
147 TerminatorInst *TI = BB->getTerminator();
185 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator());
277 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator());
338 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
  /external/llvm/lib/Transforms/Instrumentation/
EdgeProfiling.cpp 73 NumEdges += BB->getTerminator()->getNumSuccessors();
94 TerminatorInst *TI = BB->getTerminator();
OptimalEdgeProfiling.cpp 99 if (BB->getTerminator()->getNumSuccessors() == 0) {
103 NumEdges += BB->getTerminator()->getNumSuccessors();
171 TerminatorInst *TI = BB->getTerminator();
  /external/llvm/include/llvm/Support/
CFG.h 125 // consequently getTerminator() returns NULL. In this case we construct a
227 return succ_iterator(BB->getTerminator());
230 return succ_const_iterator(BB->getTerminator());
233 return succ_iterator(BB->getTerminator(), true);
236 return succ_const_iterator(BB->getTerminator(), true);
  /external/llvm/include/llvm/Transforms/Utils/
BasicBlockUtils.h 117 return SplitCriticalEdge(BB->getTerminator(), SI.getSuccessorIndex(), P);
127 TerminatorInst *TI = (*PI)->getTerminator();
142 TerminatorInst *TI = Src->getTerminator();
  /external/clang/lib/Analysis/
CFGStmtMap.cpp 74 if (Stmt *Term = B->getTerminator())
  /external/llvm/lib/VMCore/
BasicBlock.cpp 120 TerminatorInst *BasicBlock::getTerminator() {
125 const TerminatorInst *BasicBlock::getTerminator() const {
299 assert(getTerminator() && "Can't use splitBasicBlock on degenerate BB!");
338 TerminatorInst *TI = getTerminator();

Completed in 1382 milliseconds

1 2 3 4 5