/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 206 const BasicBlock *SrcBB; member 213 : SrcBB(Src), DestBB(Dest), Weight(W), InMST(false), Removed(false), in PGOEdge() 312 BasicBlock *SrcBB = const_cast<BasicBlock *>(E->SrcBB); in getInstrBB() local 315 if (SrcBB == nullptr) in getInstrBB() 318 return SrcBB; in getInstrBB() 322 TerminatorInst *TI = SrcBB->getTerminator(); in getInstrBB() 324 return SrcBB; in getInstrBB() 331 DEBUG(dbgs() << "Split critical edge: " << getBBInfo(SrcBB).Index << " --> " in getInstrBB() 333 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in getInstrBB() 556 BasicBlock *SrcBB = const_cast<BasicBlock *>(E->SrcBB); in setInstrumentedCounts() local [all …]
|
D | CFGMST.h | 150 if (unionGroups(Ei->SrcBB, Ei->DestBB)) in computeMinimumSpanningTree() 159 if (unionGroups(Ei->SrcBB, Ei->DestBB)) in computeMinimumSpanningTree() 179 OS << " Edge " << Count++ << ": " << getBBInfo(EI->SrcBB).Index << "-->" in dumpEdges()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 459 const BasicBlock *SrcBB; member 467 : SrcBB(Src), DestBB(Dest), Weight(W) {} in PGOEdge() 686 BasicBlock *SrcBB = const_cast<BasicBlock *>(E->SrcBB); in getInstrBB() local 689 if (SrcBB == nullptr) in getInstrBB() 692 return SrcBB; in getInstrBB() 696 TerminatorInst *TI = SrcBB->getTerminator(); in getInstrBB() 698 return SrcBB; in getInstrBB() 705 LLVM_DEBUG(dbgs() << "Split critical edge: " << getBBInfo(SrcBB).Index in getInstrBB() 707 unsigned SuccNum = GetSuccessorNumber(SrcBB, DestBB); in getInstrBB() 978 BasicBlock *SrcBB = const_cast<BasicBlock *>(E->SrcBB); in setInstrumentedCounts() local [all …]
|
D | CFGMST.h | 217 if (unionGroups(Ei->SrcBB, Ei->DestBB)) in computeMinimumSpanningTree() 228 if (!ExitBlockFound && Ei->SrcBB == nullptr) in computeMinimumSpanningTree() 230 if (unionGroups(Ei->SrcBB, Ei->DestBB)) in computeMinimumSpanningTree() 250 OS << " Edge " << Count++ << ": " << getBBInfo(EI->SrcBB).Index << "-->" in dumpEdges()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TailDuplicator.cpp | 204 MachineBasicBlock *SrcBB = LI->second[j].first; in tailDuplicateAndUpdate() local 206 SSAUpdate.AddAvailableValue(SrcBB, SrcReg); in tailDuplicateAndUpdate() 300 static unsigned getPHISrcRegOpIdx(MachineInstr *MI, MachineBasicBlock *SrcBB) { in getPHISrcRegOpIdx() argument 302 if (MI->getOperand(i + 1).getMBB() == SrcBB) in getPHISrcRegOpIdx() 504 MachineBasicBlock *SrcBB = LI->second[j].first; in updateSuccessorsPHIs() local 509 if (!SrcBB->isSuccessor(SuccBB)) in updateSuccessorsPHIs() 515 MI.getOperand(Idx + 1).setMBB(SrcBB); in updateSuccessorsPHIs() 518 MIB.addReg(SrcReg).addMBB(SrcBB); in updateSuccessorsPHIs() 524 MachineBasicBlock *SrcBB = TDBBs[j]; in updateSuccessorsPHIs() local 527 MI.getOperand(Idx + 1).setMBB(SrcBB); in updateSuccessorsPHIs() [all …]
|
D | MachineSSAUpdater.cpp | 100 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI() local 101 if (AVals[SrcBB] != SrcReg) { in LookForIdenticalPHI()
|
/external/llvm/lib/CodeGen/ |
D | TailDuplicator.cpp | 171 MachineBasicBlock *SrcBB = LI->second[j].first; in tailDuplicateAndUpdate() local 173 SSAUpdate.AddAvailableValue(SrcBB, SrcReg); in tailDuplicateAndUpdate() 264 static unsigned getPHISrcRegOpIdx(MachineInstr *MI, MachineBasicBlock *SrcBB) { in getPHISrcRegOpIdx() argument 266 if (MI->getOperand(i + 1).getMBB() == SrcBB) in getPHISrcRegOpIdx() 467 MachineBasicBlock *SrcBB = LI->second[j].first; in updateSuccessorsPHIs() local 472 if (!SrcBB->isSuccessor(SuccBB)) in updateSuccessorsPHIs() 478 II->getOperand(Idx + 1).setMBB(SrcBB); in updateSuccessorsPHIs() 481 MIB.addReg(SrcReg).addMBB(SrcBB); in updateSuccessorsPHIs() 487 MachineBasicBlock *SrcBB = TDBBs[j]; in updateSuccessorsPHIs() local 490 II->getOperand(Idx + 1).setMBB(SrcBB); in updateSuccessorsPHIs() [all …]
|
D | MachineSSAUpdater.cpp | 96 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI() local 97 if (AVals[SrcBB] != SrcReg) { in LookForIdenticalPHI()
|
D | ShrinkWrap.cpp | 392 const MachineBasicBlock *SrcBB, in isProperBackedge() argument 394 for (const MachineLoop *Loop = MLI.getLoopFor(SrcBB); Loop; in isProperBackedge()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | TailDuplication.cpp | 237 MachineBasicBlock *SrcBB = LI->second[j].first; in TailDuplicateAndUpdate() local 239 SSAUpdate.AddAvailableValue(SrcBB, SrcReg); in TailDuplicateAndUpdate() 332 static unsigned getPHISrcRegOpIdx(MachineInstr *MI, MachineBasicBlock *SrcBB) { in getPHISrcRegOpIdx() argument 334 if (MI->getOperand(i+1).getMBB() == SrcBB) in getPHISrcRegOpIdx() 485 MachineBasicBlock *SrcBB = LI->second[j].first; in UpdateSuccessorsPHIs() local 490 if (!SrcBB->isSuccessor(SuccBB)) in UpdateSuccessorsPHIs() 496 II->getOperand(Idx+1).setMBB(SrcBB); in UpdateSuccessorsPHIs() 500 II->addOperand(MachineOperand::CreateMBB(SrcBB)); in UpdateSuccessorsPHIs() 506 MachineBasicBlock *SrcBB = TDBBs[j]; in UpdateSuccessorsPHIs() local 509 II->getOperand(Idx+1).setMBB(SrcBB); in UpdateSuccessorsPHIs() [all …]
|
D | MachineSSAUpdater.cpp | 95 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI() local 96 if (AVals[SrcBB] != SrcReg) { in LookForIdenticalPHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMCInstLower.cpp | 47 const MCExpr *getLongBranchBlockExpr(const MachineBasicBlock &SrcBB, 98 const MachineBasicBlock &SrcBB, in getLongBranchBlockExpr() argument 102 const MCExpr *SrcBBSym = MCSymbolRefExpr::create(SrcBB.getSymbol(), Ctx); in getLongBranchBlockExpr() 104 assert(SrcBB.front().getOpcode() == AMDGPU::S_GETPC_B64 && in getLongBranchBlockExpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GVNHoist.cpp | 419 bool hasEHhelper(const BasicBlock *BB, const BasicBlock *SrcBB, in hasEHhelper() argument 432 if ((BB != SrcBB) && HoistBarrier.count(BB)) in hasEHhelper() 486 bool hasEHOnPath(const BasicBlock *HoistPt, const BasicBlock *SrcBB, in hasEHOnPath() argument 488 assert(DT->dominates(HoistPt, SrcBB) && "Invalid path"); in hasEHOnPath() 495 for (auto I = idf_begin(SrcBB), E = idf_end(SrcBB); I != E;) { in hasEHOnPath() 503 if (hasEHhelper(BB, SrcBB, NBBsOnAllPaths)) in hasEHOnPath()
|
/external/llvm/tools/llvm-c-test/ |
D | echo.cpp | 430 LLVMBasicBlockRef SrcBB = LLVMValueAsBasicBlock(SrcOp); in CloneInstruction() local 431 Dst = LLVMBuildBr(Builder, DeclareBB(SrcBB)); in CloneInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/ |
D | echo.cpp | 450 LLVMBasicBlockRef SrcBB = LLVMValueAsBasicBlock(SrcOp); in CloneInstruction() local 451 Dst = LLVMBuildBr(Builder, DeclareBB(SrcBB)); in CloneInstruction()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1581 const BasicBlock *SrcBB = Src->getBasicBlock(); in getEdgeProbability() local 1587 std::distance(succ_begin(SrcBB), succ_end(SrcBB)), 1); in getEdgeProbability() 1590 return BPI->getEdgeProbability(SrcBB, DstBB); in getEdgeProbability()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1730 const BasicBlock *SrcBB = Src->getBasicBlock(); in getEdgeProbability() local 1735 auto SuccSize = std::max<uint32_t>(succ_size(SrcBB), 1); in getEdgeProbability() 1738 return BPI->getEdgeProbability(SrcBB, DstBB); in getEdgeProbability()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1293 const BasicBlock *SrcBB = Src->getBasicBlock(); in getEdgeWeight() local 1295 return BPI->getEdgeWeight(SrcBB, DstBB); in getEdgeWeight()
|