Searched refs:TBB (Results 1 - 25 of 71) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.h56 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
62 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DNVPTXInstrInfo.cpp78 /// just return false, leaving TBB/FBB null.
79 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
82 /// an successor block, it sets TBB to be the branch destination block and a
87 /// block, it returns the 'true' destination in TBB, the 'false' destination
96 MachineBasicBlock *&TBB,
111 TBB = LastInst.getOperand(0).getMBB();
115 TBB = LastInst.getOperand(1).getMBB();
133 TBB = SecondLastInst.getOperand(1).getMBB();
143 TBB = SecondLastInst.getOperand(0).getMBB();
181 MachineBasicBlock *TBB,
95 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
180 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp103 MachineBasicBlock *&TBB,
125 TBB = MI.getOperand(0).getMBB();
133 TBB = MI.getOperand(0).getMBB();
138 TBB = MI.getOperand(0).getMBB();
147 TBB = MI.getOperand(0).getMBB();
181 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
186 if (!TBB)
189 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(TBB);
204 .addMBB(TBB)
208 BuildMI(&MBB, DL, get(WebAssembly::BR_IF)).addMBB(TBB)
102 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool ) const argument
180 insertBranch( MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
H A DWebAssemblyInstrInfo.h56 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
62 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/freebsd-11-stable/contrib/gcc/
H A Ddominance.c57 /* Type of Basic Block aka. TBB */
58 typedef unsigned int TBB; typedef
63 TBB and are also indexed by TBB. */
68 TBB *dfs_parent;
72 TBB *key;
75 TBB *path_min;
77 TBB *bucket;
79 TBB *next_bucket;
82 TBB *do
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp176 MachineBasicBlock *&TBB,
206 TBB = I->getOperand(0).getMBB();
218 TBB = nullptr;
224 // TBB is used to indicate the unconditinal destination.
225 TBB = I->getOperand(0).getMBB();
238 FBB = TBB;
239 TBB = I->getOperand(0).getMBB();
247 assert(TBB);
251 if (TBB != I->getOperand(0).getMBB())
266 MachineBasicBlock *TBB,
175 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
265 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
H A DMSP430InstrInfo.h60 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
67 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.h48 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
55 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DBPFInstrInfo.cpp165 MachineBasicBlock *&TBB,
190 TBB = I->getOperand(0).getMBB();
202 TBB = nullptr;
208 // TBB is used to indicate the unconditinal destination.
209 TBB = I->getOperand(0).getMBB();
220 MachineBasicBlock *TBB,
228 assert(TBB && "insertBranch must not be told to insert a fallthrough");
233 BuildMI(&MBB, DL, get(BPF::JMP)).addMBB(TBB);
164 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
219 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp73 // | [TF]BB FBB TBB
78 // Instructions in the conditional blocks TBB and/or FBB are spliced into the
95 MachineBasicBlock *TBB; member in class:__anon1707::SSAIfConv
100 /// isTriangle - When there is no 'else' block, either TBB or FBB will be
102 bool isTriangle() const { return TBB == Tail || FBB == Tail; }
105 MachineBasicBlock *getTPred() const { return TBB == Tail ? Head : TBB; }
137 /// Insertion point in Head for speculatively executed instructions form TBB
434 TBB = FBB = Tail = nullptr;
482 if (TII->analyzeBranch(*Head, TBB, FB
[all...]
H A DBranchRelaxation.cpp304 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
315 auto insertBranch = [&](MachineBasicBlock *MBB, MachineBasicBlock *TBB,
320 TII->insertBranch(*MBB, TBB, FBB, Cond, DL, &NewBrSize);
340 bool Fail = TII->analyzeBranch(*MBB, TBB, FBB, Cond);
367 insertBranch(MBB, FBB, TBB, Cond);
387 LLVM_DEBUG(dbgs() << " Insert B to " << printMBBReference(*TBB)
393 insertBranch(MBB, &NextBB, TBB, Cond);
406 // This is the block with cond. branch and the distance to TBB is too long.
418 insertUncondBranch(NewBB, TBB);
425 << printMBBReference(*TBB) << "
[all...]
H A DMachineBasicBlock.cpp538 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
541 bool B = TII->analyzeBranch(*this, TBB, FBB, Cond);
545 if (TBB) {
548 if (isLayoutSuccessor(TBB))
557 assert(!TBB && "Found more than one non-landing-pad successor!");
558 TBB = *SI;
563 if (!TBB)
568 if (!isLayoutSuccessor(TBB))
569 TII->insertBranch(*this, TBB, nullptr, Cond, DL);
578 if (isLayoutSuccessor(TBB)) {
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h67 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
75 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DSparcInstrInfo.cpp160 MachineBasicBlock *&TBB,
178 TBB = LastInst->getOperand(0).getMBB();
183 parseCondBranch(LastInst, TBB, Cond);
202 TBB = LastInst->getOperand(0).getMBB();
217 parseCondBranch(SecondLastInst, TBB, Cond);
225 TBB = SecondLastInst->getOperand(0).getMBB();
243 MachineBasicBlock *TBB,
248 assert(TBB && "insertBranch must not be told to insert a fallthrough");
255 BuildMI(&MBB, DL, get(SP::BA)).addMBB(TBB);
263 BuildMI(&MBB, DL, get(SP::BCOND)).addMBB(TBB)
159 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
242 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.h52 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
57 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DXCoreInstrInfo.cpp172 /// just return false, leaving TBB/FBB null.
173 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
176 /// an successor block, it sets TBB to be the branch destination block and a
181 /// block, it returns the 'true' destination in TBB, the 'false' destination
190 MachineBasicBlock *&TBB,
208 TBB = LastInst->getOperand(0).getMBB();
219 TBB = LastInst->getOperand(1).getMBB();
240 TBB = SecondLastInst->getOperand(1).getMBB();
252 TBB = SecondLastInst->getOperand(0).getMBB();
272 MachineBasicBlock *TBB,
189 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
271 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBranchRelaxation.cpp161 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
165 if (HII->analyzeBranch(B, TBB, FBB, Cond, false)) {
170 TBB = FirstTerm->getOperand(HII->getCExtOpNum(*FirstTerm)).getMBB();
172 if (TBB && &MI == &*FirstTerm) {
173 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB])
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstrInfo.h63 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
71 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
79 BranchType analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
177 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrInfo.h53 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
H A DARCInstrInfo.cpp151 /// just return false, leaving TBB/FBB null.
152 /// 2. If this block ends with only an unconditional branch, it sets TBB to be
155 /// successor block, it sets TBB to be the branch destination block and a
159 /// unconditional branch, it returns the 'true' destination in TBB, the
171 MachineBasicBlock *&TBB,
175 TBB = FBB = nullptr;
199 TBB = I->getOperand(0).getMBB();
206 FBB = TBB;
207 TBB = I->getOperand(0).getMBB();
371 MachineBasicBlock *TBB,
170 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
370 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &dl, int *BytesAdded) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CondBrFolding.cpp89 MachineBasicBlock *TBB; member in struct:__anon2487::TargetMBBInfo
150 assert(SaveMBB == PredMBBInfo->TBB || SaveMBB == PredMBBInfo->FBB);
222 if (MBBInfo->TBB == OrigDest) {
227 MBBInfo->TBB = NewDest;
253 .addMBB(MBBInfo->TBB).addImm(CC);
284 MachineBasicBlock *TargetMBB = MBBInfo->TBB;
285 BranchProbability TargetProb = MBPI->getEdgeProbability(&MBB, MBBInfo->TBB);
332 replaceBrDest(RootMBB, RootMBBInfo->TBB, TargetMBB);
480 MachineBasicBlock *TBB;
494 FBB = TBB
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64A53Fix835769.cpp139 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
144 if (S == PrevBB && !TII->analyzeBranch(*PrevBB, TBB, FBB, Cond) && !TBB &&
H A DAArch64ConditionOptimizer.cpp303 // corresponding to TBB.
350 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; local
351 if (TII->analyzeBranch(*HBB, TBB, FBB, HeadCond)) {
356 if (!TBB || TBB == HBB) {
362 if (TII->analyzeBranch(*TBB, TBB_TBB, TBB_FBB, TrueCond)) {
371 MachineInstr *TrueCmpMI = findSuitableCompare(TBB);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp264 MachineBasicBlock *&TBB,
297 TBB = I->getOperand(0).getMBB();
311 TBB = 0;
318 // TBB is used to indicate the unconditinal destination.
319 TBB = I->getOperand(0).getMBB();
369 FBB = TBB;
370 TBB = I->getOperand(0).getMBB();
378 assert(TBB);
382 if (TBB != I->getOperand(0).getMBB()) {
399 MachineBasicBlock *TBB,
263 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const argument
398 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
H A DAVRInstrInfo.h92 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
96 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,

Completed in 303 milliseconds

123