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

  /external/llvm/lib/MC/MCAnalysis/
MCModule.cpp 119 MCBasicBlock *NewBB = &BB->getParent()->createBlock(*NewTA);
120 BB->splitBasicBlock(NewBB);
  /external/llvm/lib/Transforms/Utils/
LoopUnrollRuntime.cpp 156 BasicBlock *NewBB = CloneBasicBlock(*BB, VMap, ".unr", F);
157 NewBlocks.push_back(NewBB);
160 ParentLoop->addBasicBlockToLoop(NewBB, LI->getBase());
162 VMap[*BB] = NewBB;
166 InsertTop->getTerminator()->setSuccessor(0, NewBB);
175 NewBB->getInstList().erase(NewPHI);
191 NewBB->getTerminator()->eraseFromParent();
192 BranchInst::Create(InsertBot, NewBB);
339 BasicBlock *NewBB = BasicBlock::Create(CompareBB->getContext(), "unr.cmp",
343 ParentLoop->addBasicBlockToLoop(NewBB, LI->getBase())
    [all...]
CloneFunction.cpp 42 BasicBlock *NewBB = BasicBlock::Create(BB->getContext(), "", F);
43 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix);
53 NewBB->getInstList().push_back(NewInst);
71 return NewBB;
292 BasicBlock *NewBB;
293 BBEntry = NewBB = BasicBlock::Create(BB->getContext());
294 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix);
308 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB);
344 NewBB->getInstList().push_back(NewInst);
370 VMap[OldTI] = BranchInst::Create(Dest, NewBB);
    [all...]
BasicBlockUtils.cpp 307 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB,
345 DTWP->getDomTree().splitBlock(NewBB);
373 InnermostPredLoop->addBasicBlockToLoop(NewBB, LI->getBase());
375 L->addBasicBlockToLoop(NewBB, LI->getBase());
377 L->moveToHeader(NewBB);
382 /// from NewBB. This also updates AliasAnalysis, if available.
383 static void UpdatePHINodes(BasicBlock *OrigBB, BasicBlock *NewBB,
386 // Otherwise, create a new PHI node in NewBB for each PHI node in OrigBB.
424 PN->addIncoming(InVal, NewBB);
430 // Create the new PHI node, insert it into NewBB at the end of the bloc
    [all...]
CodeExtractor.cpp 215 BasicBlock *NewBB = Header->splitBasicBlock(AfterPHIs,
222 Blocks.insert(NewBB);
223 Header = NewBB;
228 DT->splitBlock(NewBB);
235 // changing them to branch to NewBB instead.
239 TI->replaceUsesOfWith(OldPred, NewBB);
243 // just have to update the PHI nodes now, inserting PHI nodes into NewBB.
249 PN->getName()+".ce", NewBB->begin());
LoopSimplify.cpp 74 static void placeSplitBlockCarefully(BasicBlock *NewBB,
77 // Check to see if NewBB is already well placed.
78 Function::iterator BBI = NewBB; --BBI;
93 if (++BBI != NewBB->getParent()->end() &&
105 NewBB->moveAfter(FoundBB);
148 // Make sure that NewBB is put someplace intelligent, which doesn't mess up
289 BasicBlock *NewBB =
292 // Make sure that NewBB is put someplace intelligent, which doesn't mess up
294 placeSplitBlockCarefully(NewBB, OuterLoopPreds, L);
    [all...]
SimplifyCFG.cpp     [all...]
  /external/llvm/lib/CodeGen/
StackProtector.cpp 441 BasicBlock *NewBB = BB->splitBasicBlock(RI, "SP_return");
445 DT->addNewBlock(NewBB, BB);
454 NewBB->moveAfter(BB);
461 B.CreateCondBr(Cmp, NewBB, FailBB);
ShadowStackGC.cpp 166 BasicBlock *NewBB =
171 NewBB->getInstList().remove(CI);
179 NewBB, CleanupBB,
  /external/llvm/lib/Target/AArch64/
AArch64BranchRelaxation.cpp 216 MachineBasicBlock *NewBB =
220 MF->insert(MBBI, NewBB);
222 // Splice the instructions starting with MI over to NewBB.
223 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end());
225 // Add an unconditional branch from OrigBB to NewBB.
229 BuildMI(OrigBB, DebugLoc(), TII->get(AArch64::B)).addMBB(NewBB);
232 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo());
243 computeBlockSize(*NewBB);
250 return NewBB;
    [all...]
AArch64PromoteConstant.cpp 378 BasicBlock *NewBB = NewPt->getParent();
387 if (NewBB == CurBB) {
399 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB);
404 if (CommonDominator != NewBB) {
411 // else, CommonDominator is the block of NewBB, hence NewBB is the last
  /external/llvm/lib/Target/Mips/
MipsConstantIslandPass.cpp 395 void updateForInsertedWaterBlock(MachineBasicBlock *NewBB);
856 (MachineBasicBlock *NewBB) {
858 NewBB->getParent()->RenumberBlocks(NewBB);
862 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo());
867 std::lower_bound(WaterList.begin(), WaterList.end(), NewBB,
869 WaterList.insert(IP, NewBB);
884 MachineBasicBlock *NewBB =
887 MF->insert(MBBI, NewBB);
889 // Splice the instructions starting with MI over to NewBB
    [all...]
  /external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp     [all...]
LoopUnswitch.cpp 814 BasicBlock *NewBB = CloneBasicBlock(LoopBlocks[i], VMap, ".us", F);
816 NewBlocks.push_back(NewBB);
817 VMap[LoopBlocks[i]] = NewBB; // Keep the BB mapping.
818 LPM->cloneBasicBlockSimpleAnalysis(LoopBlocks[i], NewBB, L);
829 // Recalculate unswitching quota, inherit simplified switches info for NewBB,
    [all...]
LoopStrengthReduce.cpp     [all...]
  /external/llvm/lib/IR/
Constants.cpp     [all...]
  /external/llvm/lib/Target/ARM/
ARMConstantIslandPass.cpp 283 void updateForInsertedWaterBlock(MachineBasicBlock *NewBB);
853 void ARMConstantIslands::updateForInsertedWaterBlock(MachineBasicBlock *NewBB)
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
DataFlowSanitizer.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_3_0/
BitcodeReader.cpp 202 BasicBlock *NewBB = BasicBlock::Create(Context, "new.lpad",
204 BranchInst::Create(UnwindDest, NewBB);
205 Invoke->setUnwindDest(NewBB);
213 PN->setIncomingBlock(Idx, NewBB);
216 UnwindDest = NewBB;
    [all...]

Completed in 1012 milliseconds