/external/llvm-project/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 143 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 143 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 …]
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 145 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB, in PHITranslateSubExpr() argument 158 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr() 192 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr() 246 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 263 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in PHITranslateSubExpr() 299 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr() 316 bool PHITransAddr::PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateValue() argument 323 PHITranslateSubExpr(Addr, CurBB, PredBB, MustDominate ? DT : nullptr); in PHITranslateValue() 345 PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, in PHITranslateWithInsertion() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 81 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,
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 81 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,
|
/external/llvm/include/llvm/Analysis/ |
D | PHITransAddr.h | 82 bool PHITranslateValue(BasicBlock *CurBB, BasicBlock *PredBB, 92 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 104 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB, 112 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
|
/external/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
D | InstrRefBasedImpl.cpp | 442 unsigned CurBB; member in __anon84c0493f0211::MLocTracker 528 CurBB = NewCurBB; in setMPhis() 530 Location.Value = {CurBB, 0, Location.Idx}; in setMPhis() 536 CurBB = NewCurBB; in loadFromArray() 579 ValueIDNum ValNum = {CurBB, 0, NewIdx}; in trackRegister() 584 ValNum = {CurBB, MaskPair.second, NewIdx}; in trackRegister() 644 void writeRegMask(const MachineOperand *MO, unsigned CurBB, unsigned InstID) { in writeRegMask() argument 655 defReg(ID, CurBB, InstID); in writeRegMask() 1337 unsigned CurBB; member in __anon84c0493f0211::InstrRefBasedLDV 1739 if (!FoundLoc && NewID && NewID->getBlock() == CurBB && in transferDebugInstrRef() [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 66 BasicBlock *CurBB; // The currently executing BB member 74 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {} in ExecutionContext() 77 : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst), in ExecutionContext() 83 CurBB = O.CurBB;
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | EscapeEnumerator.cpp | 36 BasicBlock *CurBB = &*StateBB++; in Next() local 40 Instruction *TI = CurBB->getTerminator(); in Next() 44 if (CallInst *CI = CurBB->getTerminatingMustTailCall()) in Next()
|
D | Evaluator.cpp | 694 BasicBlock *CurBB = &F->front(); in EvaluateFunction() local 696 BasicBlock::iterator CurInst = CurBB->begin(); in EvaluateFunction() 700 LLVM_DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); in EvaluateFunction() 708 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); in EvaluateFunction() 727 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); in EvaluateFunction() 730 CurBB = NextBB; in EvaluateFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineSink.cpp | 1147 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 …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineSink.cpp | 1343 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, in getSingleLiveInSuccBB() argument 1362 for (auto *SI : CurBB.successors()) { in getSingleLiveInSuccBB() 1370 getSingleLiveInSuccBB(MachineBasicBlock &CurBB, in getSingleLiveInSuccBB() argument 1377 getSingleLiveInSuccBB(CurBB, SinkableBBs, DefReg, TRI); in getSingleLiveInSuccBB() 1385 static void clearKillFlags(MachineInstr *MI, MachineBasicBlock &CurBB, in clearKillFlags() argument 1394 for (MachineInstr &UI : make_range(NI, CurBB.end())) { in clearKillFlags() 1467 bool PostRAMachineSinking::tryToSinkCopy(MachineBasicBlock &CurBB, in tryToSinkCopy() argument 1475 for (MachineBasicBlock *SI : CurBB.successors()) in tryToSinkCopy() 1490 for (auto I = CurBB.rbegin(), E = CurBB.rend(); I != E;) { in tryToSinkCopy() 1541 getSingleLiveInSuccBB(CurBB, SinkableBBs, DefedRegsInCopy, TRI); in tryToSinkCopy() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | EscapeEnumerator.cpp | 35 BasicBlock *CurBB = &*StateBB++; in Next() local 39 Instruction *TI = CurBB->getTerminator(); in Next()
|
D | Evaluator.cpp | 693 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()
|
/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 557 BasicBlock *CurBB = &F->front(); in EvaluateFunction() local 559 BasicBlock::iterator CurInst = CurBB->begin(); in EvaluateFunction() 563 DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n"); in EvaluateFunction() 571 ReturnInst *RI = cast<ReturnInst>(CurBB->getTerminator()); in EvaluateFunction() 590 setVal(PN, getVal(PN->getIncomingValueForBlock(CurBB))); in EvaluateFunction() 593 CurBB = NextBB; in EvaluateFunction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 278 auto *CurBB = DFSI.getPath(i)->getBlock(); in eliminateGuardViaWidening() local 279 auto *CurLoop = LI.getLoopFor(CurBB); in eliminateGuardViaWidening() 280 assert(GuardsInBlock.count(CurBB) && "Must have been populated by now!"); in eliminateGuardViaWidening() 281 const auto &GuardsInCurBB = GuardsInBlock.find(CurBB)->second; in eliminateGuardViaWidening() 289 for (auto &I : *CurBB) { in eliminateGuardViaWidening() 300 assert((i == (e - 1)) == (GuardInst->getParent() == CurBB) && "Bad DFS?"); in eliminateGuardViaWidening()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 343 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()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 343 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 406 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()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 399 BasicBlock *CurBB = IPI->first->getParent(); in tryAndMerge() local 400 if (NewBB == CurBB) { in tryAndMerge() 412 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB); in tryAndMerge() 419 assert(CommonDominator != CurBB && in tryAndMerge()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 420 BasicBlock *CurBB = IPI->first->getParent(); in tryAndMerge() local 421 if (NewBB == CurBB) { in tryAndMerge() 433 BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB); in tryAndMerge() 440 assert(CommonDominator != CurBB && in tryAndMerge()
|
/external/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 96 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateBr() local 98 CurBB.addSuccessor(&getOrCreateBB(*Succ)); in translateBr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIOptimizeExecMaskingPreRA.cpp | 335 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()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIOptimizeExecMaskingPreRA.cpp | 358 auto CurBB = Blocks.pop_back_val(); in runOnMachineFunction() local 359 auto I = CurBB->rbegin(), E = CurBB->rend(); in runOnMachineFunction() 397 for (auto *Pred : CurBB->predecessors()) { in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 61 BasicBlock *CurBB; // The currently executing BB member 69 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {} in ExecutionContext()
|