/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXInstrInfo.h | 56 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 62 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
H A D | NVPTXInstrInfo.cpp | 78 /// 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 D | WebAssemblyInstrInfo.cpp | 103 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 D | WebAssemblyInstrInfo.h | 56 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 62 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
/freebsd-11-stable/contrib/gcc/ |
H A D | dominance.c | 57 /* 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 D | MSP430InstrInfo.cpp | 176 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 D | MSP430InstrInfo.h | 60 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 D | BPFInstrInfo.h | 48 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 55 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
H A D | BPFInstrInfo.cpp | 165 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 D | EarlyIfConversion.cpp | 73 // | [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 D | BranchRelaxation.cpp | 304 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 D | MachineBasicBlock.cpp | 538 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 D | SparcInstrInfo.h | 67 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 75 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
H A D | SparcInstrInfo.cpp | 160 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 D | XCoreInstrInfo.h | 52 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 57 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
H A D | XCoreInstrInfo.cpp | 172 /// 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 D | HexagonBranchRelaxation.cpp | 161 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 D | MipsInstrInfo.h | 63 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 D | ARCInstrInfo.h | 53 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 58 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
H A D | ARCInstrInfo.cpp | 151 /// 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 D | X86CondBrFolding.cpp | 89 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 D | AArch64A53Fix835769.cpp | 139 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; 144 if (S == PrevBB && !TII->analyzeBranch(*PrevBB, TBB, FBB, Cond) && !TBB &&
|
H A D | AArch64ConditionOptimizer.cpp | 303 // 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 D | AVRInstrInfo.cpp | 264 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 D | AVRInstrInfo.h | 92 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 96 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|