/external/llvm/lib/Transforms/Utils/ |
BreakCriticalEdges.cpp | 81 /// of preds inside the loop, SplitBB is the new loop exit block, and DestBB is 85 BasicBlock *DestBB) { 91 for (BasicBlock::iterator I = DestBB->begin(); 124 BasicBlock *DestBB = TI->getSuccessor(SuccNum); 128 if (DestBB->isEHPad()) return nullptr; 132 TIBB->getName() + "." + DestBB->getName() + "_crit_edge"); 134 BranchInst *NewBI = BranchInst::Create(DestBB, NewBB); 145 // If there are any PHI nodes in DestBB, we need to update them so that they 149 for (BasicBlock::iterator I = DestBB->begin(); isa<PHINode>(I); ++I) { 166 // If there are any other edges from TIBB to DestBB, update those to g [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
BreakCriticalEdges.cpp | 123 /// is the new loop exit block, and DestBB is the old loop exit, now the 127 BasicBlock *DestBB) { 133 for (BasicBlock::iterator I = DestBB->begin(); 178 BasicBlock *DestBB = TI->getSuccessor(SuccNum); 182 if (DestBB->isLandingPad()) return 0; 186 TIBB->getName() + "." + DestBB->getName() + "_crit_edge"); 188 BranchInst *NewBI = BranchInst::Create(DestBB, NewBB); 199 // If there are any PHI nodes in DestBB, we need to update them so that they 203 for (BasicBlock::iterator I = DestBB->begin(); isa<PHINode>(I); ++I) { 220 // If there are any other edges from TIBB to DestBB, update those to g [all...] |
/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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 505 BasicBlock *DestBB = StoreBB->getTerminator()->getSuccessor(0); 509 pred_iterator PI = pred_begin(DestBB); 516 if (++PI == pred_end(DestBB)) 525 if (++PI != pred_end(DestBB)) 530 if (StoreBB == DestBB || OtherBB == DestBB) 598 MergedVal = InsertNewInstBefore(PN, DestBB->front()); 603 BBI = DestBB->getFirstInsertionPt();
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
CodeGenPrepare.cpp | 104 bool CanMergeBlocks(const BasicBlock *BB, const BasicBlock *DestBB) const; 201 BasicBlock *DestBB = BI->getSuccessor(0); 202 if (DestBB == BB) 205 if (!CanMergeBlocks(BB, DestBB)) 214 /// CanMergeBlocks - Return true if we can merge BB into DestBB if there is a 218 const BasicBlock *DestBB) const { 227 if (User->getParent() != DestBB || !isa<PHINode>(User)) 229 // If User is inside DestBB block and it is a PHINode then check 232 if (User->getParent() == DestBB) { 244 // If BB and DestBB contain any common predecessors, then the phi nodes in B [all...] |
JumpThreading.cpp | [all...] |
/external/llvm/lib/Target/Mips/ |
MipsConstantIslandPass.cpp | [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
PGOInstrumentation.cpp | 205 // So there might be multiple edges with same SrcBB and DestBB. 207 const BasicBlock *DestBB; 213 : SrcBB(Src), DestBB(Dest), Weight(W), InMST(false), Removed(false), 313 BasicBlock *DestBB = const_cast<BasicBlock *>(E->DestBB); 316 return DestBB; 317 if (DestBB == nullptr) 321 // otherwise, the DestBB if this is not a critical edge. 326 return DestBB; 332 << getBBInfo(DestBB).Index << "\n") [all...] |
/external/llvm/lib/Transforms/Scalar/ |
JumpThreading.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
ARMConstantIslandPass.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantIslandPass.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
BitcodeReader.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/CodeGen/ |
CodeGenPrepare.cpp | 178 bool canMergeBlocks(const BasicBlock *BB, const BasicBlock *DestBB) const; 406 BasicBlock *DestBB = BI->getSuccessor(0); 407 if (DestBB == BB) 410 if (!canMergeBlocks(BB, DestBB)) 427 /// Return true if we can merge BB into DestBB if there is a single 431 const BasicBlock *DestBB) const { 439 if (UI->getParent() != DestBB || !isa<PHINode>(UI)) 441 // If User is inside DestBB block and it is a PHINode then check 444 if (UI->getParent() == DestBB) { 456 // If BB and DestBB contain any common predecessors, then the phi nodes in B [all...] |