/external/llvm/lib/Target/Hexagon/ |
HexagonBranchRelaxation.cpp | 147 MachineBasicBlock *TBB = NULL, *FBB = NULL; 151 if (HII->analyzeBranch(B, TBB, FBB, Cond, false)) { 156 TBB = FirstTerm->getOperand(HII->getCExtOpNum(&*FirstTerm)).getMBB(); 158 if (TBB && &MI == &*FirstTerm) { 159 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB])
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
CodePlacementOpt.cpp | 80 MachineBasicBlock *TBB = 0, *FBB = 0; 82 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond)) 88 if (Cond.empty() && TBB) 109 MachineBasicBlock *TBB = 0, *FBB = 0; 112 if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond))
|
MachineBasicBlock.cpp | 286 MachineBasicBlock *TBB = 0, *FBB = 0; 289 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond); 293 if (TBB) { 296 if (isLayoutSuccessor(TBB)) 301 TBB = *succ_begin(); 302 if (!isLayoutSuccessor(TBB)) 303 TII->InsertBranch(*this, TBB, 0, Cond, dl); 310 if (isLayoutSuccessor(TBB)) { 317 TII->InsertBranch(*this, TBB, 0, Cond, dl); 323 if (MBBA == TBB) std::swap(MBBB, MBBA) [all...] |
MachineLICM.cpp | 693 MachineBasicBlock *TBB = 0, *FBB = 0; 695 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty()) [all...] |
MachineVerifier.cpp | 413 MachineBasicBlock *TBB = 0, *FBB = 0; 416 TBB, FBB, Cond)) { 419 if (!TBB && !FBB) { 447 } else if (TBB && !FBB && Cond.empty()) { 452 } else if (!MBB->isSuccessor(TBB)) { 466 } else if (TBB && !FBB && !Cond.empty()) { 475 } else if (!matchPair(MBB->succ_begin(), TBB, MBBI)) { 489 } else if (TBB && FBB) { 495 } else if (!matchPair(MBB->succ_begin(), TBB, FBB)) { [all...] |
BranchFolding.cpp | 188 MachineBasicBlock *MBB = I, *TBB = 0, *FBB = 0; 190 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true)) 191 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); 454 MachineBasicBlock *TBB = 0, *FBB = 0; 458 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { 460 if (TBB == NextBB && !Cond.empty() && !FBB) { 873 MachineBasicBlock *TBB = 0, *FBB = 0; [all...] |
IfConversion.cpp | 81 /// TargetInstrInfo::AnalyzeBranch() (i.e. TBB, FBB, and Cond), and its 212 bool MeetIfcvtSizeLimit(MachineBasicBlock &TBB, 218 TII->isProfitableToIfCvt(TBB, TCycle, TExtra, FBB, FCycle, FExtra, 808 // TBB FBB 825 // | TBB 848 // | TBB---> exit [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64BranchRelaxation.cpp | 416 MachineBasicBlock *TBB, *FBB; 418 TII->analyzeBranch(*MBB, TBB, FBB, Cond, false);
|
AArch64ConditionOptimizer.cpp | 292 // corresponding to TBB. 339 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; 340 if (TII->analyzeBranch(*HBB, TBB, FBB, HeadCond)) { 345 if (!TBB || TBB == HBB) { 351 if (TII->analyzeBranch(*TBB, TBB_TBB, TBB_FBB, TrueCond)) { 360 MachineInstr *TrueCmpMI = findSuitableCompare(TBB);
|
AArch64ConditionalCompares.cpp | 267 // corresponding to TBB. 495 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; 496 if (TII->analyzeBranch(*Head, TBB, FBB, HeadCond)) { 504 if (!TBB || HeadCond.empty()) { 517 if (TBB != CmpBB) { 518 assert(TBB == Tail && "Unexpected TBB"); 523 TBB = FBB = nullptr; 524 if (TII->analyzeBranch(*CmpBB, TBB, FBB, CmpBBCond)) { 530 if (!TBB || CmpBBCond.empty()) [all...] |
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 84 BasicBlock *TBB = BasicBlock::Create(Ctx, "", F); 87 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); 91 EXPECT_EQ(TBB, TI->getSuccessor(0)); 96 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); 100 EXPECT_EQ(TBB, TI->getSuccessor(0));
|
/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...] |
BranchFolding.cpp | 223 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; 225 if (!TII->analyzeBranch(MBB, TBB, FBB, Cond, true)) 226 MadeChange |= MBB.CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); 508 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; 511 if (I != MF->end() && !TII->analyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { 513 if (TBB == NextBB && !Cond.empty() && !FBB) { [all...] |
MachineBasicBlock.cpp | 410 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; 413 bool B = TII->analyzeBranch(*this, TBB, FBB, Cond); 417 if (TBB) { 420 if (isLayoutSuccessor(TBB)) 429 assert(!TBB && "Found more than one non-landing-pad successor!"); 430 TBB = *SI; 435 if (!TBB) 440 if (!isLayoutSuccessor(TBB)) 441 TII->InsertBranch(*this, TBB, nullptr, Cond, DL); 450 if (isLayoutSuccessor(TBB)) { [all...] |
MachineBlockPlacement.cpp | [all...] |
MachineLICM.cpp | 765 MachineBasicBlock *TBB = nullptr, *FBB = nullptr; 767 if (!TII->analyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty()) [all...] |
/external/llvm/unittests/ProfileData/ |
InstrProfTest.cpp | 282 BasicBlock *TBB = BasicBlock::Create(Ctx, "", F); 286 Instruction *Inst = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); 287 Instruction *Inst2 = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); [all...] |
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyFastISel.cpp | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Analysis/ |
ScalarEvolution.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Analysis/ |
ScalarEvolution.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Analysis/ |
ScalarEvolution.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Analysis/ |
ScalarEvolution.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Analysis/ |
ScalarEvolution.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Analysis/ |
ScalarEvolution.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Analysis/ |
ScalarEvolution.h | [all...] |