HomeSort by relevance Sort by last modified time
    Searched defs:NewBB (Results 1 - 15 of 15) sorted by null

  /external/llvm/lib/CodeGen/
StackProtector.cpp 218 BasicBlock *NewBB = BB->splitBasicBlock(RI, "SP_return");
221 DT->addNewBlock(NewBB, BB);
230 NewBB->moveAfter(BB);
236 BranchInst::Create(NewBB, FailBB, Cmp, BB);
DwarfEHPrepare.cpp 408 BasicBlock *NewBB = BasicBlock::Create(F->getContext(),
412 LPad->getParent()->getBasicBlockList().insert(LPad, NewBB);
414 // Redirect unwind edges from the original landing pad to NewBB.
419 PT->setSuccessor(1, NewBB);
423 // merge incoming values from NewBB instead.
426 pred_iterator PB = pred_begin(NewBB), PE = pred_end(NewBB);
440 // in NewBB.
443 PN->getName()+".unwind", NewBB);
448 // Now use this new PHI as the common incoming value for NewBB in PN
    [all...]
ShadowStackGC.cpp 166 BasicBlock *NewBB =
171 NewBB->getInstList().remove(CI);
179 NewBB, CleanupBB,
  /external/llvm/lib/Transforms/Utils/
BasicBlockUtils.cpp 320 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB,
358 DT->splitBlock(NewBB);
386 InnermostPredLoop->addBasicBlockToLoop(NewBB, LI->getBase());
388 L->addBasicBlockToLoop(NewBB, LI->getBase());
390 L->moveToHeader(NewBB);
395 /// from NewBB. This also updates AliasAnalysis, if available.
396 static void UpdatePHINodes(BasicBlock *OrigBB, BasicBlock *NewBB,
399 // Otherwise, create a new PHI node in NewBB for each PHI node in OrigBB.
424 // Create the new PHI node, insert it into NewBB at the end of the block
440 PN->addIncoming(InVal, NewBB);
    [all...]
CloneFunction.cpp 38 BasicBlock *NewBB = BasicBlock::Create(BB->getContext(), "", F);
39 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix);
49 NewBB->getInstList().push_back(NewInst);
68 return NewBB;
223 BasicBlock *NewBB;
224 BBEntry = NewBB = BasicBlock::Create(BB->getContext());
225 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix);
243 NewBB->getInstList().push_back(NewInst);
271 VMap[OldTI] = BranchInst::Create(Dest, NewBB);
285 VMap[OldTI] = BranchInst::Create(Dest, NewBB);
    [all...]
CodeExtractor.cpp 133 BasicBlock *NewBB = Header->splitBasicBlock(AfterPHIs,
140 BlocksToExtract.insert(NewBB);
141 Header = NewBB;
146 DT->splitBlock(NewBB);
153 // changing them to branch to NewBB instead.
157 TI->replaceUsesOfWith(OldPred, NewBB);
161 // just have to update the PHI nodes now, inserting PHI nodes into NewBB.
167 PN->getName()+".ce", NewBB->begin());
LoopSimplify.cpp 104 void PlaceSplitBlockCarefully(BasicBlock *NewBB,
382 BasicBlock *NewBB =
386 NewBB->getTerminator()->setDebugLoc(Header->getFirstNonPHI()->getDebugLoc());
387 DEBUG(dbgs() << "LoopSimplify: Creating pre-header " << NewBB->getName()
390 // Make sure that NewBB is put someplace intelligent, which doesn't mess up
392 PlaceSplitBlockCarefully(NewBB, OutsideBlocks, L);
394 return NewBB;
480 void LoopSimplify::PlaceSplitBlockCarefully(BasicBlock *NewBB,
483 // Check to see if NewBB is already well placed.
484 Function::iterator BBI = NewBB; --BBI
    [all...]
SimplifyCFG.cpp     [all...]
  /external/llvm/lib/VMCore/
AutoUpgrade.cpp 581 BasicBlock *NewBB = BasicBlock::Create(Context, "new.lpad",
583 BranchInst::Create(UnwindDest, NewBB);
584 Invoke->setUnwindDest(NewBB);
592 PN->setIncomingBlock(Idx, NewBB);
595 UnwindDest = NewBB;
Constants.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopUnswitch.cpp 623 BasicBlock *NewBB = CloneBasicBlock(LoopBlocks[i], VMap, ".us", F);
624 NewBlocks.push_back(NewBB);
625 VMap[LoopBlocks[i]] = NewBB; // Keep the BB mapping.
626 LPM->cloneBasicBlockSimpleAnalysis(LoopBlocks[i], NewBB, L);
    [all...]
JumpThreading.cpp     [all...]
LoopStrengthReduce.cpp     [all...]
  /external/llvm/lib/Target/ARM/
ARMConstantIslandPass.cpp 192 void UpdateForInsertedWaterBlock(MachineBasicBlock *NewBB);
701 void ARMConstantIslands::UpdateForInsertedWaterBlock(MachineBasicBlock *NewBB) {
703 NewBB->getParent()->RenumberBlocks(NewBB);
707 BBSizes.insert(BBSizes.begin()+NewBB->getNumber(), 0);
710 BBOffsets.insert(BBOffsets.begin()+NewBB->getNumber(), 0);
715 std::lower_bound(WaterList.begin(), WaterList.end(), NewBB,
717 WaterList.insert(IP, NewBB);
729 MachineBasicBlock *NewBB =
732 MF.insert(MBBI, NewBB);
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]

Completed in 516 milliseconds