/external/llvm/lib/Transforms/Utils/ |
BreakCriticalEdges.cpp | 90 /// is the new loop exit block, and DestBB is the old loop exit, now the 94 BasicBlock *DestBB) { 100 for (BasicBlock::iterator I = DestBB->begin(); 151 BasicBlock *DestBB = TI->getSuccessor(SuccNum); 155 if (DestBB->isLandingPad()) return nullptr; 159 TIBB->getName() + "." + DestBB->getName() + "_crit_edge"); 161 BranchInst *NewBI = BranchInst::Create(DestBB, NewBB); 172 // If there are any PHI nodes in DestBB, we need to update them so that they 176 for (BasicBlock::iterator I = DestBB->begin(); isa<PHINode>(I); ++I) { 193 // If there are any other edges from TIBB to DestBB, update those to g [all...] |
Local.cpp | 476 /// MergeBasicBlockIntoOnlyPred - DestBB is a block with one predecessor and its 477 /// predecessor is known to have one successor (DestBB!). Eliminate the edge 478 /// between them, moving the instructions in the predecessor into DestBB and 481 void llvm::MergeBasicBlockIntoOnlyPred(BasicBlock *DestBB, Pass *P) { 483 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { 491 BasicBlock *PredBB = DestBB->getSinglePredecessor(); 494 // Zap anything that took the address of DestBB. Not doing this will give the 496 if (DestBB->hasAddressTaken()) { 497 BlockAddress *BA = BlockAddress::get(DestBB); 505 // Anything that branched to PredBB now branches to DestBB [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64BranchRelaxation.cpp | 256 MachineBasicBlock *DestBB, 260 unsigned DestOffset = BlockInfo[DestBB->getNumber()].Offset; 262 DEBUG(dbgs() << "Branch of destination BB#" << DestBB->getNumber() 355 MachineBasicBlock *DestBB = getDestBlock(MI); 388 BMI->getOperand(0).setMBB(DestBB); 425 DEBUG(dbgs() << " Insert B to BB#" << DestBB->getNumber() 440 BuildMI(MBB, DebugLoc(), TII->get(AArch64::B)).addMBB(DestBB);
|
/external/llvm/lib/Target/Mips/ |
MipsConstantIslandPass.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantIslandPass.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 733 BasicBlock *DestBB = StoreBB->getTerminator()->getSuccessor(0); 737 pred_iterator PI = pred_begin(DestBB); 744 if (++PI == pred_end(DestBB)) 753 if (++PI != pred_end(DestBB)) 758 if (StoreBB == DestBB || OtherBB == DestBB) [all...] |
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | 136 bool CanMergeBlocks(const BasicBlock *BB, const BasicBlock *DestBB) const; 326 BasicBlock *DestBB = BI->getSuccessor(0); 327 if (DestBB == BB) 330 if (!CanMergeBlocks(BB, DestBB)) 339 /// CanMergeBlocks - Return true if we can merge BB into DestBB if there is a 343 const BasicBlock *DestBB) const { 351 if (UI->getParent() != DestBB || !isa<PHINode>(UI)) 353 // If User is inside DestBB block and it is a PHINode then check 356 if (UI->getParent() == DestBB) { 368 // If BB and DestBB contain any common predecessors, then the phi nodes in B [all...] |
/external/llvm/lib/Transforms/Scalar/ |
JumpThreading.cpp | [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/IR/ |
Instructions.cpp | [all...] |