Home
last modified time | relevance | path

Searched refs:FBB (Results 1 – 25 of 67) sorted by relevance

123

/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp177 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
214 FBB = 0; in AnalyzeBranch()
238 FBB = TBB; in AnalyzeBranch()
267 MachineBasicBlock *FBB, in InsertBranch() argument
277 assert(!FBB && "Unconditional branch with multiple successors!"); in InsertBranch()
287 if (FBB) { in InsertBranch()
289 BuildMI(&MBB, DL, get(MSP430::JMP)).addMBB(FBB); in InsertBranch()
DMSP430InstrInfo.h78 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
84 MachineBasicBlock *FBB,
/external/llvm/lib/CodeGen/
DBranchFolding.cpp188 MachineBasicBlock *MBB = I, *TBB = 0, *FBB = 0; in OptimizeFunction() local
190 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true)) in OptimizeFunction()
191 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); in OptimizeFunction()
454 MachineBasicBlock *TBB = 0, *FBB = 0; in FixTail() local
458 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { in FixTail()
460 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
873 MachineBasicBlock *TBB = 0, *FBB = 0; in TailMergeBlocks() local
875 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) { in TailMergeBlocks()
883 if (!FBB) in TailMergeBlocks()
884 FBB = llvm::next(MachineFunction::iterator(PBB)); in TailMergeBlocks()
[all …]
DMachineBasicBlock.cpp286 MachineBasicBlock *TBB = 0, *FBB = 0; in updateTerminator() local
289 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond); in updateTerminator()
306 if (FBB) { in updateTerminator()
314 TII->InsertBranch(*this, FBB, 0, Cond, dl); in updateTerminator()
315 } else if (isLayoutSuccessor(FBB)) { in updateTerminator()
470 MachineBasicBlock *TBB = 0, *FBB = 0; in canFallThrough() local
473 if (TII->AnalyzeBranch(*this, TBB, FBB, Cond)) { in canFallThrough()
491 MachineFunction::iterator(FBB) == Fallthrough) in canFallThrough()
500 return FBB == 0; in canFallThrough()
511 MachineBasicBlock *TBB = 0, *FBB = 0; in SplitCriticalEdge() local
[all …]
DCodePlacementOpt.cpp80 MachineBasicBlock *TBB = 0, *FBB = 0; in HasFallthrough() local
82 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond)) in HasFallthrough()
85 if (FBB) in HasFallthrough()
109 MachineBasicBlock *TBB = 0, *FBB = 0; in HasAnalyzableTerminator() local
112 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond)) in HasAnalyzableTerminator()
DMachineVerifier.cpp409 MachineBasicBlock *TBB = 0, *FBB = 0; in visitMachineBasicBlockBefore() local
412 TBB, FBB, Cond)) { in visitMachineBasicBlockBefore()
415 if (!TBB && !FBB) { in visitMachineBasicBlockBefore()
443 } else if (TBB && !FBB && Cond.empty()) { in visitMachineBasicBlockBefore()
462 } else if (TBB && !FBB && !Cond.empty()) { in visitMachineBasicBlockBefore()
485 } else if (TBB && FBB) { in visitMachineBasicBlockBefore()
491 } else if (!matchPair(MBB->succ_begin(), TBB, FBB)) { in visitMachineBasicBlockBefore()
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.cpp118 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
152 FBB = 0; in AnalyzeBranch()
206 FBB = TBB; in AnalyzeBranch()
220 MachineBasicBlock *FBB, in InsertBranch() argument
228 assert(!FBB && "Unconditional branch with multiple successors!"); in InsertBranch()
240 if (!FBB) in InsertBranch()
243 BuildMI(&MBB, DL, get(SP::BA)).addMBB(FBB); in InsertBranch()
DSparcInstrInfo.h67 MachineBasicBlock *&FBB,
74 MachineBasicBlock *FBB,
/external/llvm/lib/Target/PTX/
DPTXInstrInfo.cpp173 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
195 DEBUG(dbgs() << "AnalyzeBranch: FBB: " << FBB << "\n"); in AnalyzeBranch()
234 FBB = GetBranchTarget(instLast1); in AnalyzeBranch()
262 MachineBasicBlock *FBB, in InsertBranch() argument
269 DEBUG(if (FBB) dbgs() << "InsertBranch: FBB: " << FBB->getName().str() in InsertBranch()
276 if (FBB) { in InsertBranch()
280 .addMBB(FBB).addReg(PTX::NoRegister).addImm(PTX::PRED_NORMAL); in InsertBranch()
DPTXInstrInfo.h79 MachineBasicBlock *&FBB,
86 MachineBasicBlock *FBB,
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp188 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
247 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
276 MachineBasicBlock *FBB, in InsertBranch() argument
284 if (FBB == 0) { // One way branch. in InsertBranch()
302 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(FBB); in InsertBranch()
DXCoreInstrInfo.h53 MachineBasicBlock *&FBB,
58 MachineBasicBlock *FBB,
/external/llvm/lib/Target/CellSPU/
DSPUInstrInfo.h71 MachineBasicBlock *&FBB,
78 MachineBasicBlock *FBB,
DSPUInstrInfo.cpp214 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
269 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
350 MachineBasicBlock *FBB, in InsertBranch() argument
369 if (FBB == 0) { in InsertBranch()
405 MIB2.addMBB(FBB); in InsertBranch()
410 MIB.addMBB(FBB); in InsertBranch()
/external/llvm/lib/Target/Alpha/
DAlphaInstrInfo.h42 MachineBasicBlock *FBB,
62 MachineBasicBlock *&FBB,
DAlphaInstrInfo.cpp90 MachineBasicBlock *FBB, in InsertBranch() argument
98 if (FBB == 0) { in InsertBranch()
118 BuildMI(&MBB, DL, get(Alpha::BR)).addMBB(FBB); in InsertBranch()
220 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
271 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp219 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
250 FBB = 0; in AnalyzeBranch()
272 FBB = TBB; in AnalyzeBranch()
321 MachineBasicBlock *FBB, in InsertBranch() argument
331 assert(!FBB && "Unconditional branch with multiple successors!"); in InsertBranch()
342 if (FBB) { in InsertBranch()
344 BuildMI(&MBB, DL, get(SystemZ::JMP)).addMBB(FBB); in InsertBranch()
DSystemZInstrInfo.h89 MachineBasicBlock *&FBB,
93 MachineBasicBlock *FBB,
/external/llvm/lib/Target/MBlaze/
DMBlazeInstrInfo.cpp117 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
167 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
188 MachineBasicBlock *FBB, in InsertBranch() argument
200 if (FBB == 0) { in InsertBranch()
209 BuildMI(&MBB, DL, get(MBlaze::BRID)).addMBB(FBB); in InsertBranch()
DMBlazeInstrInfo.h255 MachineBasicBlock *&FBB,
259 MachineBasicBlock *FBB,
/external/llvm/lib/Target/Mips/
DMipsInstrInfo.h109 MachineBasicBlock *&FBB,
120 MachineBasicBlock *FBB,
DMipsInstrInfo.cpp279 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
292 TBB = FBB = NULL; in AnalyzeBranch()
352 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
373 MachineBasicBlock *FBB, in InsertBranch() argument
388 if (FBB) { in InsertBranch()
390 BuildMI(&MBB, DL, get(Mips::J)).addMBB(FBB); in InsertBranch()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h107 MachineBasicBlock *&FBB,
112 MachineBasicBlock *FBB,
DPPCInstrInfo.cpp171 MachineBasicBlock *&FBB, in AnalyzeBranch() argument
227 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
277 MachineBasicBlock *FBB, in InsertBranch() argument
286 if (FBB == 0) { in InsertBranch()
298 BuildMI(&MBB, DL, get(PPC::B)).addMBB(FBB); in InsertBranch()
/external/llvm/lib/Target/Blackfin/
DBlackfinInstrInfo.h45 MachineBasicBlock *FBB,

123