/external/llvm/lib/Transforms/Utils/ |
BreakCriticalEdges.cpp | 185 BasicBlock *NewBB = BasicBlock::Create(TI->getContext(), 188 BranchInst *NewBI = BranchInst::Create(DestBB, NewBB); 192 TI->setSuccessor(SuccNum, NewBB); 197 F.getBasicBlockList().insert(++FBBI, NewBB); 200 // merge incoming values from NewBB instead of from TIBB. 204 // We no longer enter through TIBB, now we come in through NewBB. 206 // TIBB to come from NewBB. 216 PN->setIncomingBlock(BBIdx, NewBB); 230 // We found another edge to DestBB, go to NewBB instead. 231 TI->setSuccessor(i, NewBB); [all...] |
CloneFunction.cpp | 41 BasicBlock *NewBB = BasicBlock::Create(BB->getContext(), "", F); 42 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); 52 NewBB->getInstList().push_back(NewInst); 70 return NewBB; 235 BasicBlock *NewBB; 236 BBEntry = NewBB = BasicBlock::Create(BB->getContext()); 237 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); 251 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); 287 NewBB->getInstList().push_back(NewInst); 313 VMap[OldTI] = BranchInst::Create(Dest, NewBB); [all...] |
LoopUnrollRuntime.cpp | 155 BasicBlock *NewBB = CloneBasicBlock(*BB, VMap, ".unr", F); 156 NewBlocks.push_back(NewBB); 159 ParentLoop->addBasicBlockToLoop(NewBB, LI->getBase()); 161 VMap[*BB] = NewBB; 165 InsertTop->getTerminator()->setSuccessor(0, NewBB); 174 NewBB->getInstList().erase(NewPHI); 190 NewBB->getTerminator()->eraseFromParent(); 191 BranchInst::Create(InsertBot, NewBB); 336 BasicBlock *NewBB = BasicBlock::Create(CompareBB->getContext(), "unr.cmp", 340 ParentLoop->addBasicBlockToLoop(NewBB, LI->getBase()) [all...] |
BasicBlockUtils.cpp | 319 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB, 357 DT->splitBlock(NewBB); 385 InnermostPredLoop->addBasicBlockToLoop(NewBB, LI->getBase()); 387 L->addBasicBlockToLoop(NewBB, LI->getBase()); 389 L->moveToHeader(NewBB); 394 /// from NewBB. This also updates AliasAnalysis, if available. 395 static void UpdatePHINodes(BasicBlock *OrigBB, BasicBlock *NewBB, 398 // Otherwise, create a new PHI node in NewBB for each PHI node in OrigBB. 423 // Create the new PHI node, insert it into NewBB at the end of the block 439 PN->addIncoming(InVal, NewBB); [all...] |
LoopSimplify.cpp | 105 void PlaceSplitBlockCarefully(BasicBlock *NewBB, 399 // Make sure that NewBB is put someplace intelligent, which doesn't mess up 487 void LoopSimplify::PlaceSplitBlockCarefully(BasicBlock *NewBB, 490 // Check to see if NewBB is already well placed. 491 Function::iterator BBI = NewBB; --BBI; 506 if (++BBI != NewBB->getParent()->end() && 518 NewBB->moveAfter(FoundBB); 574 BasicBlock *NewBB = 577 // Make sure that NewBB is put someplace intelligent, which doesn't mess up 579 PlaceSplitBlockCarefully(NewBB, OuterLoopPreds, L) [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());
|
SimplifyCFG.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
Dominators.h | 236 // NewBB is split and now it has one successor. Update dominator tree to 240 typename GraphT::NodeType* NewBB) { 241 assert(std::distance(GraphT::child_begin(NewBB), 242 GraphT::child_end(NewBB)) == 1 && 243 "NewBB should have a single successor!"); 244 typename GraphT::NodeType* NewBBSucc = *GraphT::child_begin(NewBB); 249 InvTraits::child_begin(NewBB), 250 PE = InvTraits::child_end(NewBB); PI != PE; ++PI) 260 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && 267 // Find NewBB's immediate dominator and create new dominator tree node fo [all...] |
ProfileInfo.h | 158 const BType *NewBB, bool MergeIdenticalEdges = false); 162 void splitBlock(const BType *BB, const BType* NewBB,
|
LoopInfo.h | 340 /// information. NewBB is set to be a new member of the current loop. 345 void addBasicBlockToLoop(BlockT *NewBB, LoopInfoBase<BlockT, LoopT> &LI); [all...] |
RegionInfo.h | 667 /// @param NewBB The basic block that was created before OldBB. 669 void splitBlock(BasicBlock* NewBB, BasicBlock *OldBB);
|
/external/llvm/lib/Analysis/ |
ProfileInfo.cpp | 362 /// Splits an edge in the ProfileInfo and redirects flow over NewBB. 368 const BasicBlock *NewBB, 377 Edge n1 = getEdge(FirstBB, NewBB); 378 Edge n2 = getEdge(NewBB, SecondBB); 385 // one, only slice out a proporional part for NewBB. 390 // When the NewBB is completely new, increment the count by one so that 392 if (getExecutionCount(NewBB) == ProfileInfo::MissingValue) succ_count++; 399 // proportional part of the edge weight over NewBB. 403 BlockInformation[F][NewBB] += neww; 442 const BasicBlock* NewBB, [all...] |
RegionInfo.cpp | 817 void RegionInfo::splitBlock(BasicBlock* NewBB, BasicBlock *OldBB) 821 setRegionFor(NewBB, R); 824 R->replaceEntry(NewBB);
|
/external/llvm/lib/Target/ARM/ |
ARMConstantIslandPass.cpp | 293 void updateForInsertedWaterBlock(MachineBasicBlock *NewBB); [all...] |
/external/llvm/lib/CodeGen/ |
StackProtector.cpp | 213 BasicBlock *NewBB = BB->splitBasicBlock(RI, "SP_return"); 216 DT->addNewBlock(NewBB, BB); 225 NewBB->moveAfter(BB); 231 BranchInst::Create(NewBB, FailBB, Cmp, BB);
|
ShadowStackGC.cpp | 165 BasicBlock *NewBB = 170 NewBB->getInstList().remove(CI); 178 NewBB, CleanupBB,
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
IdenticalBlockCombiner.java | 177 BasicBlock newBB = new BasicBlock(block.getLabel(), 180 newBlocks.set(newBlocks.indexOfLabel(block.getLabel()), newBB);
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/ |
IdenticalBlockCombiner.java | 177 BasicBlock newBB = new BasicBlock(block.getLabel(), 180 newBlocks.set(newBlocks.indexOfLabel(block.getLabel()), newBB);
|
/dalvik/vm/compiler/ |
Frontend.cpp | 613 BasicBlock *newBB = splitBlock(cUnit, codeOffset, bb, 616 return newBB; [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineDominators.h | 157 inline void splitBlock(MachineBasicBlock* NewBB) { 158 DT->splitBlock(NewBB);
|
/external/llvm/lib/Transforms/Scalar/ |
JumpThreading.cpp | [all...] |
LoopUnswitch.cpp | 817 BasicBlock *NewBB = CloneBasicBlock(LoopBlocks[i], VMap, ".us", F); 819 NewBlocks.push_back(NewBB); 820 VMap[LoopBlocks[i]] = NewBB; // Keep the BB mapping. 821 LPM->cloneBasicBlockSimpleAnalysis(LoopBlocks[i], NewBB, L); 832 // Recalculate unswitching quota, inherit simplified switches info for NewBB, [all...] |
LoopStrengthReduce.cpp | [all...] |
/external/llvm/lib/VMCore/ |
Constants.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...] |