Home
last modified time | relevance | path

Searched refs:TBB (Results 1 – 25 of 67) 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
112 MIB.addMBB(TBB); in BuildCondBr()
116 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, in InsertBranch() argument
119 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
131 BuildCondBr(MBB, TBB, DL, Cond); in InsertBranch()
139 BuildMI(&MBB, DL, get(UncondBrOpc)).addMBB(TBB); in InsertBranch()
141 BuildCondBr(MBB, TBB, DL, Cond); in InsertBranch()
178 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,
68 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
141 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.cpp64 MachineBasicBlock *&TBB, in AnalyzeBranch() argument
79 TBB = MI.getOperand(1).getMBB(); in AnalyzeBranch()
87 TBB = MI.getOperand(1).getMBB(); in AnalyzeBranch()
92 TBB = MI.getOperand(0).getMBB(); in AnalyzeBranch()
124 MachineBasicBlock *TBB, in InsertBranch() argument
129 if (!TBB) in InsertBranch()
132 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(TBB); in InsertBranch()
141 .addMBB(TBB); in InsertBranch()
145 .addMBB(TBB); in InsertBranch()
DWebAssemblyInstrInfo.h41 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
46 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/external/llvm/lib/CodeGen/
DEarlyIfConversion.cpp94 MachineBasicBlock *TBB; member in __anonbdb953a90111::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()
518 assert(Head && Tail && TBB && FBB && "Call canConvertIf first."); in convertIf()
527 if (TBB != Tail) in convertIf()
[all …]
DMachineBasicBlock.cpp419 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in updateTerminator() local
422 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond); in updateTerminator()
426 if (TBB) { in updateTerminator()
429 if (isLayoutSuccessor(TBB)) in updateTerminator()
438 assert(!TBB && "Found more than one non-landing-pad successor!"); in updateTerminator()
439 TBB = *SI; in updateTerminator()
444 if (!TBB) in updateTerminator()
449 if (!isLayoutSuccessor(TBB)) in updateTerminator()
450 TII->InsertBranch(*this, TBB, nullptr, Cond, DL); in updateTerminator()
457 if (isLayoutSuccessor(TBB)) { in updateTerminator()
[all …]
DBranchFolding.cpp218 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in OptimizeFunction() local
220 if (!TII->AnalyzeBranch(MBB, TBB, FBB, Cond, true)) in OptimizeFunction()
221 MadeChange |= MBB.CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); in OptimizeFunction()
488 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in FixTail() local
492 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { in FixTail()
494 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
999 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in TailMergeBlocks() local
1001 if (!TII->AnalyzeBranch(*PBB, TBB, FBB, Cond, true)) { in TailMergeBlocks()
1005 if (!Cond.empty() && TBB == IBB) { in TailMergeBlocks()
1024 if (!TBB) { in TailMergeBlocks()
[all …]
DMachineBlockPlacement.cpp1141 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; // For AnalyzeBranch. in buildCFGChains() local
1142 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond) || !FI->canFallThrough()) in buildCFGChains()
1255 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; // For AnalyzeBranch. in buildCFGChains() local
1256 if (!TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) { in buildCFGChains()
1272 TBB = FBB = nullptr; in buildCFGChains()
1273 if (TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) { in buildCFGChains()
1275 TBB = FBB = nullptr; in buildCFGChains()
1281 if (TBB && !Cond.empty() && FBB && in buildCFGChains()
1283 MBPI->getEdgeProbability(PrevBB, TBB) && in buildCFGChains()
1289 << MBPI->getEdgeProbability(PrevBB, TBB) << "\n"); in buildCFGChains()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.cpp149 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in AnalyzeBranch() argument
162 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
166 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
184 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
194 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
230 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, in InsertBranch() argument
233 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
240 BuildMI(&MBB, DL, get(NVPTX::GOTO)).addMBB(TBB); in InsertBranch()
243 .addMBB(TBB); in InsertBranch()
248 BuildMI(&MBB, DL, get(NVPTX::CBranch)).addReg(Cond[0].getReg()).addMBB(TBB); in InsertBranch()
DNVPTXInstrInfo.h63 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
67 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp171 MachineBasicBlock *&TBB, in AnalyzeBranch() argument
201 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
213 TBB = nullptr; in AnalyzeBranch()
220 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
233 FBB = TBB; in AnalyzeBranch()
234 TBB = I->getOperand(0).getMBB(); in AnalyzeBranch()
242 assert(TBB); in AnalyzeBranch()
246 if (TBB != I->getOperand(0).getMBB()) in AnalyzeBranch()
261 MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in InsertBranch() argument
266 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/XCore/
DXCoreInstrInfo.cpp194 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, in AnalyzeBranch() argument
212 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
223 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
245 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
257 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
277 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch() argument
282 assert(TBB && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch()
289 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(TBB); in InsertBranch()
294 .addMBB(TBB); in InsertBranch()
303 .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.cpp329 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; in runOnMachineFunction() local
330 if (TII->AnalyzeBranch(*HBB, TBB, FBB, HeadCond)) { in runOnMachineFunction()
335 if (!TBB || TBB == HBB) { in runOnMachineFunction()
341 if (TII->AnalyzeBranch(*TBB, TBB_TBB, TBB_FBB, TrueCond)) { in runOnMachineFunction()
350 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()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp445 bool PPCInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, in AnalyzeBranch() argument
467 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
473 TBB = LastInst->getOperand(2).getMBB(); in AnalyzeBranch()
481 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
489 TBB = LastInst->getOperand(1).getMBB(); in AnalyzeBranch()
499 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
510 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
535 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()
545 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()
555 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 …]

123