Home
last modified time | relevance | path

Searched refs:CurBB (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DPHITransAddr.cpp143 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, in PHITranslateSubExpr() argument
155 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr()
189 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr()
218 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr()
243 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
260 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr()
295 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
312 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateValue() argument
319 PHITranslateSubExpr(Addr, CurBB, PredBB, MustDominate ? DT : nullptr); in PHITranslateValue()
341 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateWithInsertion() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DPHITransAddr.h81 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB,
91 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB,
103 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB,
111 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSink.cpp1147 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, in getSingleLiveInSuccBB() argument
1166 for (auto *SI : CurBB.successors()) { in getSingleLiveInSuccBB()
1174 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, in getSingleLiveInSuccBB() argument
1181 getSingleLiveInSuccBB(CurBB, SinkableBBs, DefReg, TRI); in getSingleLiveInSuccBB()
1189 static void clearKillFlags(MachineInstr *MI, MachineBasicBlock &CurBB, in clearKillFlags() argument
1198 for (MachineInstr &UI : make_range(NI, CurBB.end())) { in clearKillFlags()
1271 bool PostRAMachineSinking::tryToSinkCopy(MachineBasicBlock &CurBB, in tryToSinkCopy() argument
1279 for (MachineBasicBlock *SI : CurBB.successors()) in tryToSinkCopy()
1294 for (auto I = CurBB.rbegin(), E = CurBB.rend(); I != E;) { in tryToSinkCopy()
1345 getSingleLiveInSuccBB(CurBB, SinkableBBs, DefedRegsInCopy, TRI); in tryToSinkCopy()
[all …]
DPrologEpilogInserter.cpp492 const MachineBasicBlock *CurBB = WorkList.pop_back_val(); in updateLiveness() local
495 if (CurBB == Save && Save != Restore) in updateLiveness()
499 for (MachineBasicBlock *SuccBB : CurBB->successors()) in updateLiveness()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEscapeEnumerator.cpp35 BasicBlock *CurBB = &*StateBB++; in Next() local
39 Instruction *TI = CurBB->getTerminator(); in Next()
DEvaluator.cpp693 BasicBlock *CurBB = &F->front(); in EvaluateFunction() local
695 BasicBlock::iterator CurInst = CurBB->begin(); in EvaluateFunction()
699 LLVM_DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); in EvaluateFunction()
707 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); in EvaluateFunction()
726 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); in EvaluateFunction()
729 CurBB = NextBB; in EvaluateFunction()
DInlineFunction.cpp2166 auto *CurBB = RI->getParent(); in InlineFunction() local
2178 IRBuilder<> Builder(CurBB); in InlineFunction()
2215 BasicBlock *CurBB = RI->getParent(); in InlineFunction() local
2222 IRBuilder<> Builder(CurBB); in InlineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp343 auto *CurBB = DFSI.getPath(i)->getBlock(); in eliminateInstrViaWidening() local
344 if (!BlockFilter(CurBB)) in eliminateInstrViaWidening()
346 assert(GuardsInBlock.count(CurBB) && "Must have been populated by now!"); in eliminateInstrViaWidening()
347 const auto &GuardsInCurBB = GuardsInBlock.find(CurBB)->second; in eliminateInstrViaWidening()
350 auto E = Instr->getParent() == CurBB in eliminateInstrViaWidening()
357 for (auto &I : *CurBB) { in eliminateInstrViaWidening()
368 assert((i == (e - 1)) == (Instr->getParent() == CurBB) && "Bad DFS?"); in eliminateInstrViaWidening()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp406 BasicBlock *CurBB = IPI->first->getParent(); in tryAndMerge() local
407 if (NewBB == CurBB) { in tryAndMerge()
419 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB); in tryAndMerge()
426 assert(CommonDominator != CurBB && in tryAndMerge()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMaskingPreRA.cpp335 auto CurBB = Blocks.pop_back_val(); in runOnMachineFunction() local
336 auto I = CurBB->rbegin(), E = CurBB->rend(); in runOnMachineFunction()
374 for (auto *Pred : CurBB->predecessors()) { in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h62 BasicBlock *CurBB; // The currently executing BB member
70 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {} in ExecutionContext()
DExecution.cpp984 BasicBlock *PrevBB = SF.CurBB; // Remember where we came from... in SwitchToNewBasicBlock()
985 SF.CurBB = Dest; // Update CurBB to branch destination in SwitchToNewBasicBlock()
986 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr... in SwitchToNewBasicBlock()
1004 SF.CurInst = SF.CurBB->begin(); in SwitchToNewBasicBlock()
2141 StackFrame.CurBB = &F->front(); in callFunction()
2142 StackFrame.CurInst = StackFrame.CurBB->begin(); in callFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.h537 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB);
539 const Value *DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument
541 return const_cast<Value*>(this)->DoPHITranslation(CurBB, PredBB); in DoPHITranslation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValue.h643 const Value *DoPHITranslation(const BasicBlock *CurBB,
645 Value *DoPHITranslation(const BasicBlock *CurBB, const BasicBlock *PredBB) { in DoPHITranslation() argument
647 static_cast<const Value *>(this)->DoPHITranslation(CurBB, PredBB)); in DoPHITranslation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h546 MachineBasicBlock *FBB, MachineBasicBlock *CurBB,
552 MachineBasicBlock *CurBB,
DSelectionDAGBuilder.cpp2056 MachineBasicBlock *CurBB, in EmitBranchForMergedCondition() argument
2061 const BasicBlock *BB = CurBB->getBasicBlock(); in EmitBranchForMergedCondition()
2069 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
2087 TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); in EmitBranchForMergedCondition()
2096 nullptr, TBB, FBB, CurBB, getCurSDLoc(), TProb, FProb); in EmitBranchForMergedCondition()
2103 MachineBasicBlock *CurBB, in FindMergedConditions() argument
2113 InBlock(NotCond, CurBB->getBasicBlock())) { in FindMergedConditions()
2114 FindMergedConditions(NotCond, TBB, FBB, CurBB, SwitchBB, Opc, TProb, FProb, in FindMergedConditions()
2139 BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions()
2140 !InBlock(BOp->getOperand(0), CurBB->getBasicBlock()) || in FindMergedConditions()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DValue.cpp736 const Value *Value::DoPHITranslation(const BasicBlock *CurBB, in DoPHITranslation() argument
739 if (PN && PN->getParent() == CurBB) in DoPHITranslation()
DCore.cpp2640 BasicBlock *CurBB = unwrap(Builder)->GetInsertBlock(); in LLVMInsertExistingBasicBlockAfterInsertBlock() local
2641 assert(CurBB && "current insertion point is invalid!"); in LLVMInsertExistingBasicBlockAfterInsertBlock()
2642 CurBB->getParent()->getBasicBlockList().insertAfter(CurBB->getIterator(), in LLVMInsertExistingBasicBlockAfterInsertBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp398 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateBr() local
401 if (!CurBB.isLayoutSuccessor(&TgtBB)) in translateBr()
406 CurBB.addSuccessor(&getMBB(*Succ)); in translateBr()
845 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateIndirectBr() local
847 CurBB.addSuccessor(&getMBB(*Succ)); in translateIndirectBr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3717 BasicBlock *CurBB = nullptr; in parseFunctionBody() local
3722 if (CurBB && !CurBB->empty()) in parseFunctionBody()
3723 return &CurBB->back(); in parseFunctionBody()
3825 CurBB = FunctionBBs[0]; in parseFunctionBody()
3941 assert(CurBB && "No current BB?"); in parseFunctionBody()
3942 CurBB->getInstList().push_back(Temp); in parseFunctionBody()
4942 CurBB->getInstList().push_back(I); in parseFunctionBody()
5140 if (!CurBB) { in parseFunctionBody()
5148 CurBB->getInstList().push_back(I); in parseFunctionBody()
5153 CurBB = CurBBNo < FunctionBBs.size() ? FunctionBBs[CurBBNo] : nullptr; in parseFunctionBody()