Home
last modified time | relevance | path

Searched refs:SrcBB (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp206 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 …]
DCFGMST.h150 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/
DPGOInstrumentation.cpp459 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 …]
DCFGMST.h217 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/
DTailDuplicator.cpp204 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 …]
DMachineSSAUpdater.cpp100 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI() local
101 if (AVals[SrcBB] != SrcReg) { in LookForIdenticalPHI()
/external/llvm/lib/CodeGen/
DTailDuplicator.cpp171 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 …]
DMachineSSAUpdater.cpp96 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); in LookForIdenticalPHI() local
97 if (AVals[SrcBB] != SrcReg) { in LookForIdenticalPHI()
DShrinkWrap.cpp392 const MachineBasicBlock *SrcBB, in isProperBackedge() argument
394 for (const MachineLoop *Loop = MLI.getLoopFor(SrcBB); Loop; in isProperBackedge()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMCInstLower.cpp47 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/
DGVNHoist.cpp419 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/
Decho.cpp430 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/
Decho.cpp450 LLVMBasicBlockRef SrcBB = LLVMValueAsBasicBlock(SrcOp); in CloneInstruction() local
451 Dst = LLVMBuildBr(Builder, DeclareBB(SrcBB)); in CloneInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1581 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/
DSelectionDAGBuilder.cpp1730 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()