/external/llvm/lib/Target/Mips/ |
MipsInstrInfo.cpp | 84 MachineBasicBlock *&TBB, 89 BranchType BT = AnalyzeBranch(MBB, TBB, FBB, Cond, AllowModify, BranchInstrs); 95 MachineBasicBlock *TBB, DebugLoc DL, 110 MIB.addMBB(TBB); 114 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 119 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); 131 BuildCondBr(MBB, TBB, DL, Cond); 139 BuildMI(&MBB, DL, get(UncondBrOpc)).addMBB(TBB); 141 BuildCondBr(MBB, TBB, DL, Cond); 181 AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, [all...] |
MipsInstrInfo.h | 49 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 56 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 64 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 133 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXInstrInfo.h | 64 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 68 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
|
NVPTXInstrInfo.cpp | 150 /// just return false, leaving TBB/FBB null. 151 /// 2. If this block ends with only an unconditional branch, it sets TBB to be 154 /// an successor block, it sets TBB to be the branch destination block and a 159 /// block, it returns the 'true' destination in TBB, the 'false' destination 168 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 181 TBB = LastInst->getOperand(0).getMBB(); 185 TBB = LastInst->getOperand(1).getMBB(); 203 TBB = SecondLastInst->getOperand(1).getMBB(); 213 TBB = SecondLastInst->getOperand(0).getMBB(); 249 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB [all...] |
/external/llvm/lib/CodeGen/ |
EarlyIfConversion.cpp | 71 // | [TF]BB FBB TBB 76 // Instructions in the conditional blocks TBB and/or FBB are spliced into the 93 MachineBasicBlock *TBB; 98 /// isTriangle - When there is no 'else' block, either TBB or FBB will be 100 bool isTriangle() const { return TBB == Tail || FBB == Tail; } 103 MachineBasicBlock *getTPred() const { return TBB == Tail ? Head : TBB; } 135 /// Insertion point in Head for speculatively executed instructions form TBB 341 TBB = FBB = Tail = 0; 388 if (TII->AnalyzeBranch(*Head, TBB, FBB, Cond)) [all...] |
MachineBasicBlock.cpp | 391 MachineBasicBlock *TBB = 0, *FBB = 0; 394 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond); 398 if (TBB) { 401 if (isLayoutSuccessor(TBB)) 410 assert(!TBB && "Found more than one non-landing-pad successor!"); 411 TBB = *SI; 416 if (!TBB) 421 if (!isLayoutSuccessor(TBB)) 422 TII->InsertBranch(*this, TBB, 0, Cond, dl); 429 if (isLayoutSuccessor(TBB)) { [all...] |
BranchFolding.cpp | 197 MachineBasicBlock *MBB = I, *TBB = 0, *FBB = 0; 199 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true)) 200 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); 462 MachineBasicBlock *TBB = 0, *FBB = 0; 466 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { 468 if (TBB == NextBB && !Cond.empty() && !FBB) { [all...] |
MachineBlockPlacement.cpp | [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430InstrInfo.cpp | 170 MachineBasicBlock *&TBB, 200 TBB = I->getOperand(0).getMBB(); 212 TBB = 0; 218 // TBB is used to indicate the unconditinal destination. 219 TBB = I->getOperand(0).getMBB(); 232 FBB = TBB; 233 TBB = I->getOperand(0).getMBB(); 241 assert(TBB); 245 if (TBB != I->getOperand(0).getMBB()) 260 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, [all...] |
MSP430InstrInfo.h | 77 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 82 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
/external/llvm/lib/Target/Sparc/ |
SparcInstrInfo.h | 65 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 72 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
SparcInstrInfo.cpp | 120 MachineBasicBlock *&TBB, 147 TBB = I->getOperand(0).getMBB(); 158 TBB = 0; 165 TBB = I->getOperand(0).getMBB(); 209 FBB = TBB; 210 TBB = I->getOperand(0).getMBB(); 222 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, 226 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); 232 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB); 240 BuildMI(&MBB, DL, get(SP::BCOND)).addMBB(TBB).addImm(CC) [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreInstrInfo.h | 52 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 57 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
XCoreInstrInfo.cpp | 169 /// just return false, leaving TBB/FBB null. 170 /// 2. If this block ends with only an unconditional branch, it sets TBB to be 173 /// an successor block, it sets TBB to be the branch destination block and a 178 /// block, it returns the 'true' destination in TBB, the 'false' destination 187 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 210 TBB = LastInst->getOperand(0).getMBB(); 221 TBB = LastInst->getOperand(1).getMBB(); 243 TBB = SecondLastInst->getOperand(1).getMBB(); 255 TBB = SecondLastInst->getOperand(0).getMBB(); 275 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64InstrInfo.h | 57 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
AArch64InstrInfo.cpp | 129 /// setting TBB to the destination basic block and populating the Cond vector 133 static void classifyCondBranch(MachineInstr *I, MachineBasicBlock *&TBB, 145 TBB = I->getOperand(1).getMBB(); 155 TBB = I->getOperand(2).getMBB(); 164 AArch64InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, 188 TBB = LastInst->getOperand(0).getMBB(); 192 classifyCondBranch(LastInst, TBB, Cond); 211 TBB = LastInst->getOperand(0).getMBB(); 227 TBB = SecondLastInst->getOperand(1).getMBB(); 233 classifyCondBranch(SecondLastInst, TBB, Cond) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
R600InstrInfo.cpp | 178 MachineBasicBlock *&TBB, 208 TBB = LastInst->getOperand(0).getMBB(); 215 TBB = LastInst->getOperand(0).getMBB(); 238 TBB = SecondLastInst->getOperand(0).getMBB(); 262 MachineBasicBlock *TBB, 267 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); 271 BuildMI(&MBB, DL, get(AMDGPU::JUMP)).addMBB(TBB).addReg(0); 280 .addMBB(TBB) 290 .addMBB(TBB)
|
R600InstrInfo.h | 68 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 71 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const;
|
/external/mesa3d/src/gallium/drivers/radeon/ |
R600InstrInfo.cpp | 178 MachineBasicBlock *&TBB, 208 TBB = LastInst->getOperand(0).getMBB(); 215 TBB = LastInst->getOperand(0).getMBB(); 238 TBB = SecondLastInst->getOperand(0).getMBB(); 262 MachineBasicBlock *TBB, 267 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); 271 BuildMI(&MBB, DL, get(AMDGPU::JUMP)).addMBB(TBB).addReg(0); 280 .addMBB(TBB) 290 .addMBB(TBB)
|
R600InstrInfo.h | 68 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 71 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const;
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 81 BasicBlock *TBB = BasicBlock::Create(getGlobalContext(), "", F); 84 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); 88 EXPECT_EQ(TBB, TI->getSuccessor(0)); 93 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); 97 EXPECT_EQ(TBB, TI->getSuccessor(0));
|
/external/llvm/lib/Target/PowerPC/ |
PPCInstrInfo.h | 114 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 119 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
/external/llvm/lib/Target/SystemZ/ |
SystemZInstrInfo.h | 123 MachineBasicBlock *&TBB, 128 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
SystemZInstrInfo.cpp | 139 MachineBasicBlock *&TBB, 175 TBB = Branch.Target->getMBB(); 188 TBB = 0; 194 // TBB is used to indicate the unconditinal destination. 195 TBB = Branch.Target->getMBB(); 202 FBB = TBB; 203 TBB = Branch.Target->getMBB(); 210 assert(Cond.size() == 2 && TBB && "Should have seen a conditional branch"); 214 if (TBB != Branch.Target->getMBB()) 260 SystemZInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, [all...] |
/external/llvm/lib/Transforms/Utils/ |
FlattenCFG.cpp | 221 TerminatorInst *TBB = LastCondBlock->getTerminator(); 222 BasicBlock *PS1 = TBB->getSuccessor(0); 223 BasicBlock *PS2 = TBB->getSuccessor(1);
|