/external/llvm/lib/Transforms/Utils/ |
BreakCriticalEdges.cpp | 82 /// is the new loop exit block, and DestBB is the old loop exit, now the 86 BasicBlock *DestBB) { 92 for (BasicBlock::iterator I = DestBB->begin(); 141 BasicBlock *DestBB = TI->getSuccessor(SuccNum); 145 if (DestBB->isEHPad()) return nullptr; 149 TIBB->getName() + "." + DestBB->getName() + "_crit_edge"); 151 BranchInst *NewBI = BranchInst::Create(DestBB, NewBB); 162 // If there are any PHI nodes in DestBB, we need to update them so that they 166 for (BasicBlock::iterator I = DestBB->begin(); isa<PHINode>(I); ++I) { 183 // If there are any other edges from TIBB to DestBB, update those to g [all...] |
Local.cpp | 548 /// MergeBasicBlockIntoOnlyPred - DestBB is a block with one predecessor and its 549 /// predecessor is known to have one successor (DestBB!). Eliminate the edge 550 /// between them, moving the instructions in the predecessor into DestBB and 553 void llvm::MergeBasicBlockIntoOnlyPred(BasicBlock *DestBB, DominatorTree *DT) { 555 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { 563 BasicBlock *PredBB = DestBB->getSinglePredecessor(); 566 // Zap anything that took the address of DestBB. Not doing this will give the 568 if (DestBB->hasAddressTaken()) { 569 BlockAddress *BA = BlockAddress::get(DestBB); 577 // Anything that branched to PredBB now branches to DestBB [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
PGOInstrumentation.cpp | 172 // So there might be multiple edges with same SrcBB and DestBB. 174 const BasicBlock *DestBB; 180 : SrcBB(Src), DestBB(Dest), Weight(W), InMST(false), Removed(false), 280 BasicBlock *DestBB = const_cast<BasicBlock *>(E->DestBB); 283 return DestBB; 284 if (DestBB == nullptr) 288 // otherwise, the DestBB if this is not a critical edge. 293 return DestBB; 299 << getBBInfo(DestBB).Index << "\n") [all...] |
CFGMST.h | 150 if (Ei->DestBB && Ei->DestBB->isLandingPad()) { 151 if (unionGroups(Ei->SrcBB, Ei->DestBB)) 160 if (unionGroups(Ei->SrcBB, Ei->DestBB)) 181 << getBBInfo(EI->DestBB).Index << EI->infoString() << "\n";
|
/external/llvm/lib/Target/AArch64/ |
AArch64BranchRelaxation.cpp | 266 MachineBasicBlock *DestBB, 270 unsigned DestOffset = BlockInfo[DestBB->getNumber()].Offset; 272 DEBUG(dbgs() << "Branch of destination BB#" << DestBB->getNumber() 365 MachineBasicBlock *DestBB = getDestBlock(MI); 398 BMI->getOperand(0).setMBB(DestBB); 435 DEBUG(dbgs() << " Insert B to BB#" << DestBB->getNumber() 450 BuildMI(MBB, DebugLoc(), TII->get(AArch64::B)).addMBB(DestBB);
|
/external/llvm/lib/Target/Mips/ |
MipsConstantIslandPass.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantIslandPass.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
JumpThreading.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | 169 bool canMergeBlocks(const BasicBlock *BB, const BasicBlock *DestBB) const; 381 BasicBlock *DestBB = BI->getSuccessor(0); 382 if (DestBB == BB) 385 if (!canMergeBlocks(BB, DestBB)) 394 /// Return true if we can merge BB into DestBB if there is a single 398 const BasicBlock *DestBB) const { 406 if (UI->getParent() != DestBB || !isa<PHINode>(UI)) 408 // If User is inside DestBB block and it is a PHINode then check 411 if (UI->getParent() == DestBB) { 423 // If BB and DestBB contain any common predecessors, then the phi nodes in B [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/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/IR/ |
Instructions.cpp | [all...] |