/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerAggrCopies.cpp | 66 BasicBlock *OrigBB = ConvertedInst->getParent(); 71 OrigBB->getTerminator()->setSuccessor(0, LoopBB); 72 IRBuilder<> Builder(OrigBB->getTerminator()); 85 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0), OrigBB); 136 BasicBlock *OrigBB = ConvertedInst->getParent(); 165 new ICmpInst(OrigBB->getTerminator(), ICmpInst::ICMP_EQ, CopyLen, 211 BasicBlock *OrigBB = ConvertedInst->getParent(); 216 OrigBB->getTerminator()->setSuccessor(0, LoopBB); 217 IRBuilder<> Builder(OrigBB->getTerminator()); 226 LoopIndex->addIncoming(ConstantInt::get(CopyLen->getType(), 0), OrigBB); [all...] |
/external/llvm/lib/Transforms/Utils/ |
BasicBlockUtils.cpp | 391 /// UpdatePHINodes - Update the PHI nodes in OrigBB to include the values coming 393 static void UpdatePHINodes(BasicBlock *OrigBB, BasicBlock *NewBB, 396 // Otherwise, create a new PHI node in NewBB for each PHI node in OrigBB. 398 for (BasicBlock::iterator I = OrigBB->begin(); isa<PHINode>(I); ) { 533 /// OrigBB, by introducing two new basic blocks into the function. One of those 535 /// block gets the remaining predecessors of OrigBB. The landingpad instruction 536 /// OrigBB is clone into both of the new basic blocks. The new blocks are given 545 void llvm::SplitLandingPadPredecessors(BasicBlock *OrigBB, 551 assert(OrigBB->isLandingPad() && "Trying to split a non-landing pad!"); 553 // Create a new basic block for OrigBB's predecessors listed in Preds. Inser [all...] |
InlineFunction.cpp | [all...] |
LowerSwitch.cpp | 168 static void fixPhis(BasicBlock *SuccBB, BasicBlock *OrigBB, BasicBlock *NewBB, 179 if (PN->getIncomingBlock(Idx) == OrigBB) { 189 if (PN->getIncomingBlock(Idx) == OrigBB) {
|
/external/llvm/lib/Target/AArch64/ |
AArch64BranchRelaxation.cpp | 225 MachineBasicBlock *OrigBB = MI->getParent(); 227 // Create a new MBB for the code after the OrigBB. 229 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); 230 MF->insert(++OrigBB->getIterator(), NewBB); 233 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end()); 235 // Add an unconditional branch from OrigBB to NewBB. 239 BuildMI(OrigBB, DebugLoc(), TII->get(AArch64::B)).addMBB(NewBB); 244 // Figure out how large the OrigBB is. As the first half of the original 249 computeBlockSize(*OrigBB); [all...] |
/external/llvm/lib/Target/Mips/ |
MipsConstantIslandPass.cpp | 877 MachineBasicBlock *OrigBB = MI->getParent(); 879 // Create a new MBB for the code after the OrigBB. 881 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); 882 MachineFunction::iterator MBBI = ++OrigBB->getIterator(); 886 NewBB->splice(NewBB->end(), OrigBB, MI, OrigBB->end()); 888 // Add an unconditional branch from OrigBB to NewBB. 892 BuildMI(OrigBB, DebugLoc(), TII->get(Mips::Bimm16)).addMBB(NewBB); 895 // Update the CFG. All succs of OrigBB are now succs of NewBB. 896 NewBB->transferSuccessors(OrigBB); [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
BasicBlockUtils.h | 215 /// OrigBB, by introducing two new basic blocks into the function. One of those 217 /// block gets the remaining predecessors of OrigBB. The landingpad instruction 218 /// OrigBB is clone into both of the new basic blocks. The new blocks are given 226 void SplitLandingPadPredecessors(BasicBlock *OrigBB,
|
/external/llvm/lib/Transforms/Scalar/ |
PlaceSafepoints.cpp | 756 BasicBlock *OrigBB = InsertBefore->getParent(); 774 if (before == OrigBB->begin()) { 780 assert(after != OrigBB->end() && "must have successor"); 797 start = OrigBB->begin(); [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantIslandPass.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGExprComplex.cpp | 674 llvm::BasicBlock *OrigBB = Branch->getParent(); 699 RealPHI->addIncoming(ResR, OrigBB); 703 ImagPHI->addIncoming(ResI, OrigBB); [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
RegisterCoalescer.cpp | [all...] |