Home
last modified time | relevance | path

Searched refs:TBB (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/test/CodeGen/X86/
Dcmovcmov.ll24 ; NOCMOV-NEXT: jne [[TBB:.LBB[0-9_]+]]
25 ; NOCMOV-NEXT: jp [[TBB]]
27 ; NOCMOV-NEXT:[[TBB]]:
51 ; NOCMOV-NEXT: jne [[TBB:.LBB[0-9_]+]]
52 ; NOCMOV-NEXT: jp [[TBB]]
54 ; NOCMOV-NEXT: [[TBB]]:
80 ; NOCMOV-NEXT: jne [[TBB:.LBB[0-9_]+]]
81 ; NOCMOV-NEXT: jp [[TBB]]
83 ; NOCMOV-NEXT: [[TBB]]:
98 ; CMOV-NEXT: jne [[TBB:.LBB[0-9_]+]]
[all …]
/external/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp87 MachineBasicBlock *&TBB, in AnalyzeBranch() argument
92 BranchType BT = AnalyzeBranch(MBB, TBB, FBB, Cond, AllowModify, BranchInstrs); in AnalyzeBranch()
98 MipsInstrInfo::BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in BuildCondBr() argument
113 MIB.addMBB(TBB); in BuildCondBr()
117 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, in InsertBranch() argument
120 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
132 BuildCondBr(MBB, TBB, DL, Cond); in InsertBranch()
140 BuildMI(&MBB, DL, get(UncondBrOpc)).addMBB(TBB); in InsertBranch()
142 BuildCondBr(MBB, TBB, DL, Cond); in InsertBranch()
179 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in AnalyzeBranch() argument
[all …]
DMipsInstrInfo.h54 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
69 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
142 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
/external/llvm/lib/CodeGen/
DEarlyIfConversion.cpp94 MachineBasicBlock *TBB; member in __anonb91c67e80111::SSAIfConv
101 bool isTriangle() const { return TBB == Tail || FBB == Tail; } in isTriangle()
104 MachineBasicBlock *getTPred() const { return TBB == Tail ? Head : TBB; } in getTPred()
342 TBB = FBB = Tail = nullptr; in canConvertIf()
389 if (TII->AnalyzeBranch(*Head, TBB, FBB, Cond)) { in canConvertIf()
395 if (!TBB) { in canConvertIf()
402 FBB = TBB == Succ0 ? Succ1 : Succ0; in canConvertIf()
433 if (TBB != Tail && !canSpeculateInstrs(TBB)) in canConvertIf()
509 assert(Head && Tail && TBB && FBB && "Call canConvertIf first."); in convertIf()
518 if (TBB != Tail) in convertIf()
[all …]
DMachineBasicBlock.cpp388 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in updateTerminator() local
391 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond); in updateTerminator()
395 if (TBB) { in updateTerminator()
398 if (isLayoutSuccessor(TBB)) in updateTerminator()
407 assert(!TBB && "Found more than one non-landing-pad successor!"); in updateTerminator()
408 TBB = *SI; in updateTerminator()
413 if (!TBB) in updateTerminator()
418 if (!isLayoutSuccessor(TBB)) in updateTerminator()
419 TII->InsertBranch(*this, TBB, nullptr, Cond, dl); in updateTerminator()
426 if (isLayoutSuccessor(TBB)) { in updateTerminator()
[all …]
DBranchFolding.cpp212 MachineBasicBlock *MBB = I, *TBB = nullptr, *FBB = nullptr; in OptimizeFunction() local
214 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true)) in OptimizeFunction()
215 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); in OptimizeFunction()
478 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in FixTail() local
482 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { in FixTail()
484 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
984 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in TailMergeBlocks() local
986 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) { in TailMergeBlocks()
990 if (!Cond.empty() && TBB == IBB) { in TailMergeBlocks()
1006 if (!TBB) { in TailMergeBlocks()
[all …]
DMachineBlockPlacement.cpp899 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; // For AnalyzeBranch. in buildCFGChains() local
900 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond) || !FI->canFallThrough()) in buildCFGChains()
1013 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; // For AnalyzeBranch. in buildCFGChains() local
1014 if (!TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) { in buildCFGChains()
1030 TBB = FBB = nullptr; in buildCFGChains()
1031 if (TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) { in buildCFGChains()
1033 TBB = FBB = nullptr; in buildCFGChains()
1039 if (TBB && !Cond.empty() && FBB && in buildCFGChains()
1040 MBPI->getEdgeWeight(PrevBB, FBB) > MBPI->getEdgeWeight(PrevBB, TBB) && in buildCFGChains()
1045 << " vs " << MBPI->getEdgeWeight(PrevBB, TBB) << "\n"); in buildCFGChains()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp173 MachineBasicBlock *&TBB, in AnalyzeBranch() argument
203 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
215 TBB = nullptr; in AnalyzeBranch()
222 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
235 FBB = TBB; in AnalyzeBranch()
236 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
244 assert(TBB); in AnalyzeBranch()
248 if (TBB != I->getOperand(0).getMBB()) in AnalyzeBranch()
263 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in InsertBranch() argument
268 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
[all …]
DMSP430InstrInfo.h79 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
84 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/external/llvm/lib/Target/BPF/
DBPFInstrInfo.cpp79 MachineBasicBlock *&TBB, in AnalyzeBranch() argument
104 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
116 TBB = 0; in AnalyzeBranch()
123 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
134 MachineBasicBlock *TBB, in InsertBranch() argument
139 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
144 BuildMI(&MBB, DL, get(BPF::JMP)).addMBB(TBB); in InsertBranch()
DBPFInstrInfo.h47 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
53 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.cpp169 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in AnalyzeBranch() argument
182 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
186 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
204 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
214 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
250 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, in InsertBranch() argument
253 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
260 BuildMI(&MBB, DL, get(NVPTX::GOTO)).addMBB(TBB); in InsertBranch()
263 .addMBB(TBB); in InsertBranch()
268 BuildMI(&MBB, DL, get(NVPTX::CBranch)).addReg(Cond[0].getReg()).addMBB(TBB); in InsertBranch()
DNVPTXInstrInfo.h64 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
68 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp194 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, in AnalyzeBranch() argument
217 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
228 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
250 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
262 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
282 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch() argument
287 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
294 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(TBB); in InsertBranch()
299 .addMBB(TBB); in InsertBranch()
308 .addMBB(TBB); in InsertBranch()
DXCoreInstrInfo.h53 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.cpp178 MachineBasicBlock *&TBB, in AnalyzeBranch() argument
208 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
215 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
238 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
262 MachineBasicBlock *TBB, in InsertBranch() argument
267 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
271 BuildMI(&MBB, DL, get(AMDGPU::JUMP)).addMBB(TBB).addReg(0); in InsertBranch()
280 .addMBB(TBB) in InsertBranch()
290 .addMBB(TBB) in InsertBranch()
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.cpp128 MachineBasicBlock *&TBB, in AnalyzeBranch() argument
155 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
166 TBB = nullptr; in AnalyzeBranch()
173 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
217 FBB = TBB; in AnalyzeBranch()
218 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
230 SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch() argument
234 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
240 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB); in InsertBranch()
248 BuildMI(&MBB, DL, get(SP::BCOND)).addMBB(TBB).addImm(CC); in InsertBranch()
[all …]
DSparcInstrInfo.h68 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
75 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/external/llvm/lib/Target/AArch64/
DAArch64ConditionOptimizer.cpp321 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in runOnMachineFunction() local
322 if (TII->AnalyzeBranch(*HBB, TBB, FBB, HeadCond)) { in runOnMachineFunction()
327 if (!TBB || TBB == HBB) { in runOnMachineFunction()
333 if (TII->AnalyzeBranch(*TBB, TBB_TBB, TBB_FBB, TrueCond)) { in runOnMachineFunction()
342 MachineInstr *TrueCmpMI = findSuitableCompare(TBB); in runOnMachineFunction()
DAArch64ConditionalCompares.cpp498 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in canConvert() local
499 if (TII->AnalyzeBranch(*Head, TBB, FBB, HeadCond)) { in canConvert()
507 if (!TBB || HeadCond.empty()) { in canConvert()
520 if (TBB != CmpBB) { in canConvert()
521 assert(TBB == Tail && "Unexpected TBB"); in canConvert()
526 TBB = FBB = nullptr; in canConvert()
527 if (TII->AnalyzeBranch(*CmpBB, TBB, FBB, CmpBBCond)) { in canConvert()
533 if (!TBB || CmpBBCond.empty()) { in canConvert()
545 if (TBB != Tail) in canConvert()
DAArch64A53Fix835769.cpp131 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in getBBFallenThrough() local
136 if (S == PrevBB && !TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond) && in getBBFallenThrough()
137 !TBB && !FBB) in getBBFallenThrough()
DAArch64InstrInfo.h136 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
141 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
190 MachineBasicBlock *TBB,
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp347 bool PPCInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, in AnalyzeBranch() argument
374 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
380 TBB = LastInst->getOperand(2).getMBB(); in AnalyzeBranch()
388 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
396 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
406 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
417 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
442 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()
452 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
462 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
[all …]
/external/ceres-solver/cmake/
DFindSuiteSparse.cmake109 # == Intel Thread Building Blocks (TBB)
340 # we assume that if TBB is installed, SuiteSparseQR was compiled with
346 MESSAGE(STATUS "Found Intel Thread Building Blocks (TBB) library: "
347 "${TBB_LIBRARIES}, assuming SuiteSparseQR was compiled with TBB.")
349 MESSAGE(STATUS "Did not find Intel TBB library, assuming SuiteSparseQR was "
350 "not compiled with TBB.")
359 MESSAGE(STATUS "Found Intel Thread Building Blocks (TBB) Malloc library: "
361 # Append TBB malloc library to TBB libraries list whilst retaining
367 # Add the TBB libraries to the SuiteSparseQR libraries (the only
368 # libraries to optionally depend on TBB).
[all …]
/external/llvm/unittests/IR/
DIRBuilderTest.cpp84 BasicBlock *TBB = BasicBlock::Create(Ctx, "", F); in TEST_F() local
87 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); in TEST_F()
91 EXPECT_EQ(TBB, TI->getSuccessor(0)); in TEST_F()
96 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); in TEST_F()
100 EXPECT_EQ(TBB, TI->getSuccessor(0)); in TEST_F()

123