HomeSort by relevance Sort by last modified time
    Searched refs:TBB (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/llvm/lib/Target/Mips/
MipsInstrInfo.cpp 87 MachineBasicBlock *&TBB,
92 BranchType BT = AnalyzeBranch(MBB, TBB, FBB, Cond, AllowModify, BranchInstrs);
98 MipsInstrInfo::BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
112 MIB.addMBB(TBB);
116 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
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);
178 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB
    [all...]
MipsInstrInfo.h 54 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
68 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
141 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyInstrInfo.cpp 64 MachineBasicBlock *&TBB,
79 TBB = MI.getOperand(1).getMBB();
87 TBB = MI.getOperand(1).getMBB();
92 TBB = MI.getOperand(0).getMBB();
124 MachineBasicBlock *TBB,
129 if (!TBB)
132 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(TBB);
141 .addMBB(TBB);
145 .addMBB(TBB);
WebAssemblyInstrInfo.h 41 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
46 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
  /external/llvm/lib/Target/BPF/
BPFInstrInfo.h 47 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
53 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
BPFInstrInfo.cpp 79 MachineBasicBlock *&TBB,
104 TBB = I->getOperand(0).getMBB();
116 TBB = 0;
122 // TBB is used to indicate the unconditinal destination.
123 TBB = I->getOperand(0).getMBB();
134 MachineBasicBlock *TBB,
139 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
144 BuildMI(&MBB, DL, get(BPF::JMP)).addMBB(TBB);
  /external/llvm/lib/Target/NVPTX/
NVPTXInstrInfo.h 63 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
67 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
NVPTXInstrInfo.cpp 131 /// just return false, leaving TBB/FBB null.
132 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
135 /// an successor block, it sets TBB to be the branch destination block and a
140 /// block, it returns the 'true' destination in TBB, the 'false' destination
149 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
162 TBB = LastInst->getOperand(0).getMBB();
166 TBB = LastInst->getOperand(1).getMBB();
184 TBB = SecondLastInst->getOperand(1).getMBB();
194 TBB = SecondLastInst->getOperand(0).getMBB();
230 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB
    [all...]
  /external/llvm/lib/CodeGen/
EarlyIfConversion.cpp 72 // | [TF]BB FBB TBB
77 // Instructions in the conditional blocks TBB and/or FBB are spliced into the
94 MachineBasicBlock *TBB;
99 /// isTriangle - When there is no 'else' block, either TBB or FBB will be
101 bool isTriangle() const { return TBB == Tail || FBB == Tail; }
104 MachineBasicBlock *getTPred() const { return TBB == Tail ? Head : TBB; }
136 /// Insertion point in Head for speculatively executed instructions form TBB
342 TBB = FBB = Tail = nullptr;
389 if (TII->AnalyzeBranch(*Head, TBB, FBB, Cond))
    [all...]
MachineBasicBlock.cpp 419 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
422 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond);
426 if (TBB) {
429 if (isLayoutSuccessor(TBB))
438 assert(!TBB && "Found more than one non-landing-pad successor!");
439 TBB = *SI;
444 if (!TBB)
449 if (!isLayoutSuccessor(TBB))
450 TII->InsertBranch(*this, TBB, nullptr, Cond, DL);
457 if (isLayoutSuccessor(TBB)) {
    [all...]
BranchFolding.cpp 218 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
220 if (!TII->AnalyzeBranch(MBB, TBB, FBB, Cond, true))
221 MadeChange |= MBB.CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
488 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
492 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
494 if (TBB == NextBB && !Cond.empty() && !FBB) {
    [all...]
MachineBlockPlacement.cpp     [all...]
  /external/llvm/lib/Target/MSP430/
MSP430InstrInfo.cpp 171 MachineBasicBlock *&TBB,
201 TBB = I->getOperand(0).getMBB();
213 TBB = nullptr;
219 // TBB is used to indicate the unconditinal destination.
220 TBB = I->getOperand(0).getMBB();
233 FBB = TBB;
234 TBB = I->getOperand(0).getMBB();
242 assert(TBB);
246 if (TBB != I->getOperand(0).getMBB())
261 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
    [all...]
MSP430InstrInfo.h 79 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
84 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
  /external/llvm/lib/Target/Sparc/
SparcInstrInfo.h 68 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
75 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
SparcInstrInfo.cpp 128 MachineBasicBlock *&TBB,
155 TBB = I->getOperand(0).getMBB();
166 TBB = nullptr;
173 TBB = I->getOperand(0).getMBB();
217 FBB = TBB;
218 TBB = I->getOperand(0).getMBB();
230 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB,
234 assert(TBB && "InsertBranch must not be told to insert a fallthrough");
240 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB);
248 BuildMI(&MBB, DL, get(SP::BCOND)).addMBB(TBB).addImm(CC)
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreInstrInfo.h 53 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
XCoreInstrInfo.cpp 176 /// just return false, leaving TBB/FBB null.
177 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
180 /// an successor block, it sets TBB to be the branch destination block and a
185 /// block, it returns the 'true' destination in TBB, the 'false' destination
194 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
212 TBB = LastInst->getOperand(0).getMBB();
223 TBB = LastInst->getOperand(1).getMBB();
245 TBB = SecondLastInst->getOperand(1).getMBB();
257 TBB = SecondLastInst->getOperand(0).getMBB();
277 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB,
    [all...]
  /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/lib/Target/AArch64/
AArch64A53Fix835769.cpp 131 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
136 if (S == PrevBB && !TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond) &&
137 !TBB && !FBB)
AArch64ConditionOptimizer.cpp 285 // corresponding to TBB.
329 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
330 if (TII->AnalyzeBranch(*HBB, TBB, FBB, HeadCond)) {
335 if (!TBB || TBB == HBB) {
341 if (TII->AnalyzeBranch(*TBB, TBB_TBB, TBB_FBB, TrueCond)) {
350 MachineInstr *TrueCmpMI = findSuitableCompare(TBB);
AArch64ConditionalCompares.cpp 270 // corresponding to TBB.
498 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
499 if (TII->AnalyzeBranch(*Head, TBB, FBB, HeadCond)) {
507 if (!TBB || HeadCond.empty()) {
520 if (TBB != CmpBB) {
521 assert(TBB == Tail && "Unexpected TBB");
526 TBB = FBB = nullptr;
527 if (TII->AnalyzeBranch(*CmpBB, TBB, FBB, CmpBBCond)) {
533 if (!TBB || CmpBBCond.empty())
    [all...]
AArch64InstrInfo.h 137 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
142 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
194 MachineBasicBlock *TBB,
  /external/llvm/lib/Target/PowerPC/
PPCInstrInfo.cpp 445 bool PPCInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB,
467 TBB = LastInst->getOperand(0).getMBB();
473 TBB = LastInst->getOperand(2).getMBB();
481 TBB = LastInst->getOperand(1).getMBB();
489 TBB = LastInst->getOperand(1).getMBB();
499 TBB = LastInst->getOperand(0).getMBB();
510 TBB = LastInst->getOperand(0).getMBB();
535 TBB = SecondLastInst->getOperand(2).getMBB();
545 TBB = SecondLastInst->getOperand(1).getMBB();
555 TBB = SecondLastInst->getOperand(1).getMBB()
    [all...]

Completed in 709 milliseconds

1 2 3